Package net.minecraft.block
Class MovingPiston
java.lang.Object
net.minecraft.block.BlockBase
net.minecraft.block.BlockWithEntity
net.minecraft.block.MovingPiston
- Mappings:
Namespace Name intermediary net/minecraft/class_469glue class_503server mzclient utnamed net/minecraft/block/MovingPiston
-
Field Summary
Fields 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 TypeMethodDescriptionvoidbeforeDestroyedByExplosion(Level level, int x, int y, int z, int meta, float dropChance) booleancanPlaceAt(Level level, int x, int y, int z) booleancanPlaceAt(Level level, int x, int y, int z, int meta) booleancanUse(Level level, int x, int y, int z, PlayerBase player) protected TileEntityBasegetCollisionShape(Level level, int x, int y, int z) intintbooleanbooleanstatic TileEntityBasemethod_1533(int int2, int int3, int int4, boolean bool, boolean bool2) method_1534(Level level, int x, int y, int z, int int2, float float2, int int3) private TileEntityPistonmethod_1535(BlockView blockView, int x, int y, int z) 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) voidupdateBoundingBox(BlockView tileView, int x, int y, int z) Methods inherited from class net.minecraft.block.BlockBase
activate, activate, afterBreak, afterPlaced, canGrow, disableNotifyOnMetaDataChange, disableStat, doesBoxCollide, drop, drop, droppedMeta, getBaseColour, getBlastResistance, getBrightness, getColourMultiplier, getDropCount, getEmitsRedstonePower, getHardness, getHardness, getOutlineShape, getPistonPushMode, getRenderPass, getTextureForSide, getTextureForSide, getTextureForSide, getTickrate, getTranslatedName, getTranslationKey, indirectlyPowered, init, isCollidable, isCollidable, isPowered, isSideRendered, isSolid, isStatEnabled, method_1564, method_1605, onBlockPlaced, onCollideWithEntity, onDestroyedByExplosion, onEntityCollision, onScheduledTick, onSteppedOn, onTileAction, randomDisplayTick, setBlastResistance, setBoundingBox, setHardness, setLightEmittance, setLightOpacity, setSounds, setTicksRandomly, setTranslationKey, setUnbreakable
-
Constructor Details
-
MovingPiston
public MovingPiston(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/MovingPiston;<init>(I)V
-
-
Method Details
-
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;
-
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
-
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
-
canPlaceAt
- Overrides:
canPlaceAtin classBlockBase- 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/BlockBase;canPlaceAt(Lnet/minecraft/level/Level;III)Z
-
canPlaceAt
- Overrides:
canPlaceAtin classBlockBase- 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/BlockBase;canPlaceAt(Lnet/minecraft/level/Level;IIII)Z
-
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
-
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
-
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
-
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
-
beforeDestroyedByExplosion
public void beforeDestroyedByExplosion(Level level, int x, int y, int z, int meta, float dropChance) - Overrides:
beforeDestroyedByExplosionin classBlockBase- 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 beforeDestroyedByExplosionLnet/minecraft/block/BlockBase;beforeDestroyedByExplosion(Lnet/minecraft/level/Level;IIIIF)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
-
method_1533
- 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 method_1533Lnet/minecraft/block/MovingPiston;method_1533(IIIZZ)Lnet/minecraft/tileentity/TileEntityBase;
-
getCollisionShape
- Overrides:
getCollisionShapein classBlockBase- 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/BlockBase;getCollisionShape(Lnet/minecraft/level/Level;III)Lnet/minecraft/util/maths/Box;
-
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_1534
- 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 method_1534Lnet/minecraft/block/MovingPiston;method_1534(Lnet/minecraft/level/Level;IIIIFI)Lnet/minecraft/util/maths/Box;
-
method_1535
- 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 method_1535Lnet/minecraft/block/MovingPiston;method_1535(Lnet/minecraft/level/BlockView;III)Lnet/minecraft/tileentity/TileEntityPiston;
-