Class FabricItemHelper
java.lang.Object
dev.thomasglasser.aliysium.rainbowoaks.platform.FabricItemHelper
- All Implemented Interfaces:
dev.thomasglasser.aliysium.rainbowoaks.platform.services.ItemHelper
public class FabricItemHelper
extends Object
implements dev.thomasglasser.aliysium.rainbowoaks.platform.services.ItemHelper
-
Constructor Summary
Constructors -
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) final 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)
-
Constructor Details
-
FabricItemHelper
public FabricItemHelper()
-
-
Method Details
-
getAttackRangeAttribute
public net.minecraft.world.entity.ai.attributes.Attribute getAttackRangeAttribute()- Specified by:
getAttackRangeAttributein interfacedev.thomasglasser.aliysium.rainbowoaks.platform.services.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:
makeSpawnEggin interfacedev.thomasglasser.aliysium.rainbowoaks.platform.services.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:
newTabin interfacedev.thomasglasser.aliysium.rainbowoaks.platform.services.ItemHelper
-