net.minecraft.world.level.block.entity

public class JukeboxBlockEntity

extends BlockEntity implements Clearable

All mapped superinterfaces:

Clearable

cuc
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 ItemStack
a
record
field_12031
record
f_59514_
private int
b
ticksSinceLastEvent
field_39481
ticksThisSecond
f_238796_
private long
c
tickCount
field_39482
tickCount
f_238695_
private long
d
recordStartedTick
field_39483
recordStartTick
f_238572_
private boolean
e
isPlaying
field_39484
isPlaying
f_238637_

Constructor summary

ModifierConstructor
public (BlockPos pos, BlockState state)

Method summary

Modifier and TypeMethod
public void
a(pj arg0)
load(CompoundTag arg0)
method_11014(class_2487 arg0)
readNbt(NbtCompound arg0)
m_142466_(C_4917_ arg0)
protected void
b(pj arg0)
saveAdditional(CompoundTag arg0)
method_11007(class_2487 arg0)
writeNbt(NbtCompound arg0)
m_183515_(C_4917_ arg0)
public ItemStack
c()
getRecord()
method_11275()
getRecord()
m_59524_()
public void
a(cax arg0)
setRecord(ItemStack arg0)
method_11276(class_1799 arg0)
setRecord(ItemStack stack)
m_59517_(C_1391_ arg0)
public void
d()
playRecord()
method_44374()
startPlaying()
m_239936_()
public void
a()
clearContent()
method_5448()
clear()
m_6211_()
public static void
a(cgx arg0, gt arg1, cvo arg2, cuc 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_)
private static boolean
a(cvo arg0, cuc arg1)
recordIsPlaying(BlockState arg0, JukeboxBlockEntity arg1)
method_44373(class_2680 arg0, class_2619 arg1)
isPlayingRecord(BlockState state, JukeboxBlockEntity blockEntity)
m_240053_(C_2064_ p_240054_, C_2015_ p_240055_)
private static boolean
a(cuc arg0, cbo arg1)
recordShouldStopPlaying(JukeboxBlockEntity arg0, RecordItem arg1)
method_44372(class_2619 arg0, class_1813 arg1)
isSongFinished(JukeboxBlockEntity blockEntity, MusicDiscItem musicDisc)
m_239766_(C_2015_ p_239767_, C_1408_ p_239768_)
private static boolean
a(cuc arg0)
shouldSendJukeboxPlayingEvent(JukeboxBlockEntity arg0)
method_44371(class_2619 arg0)
hasSecondPassed(JukeboxBlockEntity blockEntity)
m_239365_(C_2015_ p_239366_)