Class DisplayItemUtils

java.lang.Object
meteordevelopment.meteorclient.utils.render.DisplayItemUtils

public class DisplayItemUtils extends Object
Creates display-only ItemStacks that can be used for rendering before item components are bound (i.e. before joining a world).
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.minecraft.world.item.ItemStack
    toStack(net.minecraft.world.item.Item item)
     
    static net.minecraft.world.item.ItemStack
    toStack(net.minecraft.world.item.Item item, int count)
     
    static net.minecraft.world.item.ItemStack
    toStack(net.minecraft.world.level.block.Block block)
     

    Methods inherited from class Object

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

    • toStack

      public static net.minecraft.world.item.ItemStack toStack(net.minecraft.world.item.Item item)
    • toStack

      public static net.minecraft.world.item.ItemStack toStack(net.minecraft.world.level.block.Block block)
    • toStack

      public static net.minecraft.world.item.ItemStack toStack(net.minecraft.world.item.Item item, int count)