Changes:
block.name - Now returns the actual name of the block
block.translation_id - Returns the block ID, for example:
block.minecraft.wool
item.name - It can now display the name of the item in color
Added:
block.identifier - Returns the block identifier based on the example:
minecraft:wool
item.translation_id - Returns the item ID, for example:
item.minecraft.wool
item.identifier - Returns the block identifier based on the example: minecraft:wool
item.is_сorrect_tool(blockstate) - Checks whether a block will drop when mined with a specific item
entities.getEntities()
items.getItems()
items.getFromId(id)
items.getFromIdentifier("minecraft:stick")
blocks.getBlocks()
player.network.connectToServer("host", port)
player.network.disconnectFromServer("reason")
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }