Package net.minecraft.block
Class PistonBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.PistonBlock
- Mappings:
Namespace Name intermediary net/minecraft/class_223glue class_242server giclient jqnamed net/minecraft/block/PistonBlock
-
Field Summary
FieldsFields 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 TypeMethodDescriptionvoidaddIntersectingBoundingBox(World world, int x, int y, int z, Box box, ArrayList boxes) private static booleanprivate static booleancanMoveBlock(int id, World world, int x, int y, int z, boolean allowBreaking) private voidcheckExtended(World world, int x, int y, int z) static intgetFacing(int meta) private static intgetFacingForPlacement(World world, int x, int y, int z, PlayerEntity player) intintgetTexture(int side, int meta) intstatic booleanisExtended(int meta) booleanbooleanisOpaque()voidneighborUpdate(World world, int x, int y, int z, int id) voidonBlockAction(World world, int x, int y, int z, int data1, int data2) voidvoidonPlaced(World world, int x, int y, int z, LivingEntity placer) booleanonUse(World world, int x, int y, int z, PlayerEntity player) private booleanvoidprivate booleanshouldExtend(World world, int x, int y, int z, int facing) voidupdateBoundingBox(BlockView blockView, int x, int y, int z) Methods inherited from class net.minecraft.block.Block
afterBreak, applyVelocity, canEmitRedstonePower, canGrow, canPlaceAt, canPlaceAt, canTransferPowerInDirection, disableTrackingStatistics, dropStack, dropStacks, dropStacks, getBlastResistance, getBoundingBox, getCollisionShape, getColor, getColorMultiplier, getDroppedItemCount, getDroppedItemId, getDroppedItemMeta, getHardness, getHardness, getLuminance, getPistonBehavior, getRenderLayer, getTexture, getTextureId, getTickRate, getTranslatedName, getTranslationKey, hasCollision, hasCollision, ignoreMetaUpdates, init, isEmittingRedstonePowerInDirection, isSideVisible, isSolidFace, isTrackingStatistics, onBlockBreakStart, onBreak, onDestroyedByExplosion, onEntityCollision, onMetadataChange, onPlaced, onSteppedOn, onTick, randomDisplayTick, raycast, setBoundingBox, setHardness, setLuminance, setOpacity, setResistance, setSoundGroup, setTickRandomly, setTranslationKey, setUnbreakable
-
Field Details
-
sticky
private boolean sticky- Mappings:
Namespace Name Mixin selector intermediary field_844Lnet/minecraft/class_223;field_844:Zglue field_1042Lclass_242;field_1042:Zserver aLgi;a:Zclient aLjq;a:Znamed stickyLnet/minecraft/block/PistonBlock;sticky:Z
-
deaf
private boolean deaf- Mappings:
Namespace Name Mixin selector intermediary field_845Lnet/minecraft/class_223;field_845:Zglue field_1043Lclass_242;field_1043:Zserver bLgi;b:Zclient bLjq;b:Znamed deafLnet/minecraft/block/PistonBlock;deaf:Z
-
-
Constructor Details
-
PistonBlock
public PistonBlock(int id, int textureId, boolean sticky) - Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_223;<init>(IIZ)Vglue <init>Lclass_242;<init>(IIZ)Vserver <init>Lgi;<init>(IIZ)Vclient <init>Ljq;<init>(IIZ)Vnamed <init>Lnet/minecraft/block/PistonBlock;<init>(IIZ)V
-
-
Method Details
-
getTopTexture
- Mappings:
Namespace Name Mixin selector intermediary method_767Lnet/minecraft/class_223;method_767()Iglue method_1493Lclass_242;method_1493()Iserver method_767Lgi;method_767()Iclient iLjq;i()Inamed getTopTextureLnet/minecraft/block/PistonBlock;getTopTexture()I
-
getTexture
public int getTexture(int side, int meta) - Overrides:
getTexturein classBlock- Mappings:
Namespace Name Mixin selector intermediary method_1627Lnet/minecraft/class_17;method_1627(II)Iglue method_96Lclass_507;method_96(II)Iserver aLna;a(II)Iclient aLuu;a(II)Inamed getTextureLnet/minecraft/block/Block;getTexture(II)I
-
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() -
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
-
onPlaced
- Overrides:
onPlacedin classBlock- 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 onPlacedLnet/minecraft/block/Block;onPlaced(Lnet/minecraft/world/World;IIILnet/minecraft/entity/LivingEntity;)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
-
onPlaced
- Overrides:
onPlacedin classBlock- 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
-
checkExtended
- Mappings:
Namespace Name Mixin selector intermediary method_764Lnet/minecraft/class_223;method_764(Lnet/minecraft/class_18;III)Vglue method_1128Lclass_242;method_1128(Lclass_129;III)Vserver gLgi;g(Ldj;III)Vclient hLjq;h(Lfd;III)Vnamed checkExtendedLnet/minecraft/block/PistonBlock;checkExtended(Lnet/minecraft/world/World;III)V
-
shouldExtend
- Mappings:
Namespace Name Mixin selector intermediary method_763Lnet/minecraft/class_223;method_763(Lnet/minecraft/class_18;IIII)Zglue method_1127Lclass_242;method_1127(Lclass_129;IIII)Zserver fLgi;f(Ldj;IIII)Zclient fLjq;f(Lfd;IIII)Znamed shouldExtendLnet/minecraft/block/PistonBlock;shouldExtend(Lnet/minecraft/world/World;IIII)Z
-
onBlockAction
- Overrides:
onBlockActionin classBlock- Mappings:
Namespace Name Mixin selector intermediary method_1563Lnet/minecraft/class_17;method_1563(Lnet/minecraft/class_18;IIIII)Vglue method_1123Lclass_507;method_1123(Lclass_129;IIIII)Vserver aLna;a(Ldj;IIIII)Vclient aLuu;a(Lfd;IIIII)Vnamed onBlockActionLnet/minecraft/block/Block;onBlockAction(Lnet/minecraft/world/World;IIIII)V
-
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
-
setupRenderBoundingBox
- Overrides:
setupRenderBoundingBoxin classBlock- Mappings:
Namespace Name Mixin selector intermediary method_1605Lnet/minecraft/class_17;method_1605()Vglue method_217Lclass_507;method_217()Vserver method_1605Lna;method_1605()Vclient gLuu;g()Vnamed setupRenderBoundingBoxLnet/minecraft/block/Block;setupRenderBoundingBox()V
-
addIntersectingBoundingBox
- Overrides:
addIntersectingBoundingBoxin classBlock- Mappings:
Namespace Name Mixin selector intermediary method_1562Lnet/minecraft/class_17;method_1562(Lnet/minecraft/class_18;IIILnet/minecraft/class_25;Ljava/util/ArrayList;)Vglue method_1093Lclass_507;method_1093(Lclass_129;IIILclass_113;Ljava/util/ArrayList;)Vserver aLna;a(Ldj;IIILcz;Ljava/util/ArrayList;)Vclient aLuu;a(Lfd;IIILeq;Ljava/util/ArrayList;)Vnamed addIntersectingBoundingBoxLnet/minecraft/block/Block;addIntersectingBoundingBox(Lnet/minecraft/world/World;IIILnet/minecraft/util/math/Box;Ljava/util/ArrayList;)V
-
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
-
getFacing
public static int getFacing(int meta) - Mappings:
Namespace Name Mixin selector intermediary method_760Lnet/minecraft/class_223;method_760(I)Iglue method_1124Lclass_242;method_1124(I)Iserver cLgi;c(I)Iclient dLjq;d(I)Inamed getFacingLnet/minecraft/block/PistonBlock;getFacing(I)I
-
isExtended
public static boolean isExtended(int meta) - Mappings:
Namespace Name Mixin selector intermediary method_762Lnet/minecraft/class_223;method_762(I)Zglue method_1126Lclass_242;method_1126(I)Zserver dLgi;d(I)Zclient eLjq;e(I)Znamed isExtendedLnet/minecraft/block/PistonBlock;isExtended(I)Z
-
getFacingForPlacement
- Mappings:
Namespace Name Mixin selector intermediary method_761Lnet/minecraft/class_223;method_761(Lnet/minecraft/class_18;IIILnet/minecraft/class_54;)Iglue method_1125Lclass_242;method_1125(Lclass_129;IIILclass_172;)Iserver cLgi;c(Ldj;IIILem;)Iclient cLjq;c(Lfd;IIILgs;)Inamed getFacingForPlacementLnet/minecraft/block/PistonBlock;getFacingForPlacement(Lnet/minecraft/world/World;IIILnet/minecraft/entity/player/PlayerEntity;)I
-
canMoveBlock
private static boolean canMoveBlock(int id, World world, int x, int y, int z, boolean allowBreaking) - Mappings:
Namespace Name Mixin selector intermediary method_759Lnet/minecraft/class_223;method_759(ILnet/minecraft/class_18;IIIZ)Zglue method_1122Lclass_242;method_1122(ILclass_129;IIIZ)Zserver aLgi;a(ILdj;IIIZ)Zclient aLjq;a(ILfd;IIIZ)Znamed canMoveBlockLnet/minecraft/block/PistonBlock;canMoveBlock(ILnet/minecraft/world/World;IIIZ)Z
-
canExtend
- Mappings:
Namespace Name Mixin selector intermediary method_765Lnet/minecraft/class_223;method_765(Lnet/minecraft/class_18;IIII)Zglue method_1129Lclass_242;method_1129(Lclass_129;IIII)Zserver hLgi;h(Ldj;IIII)Zclient hLjq;h(Lfd;IIII)Znamed canExtendLnet/minecraft/block/PistonBlock;canExtend(Lnet/minecraft/world/World;IIII)Z
-
push
- Mappings:
Namespace Name Mixin selector intermediary method_766Lnet/minecraft/class_223;method_766(Lnet/minecraft/class_18;IIII)Zglue method_1130Lclass_242;method_1130(Lclass_129;IIII)Zserver iLgi;i(Ldj;IIII)Zclient iLjq;i(Lfd;IIII)Znamed pushLnet/minecraft/block/PistonBlock;push(Lnet/minecraft/world/World;IIII)Z
-