Passer au contenu principal
Version: 2.0.0-alpha.2

API

The latest build can you find here

  • You can use maven to get the dependency or can use the jars in the github actions.
    • For maven please use this:
      <project>
      <repositories>
      <repository>
      <id>codemc-repo</id>
      <url>https://repo.codemc.org/repository/maven-public/</url>
      </repository>
      </repositories>
      <dependencies>
      <dependency>
      <groupId>dev.linwood</groupId>
      <artifactId>ItemMods</artifactId>
      <version>2.0.0-alpha.1</version>
      </dependency>
      </dependencies>
      </project>
  • The documentation about the api can you find here. Please use the classes in the api package.
  • The ItemModsApi instance can you get with ItemMods.getPlugin()
  • Custom events:
    • CustomBlockPlaceEvent
    • CustomBlockBreakEvent