net.minecraft.world.level.block

public class DispenserBlock

extends BaseEntityBlock

All mapped superinterfaces:

FeatureElement, ItemLike, EntityBlock

cro
net.minecraft.world.level.block.DispenserBlock
net.minecraft.class_2315
net.minecraft.unmapped.C_sridforj
net.minecraft.block.DispenserBlock
net.minecraft.block.dispenser.DispenserBlock
net.minecraft.src.C_1763_
net.minecraft.world.level.block.BlockDispenser

Field summary

Modifier and TypeField
public static final DirectionProperty
a
FACING
field_10918
f_kigvivjn
FACING
FACING
f_52659_
public static final BooleanProperty
b
TRIGGERED
field_10920
f_mqswtdqm
TRIGGERED
TRIGGERED
f_52660_
private static final Map<Item, DispenseItemBehavior>
c
DISPENSER_REGISTRY
field_10919
f_bkwqoovv
BEHAVIORS
BEHAVIORS
f_52661_
private static final int
d
TRIGGER_DURATION
field_31082
f_etrjkrot
SCHEDULED_TICK_DELAY
SCHEDULED_TICK_DELAY
f_153160_

Constructor summary

ModifierConstructor
protected (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public static void
a(cml arg0, ih arg1)
registerBehavior(ItemLike arg0, DispenseItemBehavior arg1)
method_10009(class_1935 arg0, class_2357 arg1)
m_jiinrsul(C_gmbqjnle arg0, C_ooeeaffg arg1)
registerBehavior(ItemConvertible provider, DispenserBehavior behavior)
registerBehavior(ItemConvertible provider, DispenserBehavior behavior)
m_52672_(C_1595_ p_52673_, C_4718_ p_52674_)
public InteractionResult
a(dcb arg0, cmm arg1, gu arg2, byo arg3, bdw arg4, eee arg5)
use(BlockState arg0, Level arg1, BlockPos arg2, Player arg3, InteractionHand arg4, BlockHitResult arg5)
method_9534(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_1268 arg4, class_3965 arg5)
m_rocdemyx(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_jzrpycqo arg3, C_laxmzoqs arg4, C_jdakttms arg5)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockHitResult arg5)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockHitResult arg5)
m_6227_(C_2064_ p_52694_, C_1596_ p_52695_, C_4675_ p_52696_, C_1141_ p_52697_, C_470_ p_52698_, C_3041_ arg5)
protected void
a(aif arg0, gu arg1)
dispenseFrom(ServerLevel arg0, BlockPos arg1)
method_10012(class_3218 arg0, class_2338 arg1)
m_xmkonidr(C_bdwnwhiu arg0, C_hynzadkk arg1)
dispense(ServerWorld world, BlockPos pos)
dispense(ServerWorld world, BlockPos pos)
m_5824_(C_12_ p_52666_, C_4675_ arg1)
protected DispenseItemBehavior
a(cfz arg0)
getDispenseMethod(ItemStack arg0)
method_10011(class_1799 arg0)
m_fnobacze(C_sddaxwyk arg0)
getBehaviorForItem(ItemStack stack)
getBehaviorForItem(ItemStack stack)
m_7216_(C_1391_ arg0)
public void
a(dcb arg0, cmm arg1, gu arg2, cpn arg3, gu arg4, boolean arg5)
neighborChanged(BlockState arg0, Level arg1, BlockPos arg2, Block arg3, BlockPos arg4, boolean arg5)
method_9612(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2248 arg3, class_2338 arg4, boolean arg5)
m_tmlkosuh(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_mmxmpdoq arg3, C_hynzadkk arg4, boolean arg5)
neighborUpdate(BlockState arg0, World arg1, BlockPos arg2, Block arg3, BlockPos arg4, boolean arg5)
neighborUpdate(BlockState arg0, World arg1, BlockPos arg2, Block arg3, BlockPos arg4, boolean arg5)
m_6861_(C_2064_ p_52701_, C_1596_ p_52702_, C_4675_ p_52703_, C_1706_ p_52704_, C_4675_ p_52705_, boolean arg5)
public void
a(dcb arg0, aif arg1, gu arg2, apf arg3)
tick(BlockState arg0, ServerLevel arg1, BlockPos arg2, RandomSource arg3)
method_9588(class_2680 arg0, class_3218 arg1, class_2338 arg2, class_5819 arg3)
m_bneobcwj(C_txtbiemp arg0, C_bdwnwhiu arg1, C_hynzadkk arg2, C_rlomrsco arg3)
scheduledTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
scheduledTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, RandomGenerator arg3)
m_213897_(C_2064_ p_221076_, C_12_ p_221077_, C_4675_ p_221078_, C_212974_ arg3)
public BlockEntity
a(gu arg0, dcb arg1)
newBlockEntity(BlockPos arg0, BlockState arg1)
method_10123(class_2338 arg0, class_2680 arg1)
m_zupvpdxk(C_hynzadkk arg0, C_txtbiemp arg1)
createBlockEntity(BlockPos arg0, BlockState arg1)
createBlockEntity(BlockPos arg0, BlockState arg1)
m_142194_(C_4675_ p_153163_, C_2064_ arg1)
public BlockState
a(cih arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
m_iwedynhy(C_aiootljq arg0)
getPlacementState(ItemPlacementContext arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
public void
a(cmm arg0, gu arg1, dcb arg2, bfz arg3, cfz 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)
m_fuvqealb(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2, C_usxaxydn arg3, C_sddaxwyk arg4)
onPlaced(World arg0, BlockPos arg1, BlockState arg2, LivingEntity arg3, ItemStack arg4)
onPlaced(World arg0, BlockPos arg1, BlockState arg2, LivingEntity arg3, ItemStack arg4)
m_6402_(C_1596_ p_52677_, C_4675_ p_52678_, C_2064_ p_52679_, C_524_ p_52680_, C_1391_ arg4)
public void
a(dcb arg0, cmm arg1, gu arg2, dcb 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)
m_rhbsxbgh(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_txtbiemp arg3, boolean arg4)
onStateReplaced(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
onStateReplaced(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
m_6810_(C_2064_ p_52708_, C_1596_ p_52709_, C_4675_ p_52710_, C_2064_ p_52711_, boolean arg4)
public static Position
a(gv arg0)
getDispensePosition(BlockSource arg0)
method_10010(class_2342 arg0)
m_juckqsnd(C_wzdnszcs arg0)
getOutputLocation(BlockPointer pointer)
getOutputLocation(BlockPointer pointer)
m_52720_(C_4682_ p_52721_)
public boolean
d_(dcb arg0)
hasAnalogOutputSignal(BlockState arg0)
method_9498(class_2680 arg0)
m_upxjoscw(C_txtbiemp arg0)
hasComparatorOutput(BlockState arg0)
hasComparatorOutput(BlockState arg0)
m_7278_(C_2064_ arg0)
public int
a(dcb arg0, cmm arg1, gu arg2)
getAnalogOutputSignal(BlockState arg0, Level arg1, BlockPos arg2)
method_9572(class_2680 arg0, class_1937 arg1, class_2338 arg2)
m_wtutwlcg(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2)
getComparatorOutput(BlockState arg0, World arg1, BlockPos arg2)
getComparatorOutput(BlockState arg0, World arg1, BlockPos arg2)
m_6782_(C_2064_ p_52690_, C_1596_ p_52691_, C_4675_ arg2)
public RenderShape
b_(dcb arg0)
getRenderShape(BlockState arg0)
method_9604(class_2680 arg0)
m_mjglzdvu(C_txtbiemp arg0)
getRenderType(BlockState arg0)
getRenderType(BlockState arg0)
m_7514_(C_2064_ arg0)
public BlockState
a(dcb arg0, cvz arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
m_umbsjste(C_txtbiemp arg0, C_mboglirk arg1)
rotate(BlockState arg0, BlockRotation arg1)
rotate(BlockState arg0, BlockRotation arg1)
m_6843_(C_2064_ p_52717_, C_1886_ arg1)
public BlockState
a(dcb arg0, cui arg1)
mirror(BlockState arg0, Mirror arg1)
method_9569(class_2680 arg0, class_2415 arg1)
m_ssvaouey(C_txtbiemp arg0, C_qomzaqud arg1)
mirror(BlockState arg0, BlockMirror arg1)
mirror(BlockState arg0, BlockMirror arg1)
m_6943_(C_2064_ p_52714_, C_1838_ arg1)
protected void
a(dcc$a<cpn, dcb> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
m_yujtcnah(C_ezfeikaq$C_mfnsmxhw<C_mmxmpdoq, C_txtbiemp> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
m_7926_(C_2065_$C_2066_<C_1706_, C_2064_> arg0)