Package net.minecraft.block
Class PistonExtensionBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.BlockWithEntity
net.minecraft.block.PistonExtensionBlock
- Mappings:
Namespace Name intermediary net/minecraft/class_469glue class_503server mzclient utnamed net/minecraft/block/PistonExtensionBlock
-
Field Summary
Fields inherited from class net.minecraft.block.Block
BED, BEDROCK, BLOCKS, BLOCKS_ALLOW_VISION, BLOCKS_IGNORE_META_UPDATE, BLOCKS_LIGHT_LUMINANCE, BLOCKS_LIGHT_OPACITY, BLOCKS_OPAQUE, BLOCKS_RANDOM_TICK, BLOCKS_WITH_ENTITY, BOOKSHELF, BRICKS, BROWN_MUSHROOM, BUTTON, CACTUS, CAKE, CHEST, CLAY, COAL_ORE, COBBLESTONE, COBBLESTONE_STAIRS, COBWEB, constructed, CRAFTING_TABLE, DANDELION, DEAD_BUSH, DEFAULT_SOUND_GROUP, DETECTOR_RAIL, DIAMOND_BLOCK, DIAMOND_ORE, DIRT, DIRT_SOUND_GROUP, DISPENSER, DOOR, DOUBLE_SLAB, FARMLAND, FENCE, FIRE, FLOWING_LAVA, FLOWING_WATER, FURNACE, GLASS, GLASS_SOUND_GROUP, GLOWSTONE, GOLD_BLOCK, GOLD_ORE, GRASS, GRASS_BLOCK, GRAVEL, GRAVEL_SOUND_GROUP, hardness, ICE, id, IRON_BLOCK, IRON_DOOR, IRON_ORE, JACK_O_LANTERN, JUKEBOX, LADDER, LAPIS_BLOCK, LAPIS_ORE, LAVA, LEAVES, LEVER, LIT_FURNACE, LIT_REDSTONE_ORE, LIT_REDSTONE_TORCH, LOCKED_CHEST, LOG, material, maxX, maxY, maxZ, METAL_SOUND_GROUP, minX, minY, minZ, MOSSY_COBBLESTONE, MOVING_PISTON, NETHER_PORTAL, NETHERRACK, NOTE_BLOCK, OBSIDIAN, particleFallSpeedModifier, PISTON, PISTON_HEAD, PLANKS, POWERED_RAIL, POWERED_REPEATER, PUMPKIN, RAIL, RED_MUSHROOM, REDSTONE_ORE, REDSTONE_TORCH, REDSTONE_WIRE, REPEATER, resistance, ROSE, SAND, SAND_SOUND_GROUP, SANDSTONE, SAPLING, shouldTrackStatistics, SIGN, SLAB, slipperiness, SNOW, SNOW_BLOCK, SOUL_SAND, soundGroup, SPAWNER, SPONGE, STICKY_PISTON, STONE, STONE_PRESSURE_PLATE, STONE_SOUND_GROUP, SUGAR_CANE, textureId, TNT, TORCH, TRAPDOOR, WALL_SIGN, WATER, WHEAT, WOOD_SOUND_GROUP, WOODEN_PRESSURE_PLATE, WOODEN_STAIRS, WOOL, WOOL_SOUND_GROUP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanPlaceAt(World world, int x, int y, int z) booleancanPlaceAt(World world, int x, int y, int z, int side) protected BlockEntitystatic BlockEntitycreatePistonBlockEntity(int blockId, int blockMeta, int facing, boolean extending, boolean source) voiddropStacks(World world, int x, int y, int z, int meta, float luck) getCollisionShape(World world, int x, int y, int z) intgetDroppedItemId(int blockMeta, Random random) private PistonBlockEntitygetPistonBlockEntity(BlockView blockView, int x, int y, int z) getPushedBlockCollisionShape(World world, int x, int y, int z, int blockId, float sizeMultiplier, int facing) intbooleanbooleanisOpaque()voidneighborUpdate(World world, int x, int y, int z, int id) voidvoidbooleanonUse(World world, int x, int y, int z, PlayerEntity player) voidupdateBoundingBox(BlockView blockView, int x, int y, int z) Methods inherited from class net.minecraft.block.Block
addIntersectingBoundingBox, afterBreak, applyVelocity, canEmitRedstonePower, canGrow, canTransferPowerInDirection, disableTrackingStatistics, dropStack, dropStacks, getBlastResistance, getBoundingBox, getColor, getColorMultiplier, getDroppedItemCount, getDroppedItemMeta, getHardness, getHardness, getLuminance, getPistonBehavior, getRenderLayer, getTexture, getTexture, getTextureId, getTickRate, getTranslatedName, getTranslationKey, hasCollision, hasCollision, ignoreMetaUpdates, init, isEmittingRedstonePowerInDirection, isSideVisible, isSolidFace, isTrackingStatistics, onBlockAction, onBlockBreakStart, onDestroyedByExplosion, onEntityCollision, onMetadataChange, onPlaced, onPlaced, onSteppedOn, onTick, randomDisplayTick, raycast, setBoundingBox, setHardness, setLuminance, setOpacity, setResistance, setSoundGroup, setTickRandomly, setTranslationKey, setUnbreakable, setupRenderBoundingBox
-
Constructor Details
-
PistonExtensionBlock
public PistonExtensionBlock(int id) - Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_469;<init>(I)Vglue <init>Lclass_503;<init>(I)Vserver <init>Lmz;<init>(I)Vclient <init>Lut;<init>(I)Vnamed <init>Lnet/minecraft/block/PistonExtensionBlock;<init>(I)V
-
-
Method Details
-
createBlockEntity
- Specified by:
createBlockEntityin 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 createBlockEntityLnet/minecraft/block/BlockWithEntity;createBlockEntity()Lnet/minecraft/block/entity/BlockEntity;
-
onPlaced
- Overrides:
onPlacedin 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 onPlacedLnet/minecraft/block/Block;onPlaced(Lnet/minecraft/world/World;III)V
-
onBreak
- Overrides:
onBreakin 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 onBreakLnet/minecraft/block/Block;onBreak(Lnet/minecraft/world/World;III)V
-
canPlaceAt
- Overrides:
canPlaceAtin classBlock- Mappings:
Namespace Name Mixin selector intermediary method_1567Lnet/minecraft/class_17;method_1567(Lnet/minecraft/class_18;III)Zglue method_153Lclass_507;method_153(Lclass_129;III)Zserver aLna;a(Ldj;III)Zclient aLuu;a(Lfd;III)Znamed canPlaceAtLnet/minecraft/block/Block;canPlaceAt(Lnet/minecraft/world/World;III)Z
-
canPlaceAt
- Overrides:
canPlaceAtin classBlock- Mappings:
Namespace Name Mixin selector intermediary method_1561Lnet/minecraft/class_17;method_1561(Lnet/minecraft/class_18;IIII)Zglue method_1092Lclass_507;method_1092(Lclass_129;IIII)Zserver aLna;a(Ldj;IIII)Zclient aLuu;a(Lfd;IIII)Znamed canPlaceAtLnet/minecraft/block/Block;canPlaceAt(Lnet/minecraft/world/World;IIII)Z
-
getRenderType
- Overrides:
getRenderTypein classBlock- Mappings:
Namespace Name Mixin selector intermediary method_1621Lnet/minecraft/class_17;method_1621()Iglue method_652Lclass_507;method_652()Iserver method_1621Lna;method_1621()Iclient bLuu;b()Inamed getRenderTypeLnet/minecraft/block/Block;getRenderType()I
-
isOpaque
public boolean isOpaque() -
isFullCube
public boolean isFullCube()- Overrides:
isFullCubein classBlock- Mappings:
Namespace Name Mixin selector intermediary method_1623Lnet/minecraft/class_17;method_1623()Zglue method_66Lclass_507;method_66()Zserver bLna;b()Zclient dLuu;d()Znamed isFullCubeLnet/minecraft/block/Block;isFullCube()Z
-
onUse
- Overrides:
onUsein classBlock- 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 onUseLnet/minecraft/block/Block;onUse(Lnet/minecraft/world/World;IIILnet/minecraft/entity/player/PlayerEntity;)Z
-
getDroppedItemId
- Overrides:
getDroppedItemIdin classBlock- 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 getDroppedItemIdLnet/minecraft/block/Block;getDroppedItemId(ILjava/util/Random;)I
-
dropStacks
- Overrides:
dropStacksin classBlock- Mappings:
Namespace Name Mixin selector intermediary method_1625Lnet/minecraft/class_17;method_1625(Lnet/minecraft/class_18;IIIIF)Vglue method_683Lclass_507;method_683(Lclass_129;IIIIF)Vserver aLna;a(Ldj;IIIIF)Vclient aLuu;a(Lfd;IIIIF)Vnamed dropStacksLnet/minecraft/block/Block;dropStacks(Lnet/minecraft/world/World;IIIIF)V
-
neighborUpdate
- Overrides:
neighborUpdatein classBlock- 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 neighborUpdateLnet/minecraft/block/Block;neighborUpdate(Lnet/minecraft/world/World;IIII)V
-
createPistonBlockEntity
public static BlockEntity createPistonBlockEntity(int blockId, int blockMeta, int facing, boolean extending, boolean source) - Mappings:
Namespace Name Mixin selector intermediary method_1533Lnet/minecraft/class_469;method_1533(IIIZZ)Lnet/minecraft/class_55;glue method_1787Lclass_503;method_1787(IIIZZ)Lclass_356;server aLmz;a(IIIZZ)Ljh;client aLut;a(IIIZZ)Low;named createPistonBlockEntityLnet/minecraft/block/PistonExtensionBlock;createPistonBlockEntity(IIIZZ)Lnet/minecraft/block/entity/BlockEntity;
-
getCollisionShape
- Overrides:
getCollisionShapein classBlock- Mappings:
Namespace Name Mixin selector intermediary method_1624Lnet/minecraft/class_17;method_1624(Lnet/minecraft/class_18;III)Lnet/minecraft/class_25;glue method_67Lclass_507;method_67(Lclass_129;III)Lclass_113;server eLna;e(Ldj;III)Lcz;client eLuu;e(Lfd;III)Leq;named getCollisionShapeLnet/minecraft/block/Block;getCollisionShape(Lnet/minecraft/world/World;III)Lnet/minecraft/util/math/Box;
-
updateBoundingBox
- Overrides:
updateBoundingBoxin classBlock- Mappings:
Namespace Name Mixin selector intermediary method_1616Lnet/minecraft/class_17;method_1616(Lnet/minecraft/class_14;III)Vglue method_60Lclass_507;method_60(Lclass_584;III)Vserver aLna;a(Lpb;III)Vclient aLuu;a(Lxp;III)Vnamed updateBoundingBoxLnet/minecraft/block/Block;updateBoundingBox(Lnet/minecraft/world/BlockView;III)V
-
getPushedBlockCollisionShape
public Box getPushedBlockCollisionShape(World world, int x, int y, int z, int blockId, float sizeMultiplier, int facing) - Mappings:
Namespace Name Mixin selector intermediary method_1534Lnet/minecraft/class_469;method_1534(Lnet/minecraft/class_18;IIIIFI)Lnet/minecraft/class_25;glue method_1788Lclass_503;method_1788(Lclass_129;IIIIFI)Lclass_113;server aLmz;a(Ldj;IIIIFI)Lcz;client aLut;a(Lfd;IIIIFI)Leq;named getPushedBlockCollisionShapeLnet/minecraft/block/PistonExtensionBlock;getPushedBlockCollisionShape(Lnet/minecraft/world/World;IIIIFI)Lnet/minecraft/util/math/Box;
-
getPistonBlockEntity
- Mappings:
Namespace Name Mixin selector intermediary method_1535Lnet/minecraft/class_469;method_1535(Lnet/minecraft/class_14;III)Lnet/minecraft/class_283;glue method_1789Lclass_503;method_1789(Lclass_584;III)Lclass_495;server bLmz;b(Lpb;III)Lmu;client cLut;c(Lxp;III)Luk;named getPistonBlockEntityLnet/minecraft/block/PistonExtensionBlock;getPistonBlockEntity(Lnet/minecraft/world/BlockView;III)Lnet/minecraft/block/entity/PistonBlockEntity;
-