Class BaseContainerMixin
java.lang.Object
net.minecraft.world.level.block.entity.BlockEntity
com.beansgalaxy.backpacks.mixin.common.BaseContainerMixin
- All Implemented Interfaces:
BaseContainerAccess,net.fabricmc.fabric.api.blockview.v2.RenderDataBlockEntity
public abstract class BaseContainerMixin
extends net.minecraft.world.level.block.entity.BlockEntity
implements BaseContainerAccess
-
Field Summary
Fields inherited from class net.minecraft.world.level.block.entity.BlockEntity
level, remove, worldPosition -
Constructor Summary
ConstructorsConstructorDescriptionBaseContainerMixin(net.minecraft.world.level.block.entity.BlockEntityType<?> $$0, net.minecraft.core.BlockPos $$1, net.minecraft.world.level.block.state.BlockState $$2) -
Method Summary
Modifier and TypeMethodDescriptionbooleanlockContainerForOwner(net.minecraft.world.entity.player.Player player) Methods inherited from class net.minecraft.world.level.block.entity.BlockEntity
addEntityType, clearRemoved, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getPosFromTag, getType, getUpdatePacket, getUpdateTag, hasLevel, isRemoved, load, loadStatic, onlyOpCanSetNbt, saveAdditional, saveToItem, saveWithFullMetadata, saveWithId, saveWithoutMetadata, setBlockState, setChanged, setChanged, setLevel, setRemoved, triggerEventMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.fabricmc.fabric.api.blockview.v2.RenderDataBlockEntity
getRenderData
-
Constructor Details
-
BaseContainerMixin
public BaseContainerMixin(net.minecraft.world.level.block.entity.BlockEntityType<?> $$0, net.minecraft.core.BlockPos $$1, net.minecraft.world.level.block.state.BlockState $$2)
-
-
Method Details
-
lockContainerForOwner
public boolean lockContainerForOwner(net.minecraft.world.entity.player.Player player) - Specified by:
lockContainerForOwnerin interfaceBaseContainerAccess
-