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, worldPosition

    Fields inherited from class net.neoforged.neoforge.attachment.AttachmentHolder

    ATTACHMENTS_NBT_KEY

    Fields inherited from interface net.minecraft.world.Container

    DEFAULT_DISTANCE_LIMIT, LARGE_MAX_STACK_SIZE
  • Constructor Summary

    Constructors
    Constructor
    Description
    MixinJukeboxBlockEntity(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 Type
    Method
    Description
    abstract net.minecraft.world.item.ItemStack
     

    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, triggerEvent

    Methods inherited from class net.neoforged.neoforge.attachment.AttachmentHolder

    areAttachmentsCompatible, deserializeAttachments, getData, hasData, serializeAttachments

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.minecraft.world.Container

    canPlaceItem, canTakeItem, countItem, getMaxStackSize, hasAnyMatching, hasAnyOf, setChanged, startOpen, stopOpen

    Methods inherited from interface net.minecraft.world.ticks.ContainerSingleItem

    clearContent, getContainerBlockEntity, getContainerSize, getItem, isEmpty, removeItem, removeItemNoUpdate, removeTheItem, setItem, setTheItem, splitTheItem, stillValid

    Methods inherited from interface net.neoforged.neoforge.attachment.IAttachmentHolder

    getData, hasData, setData

    Methods 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:
      getTheItem in interface net.minecraft.world.ticks.ContainerSingleItem