net.minecraft.world.level.block.entity

public class JukeboxBlockEntity

extends BlockEntity implements Clearable, ContainerSingleItem$BlockContainerSingleItem

All mapped superinterfaces:

Clearable, ContainerSingleItem$BlockContainerSingleItem, ContainerSingleItem, Container

drj
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
public static final String
b
SONG_ITEM_TAG_ID
field_52064
f_vgryhheq
RECORD_ITEM_NBT_KEY
RECORD_ITEM_KEY
f_337261_
public static final String
c
TICKS_SINCE_SONG_STARTED_TAG_ID
field_52065
f_edkofmfd
TICKS_SINCE_SONG_STARTED_NBT_KEY
TICKS_SINCE_SONG_STARTED_KEY
f_336741_
private ItemStack
d
item
field_46507
f_vfdljkfi
recordStack
record
f_303331_
private final JukeboxSongPlayer
e
jukeboxSongPlayer
field_52066
f_emakbjng
manager
player
f_337052_

Constructor summary

ModifierConstructor
public (BlockPos pos, BlockState state)

Method summary

Modifier and TypeMethod
public JukeboxSongPlayer
j()
getSongPlayer()
method_60784()
m_iifmnmdc()
getManager()
getPlayer()
m_338555_()
public void
k()
onSongChanged()
method_60785()
m_hcxvewio()
onManagerChange()
onSongChanged()
m_338418_()
private void
a(boolean arg0)
notifyItemChangedInJukebox(boolean arg0)
method_60782(boolean arg0)
m_ntjmfgux(boolean arg0)
onRecordStackChanged(boolean hasRecord)
onRecordChanged(boolean emptyRecord)
m_269320_(boolean arg0)
public void
l()
popOutTheItem()
method_49213()
m_ujtzvitd()
dropRecord()
dropRecord()
m_272252_()
public static void
a(dcw arg0, jd arg1, dtc arg2, drj arg3)
tick(Level arg0, BlockPos arg1, BlockState arg2, JukeboxBlockEntity arg3)
method_44370(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_2619 arg3)
m_gtegbipu(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 blockEntity)
m_272276_(C_1596_ p_273615_, C_4675_ p_273143_, C_2064_ p_273372_, C_2015_ p_343932_)
public int
u()
getComparatorOutput()
method_60992()
m_wwhlijbd()
getComparatorOutput()
getComparatorOutput()
m_340269_()
protected void
a(ub arg0, jo$a arg1)
loadAdditional(CompoundTag arg0, HolderLookup$Provider arg1)
method_11014(class_2487 arg0, class_7225$class_7874 arg1)
m_trzmaydr(C_hhlwcnih arg0, C_vtbxyypo$C_etmlgbig arg1)
readNbt(NbtCompound arg0, RegistryWrapper$WrapperLookup arg1)
readNbtImpl(NbtCompound arg0, HolderLookup$Provider arg1)
m_318667_(C_4917_ p_330255_, C_213466_$C_254607_ arg1)
protected void
b(ub arg0, jo$a arg1)
saveAdditional(CompoundTag arg0, HolderLookup$Provider arg1)
method_11007(class_2487 arg0, class_7225$class_7874 arg1)
m_qopnimsa(C_hhlwcnih arg0, C_vtbxyypo$C_etmlgbig arg1)
writeNbt(NbtCompound arg0, RegistryWrapper$WrapperLookup arg1)
writeNbt(NbtCompound arg0, HolderLookup$Provider arg1)
m_183515_(C_4917_ p_332390_, C_213466_$C_254607_ arg1)
public ItemStack
f()
getTheItem()
method_54079()
m_xwjsgxrp()
getStack()
getStack()
m_306082_()
public ItemStack
c(int arg0)
splitTheItem(int arg0)
method_54078(int arg0)
m_htpnuxlo(int arg0)
decreaseStack(int arg0)
decrementStack(int arg0)
m_305214_(int arg0)
public void
b(cuq arg0)
setTheItem(ItemStack arg0)
method_54077(class_1799 arg0)
m_bkmnewbu(C_sddaxwyk arg0)
setStack(ItemStack arg0)
setStack(ItemStack arg0)
m_305072_(C_1391_ arg0)
public int
al_()
getMaxStackSize()
method_5444()
m_mwetohsb()
getMaxCountPerStack()
getMaxCountPerStack()
m_6893_()
public BlockEntity
v()
getContainerBlockEntity()
method_54080()
m_ejhbwvaa()
asBlockEntity()
getBlockEntity()
m_304707_()
public boolean
b(int arg0, cuq 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(bqk arg0, int arg1, cuq 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)
public void
c(cuq arg0)
setSongItemWithoutPlaying(ItemStack arg0)
method_49210(class_1799 arg0)
m_umsoiulw(C_sddaxwyk arg0)
setDisc(ItemStack stack)
setRecord(ItemStack record)
m_339691_(C_1391_ arg0)
public void
w()
tryForcePlaySong()
method_60786()
m_cwayblzw()
reloadDisc()
tryPlay()
m_340133_()