net.minecraft.world.level.block

public class DispenserBlock

extends BaseEntityBlock

All mapped superinterfaces:

ItemLike, EntityBlock

bqo
net.minecraft.world.level.block.DispenserBlock
net.minecraft.class_2315
net.minecraft.unmapped.C_sridforj
net.minecraft.block.DispenserBlock
net.minecraft.block.DispenserBlock
net.minecraft.server.v1_15_R1.BlockDispenser

Field summary

Modifier and TypeField
public static final DirectionProperty
a
FACING
field_10918
f_kigvivjn
FACING
field_176441_a
FACING
public static final BooleanProperty
b
TRIGGERED
field_10920
f_mqswtdqm
TRIGGERED
field_176440_b
TRIGGERED
private static final Map<Item, DispenseItemBehavior>
c
DISPENSER_REGISTRY
field_10919
f_bkwqoovv
BEHAVIORS
field_149943_a
REGISTRY

Constructor summary

ModifierConstructor
protected (Block$Properties settings)

Method summary

Modifier and TypeMethod
public static void
a(bjs arg0, gl 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)
func_199774_a(IItemProvider arg0, IDispenseItemBehavior arg1)
public int
a(bjw arg0)
getTickDelay(LevelReader arg0)
method_9563(class_4538 arg0)
m_bodhwnvp(C_eemzphbi arg0)
getTickRate(WorldView arg0)
func_149738_a(IWorldReader arg0)
public InteractionResult
a(byg arg0, bjt arg1, fk arg2, ayg arg3, ajh arg4, cvd 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_oynnfzzh(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)
func_225533_a_(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockRayTraceResult arg5)
interact(IBlockData arg0, World arg1, BlockPosition arg2, EntityHuman arg3, EnumHand arg4, MovingObjectPositionBlock arg5)
protected void
a(bjt arg0, fk arg1)
dispenseFrom(Level arg0, BlockPos arg1)
method_10012(class_1937 arg0, class_2338 arg1)
m_xmkonidr(C_cdctfzbn arg0, C_hynzadkk arg1)
dispense(World world, BlockPos pos)
func_176439_d(World arg0, BlockPos arg1)
dispense(World arg0, BlockPosition arg1)
protected DispenseItemBehavior
a(bek arg0)
getDispenseMethod(ItemStack arg0)
method_10011(class_1799 arg0)
m_fnobacze(C_sddaxwyk arg0)
getBehaviorForItem(ItemStack stack)
func_149940_a(ItemStack arg0)
public void
a(byg arg0, bjt arg1, fk arg2, bpe arg3, fk 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_wqptvpbk(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)
func_220069_a(BlockState arg0, World arg1, BlockPos arg2, Block arg3, BlockPos arg4, boolean arg5)
doPhysics(IBlockData arg0, World arg1, BlockPosition arg2, Block arg3, BlockPosition arg4, boolean arg5)
public void
a(byg arg0, xd arg1, fk arg2, Random arg3)
tick(BlockState arg0, ServerLevel arg1, BlockPos arg2, Random arg3)
method_9588(class_2680 arg0, class_3218 arg1, class_2338 arg2, Random arg3)
m_xcolsebt(C_txtbiemp arg0, C_bdwnwhiu arg1, C_hynzadkk arg2, Random arg3)
scheduledTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
func_225534_a_(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
tick(IBlockData arg0, WorldServer arg1, BlockPosition arg2, Random arg3)
public BlockEntity
a(bjd arg0)
newBlockEntity(BlockGetter arg0)
method_10123(class_1922 arg0)
m_zupvpdxk(C_peaveboq arg0)
createBlockEntity(BlockView arg0)
func_196283_a_(IBlockReader arg0)
createTile(IBlockAccess arg0)
public BlockState
a(bcn arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
m_iwedynhy(C_aiootljq arg0)
getPlacementState(ItemPlacementContext arg0)
func_196258_a(BlockItemUseContext arg0)
getPlacedState(BlockActionContext arg0)
public void
a(bjt arg0, fk arg1, byg arg2, akw arg3, bek 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)
func_180633_a(World arg0, BlockPos arg1, BlockState arg2, LivingEntity arg3, ItemStack arg4)
postPlace(World arg0, BlockPosition arg1, IBlockData arg2, EntityLiving arg3, ItemStack arg4)
public void
a(byg arg0, bjt arg1, fk arg2, byg 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_hzvqltib(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_txtbiemp arg3, boolean arg4)
onBlockRemoved(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
func_196243_a(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
remove(IBlockData arg0, World arg1, BlockPosition arg2, IBlockData arg3, boolean arg4)
public static Position
a(fl arg0)
getDispensePosition(BlockSource arg0)
method_10010(class_2342 arg0)
m_juckqsnd(C_wzdnszcs arg0)
getOutputLocation(BlockPointer pointer)
func_149939_a(IBlockSource arg0)
public boolean
b(byg arg0)
hasAnalogOutputSignal(BlockState arg0)
method_9498(class_2680 arg0)
m_xstqflyp(C_txtbiemp arg0)
hasComparatorOutput(BlockState arg0)
func_149740_M(BlockState arg0)
isComplexRedstone(IBlockData arg0)
public int
a(byg arg0, bjt arg1, fk arg2)
getAnalogOutputSignal(BlockState arg0, Level arg1, BlockPos arg2)
method_9572(class_2680 arg0, class_1937 arg1, class_2338 arg2)
m_tteckpqx(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2)
getComparatorOutput(BlockState arg0, World arg1, BlockPos arg2)
func_180641_l(BlockState arg0, World arg1, BlockPos arg2)
public RenderShape
c(byg arg0)
getRenderShape(BlockState arg0)
method_9604(class_2680 arg0)
m_axrqspoo(C_txtbiemp arg0)
getRenderType(BlockState arg0)
func_149645_b(BlockState arg0)
public BlockState
a(byg arg0, btr arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
m_hiewxoya(C_txtbiemp arg0, C_mboglirk arg1)
rotate(BlockState arg0, BlockRotation arg1)
func_185499_a(BlockState arg0, Rotation arg1)
public BlockState
a(byg arg0, bsr arg1)
mirror(BlockState arg0, Mirror arg1)
method_9569(class_2680 arg0, class_2415 arg1)
m_yaqgytid(C_txtbiemp arg0, C_qomzaqud arg1)
mirror(BlockState arg0, BlockMirror arg1)
func_185471_a(BlockState arg0, Mirror arg1)
protected void
a(byh$a<bpe, byg> 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)
func_206840_a(StateContainer$Builder<Block, BlockState> arg0)