Class ForgeCompatHelper
java.lang.Object
com.beansgalaxy.backpacks.platform.ForgeCompatHelper
- All Implemented Interfaces:
CompatHelper
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from interface com.beansgalaxy.backpacks.platform.services.CompatHelper
CLOTH_CONFIG, CURIOS, ELYTRA_SLOT, MOD_MENU, TRINKETS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<net.minecraft.world.item.ItemStack>backSlotDisabled(net.minecraft.world.entity.player.Player owner) net.minecraft.world.item.ItemStackgetBackSlotItem(BackData backData, net.minecraft.world.item.ItemStack defaultItem) getFluidTexture(net.minecraft.world.level.material.Fluid fluid, net.minecraft.client.renderer.texture.TextureAtlas blocksAtlas) booleaninvokeListenersOnDeath(BackData backData) booleanisBackSlot(net.minecraft.world.inventory.Slot slot) booleanisModLoaded(String namespace) voidsetBackSlotItem(BackData backData, net.minecraft.world.item.ItemStack stack) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.beansgalaxy.backpacks.platform.services.CompatHelper
allModsLoaded, anyModsLoaded, createEnderBackpack, graveModLoaded, updateEnderEntry, updateEnderEntry
-
Constructor Details
-
ForgeCompatHelper
public ForgeCompatHelper()
-
-
Method Details
-
isModLoaded
- Specified by:
isModLoadedin interfaceCompatHelper
-
setBackSlotItem
- Specified by:
setBackSlotItemin interfaceCompatHelper
-
getBackSlotItem
public net.minecraft.world.item.ItemStack getBackSlotItem(BackData backData, net.minecraft.world.item.ItemStack defaultItem) - Specified by:
getBackSlotItemin interfaceCompatHelper
-
backSlotDisabled
public List<net.minecraft.world.item.ItemStack> backSlotDisabled(net.minecraft.world.entity.player.Player owner) - Specified by:
backSlotDisabledin interfaceCompatHelper
-
isBackSlot
public boolean isBackSlot(net.minecraft.world.inventory.Slot slot) - Specified by:
isBackSlotin interfaceCompatHelper
-
getFluidTexture
public CauldronInventory.FluidAttributes getFluidTexture(net.minecraft.world.level.material.Fluid fluid, net.minecraft.client.renderer.texture.TextureAtlas blocksAtlas) - Specified by:
getFluidTexturein interfaceCompatHelper
-
invokeListenersOnDeath
- Specified by:
invokeListenersOnDeathin interfaceCompatHelper
-