Package net.neoforged.neoforge.client
Class ItemDecoratorHandler
java.lang.Object
net.neoforged.neoforge.client.ItemDecoratorHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static Map
<net.minecraft.world.item.Item, ItemDecoratorHandler> private static final ItemDecoratorHandler
private final List
<IItemDecorator> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
private
ItemDecoratorHandler
(List<IItemDecorator> itemDecorators) -
Method Summary
Modifier and TypeMethodDescriptionstatic void
init()
static ItemDecoratorHandler
of
(net.minecraft.world.item.ItemStack stack) void
render
(net.minecraft.client.gui.GuiGraphics guiGraphics, net.minecraft.client.gui.Font font, net.minecraft.world.item.ItemStack stack, int xOffset, int yOffset)
-
Field Details
-
itemDecorators
-
DECORATOR_LOOKUP
-
EMPTY
-
-
Constructor Details
-
ItemDecoratorHandler
private ItemDecoratorHandler() -
ItemDecoratorHandler
-
-
Method Details
-
init
public static void init() -
of
-
render
public void render(net.minecraft.client.gui.GuiGraphics guiGraphics, net.minecraft.client.gui.Font font, net.minecraft.world.item.ItemStack stack, int xOffset, int yOffset)
-