Class ForgeItemHelper

java.lang.Object
dev.thomasglasser.aliysium.rainbowoaks.platform.ForgeItemHelper
All Implemented Interfaces:
ItemHelper

public class ForgeItemHelper extends Object implements ItemHelper
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • 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)
     
    final 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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ForgeItemHelper

      public ForgeItemHelper()
  • Method Details

    • getAttackRangeAttribute

      public net.minecraft.world.entity.ai.attributes.Attribute getAttackRangeAttribute()
      Specified by:
      getAttackRangeAttribute in interface ItemHelper
    • makeSpawnEgg

      public 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)
      Specified by:
      makeSpawnEgg in interface ItemHelper
    • newTab

      @SafeVarargs public final 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)
      Specified by:
      newTab in interface ItemHelper