Items APIs
This part provides APIs for easy creation and registration of complex things.
📄️ ArmorMaterialUtil
Fast way to create a ArmorMaterial.
📄️ ArmorWithTickItem
Add onArmorTick(World world, PlayerEntity entity) method to armors.
📄️ BannerUtil
Fast way to create banner item stack.
📄️ FoilItemBase, FoilSwordItemBase
Implement hasGlint() and always return true.
📄️ ItemBase
Provide item constructor with a setting function.
📄️ MonsterEntityBase
1.Implement getGroup() and put value into constructor
📄️ SwordItemBase
Add onSwingHand(ItemStack itemtack, World world, double x, double y, double z) method to swords.
📄️ ToolMaterialUtil
Fast way to create a ToolMaterial