Class InventoryUtil
java.lang.Object
com.mrbysco.armorstand.util.InventoryUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voiddropInventory(CommandBuffer<EntityStore> commandBuffer, Ref<EntityStore> ref, TransformComponent transformcomponent) static booleanmoveHeldToContainer(InteractionContext context, ItemContainer dest, int targetSlot) static booleanremoveFirstFromContainer(ItemContainer src, InteractionContext context)
-
Constructor Details
-
InventoryUtil
public InventoryUtil()
-
-
Method Details
-
dropInventory
public static void dropInventory(CommandBuffer<EntityStore> commandBuffer, Ref<EntityStore> ref, TransformComponent transformcomponent) -
moveHeldToContainer
public static boolean moveHeldToContainer(@Nonnull InteractionContext context, ItemContainer dest, int targetSlot) -
removeFirstFromContainer
public static boolean removeFirstFromContainer(ItemContainer src, @Nonnull InteractionContext context)
-