Class CustomRenderedItems

java.lang.Object
com.simibubi.create.foundation.item.render.CustomRenderedItems

public class CustomRenderedItems extends Object
  • 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 of CustomRenderedItemModelRenderer as its custom renderer to automatically wrap its model with CustomRenderedItemModel.
      Parameters:
      item - The item that should have its model swapped.
    • forEach

      public static void forEach(Consumer<net.minecraft.world.item.Item> consumer)
      This method must not be called before item registration is finished!