Package net.minecraft.block
Class Piston
java.lang.Object
net.minecraft.block.BlockBase
net.minecraft.block.Piston
- Mappings:
Namespace Name intermediary net/minecraft/class_223glue class_242server giclient jqnamed net/minecraft/block/Piston
-
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) voiddoesBoxCollide(Level level, int x, int y, int z, Box box, ArrayList blocksThatCollide) intstatic intgetRotationByMeta(int int2) intgetTextureForSide(int side, int meta) static booleanisExtendedByMeta(int int2) booleanbooleanvoidprivate static booleanmethod_759(int int2, Level level, int x, int y, int z, boolean bool) private static intmethod_761(Level level, int int2, int int3, int int4, PlayerBase playerBase) private booleanmethod_763(Level level, int int2, int int3, int int4, int int5) private voidmethod_764(Level level, int x, int y, int z) private static booleanmethod_765(Level level, int int2, int int3, int int4, int int5) private booleanmethod_766(Level level, int int2, int int3, int int4, int int5) intvoidonAdjacentBlockUpdate(Level level, int x, int y, int z, int id) voidonBlockPlaced(Level level, int x, int y, int z) voidonTileAction(Level level, int x, int y, int z, int blockMeta, int extraInfo) voidupdateBoundingBox(BlockView tileView, int x, int y, int z) Methods inherited from class net.minecraft.block.BlockBase
activate, activate, afterBreak, beforeDestroyedByExplosion, canGrow, canPlaceAt, canPlaceAt, disableNotifyOnMetaDataChange, disableStat, drop, drop, droppedMeta, getBaseColour, getBlastResistance, getBrightness, getCollisionShape, getColourMultiplier, getDropCount, getDropId, getEmitsRedstonePower, getHardness, getHardness, getOutlineShape, getPistonPushMode, getRenderPass, getTextureForSide, getTextureForSide, getTickrate, getTranslatedName, getTranslationKey, indirectlyPowered, init, isCollidable, isCollidable, isPowered, isSideRendered, isSolid, isStatEnabled, method_1564, onBlockPlaced, onBlockRemoved, onCollideWithEntity, onDestroyedByExplosion, onEntityCollision, onScheduledTick, onSteppedOn, randomDisplayTick, setBlastResistance, setBoundingBox, setHardness, setLightEmittance, setLightOpacity, setSounds, setTicksRandomly, setTranslationKey, setUnbreakable
-
Field Details
-
field_844
private boolean field_844- 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 field_844Lnet/minecraft/block/Piston;field_844:Z
-
field_845
private boolean field_845- 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 field_845Lnet/minecraft/block/Piston;field_845:Z
-
-
Constructor Details
-
Piston
public Piston(int id, int texture, boolean bool) - 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/Piston;<init>(IIZ)V
-
-
Method Details
-
method_767
- 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 method_767Lnet/minecraft/block/Piston;method_767()I
-
getTextureForSide
public int getTextureForSide(int side, int meta) - Overrides:
getTextureForSidein classBlockBase- 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 getTextureForSideLnet/minecraft/block/BlockBase;getTextureForSide(II)I
-
getRenderType
- Overrides:
getRenderTypein classBlockBase- 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/BlockBase;getRenderType()I
-
isFullOpaque
public boolean isFullOpaque()- Overrides:
isFullOpaquein classBlockBase- Mappings:
Namespace Name Mixin selector intermediary method_1620Lnet/minecraft/class_17;method_1620()Zglue method_65Lclass_507;method_65()Zserver aLna;a()Zclient cLuu;c()Znamed isFullOpaqueLnet/minecraft/block/BlockBase;isFullOpaque()Z
-
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
-
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
-
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
-
onBlockPlaced
- Overrides:
onBlockPlacedin classBlockBase- 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_764
- 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 method_764Lnet/minecraft/block/Piston;method_764(Lnet/minecraft/level/Level;III)V
-
method_763
- 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 method_763Lnet/minecraft/block/Piston;method_763(Lnet/minecraft/level/Level;IIII)Z
-
onTileAction
- Overrides:
onTileActionin classBlockBase- 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 onTileActionLnet/minecraft/block/BlockBase;onTileAction(Lnet/minecraft/level/Level;IIIII)V
-
updateBoundingBox
- Overrides:
updateBoundingBoxin classBlockBase- 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/BlockBase;updateBoundingBox(Lnet/minecraft/level/BlockView;III)V
-
method_1605
- Overrides:
method_1605in classBlockBase- 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 method_1605Lnet/minecraft/block/BlockBase;method_1605()V
-
doesBoxCollide
- Overrides:
doesBoxCollidein classBlockBase- 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 doesBoxCollideLnet/minecraft/block/BlockBase;doesBoxCollide(Lnet/minecraft/level/Level;IIILnet/minecraft/util/maths/Box;Ljava/util/ArrayList;)V
-
isFullCube
public boolean isFullCube()- Overrides:
isFullCubein classBlockBase- 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/BlockBase;isFullCube()Z
-
getRotationByMeta
public static int getRotationByMeta(int int2) - 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 getRotationByMetaLnet/minecraft/block/Piston;getRotationByMeta(I)I
-
isExtendedByMeta
public static boolean isExtendedByMeta(int int2) - 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 isExtendedByMetaLnet/minecraft/block/Piston;isExtendedByMeta(I)Z
-
method_761
- 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 method_761Lnet/minecraft/block/Piston;method_761(Lnet/minecraft/level/Level;IIILnet/minecraft/entity/player/PlayerBase;)I
-
method_759
- 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 method_759Lnet/minecraft/block/Piston;method_759(ILnet/minecraft/level/Level;IIIZ)Z
-
method_765
- 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 method_765Lnet/minecraft/block/Piston;method_765(Lnet/minecraft/level/Level;IIII)Z
-
method_766
- 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 method_766Lnet/minecraft/block/Piston;method_766(Lnet/minecraft/level/Level;IIII)Z
-