net.minecraft.world.level.block

public class JukeboxBlock

extends BaseEntityBlock

All mapped superinterfaces:

FeatureElement, ItemLike, EntityBlock

dje
net.minecraft.world.level.block.JukeboxBlock
net.minecraft.class_2387
net.minecraft.block.JukeboxBlock
net.minecraft.src.C_1820_
net.minecraft.world.level.block.BlockJukeBox

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<JukeboxBlock>
a
CODEC
field_46377
CODEC
f_303074_
public static final BooleanProperty
b
HAS_RECORD
field_11180
HAS_RECORD
f_54254_

Constructor summary

ModifierConstructor
protected (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<JukeboxBlock>
a()
codec()
method_53969()
getCodec()
m_304657_()
public void
a(dca arg0, iz arg1, dse arg2, btr arg3, cur arg4)
setPlacedBy(Level arg0, BlockPos arg1, BlockState arg2, LivingEntity arg3, ItemStack arg4)
method_9567(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_1309 arg3, class_1799 arg4)
onPlaced(World arg0, BlockPos arg1, BlockState arg2, LivingEntity arg3, ItemStack arg4)
m_6402_(C_1596_ p_54265_, C_4675_ p_54266_, C_2064_ p_54267_, C_524_ p_54268_, C_1391_ arg4)
protected InteractionResult
a(dse arg0, dca arg1, iz arg2, cmz arg3, evp arg4)
useWithoutItem(BlockState arg0, Level arg1, BlockPos arg2, Player arg3, BlockHitResult arg4)
method_55766(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_3965 arg4)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, BlockHitResult arg4)
m_6227_(C_2064_ p_54282_, C_1596_ p_54283_, C_4675_ p_54284_, C_1141_ p_54286_, C_3041_ arg4)
protected void
a(dse arg0, dca arg1, iz arg2, dse arg3, boolean arg4)
onRemove(BlockState arg0, Level arg1, BlockPos arg2, BlockState arg3, boolean arg4)
method_9536(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2680 arg3, boolean arg4)
onStateReplaced(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
m_6810_(C_2064_ p_54289_, C_1596_ p_54290_, C_4675_ p_54291_, C_2064_ p_54292_, boolean arg4)
public BlockEntity
a(iz arg0, dse arg1)
newBlockEntity(BlockPos arg0, BlockState arg1)
method_10123(class_2338 arg0, class_2680 arg1)
createBlockEntity(BlockPos arg0, BlockState arg1)
m_142194_(C_4675_ p_153452_, C_2064_ arg1)
public boolean
e_(dse arg0)
isSignalSource(BlockState arg0)
method_9506(class_2680 arg0)
emitsRedstonePower(BlockState arg0)
m_7899_(C_2064_ arg0)
public int
a(dse arg0, dbg arg1, iz arg2, je arg3)
getSignal(BlockState arg0, BlockGetter arg1, BlockPos arg2, Direction arg3)
method_9524(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_2350 arg3)
getWeakRedstonePower(BlockState arg0, BlockView arg1, BlockPos arg2, Direction arg3)
m_6378_(C_2064_ p_273232_, C_1559_ p_273524_, C_4675_ p_272902_, C_4687_ arg3)
protected boolean
c_(dse arg0)
hasAnalogOutputSignal(BlockState arg0)
method_9498(class_2680 arg0)
hasComparatorOutput(BlockState arg0)
m_7278_(C_2064_ arg0)
protected int
a(dse arg0, dca arg1, iz arg2)
getAnalogOutputSignal(BlockState arg0, Level arg1, BlockPos arg2)
method_9572(class_2680 arg0, class_1937 arg1, class_2338 arg2)
getComparatorOutput(BlockState arg0, World arg1, BlockPos arg2)
m_6782_(C_2064_ p_54278_, C_1596_ p_54279_, C_4675_ arg2)
protected RenderShape
a_(dse arg0)
getRenderShape(BlockState arg0)
method_9604(class_2680 arg0)
getRenderType(BlockState arg0)
m_7514_(C_2064_ arg0)
protected void
a(dsf$a<dfb, dse> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
m_7926_(C_2065_$C_2066_<C_1706_, C_2064_> arg0)
public <T extends BlockEntity> BlockEntityTicker<T>
a(dca arg0, dse arg1, dpl<T> arg2)
getTicker(Level arg0, BlockState arg1, BlockEntityType<T> arg2)
method_31645(class_1937 arg0, class_2680 arg1, class_2591<T> arg2)
getTicker(World arg0, BlockState arg1, BlockEntityType<T> arg2)
m_142354_(C_1596_ p_239683_, C_2064_ p_239684_, C_1992_<T> arg2)