net.minecraft.world.level.block.entity

public class JukeboxBlockEntity

extends BlockEntity implements Clearable, ContainerSingleItem$BlockContainerSingleItem

All mapped superinterfaces:

Clearable, ContainerSingleItem$BlockContainerSingleItem, ContainerSingleItem, Container

dqk
net.minecraft.world.level.block.entity.JukeboxBlockEntity
net.minecraft.class_2619
net.minecraft.block.entity.JukeboxBlockEntity
net.minecraft.src.C_2015_
net.minecraft.world.level.block.entity.TileEntityJukeBox

Field summary

Modifier and TypeField
private static final int
b
SONG_END_PADDING
field_42799
SECOND_PER_TICK
f_271500_
private ItemStack
c
item
field_46507
recordStack
f_303331_
private int
d
ticksSinceLastEvent
field_39481
ticksThisSecond
f_238796_
private long
e
tickCount
field_39482
tickCount
f_238695_
private long
f
recordStartedTick
field_39483
recordStartTick
f_238572_
private boolean
g
isPlaying
field_39484
isPlaying
f_238637_

Constructor summary

ModifierConstructor
public (BlockPos pos, BlockState state)

Method summary

Modifier and TypeMethod
protected void
a(us arg0, jk$a arg1)
loadAdditional(CompoundTag arg0, HolderLookup$Provider arg1)
method_11014(class_2487 arg0, class_7225$class_7874 arg1)
readNbt(NbtCompound arg0, RegistryWrapper$WrapperLookup arg1)
m_318667_(C_4917_ p_330255_, C_213466_$C_254607_ arg1)
protected void
b(us arg0, jk$a arg1)
saveAdditional(CompoundTag arg0, HolderLookup$Provider arg1)
method_11007(class_2487 arg0, class_7225$class_7874 arg1)
writeNbt(NbtCompound arg0, RegistryWrapper$WrapperLookup arg1)
m_183515_(C_4917_ p_332390_, C_213466_$C_254607_ arg1)
public boolean
j()
isRecordPlaying()
method_44373()
isPlayingRecord()
m_272025_()
private void
a(bsw arg0, boolean arg1)
setHasRecordBlockState(Entity arg0, boolean arg1)
method_49209(class_1297 arg0, boolean arg1)
updateState(Entity entity, boolean hasRecord)
m_271871_(C_507_ p_273038_, boolean arg1)
public void
k()
startPlaying()
method_49212()
startPlaying()
m_271687_()
private void
u()
stopPlaying()
method_49214()
stopPlaying()
m_272088_()
private void
b(dca arg0, iz arg1, dse arg2)
tick(Level arg0, BlockPos arg1, BlockState arg2)
method_49211(class_1937 arg0, class_2338 arg1, class_2680 arg2)
tick(World world, BlockPos pos, BlockState state)
m_272276_(C_1596_ p_273143_, C_4675_ p_273372_, C_2064_ arg2)
private boolean
a(cvm arg0)
shouldRecordStopPlaying(RecordItem arg0)
method_44372(class_1813 arg0)
isSongFinished(MusicDiscItem musicDisc)
m_271713_(C_1408_ arg0)
private boolean
w()
shouldSendJukeboxPlayingEvent()
method_44371()
hasSecondPassed()
m_239365_()
public ItemStack
f()
getTheItem()
method_54079()
getStack()
m_306082_()
public ItemStack
c(int arg0)
splitTheItem(int arg0)
method_54078(int arg0)
decreaseStack(int arg0)
m_305214_(int arg0)
public void
b(cur arg0)
setTheItem(ItemStack arg0)
method_54077(class_1799 arg0)
setStack(ItemStack arg0)
m_305072_(C_1391_ arg0)
public int
ah_()
getMaxStackSize()
method_5444()
getMaxCountPerStack()
m_6893_()
public BlockEntity
v()
getContainerBlockEntity()
method_54080()
asBlockEntity()
m_304707_()
public boolean
b(int arg0, cur arg1)
canPlaceItem(int arg0, ItemStack arg1)
method_5437(int arg0, class_1799 arg1)
isValid(int arg0, ItemStack arg1)
m_7013_(int p_273689_, C_1391_ arg1)
public boolean
a(bqp arg0, int arg1, cur 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)
m_271862_(C_464_ p_273168_, int p_273785_, C_1391_ arg2)
private void
a(dca arg0, iz arg1)
spawnMusicParticles(Level arg0, BlockPos arg1)
method_48969(class_1937 arg0, class_2338 arg1)
spawnNoteParticle(World world, BlockPos pos)
m_269320_(C_1596_ p_270940_, C_4675_ arg1)
public void
l()
popOutRecord()
method_49213()
dropRecord()
m_272252_()
public static void
a(dca arg0, iz arg1, dse arg2, dqk arg3)
playRecordTick(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)
m_239937_(C_1596_ p_239938_, C_4675_ p_239939_, C_2064_ p_239940_, C_2015_ p_239941_)
public void
c(cur arg0)
setRecordWithoutPlaying(ItemStack arg0)
method_49210(class_1799 arg0)
setDisc(ItemStack stack)
m_272139_(C_1391_ arg0)