Package net.minecraft.block
Class DropperBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.BlockWithEntity
net.minecraft.block.DispenserBlock
net.minecraft.block.DropperBlock
- All Implemented Interfaces:
BlockEntityProvider
public class DropperBlock extends DispenserBlock
- Mappings:
Namespace Name official agkintermediary net/minecraft/class_199named net/minecraft/block/DropperBlock
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.block.Block
Block.OffsetType, Block.Sound -
Field Summary
Fields Modifier and Type Field Description private DispenserBehaviorBEHAVIORFields inherited from class net.minecraft.block.DispenserBlock
FACING, random, SPECIAL_ITEMS, TRIGGEREDFields inherited from class net.minecraft.block.Block
ANVIL, BLOCK_STATES, blockEntity, boundingBoxMaxX, boundingBoxMaxY, boundingBoxMaxZ, boundingBoxMinX, boundingBoxMinY, boundingBoxMinZ, CLOTH, fullBlock, GLASS, GRASS, GRAVEL, LADDER, lightLevel, material, materialColor, opacity, ORE, particleGravity, RAIL, randomTicks, REGISTRY, resistance, SAND, SLIME, slipperiness, SNOW, sound, stateManager, stats, STONE, strength, transluscent, useNeighbourLight, WOOD -
Constructor Summary
Constructors Constructor Description DropperBlock() -
Method Summary
Modifier and Type Method Description BlockEntitycreateBlockEntity(World world, int id)protected voiddispense(World world, BlockPos pos)protected DispenserBehaviorgetBehaviorForItem(ItemStack stack)Methods inherited from class net.minecraft.block.DispenserBlock
appendProperties, getBlockType, getComparatorOutput, getData, getDirection, getPosition, getStateFromData, getTickRate, hasComparatorOutput, method_696, neighborUpdate, onBreaking, onCreation, onPlaced, onUse, scheduledTick, stateFromDataMethods inherited from class net.minecraft.block.BlockWithEntity
method_580, method_581, onEventMethods inherited from class net.minecraft.block.Block
appendCollisionBoxes, appendItemStacks, areBlocksEqual, blocksMovement, calcBlockBreakingData, canBePlacedAdjacent, canBePlacedAtPos, canBeReplaced, canCollide, canMobSpawnInside, createStackFromBlock, disableStats, dropAsItem, dropExperience, emitsRedstonePower, get, getAmbientOcclusionLightLevel, getBlastResistance, getBlendColor, getBlockColor, getBlockFromItem, getBlockState, getBonusDrops, getBrightness, getByBlockState, getById, getCollisionBox, getColor, getColor, getDefaultState, getDropCount, getDropItem, getIdByBlock, getItemGroup, getLightLevel, getMaterial, getMaterialColor, getMaxX, getMaxY, getMaxZ, getMeta, getMeta, getMinX, getMinY, getMinZ, getOffsetType, getOpacity, getPickItem, getPistonInteractionType, getRenderLayerType, getSelectionBox, getStateFromRawId, getStateManager, getStrength, getStrongRedstonePower, getTranslatedName, getTranslationKey, getWeakRedstonePower, harvest, hasBlockEntity, hasCollision, hasCollision, hasStats, hasTransperancy, isEqualTo, isFire, isFlowerPot, isFullBlock, isFullCube, isLeafBlock, isNormalBlock, isReplaceable, isSideInvisible, isTransluscent, method_655, onBlockBreak, onBlockBreakStart, onBreakByPlayer, onBreakByPlayer, onDestroyedByExplosion, onEntityCollision, onEntityCollision, onLandedUpon, onSteppedOn, onUpdateTick, rainTick, randomDisplayTick, randomDropAsItem, renderAsNormalBlock, requiresSilkTouch, setBlockItemBounds, setBoundingBox, setBoundingBox, setDefaultState, setEntityVelocity, setItemGroup, setLightLevel, setOpacity, setResistance, setSound, setStrength, setTickRandomly, setTranslationKey, setUnbreakable, setup, shouldDropItemsOnExplosion, ticksRandomly, toString, usesNeighbourLight
-
Field Details
-
BEHAVIOR
- Mappings:
Namespace Name Mixin selector official PLagk;P:Lcr;intermediary field_896Lnet/minecraft/class_199;field_896:Lnet/minecraft/class_1387;named BEHAVIORLnet/minecraft/block/DropperBlock;BEHAVIOR:Lnet/minecraft/block/dispenser/DispenserBehavior;
-
-
Constructor Details
-
DropperBlock
public DropperBlock()
-
-
Method Details
-
getBehaviorForItem
- Overrides:
getBehaviorForItemin classDispenserBlock- Mappings:
Namespace Name Mixin selector official aLagg;a(Lzx;)Lcr;intermediary method_811Lnet/minecraft/class_191;method_811(Lnet/minecraft/class_2056;)Lnet/minecraft/class_1387;named getBehaviorForItemLnet/minecraft/block/DispenserBlock;getBehaviorForItem(Lnet/minecraft/item/ItemStack;)Lnet/minecraft/block/dispenser/DispenserBehavior;
-
createBlockEntity
- Specified by:
createBlockEntityin interfaceBlockEntityProvider- Overrides:
createBlockEntityin classDispenserBlock- Mappings:
Namespace Name Mixin selector official aLagq;a(Ladm;I)Lakw;intermediary method_841Lnet/minecraft/class_205;method_841(Lnet/minecraft/class_99;I)Lnet/minecraft/class_348;named createBlockEntityLnet/minecraft/block/BlockEntityProvider;createBlockEntity(Lnet/minecraft/world/World;I)Lnet/minecraft/block/entity/BlockEntity;
-
dispense
- Overrides:
dispensein classDispenserBlock- Mappings:
Namespace Name Mixin selector official fLagg;f(Ladm;Lcj;)Vintermediary method_814Lnet/minecraft/class_191;method_814(Lnet/minecraft/class_99;Lnet/minecraft/class_1372;)Vnamed dispenseLnet/minecraft/block/DispenserBlock;dispense(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V
-