Class Containers

java.lang.Object
net.minecraft.world.Containers

public class Containers extends Object
  • Constructor Details

    • Containers

      public Containers()
  • Method Details

    • dropContents

      public static void dropContents(Level pLevel, BlockPos pPos, Container pInventory)
    • dropContents

      public static void dropContents(Level pLevel, Entity pEntityAt, Container pInventory)
    • dropContents

      private static void dropContents(Level pLevel, double pX, double pY, double pZ, Container pInventory)
    • dropContents

      public static void dropContents(Level pLevel, BlockPos pPos, NonNullList<ItemStack> pStackList)
    • dropItemStack

      public static void dropItemStack(Level pLevel, double pX, double pY, double pZ, ItemStack pStack)
    • dropContentsOnDestroy

      public static void dropContentsOnDestroy(BlockState pState, BlockState pNewState, Level pLevel, BlockPos pPos)