Interface ItemHelper
- All Known Implementing Classes:
ForgeItemHelper
public interface ItemHelper
-
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.entity.ai.attributes.AttributeSupplier<net.minecraft.world.item.SpawnEggItem>makeSpawnEgg(Supplier<net.minecraft.world.entity.EntityType<? extends net.minecraft.world.entity.Mob>> entityType, int bg, int fg, net.minecraft.world.item.Item.Properties properties) @Nullable net.minecraft.world.item.CreativeModeTabnewTab(net.minecraft.network.chat.Component title, Supplier<net.minecraft.world.item.ItemStack> icon, boolean search, net.minecraft.world.item.CreativeModeTab.DisplayItemsGenerator displayItems, net.minecraft.resources.ResourceKey<net.minecraft.world.item.CreativeModeTab>... tabsBefore)
-
Method Details
-
getAttackRangeAttribute
net.minecraft.world.entity.ai.attributes.Attribute getAttackRangeAttribute() -
makeSpawnEgg
-
newTab
@Nullable @Nullable net.minecraft.world.item.CreativeModeTab newTab(net.minecraft.network.chat.Component title, Supplier<net.minecraft.world.item.ItemStack> icon, boolean search, net.minecraft.world.item.CreativeModeTab.DisplayItemsGenerator displayItems, net.minecraft.resources.ResourceKey<net.minecraft.world.item.CreativeModeTab>... tabsBefore)
-