net.minecraft.world.level.block.entity

public class JukeboxBlockEntity

extends BlockEntity implements ContainerSingleItem$BlockContainerSingleItem

All mapped superinterfaces:

ContainerSingleItem$BlockContainerSingleItem, ContainerSingleItem, Container, Clearable

dve
net.minecraft.world.level.block.entity.JukeboxBlockEntity
net.minecraft.class_2619
net.minecraft.block.entity.JukeboxBlockEntity
net.minecraft.world.level.block.entity.TileEntityJukeBox

Field summary

Modifier and TypeField
public static final String
b
SONG_ITEM_TAG_ID
field_52064
RECORD_ITEM_NBT_KEY
public static final String
c
TICKS_SINCE_SONG_STARTED_TAG_ID
field_52065
TICKS_SINCE_SONG_STARTED_NBT_KEY
private ItemStack
d
item
field_46507
recordStack
private final JukeboxSongPlayer
e
jukeboxSongPlayer
field_52066
manager

Constructor summary

ModifierConstructor
public (BlockPos pos, BlockState state)

Method summary

Modifier and TypeMethod
public JukeboxSongPlayer
j()
getSongPlayer()
method_60784()
getManager()
public void
k()
onSongChanged()
method_60785()
onManagerChange()
private void
a(boolean arg0)
notifyItemChangedInJukebox(boolean arg0)
method_60782(boolean arg0)
onRecordStackChanged(boolean hasRecord)
public void
s()
popOutTheItem()
method_49213()
dropRecord()
public static void
a(dgj arg0, ji arg1, dwy arg2, dve arg3)
tick(Level arg0, BlockPos arg1, BlockState arg2, JukeboxBlockEntity arg3)
method_44370(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_2619 arg3)
tick(World world, BlockPos pos, BlockState state, JukeboxBlockEntity blockEntity)
public int
u()
getComparatorOutput()
method_60992()
getComparatorOutput()
protected void
a(tq arg0, jt$a arg1)
loadAdditional(CompoundTag arg0, HolderLookup$Provider arg1)
method_11014(class_2487 arg0, class_7225$class_7874 arg1)
readNbt(NbtCompound arg0, RegistryWrapper$WrapperLookup arg1)
protected void
b(tq arg0, jt$a arg1)
saveAdditional(CompoundTag arg0, HolderLookup$Provider arg1)
method_11007(class_2487 arg0, class_7225$class_7874 arg1)
writeNbt(NbtCompound arg0, RegistryWrapper$WrapperLookup arg1)
public ItemStack
f()
getTheItem()
method_54079()
getStack()
public ItemStack
c(int arg0)
splitTheItem(int arg0)
method_54078(int arg0)
decreaseStack(int arg0)
public void
b(cwq arg0)
setTheItem(ItemStack arg0)
method_54077(class_1799 arg0)
setStack(ItemStack arg0)
public int
an_()
getMaxStackSize()
method_5444()
getMaxCountPerStack()
public BlockEntity
t()
getContainerBlockEntity()
method_54080()
asBlockEntity()
public boolean
b(int arg0, cwq arg1)
canPlaceItem(int arg0, ItemStack arg1)
method_5437(int arg0, class_1799 arg1)
isValid(int arg0, ItemStack arg1)
public boolean
a(bse arg0, int arg1, cwq arg2)
canTakeItem(Container arg0, int arg1, ItemStack arg2)
method_49104(class_1263 arg0, int arg1, class_1799 arg2)
canTransferTo(Inventory arg0, int arg1, ItemStack arg2)
public void
c(cwq arg0)
setSongItemWithoutPlaying(ItemStack arg0)
method_49210(class_1799 arg0)
setDisc(ItemStack stack)
public void
v()
tryForcePlaySong()
method_60786()
reloadDisc()