Package net.minecraft.block
Class Dispenser
java.lang.Object
net.minecraft.block.BlockBase
net.minecraft.block.BlockWithEntity
net.minecraft.block.Dispenser
- Mappings:
Namespace Name intermediary net/minecraft/class_526glue class_582server paclient xqnamed net/minecraft/block/Dispenser
-
Field Summary
FieldsFields inherited from class net.minecraft.block.BlockBase
ALLOWS_GRASS_UNDER, BED, BEDROCK, BOOKSHELF, BRICKS, BROWN_MUSHROOM, BUTTON, BY_ID, CACTUS, CAKE, CHEST, CLAY, COAL_ORE, COBBLESTONE, COBBLESTONE_STAIRS, COBWEB, CROPS, DANDELION, DEADBUSH, DETECTOR_RAIL, DIAMOND_BLOCK, DIAMOND_ORE, DIRT, DISPENSER, DOUBLE_STONE_SLAB, EMITTANCE, FARMLAND, FENCE, FIRE, FLOWING_LAVA, FLOWING_WATER, FULL_OPAQUE, FURNACE, FURNACE_LIT, GLASS, GLASS_SOUNDS, GLOWSTONE, GOLD_BLOCK, GOLD_ORE, GOLDEN_RAIL, GRASS, GRASS_SOUNDS, GRAVEL, GRAVEL_SOUNDS, hardness, HAS_TILE_ENTITY, ICE, id, IRON_BLOCK, IRON_DOOR, IRON_ORE, isStatEnabled, JACK_O_LANTERN, JUKEBOX, LADDER, LAPIS_LAZULI_BLOCK, LAPIS_LAZULI_ORE, LEAVES, LEVER, LIGHT_OPACITY, LOCKED_CHEST, LOG, material, maxX, maxY, maxZ, METAL_SOUNDS, minX, minY, minZ, MOB_SPAWNER, MOSSY_COBBLESTONE, MOVING_PISTON, NETHERRACK, NO_NOTIFY_ON_META_CHANGE, NOTEBLOCK, OBSIDIAN, particalSpeed, PISTON, PISTON_HEAD, PISTON_SOUNDS, PORTAL, PUMPKIN, RAIL, RED_MUSHROOM, REDSTONE_DUST, REDSTONE_ORE, REDSTONE_ORE_LIT, REDSTONE_REPEATER, REDSTONE_REPEATER_LIT, REDSTONE_TORCH, REDSTONE_TORCH_LIT, resistance, ROSE, SAND, SAND_SOUNDS, SANDSTONE, SAPLING, slipperiness, SNOW, SNOW_BLOCK, SOUL_SAND, sounds, SPONGE, STANDING_SIGN, STICKY_PISTON, STILL_LAVA, STILL_WATER, STONE, STONE_PRESSURE_PLATE, STONE_SLAB, STONE_SOUNDS, SUGAR_CANES, TALLGRASS, texture, TICKS_RANDOMLY, TNT, TORCH, TRAPDOOR, unusedBoolean1, WALL_SIGN, WOOD, WOOD_DOOR, WOOD_SOUNDS, WOOD_STAIRS, WOODEN_PRESSURE_PLATE, WOOL, WOOL_SOUNDS, WORKBENCH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterPlaced(Level level, int x, int y, int z, Living living) booleancanUse(Level level, int x, int y, int z, PlayerBase player) protected TileEntityBaseprivate voidintintgetTextureForSide(int side) intgetTextureForSide(BlockView tileView, int x, int y, int z, int meta) intprivate voidmethod_1775(Level level, int int2, int int3, int int4) voidonAdjacentBlockUpdate(Level level, int x, int y, int z, int id) voidonBlockPlaced(Level level, int x, int y, int z) voidonBlockRemoved(Level level, int x, int y, int z) voidonScheduledTick(Level level, int x, int y, int z, Random rand) Methods inherited from class net.minecraft.block.BlockBase
activate, activate, afterBreak, beforeDestroyedByExplosion, canGrow, canPlaceAt, canPlaceAt, disableNotifyOnMetaDataChange, disableStat, doesBoxCollide, drop, drop, droppedMeta, getBaseColour, getBlastResistance, getBrightness, getCollisionShape, getColourMultiplier, getDropCount, getEmitsRedstonePower, getHardness, getHardness, getOutlineShape, getPistonPushMode, getRenderPass, getRenderType, getTextureForSide, getTranslatedName, getTranslationKey, indirectlyPowered, init, isCollidable, isCollidable, isFullCube, isFullOpaque, isPowered, isSideRendered, isSolid, isStatEnabled, method_1564, method_1605, onBlockPlaced, onCollideWithEntity, onDestroyedByExplosion, onEntityCollision, onSteppedOn, onTileAction, randomDisplayTick, setBlastResistance, setBoundingBox, setHardness, setLightEmittance, setLightOpacity, setSounds, setTicksRandomly, setTranslationKey, setUnbreakable, updateBoundingBox
-
Field Details
-
rand
- Mappings:
Namespace Name Mixin selector intermediary field_2206Lnet/minecraft/class_526;field_2206:Ljava/util/Random;glue field_2399Lclass_582;field_2399:Ljava/util/Random;server aLpa;a:Ljava/util/Random;client aLxq;a:Ljava/util/Random;named randLnet/minecraft/block/Dispenser;rand:Ljava/util/Random;
-
-
Constructor Details
-
Dispenser
protected Dispenser(int id) - Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_526;<init>(I)Vglue <init>Lclass_582;<init>(I)Vserver <init>Lpa;<init>(I)Vclient <init>Lxq;<init>(I)Vnamed <init>Lnet/minecraft/block/Dispenser;<init>(I)V
-
-
Method Details
-
getTickrate
public int getTickrate()- Overrides:
getTickratein classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1565Lnet/minecraft/class_17;method_1565()Iglue method_123Lclass_507;method_123()Iserver cLna;c()Iclient eLuu;e()Inamed getTickrateLnet/minecraft/block/BlockBase;getTickrate()I
-
getDropId
- Overrides:
getDropIdin classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1601Lnet/minecraft/class_17;method_1601(ILjava/util/Random;)Iglue method_19Lclass_507;method_19(ILjava/util/Random;)Iserver aLna;a(ILjava/util/Random;)Iclient aLuu;a(ILjava/util/Random;)Inamed getDropIdLnet/minecraft/block/BlockBase;getDropId(ILjava/util/Random;)I
-
onBlockPlaced
- Overrides:
onBlockPlacedin classBlockWithEntity- Mappings:
Namespace Name Mixin selector intermediary method_1611Lnet/minecraft/class_17;method_1611(Lnet/minecraft/class_18;III)Vglue method_41Lclass_507;method_41(Lclass_129;III)Vserver cLna;c(Ldj;III)Vclient cLuu;c(Lfd;III)Vnamed onBlockPlacedLnet/minecraft/block/BlockBase;onBlockPlaced(Lnet/minecraft/level/Level;III)V
-
method_1775
- Mappings:
Namespace Name Mixin selector intermediary method_1775Lnet/minecraft/class_526;method_1775(Lnet/minecraft/class_18;III)Vglue method_2036Lclass_582;method_2036(Lclass_129;III)Vserver gLpa;g(Ldj;III)Vclient hLxq;h(Lfd;III)Vnamed method_1775Lnet/minecraft/block/Dispenser;method_1775(Lnet/minecraft/level/Level;III)V
-
getTextureForSide
@Environment(CLIENT) public int getTextureForSide(BlockView tileView, int x, int y, int z, int meta) - Overrides:
getTextureForSidein classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1626Lnet/minecraft/class_17;method_1626(Lnet/minecraft/class_14;IIII)Iglue method_743Lclass_507;method_743(Lclass_584;IIII)Iserver method_1626Lna;method_1626(Lpb;IIII)Iclient aLuu;a(Lxp;IIII)Inamed getTextureForSideLnet/minecraft/block/BlockBase;getTextureForSide(Lnet/minecraft/level/BlockView;IIII)I
-
getTextureForSide
public int getTextureForSide(int side) - Overrides:
getTextureForSidein classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1607Lnet/minecraft/class_17;method_1607(I)Iglue method_37Lclass_507;method_37(I)Iserver aLna;a(I)Iclient aLuu;a(I)Inamed getTextureForSideLnet/minecraft/block/BlockBase;getTextureForSide(I)I
-
canUse
- Overrides:
canUsein classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1608Lnet/minecraft/class_17;method_1608(Lnet/minecraft/class_18;IIILnet/minecraft/class_54;)Zglue method_38Lclass_507;method_38(Lclass_129;IIILclass_172;)Zserver aLna;a(Ldj;IIILem;)Zclient aLuu;a(Lfd;IIILgs;)Znamed canUseLnet/minecraft/block/BlockBase;canUse(Lnet/minecraft/level/Level;IIILnet/minecraft/entity/player/PlayerBase;)Z
-
dispense
- Mappings:
Namespace Name Mixin selector intermediary method_1774Lnet/minecraft/class_526;method_1774(Lnet/minecraft/class_18;IIILjava/util/Random;)Vglue method_2035Lclass_582;method_2035(Lclass_129;IIILjava/util/Random;)Vserver bLpa;b(Ldj;IIILjava/util/Random;)Vclient cLxq;c(Lfd;IIILjava/util/Random;)Vnamed dispenseLnet/minecraft/block/Dispenser;dispense(Lnet/minecraft/level/Level;IIILjava/util/Random;)V
-
onAdjacentBlockUpdate
- Overrides:
onAdjacentBlockUpdatein classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1609Lnet/minecraft/class_17;method_1609(Lnet/minecraft/class_18;IIII)Vglue method_39Lclass_507;method_39(Lclass_129;IIII)Vserver bLna;b(Ldj;IIII)Vclient bLuu;b(Lfd;IIII)Vnamed onAdjacentBlockUpdateLnet/minecraft/block/BlockBase;onAdjacentBlockUpdate(Lnet/minecraft/level/Level;IIII)V
-
onScheduledTick
- Overrides:
onScheduledTickin classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1602Lnet/minecraft/class_17;method_1602(Lnet/minecraft/class_18;IIILjava/util/Random;)Vglue method_20Lclass_507;method_20(Lclass_129;IIILjava/util/Random;)Vserver aLna;a(Ldj;IIILjava/util/Random;)Vclient aLuu;a(Lfd;IIILjava/util/Random;)Vnamed onScheduledTickLnet/minecraft/block/BlockBase;onScheduledTick(Lnet/minecraft/level/Level;IIILjava/util/Random;)V
-
createTileEntity
- Specified by:
createTileEntityin classBlockWithEntity- Mappings:
Namespace Name Mixin selector intermediary method_1251Lnet/minecraft/class_395;method_1251()Lnet/minecraft/class_55;glue method_238Lclass_429;method_238()Lclass_356;server a_Llb;a_()Ljh;client a_Lrw;a_()Low;named createTileEntityLnet/minecraft/block/BlockWithEntity;createTileEntity()Lnet/minecraft/tileentity/TileEntityBase;
-
afterPlaced
- Overrides:
afterPlacedin classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1614Lnet/minecraft/class_17;method_1614(Lnet/minecraft/class_18;IIILnet/minecraft/class_127;)Vglue method_464Lclass_507;method_464(Lclass_129;IIILclass_283;)Vserver aLna;a(Ldj;IIILhl;)Vclient aLuu;a(Lfd;IIILls;)Vnamed afterPlacedLnet/minecraft/block/BlockBase;afterPlaced(Lnet/minecraft/level/Level;IIILnet/minecraft/entity/Living;)V
-
onBlockRemoved
- Overrides:
onBlockRemovedin classBlockWithEntity- Mappings:
Namespace Name Mixin selector intermediary method_1630Lnet/minecraft/class_17;method_1630(Lnet/minecraft/class_18;III)Vglue method_99Lclass_507;method_99(Lclass_129;III)Vserver bLna;b(Ldj;III)Vclient bLuu;b(Lfd;III)Vnamed onBlockRemovedLnet/minecraft/block/BlockBase;onBlockRemoved(Lnet/minecraft/level/Level;III)V
-