net.minecraft.world.level.block.entity

public class JukeboxBlockEntity

extends BlockEntity implements Clearable, ContainerSingleItem

All mapped superinterfaces:

Clearable, ContainerSingleItem, Container

dan
net.minecraft.world.level.block.entity.JukeboxBlockEntity
net.minecraft.class_2619
net.minecraft.unmapped.C_qgqgzpda
net.minecraft.block.entity.JukeboxBlockEntity
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
c
SONG_END_PADDING
field_42799
f_nbgnaxln
SECOND_PER_TICK
SONG_END_PADDING
f_271500_
private final NonNullList<ItemStack>
d
items
field_42800
f_twcvzbfq
inventory
inventory
f_271436_
private int
e
ticksSinceLastEvent
field_39481
f_wjcufean
ticksThisSecond
ticksSinceLastEvent
f_238796_
private long
f
tickCount
field_39482
f_lkztmhec
tickCount
tickCount
f_238695_
private long
g
recordStartedTick
field_39483
f_plpyjyjj
recordStartTick
recordStartTick
f_238572_
private boolean
h
isPlaying
field_39484
f_sahuvewx
isPlaying
isPlaying
f_238637_

Constructor summary

ModifierConstructor
public (BlockPos pos, BlockState state)

Method summary

Modifier and TypeMethod
public void
a(qr arg0)
load(CompoundTag arg0)
method_11014(class_2487 arg0)
m_dfzdncts(C_hhlwcnih arg0)
readNbt(NbtCompound arg0)
readNbt(NbtCompound arg0)
m_142466_(C_4917_ arg0)
protected void
b(qr arg0)
saveAdditional(CompoundTag arg0)
method_11007(class_2487 arg0)
m_qopnimsa(C_hhlwcnih arg0)
writeNbt(NbtCompound arg0)
writeNbt(NbtCompound arg0)
m_183515_(C_4917_ arg0)
public boolean
f()
isRecordPlaying()
method_44373()
m_eavgyfyz()
isPlayingRecord()
isPlaying()
m_272025_()
private void
a(bfj arg0, boolean arg1)
setHasRecordBlockState(Entity arg0, boolean arg1)
method_49209(class_1297 arg0, boolean arg1)
m_rxfqrqeu(C_astfners arg0, boolean arg1)
updateState(Entity entity, boolean hasRecord)
setState(Entity entity, boolean hasRecord)
m_271871_(C_507_ p_273038_, boolean arg1)
public void
g()
startPlaying()
method_49212()
m_uhazrzqf()
startPlaying()
startPlaying()
m_271687_()
private void
v()
stopPlaying()
method_49214()
m_xfajkuei()
stopPlaying()
stopPlaying()
m_272088_()
private void
b(cmm arg0, gu arg1, dcb arg2)
tick(Level arg0, BlockPos arg1, BlockState arg2)
method_49211(class_1937 arg0, class_2338 arg1, class_2680 arg2)
m_gtegbipu(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2)
tick(World world, BlockPos pos, BlockState state)
tick(World world, BlockPos pos, BlockState state)
m_272276_(C_1596_ p_273143_, C_4675_ p_273372_, C_2064_ arg2)
private boolean
a(cgr arg0)
shouldRecordStopPlaying(RecordItem arg0)
method_44372(class_1813 arg0)
m_xfrxembw(C_mrrkyqgt arg0)
isSongFinished(MusicDiscItem musicDisc)
isDiscFinishedPlaying(MusicDiscItem disc)
m_271713_(C_1408_ arg0)
private boolean
w()
shouldSendJukeboxPlayingEvent()
method_44371()
m_qubwcpmc()
hasSecondPassed()
oneSecondWithoutEvents()
m_239365_()
public ItemStack
a(int arg0)
getItem(int arg0)
method_5438(int arg0)
m_jzosiplc(int arg0)
getStack(int arg0)
getStack(int arg0)
m_8020_(int arg0)
public ItemStack
a(int arg0, int arg1)
removeItem(int arg0, int arg1)
method_5434(int arg0, int arg1)
m_jqhmcoxx(int arg0, int arg1)
removeStack(int arg0, int arg1)
removeStack(int arg0, int arg1)
m_7407_(int p_273414_, int arg1)
public void
a(int arg0, cfz arg1)
setItem(int arg0, ItemStack arg1)
method_5447(int arg0, class_1799 arg1)
m_akaynoad(int arg0, C_sddaxwyk arg1)
setStack(int arg0, ItemStack arg1)
setStack(int arg0, ItemStack arg1)
m_6836_(int p_273584_, C_1391_ arg1)
public int
ac_()
getMaxStackSize()
method_5444()
m_hxlarkya()
getMaxCountPerStack()
getMaxCountPerStack()
m_6893_()
public boolean
a(byo arg0)
stillValid(Player arg0)
method_5443(class_1657 arg0)
m_noresdqq(C_jzrpycqo arg0)
canPlayerUse(PlayerEntity arg0)
canPlayerUse(PlayerEntity arg0)
m_6542_(C_1141_ arg0)
public boolean
b(int arg0, cfz arg1)
canPlaceItem(int arg0, ItemStack arg1)
method_5437(int arg0, class_1799 arg1)
m_umfxwlmm(int arg0, C_sddaxwyk arg1)
isValid(int arg0, ItemStack arg1)
isValid(int arg0, ItemStack arg1)
m_7013_(int p_273689_, C_1391_ arg1)
public boolean
a(bdq arg0, int arg1, cfz arg2)
canTakeItem(Container arg0, int arg1, ItemStack arg2)
method_49104(class_1263 arg0, int arg1, class_1799 arg2)
m_ofgoacbo(C_pjtstjoq arg0, int arg1, C_sddaxwyk arg2)
canTransferTo(Inventory arg0, int arg1, ItemStack arg2)
canTransferTo(Inventory arg0, int arg1, ItemStack arg2)
m_271862_(C_464_ p_273168_, int p_273785_, C_1391_ arg2)
private void
a(cmm arg0, gu arg1)
spawnMusicParticles(Level arg0, BlockPos arg1)
method_48969(class_1937 arg0, class_2338 arg1)
m_rjvzprgd(C_cdctfzbn arg0, C_hynzadkk arg1)
spawnNoteParticle(World world, BlockPos pos)
spawnMusicParticles(World world, BlockPos pos)
m_269320_(C_1596_ p_270940_, C_4675_ arg1)
public void
i()
popOutRecord()
method_49213()
m_hnoesuek()
dropRecord()
dropDisc()
m_272252_()
public static void
a(cmm arg0, gu arg1, dcb arg2, dan arg3)
playRecordTick(Level arg0, BlockPos arg1, BlockState arg2, JukeboxBlockEntity arg3)
method_44370(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_2619 arg3)
m_tqregizl(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2, C_qgqgzpda arg3)
tick(World world, BlockPos pos, BlockState state, JukeboxBlockEntity blockEntity)
tick(World world, BlockPos pos, BlockState state, JukeboxBlockEntity jukeboxEntity)
m_239937_(C_1596_ p_239938_, C_4675_ p_239939_, C_2064_ p_239940_, C_2015_ p_239941_)
public void
a(cfz arg0)
setRecordWithoutPlaying(ItemStack arg0)
method_49210(class_1799 arg0)
m_oqektpyy(C_sddaxwyk arg0)
setDisc(ItemStack stack)
setDisc(ItemStack disc)
m_272139_(C_1391_ arg0)