Class InventoryHelper


  • public class InventoryHelper
    extends java.lang.Object
    • Field Detail

      • RANDOM

        private static final java.util.Random RANDOM
    • Constructor Detail

      • InventoryHelper

        public InventoryHelper()
    • Method Detail

      • dropContents

        public static void dropContents​(World p_180175_0_,
                                        BlockPos p_180175_1_,
                                        IInventory p_180175_2_)
      • dropContents

        public static void dropContents​(World p_180176_0_,
                                        Entity p_180176_1_,
                                        IInventory p_180176_2_)
      • dropContents

        private static void dropContents​(World p_180174_0_,
                                         double p_180174_1_,
                                         double p_180174_3_,
                                         double p_180174_5_,
                                         IInventory p_180174_7_)
      • dropItemStack

        public static void dropItemStack​(World p_180173_0_,
                                         double p_180173_1_,
                                         double p_180173_3_,
                                         double p_180173_5_,
                                         ItemStack p_180173_7_)