Class MixinJukeboxBlockEntity

java.lang.Object
net.minecraft.world.level.block.entity.BlockEntity
com.codinglitch.simpleradio.mixin.MixinJukeboxBlockEntity
All Implemented Interfaces:
net.fabricmc.fabric.api.attachment.v1.AttachmentTarget, net.fabricmc.fabric.api.blockview.v2.RenderDataBlockEntity, net.minecraft.world.Clearable, net.minecraft.world.Container, net.minecraft.world.ticks.ContainerSingleItem

public abstract class MixinJukeboxBlockEntity extends net.minecraft.world.level.block.entity.BlockEntity implements net.minecraft.world.Clearable, net.minecraft.world.ticks.ContainerSingleItem
  • Field Summary

    Fields inherited from class net.minecraft.world.level.block.entity.BlockEntity

    level, remove, worldPosition

    Fields inherited from interface net.fabricmc.fabric.api.attachment.v1.AttachmentTarget

    NBT_ATTACHMENT_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, getPosFromTag, getType, getUpdatePacket, getUpdateTag, hasLevel, isRemoved, load, loadStatic, onlyOpCanSetNbt, saveAdditional, saveToItem, saveWithFullMetadata, saveWithId, saveWithoutMetadata, setBlockState, setChanged, setChanged, setLevel, setRemoved, triggerEvent

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface net.fabricmc.fabric.api.attachment.v1.AttachmentTarget

    getAttached, getAttachedOrCreate, getAttachedOrCreate, getAttachedOrElse, getAttachedOrGet, getAttachedOrSet, getAttachedOrThrow, hasAttached, modifyAttached, removeAttached, setAttached

    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.fabricmc.fabric.api.blockview.v2.RenderDataBlockEntity

    getRenderData
  • 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