Package net.minecraft.block
Class DropperBlock
java.lang.Object
net.minecraft.block.AbstractBlock
net.minecraft.block.Block
net.minecraft.block.BlockWithEntity
net.minecraft.block.DispenserBlock
net.minecraft.block.DropperBlock
- All Implemented Interfaces:
BlockEntityProvider
,ItemConvertible
public class DropperBlock extends DispenserBlock
- Mappings:
Namespace Name official byu
intermediary net/minecraft/class_2325
named net/minecraft/block/DropperBlock
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.block.Block
Block.NeighborGroup
Nested classes/interfaces inherited from class net.minecraft.block.AbstractBlock
AbstractBlock.AbstractBlockState, AbstractBlock.ContextPredicate, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A>
-
Field Summary
Fields Modifier and Type Field Description private static DispenserBehavior
BEHAVIOR
Fields inherited from class net.minecraft.block.DispenserBlock
FACING, TRIGGERED
Fields inherited from class net.minecraft.block.Block
LOGGER, STATE_IDS, stateManager
Fields inherited from class net.minecraft.block.AbstractBlock
collidable, DIRECTIONS, dynamicBounds, jumpVelocityMultiplier, lootTableId, material, randomTicks, resistance, settings, slipperiness, soundGroup, velocityMultiplier
-
Constructor Summary
Constructors Constructor Description DropperBlock(AbstractBlock.Settings settings)
-
Method Summary
Modifier and Type Method Description BlockEntity
createBlockEntity(BlockPos pos, BlockState state)
protected void
dispense(ServerWorld world, BlockPos pos)
protected DispenserBehavior
getBehaviorForItem(ItemStack stack)
Methods inherited from class net.minecraft.block.DispenserBlock
appendProperties, getComparatorOutput, getOutputLocation, getPlacementState, getRenderType, hasComparatorOutput, mirror, neighborUpdate, onPlaced, onStateReplaced, onUse, registerBehavior, rotate, scheduledTick
Methods inherited from class net.minecraft.block.BlockWithEntity
checkType, createScreenHandlerFactory, onSyncedBlockEvent
Methods inherited from class net.minecraft.block.Block
addStacksForDisplay, afterBreak, appendTooltip, asBlock, asItem, canMobSpawnInside, cannotConnect, createCuboidShape, dropExperience, dropStack, dropStacks, dropStacks, dropStacks, getBlastResistance, getBlockFromItem, getDefaultState, getDroppedStacks, getDroppedStacks, getJumpVelocityMultiplier, getName, getPickStack, getRawIdFromState, getShapesForStates, getSlipperiness, getSoundGroup, getStateFromRawId, getStateManager, getTranslationKey, getVelocityMultiplier, hasDynamicBounds, hasRandomTicks, hasTopRim, isFaceFullSquare, isShapeFullCube, isTranslucent, method_33614, onBreak, onBroken, onDestroyedByExplosion, onEntityLand, onLandedUpon, onSteppedOn, postProcessState, precipitationTick, pushEntitiesUpBeforeBlockChange, randomDisplayTick, replace, replace, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, sideCoversSmallSquare, toString
Methods inherited from class net.minecraft.block.AbstractBlock
calcBlockBreakingDelta, canBucketPlace, canPathfindThrough, canPlaceAt, canReplace, emitsRedstonePower, getAmbientOcclusionLightLevel, getCollisionShape, getCullingShape, getDefaultMapColor, getDroppedStacks, getFluidState, getLootTableId, getMaxModelOffset, getOffsetType, getOpacity, getOutlineShape, getPistonBehavior, getRaycastShape, getRenderingSeed, getSidesShape, getStateForNeighborUpdate, getStrongRedstonePower, getVisualShape, getWeakRedstonePower, hasSidedTransparency, isSideInvisible, onBlockAdded, onBlockBreakStart, onEntityCollision, onProjectileHit, onStacksDropped, prepare, randomTick
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.block.BlockEntityProvider
getGameEventListener, getTicker
-
Field Details
-
BEHAVIOR
- Mappings:
Namespace Name Mixin selector official c
Lbyu;c:Lgy;
intermediary field_10949
Lnet/minecraft/class_2325;field_10949:Lnet/minecraft/class_2357;
named BEHAVIOR
Lnet/minecraft/block/DropperBlock;BEHAVIOR:Lnet/minecraft/block/dispenser/DispenserBehavior;
-
-
Constructor Details
-
DropperBlock
- Mappings:
Namespace Name Mixin selector official <init>
Lchs;<init>(Lchs$c;)V
intermediary <init>
Lnet/minecraft/class_4970;<init>(Lnet/minecraft/class_4970$class_2251;)V
named <init>
Lnet/minecraft/block/AbstractBlock;<init>(Lnet/minecraft/block/AbstractBlock$Settings;)V
-
-
Method Details
-
getBehaviorForItem
- Overrides:
getBehaviorForItem
in classDispenserBlock
- Mappings:
Namespace Name Mixin selector official a
Lbyp;a(Lbnv;)Lgy;
intermediary method_10011
Lnet/minecraft/class_2315;method_10011(Lnet/minecraft/class_1799;)Lnet/minecraft/class_2357;
named getBehaviorForItem
Lnet/minecraft/block/DispenserBlock;getBehaviorForItem(Lnet/minecraft/item/ItemStack;)Lnet/minecraft/block/dispenser/DispenserBehavior;
-
createBlockEntity
- Specified by:
createBlockEntity
in interfaceBlockEntityProvider
- Overrides:
createBlockEntity
in classDispenserBlock
- Mappings:
Namespace Name Mixin selector official a
Lbzb;a(Lfx;Lcht;)Lcfr;
intermediary method_10123
Lnet/minecraft/class_2343;method_10123(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Lnet/minecraft/class_2586;
named createBlockEntity
Lnet/minecraft/block/BlockEntityProvider;createBlockEntity(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/entity/BlockEntity;
-
dispense
- Overrides:
dispense
in classDispenserBlock
- Mappings:
Namespace Name Mixin selector official a
Lbyp;a(Laav;Lfx;)V
intermediary method_10012
Lnet/minecraft/class_2315;method_10012(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)V
named dispense
Lnet/minecraft/block/DispenserBlock;dispense(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;)V
-