New methods for player
Bug fixes
Fixed player.inventory.getChestTitle()
Add:
player.raycastToBlocksFromIdentifier()
modules.getModLoader()
modules.isModLoaded("modId")
modules.getLoadedMods()
world.raycastToBlocksFromIdentifier()
Version bump
Fixed registerCommand
Add player.getScoreBoardLines Typo fix
Typo fix
First neo forge version
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")
Add:
- registerTitleEvent
- registerActionBarEvent
- world.getLighth alias world.getBrightness
- world.getLightSky alias world.getBrightnessSky
player.inventory.leftClick() and other clicks now work in any container gui
Fixed some events not working.
Bug fixes and improvements
