Package net.darkhax.bookshelf.impl.util
Class InventoryHelperFabric
java.lang.Object
net.darkhax.bookshelf.impl.util.InventoryHelperFabric
- All Implemented Interfaces:
IInventoryHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisFakePlayer(net.minecraft.world.entity.player.Player player) voidopenMenu(net.minecraft.server.level.ServerPlayer player, net.minecraft.world.MenuProvider vanillaProvider, Consumer<net.minecraft.network.FriendlyByteBuf> bufConsumer, boolean allowFakes) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.darkhax.bookshelf.api.util.IInventoryHelper
applyForEach, applyForEach, canItemsStack, damageStack, fill, getCraftingContainer, getCraftingPlayer, getCraftingRemainder, getInventory, hasCraftingRemainder, isUnbreakableItem, keepDamageableItems, openMenu, openMenu, toList
-
Constructor Details
-
InventoryHelperFabric
public InventoryHelperFabric()
-
-
Method Details
-
openMenu
public void openMenu(net.minecraft.server.level.ServerPlayer player, net.minecraft.world.MenuProvider vanillaProvider, Consumer<net.minecraft.network.FriendlyByteBuf> bufConsumer, boolean allowFakes) - Specified by:
openMenuin interfaceIInventoryHelper
-
isFakePlayer
public boolean isFakePlayer(net.minecraft.world.entity.player.Player player) - Specified by:
isFakePlayerin interfaceIInventoryHelper
-