Class MixinJukeboxBlockEntity
java.lang.Object
net.neoforged.neoforge.attachment.AttachmentHolder
net.minecraft.world.level.block.entity.BlockEntity
com.codinglitch.simpleradio.mixin.MixinJukeboxBlockEntity
- All Implemented Interfaces:
net.minecraft.world.Clearable,net.minecraft.world.Container,net.minecraft.world.ticks.ContainerSingleItem,net.neoforged.neoforge.attachment.IAttachmentHolder,net.neoforged.neoforge.common.extensions.IBlockEntityExtension,net.neoforged.neoforge.common.util.INBTSerializable<net.minecraft.nbt.CompoundTag>
public abstract class MixinJukeboxBlockEntity
extends net.minecraft.world.level.block.entity.BlockEntity
implements net.minecraft.world.Clearable, net.minecraft.world.ticks.ContainerSingleItem
-
Nested Class Summary
Nested classes/interfaces inherited from class net.neoforged.neoforge.attachment.AttachmentHolder
net.neoforged.neoforge.attachment.AttachmentHolder.AsField -
Field Summary
Fields inherited from class net.minecraft.world.level.block.entity.BlockEntity
level, remove, worldPositionFields inherited from class net.neoforged.neoforge.attachment.AttachmentHolder
ATTACHMENTS_NBT_KEYFields inherited from interface net.minecraft.world.Container
DEFAULT_DISTANCE_LIMIT, LARGE_MAX_STACK_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionMixinJukeboxBlockEntity(net.minecraft.world.level.block.entity.BlockEntityType<?> $$0, net.minecraft.core.BlockPos $$1, net.minecraft.world.level.block.state.BlockState $$2) -
Method Summary
Methods inherited from class net.minecraft.world.level.block.entity.BlockEntity
addEntityType, clearRemoved, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getPersistentData, getPosFromTag, getType, getUpdatePacket, getUpdateTag, hasLevel, isRemoved, load, loadStatic, onlyOpCanSetNbt, saveAdditional, saveToItem, saveWithFullMetadata, saveWithId, saveWithoutMetadata, setBlockState, setChanged, setChanged, setData, setLevel, setRemoved, triggerEventMethods inherited from class net.neoforged.neoforge.attachment.AttachmentHolder
areAttachmentsCompatible, deserializeAttachments, getData, hasData, serializeAttachmentsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.Container
canPlaceItem, canTakeItem, countItem, getMaxStackSize, hasAnyMatching, hasAnyOf, setChanged, startOpen, stopOpenMethods inherited from interface net.minecraft.world.ticks.ContainerSingleItem
clearContent, getContainerBlockEntity, getContainerSize, getItem, isEmpty, removeItem, removeItemNoUpdate, removeTheItem, setItem, setTheItem, splitTheItem, stillValidMethods inherited from interface net.neoforged.neoforge.attachment.IAttachmentHolder
getData, hasData, setDataMethods inherited from interface net.neoforged.neoforge.common.extensions.IBlockEntityExtension
deserializeNBT, getModelData, handleUpdateTag, hasCustomOutlineRendering, invalidateCapabilities, onChunkUnloaded, onDataPacket, onLoad, requestModelDataUpdate, serializeNBT
-
Constructor Details
-
MixinJukeboxBlockEntity
public MixinJukeboxBlockEntity(net.minecraft.world.level.block.entity.BlockEntityType<?> $$0, net.minecraft.core.BlockPos $$1, net.minecraft.world.level.block.state.BlockState $$2)
-
-
Method Details
-
getTheItem
public abstract net.minecraft.world.item.ItemStack getTheItem()- Specified by:
getTheItemin interfacenet.minecraft.world.ticks.ContainerSingleItem
-