All Known Implementing Classes:
ForgeItemHelper

public interface ItemHelper
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.entity.ai.attributes.Attribute
     
    Supplier<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.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)
     
  • Method Details

    • getAttackRangeAttribute

      net.minecraft.world.entity.ai.attributes.Attribute getAttackRangeAttribute()
    • makeSpawnEgg

      Supplier<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)
    • 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)