Class CustomRenderedItems
java.lang.Object
com.simibubi.create.foundation.item.render.CustomRenderedItems
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidThis method must not be called before item registration is finished!static voidregister(net.minecraft.world.item.Item item) Track an item that uses a subclass ofCustomRenderedItemModelRendereras its custom renderer to automatically wrap its model withCustomRenderedItemModel.
-
Constructor Details
-
CustomRenderedItems
public CustomRenderedItems()
-
-
Method Details
-
register
public static void register(net.minecraft.world.item.Item item) Track an item that uses a subclass ofCustomRenderedItemModelRendereras its custom renderer to automatically wrap its model withCustomRenderedItemModel.- Parameters:
item- The item that should have its model swapped.
-
forEach
This method must not be called before item registration is finished!
-