Package net.minecraft.block
Class PistonHeadBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.PistonHeadBlock
- Mappings:
Namespace Name official aobintermediary net/minecraft/class_228named net/minecraft/block/PistonHeadBlock
-
Field Summary
FieldsFields inherited from class net.minecraft.block.Block
blastResistance, blockEntity, boundingBoxMaxX, boundingBoxMaxY, boundingBoxMaxZ, boundingBoxMinX, boundingBoxMinY, boundingBoxMinZ, field_469, field_483, field_484, field_486, field_487, field_6259, field_7261, field_7262, field_7263, field_7264, field_7265, field_7266, field_7267, field_7268, fullBlock, hardness, lightLevel, material, opacity, particleGravity, randomTicks, REGISTRY, side, slipperiness, soundGroup, stats, transluscent, useNeighbourLight -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanPlaceBlockAt(World world, int x, int y, int z) intintgetDropCount(Random rand) Returns the amount of items the block should drop on breaking without bonus rolls.getTexture(int side, int blockData) booleanmethod_407(World world, int int2, int int3, int int4) voidmethod_411(World world, int int2, int int3, int int4, Block block, int int5) voidmethod_412(World world, int int2, int int3, int int4, int int5, PlayerEntity playerEntity) voidmethod_413(World world, int int2, int int3, int int4, Box box, List list, Entity entity) voidmethod_425(BlockView blockView, int int2, int int3, int int4) booleanmethod_428(World world, int int2, int int3, int int4, int int5) voidmethod_4844(Texture texture) voidstatic intmethod_6530(int int2) voidonNeighborUpdate(World world, int x, int y, int z, Block block) voidregisterTextures(TextureRegistry registry) booleanReturns whether the block can be rendered as a normal blockMethods inherited from class net.minecraft.block.Block
appendItemStacks, areBlocksEqual, breakNaturally, canStayPlaced, canStayPlaced, disableStats, emitsRedstonePower, get, getAmbientOcclusionLightLevel, getBlastResistance, getBlockFromItem, getBonusDrops, getById, getCollisionBox, getColor, getHardness, getIdByBlock, getItemGroup, getLightLevel, getMaterial, getMaxX, getMaxY, getMaxZ, getMinX, getMinY, getMinZ, getOpacity, getPistonInteractionType, getSideTexture, getStrongRedstonePower, getTextureName, getTickRate, getTranslatedName, getTranslationKey, getWeakRedstonePower, hasBlockEntity, hasCollision, hasComparatorOutput, hasStats, isEqualTo, isFire, isFlowerPot, isFullBlock, isFullCube, isNormalBlock, isTransluscent, method_398, method_400, method_405, method_410, method_414, method_415, method_417, method_418, method_4185, method_4186, method_420, method_422, method_424, method_431, method_435, method_437, method_438, method_446, method_448, method_452, method_454, method_455, method_457, method_459, method_461, method_463, method_464, method_468, method_479, method_4790, method_4793, method_4794, method_4798, method_5546, method_6444, method_6449, onActivated, onBreak, onDestroyed, onEntityCollision, onTick, requiresSilkTouch, setBlockItemBounds, setBlockSoundGroup, setBoundingBox, setItemGroup, setLightLevel, setOpacity, setResistance, setStrength, setTickRandomly, setTranslationKey, setUnbreakable, setup, shouldDropItemsOnExplosion, shouldRenderSide, ticksRandomly, usesNeighbourLight
-
Field Details
-
field_5670
- Mappings:
Namespace Name Mixin selector official aLaob;a:Lpr;intermediary field_5670Lnet/minecraft/class_228;field_5670:Lnet/minecraft/class_1557;named field_5670Lnet/minecraft/block/PistonHeadBlock;field_5670:Lnet/minecraft/client/Texture;
-
-
Constructor Details
-
PistonHeadBlock
public PistonHeadBlock()
-
-
Method Details
-
method_4844
- Mappings:
Namespace Name Mixin selector official aLaob;a(Lpr;)Vintermediary method_4844Lnet/minecraft/class_228;method_4844(Lnet/minecraft/class_1557;)Vnamed method_4844Lnet/minecraft/block/PistonHeadBlock;method_4844(Lnet/minecraft/client/Texture;)V
-
method_565
- Mappings:
Namespace Name Mixin selector official eLaob;e()Vintermediary method_565Lnet/minecraft/class_228;method_565()Vnamed method_565Lnet/minecraft/block/PistonHeadBlock;method_565()V
-
method_412
public void method_412(World world, int int2, int int3, int int4, int int5, PlayerEntity playerEntity) - Overrides:
method_412in classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafm;IIIILxk;)Vintermediary method_412Lnet/minecraft/class_197;method_412(Lnet/minecraft/class_1150;IIIILnet/minecraft/class_988;)Vnamed method_412Lnet/minecraft/block/Block;method_412(Lnet/minecraft/world/World;IIIILnet/minecraft/entity/player/PlayerEntity;)V
-
method_411
- Overrides:
method_411in classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafm;IIILaht;I)Vintermediary method_411Lnet/minecraft/class_197;method_411(Lnet/minecraft/class_1150;IIILnet/minecraft/class_197;I)Vnamed method_411Lnet/minecraft/block/Block;method_411(Lnet/minecraft/world/World;IIILnet/minecraft/block/Block;I)V
-
getTexture
- Overrides:
getTexturein classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(II)Lpr;intermediary method_395Lnet/minecraft/class_197;method_395(II)Lnet/minecraft/class_1557;named getTextureLnet/minecraft/block/Block;getTexture(II)Lnet/minecraft/client/Texture;
-
registerTextures
- Overrides:
registerTexturesin classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lps;)Vintermediary method_4791Lnet/minecraft/class_197;method_4791(Lnet/minecraft/class_1558;)Vnamed registerTexturesLnet/minecraft/block/Block;registerTextures(Lnet/minecraft/client/TextureRegistry;)V
-
getBlockType
public int getBlockType()- Overrides:
getBlockTypein classBlock- Mappings:
Namespace Name Mixin selector official bLaht;b()Iintermediary method_429Lnet/minecraft/class_197;method_429()Inamed getBlockTypeLnet/minecraft/block/Block;getBlockType()I
-
hasTransperancy
public boolean hasTransperancy()- Overrides:
hasTransperancyin classBlock- Mappings:
Namespace Name Mixin selector official cLaht;c()Zintermediary method_449Lnet/minecraft/class_197;method_449()Znamed hasTransperancyLnet/minecraft/block/Block;hasTransperancy()Z
-
renderAsNormalBlock
public boolean renderAsNormalBlock()Returns whether the block can be rendered as a normal block- Overrides:
renderAsNormalBlockin classBlock- Returns:
- Whether the block can be rendered as a normal block
- Mappings:
Namespace Name Mixin selector official dLaht;d()Zintermediary method_441Lnet/minecraft/class_197;method_441()Znamed renderAsNormalBlockLnet/minecraft/block/Block;renderAsNormalBlock()Z
-
canPlaceBlockAt
- Overrides:
canPlaceBlockAtin classBlock- Mappings:
Namespace Name Mixin selector official cLaht;c(Lafm;III)Zintermediary method_434Lnet/minecraft/class_197;method_434(Lnet/minecraft/class_1150;III)Znamed canPlaceBlockAtLnet/minecraft/block/Block;canPlaceBlockAt(Lnet/minecraft/world/World;III)Z
-
method_428
- Overrides:
method_428in classBlock- Mappings:
Namespace Name Mixin selector official dLaht;d(Lafm;IIII)Zintermediary method_428Lnet/minecraft/class_197;method_428(Lnet/minecraft/class_1150;IIII)Znamed method_428Lnet/minecraft/block/Block;method_428(Lnet/minecraft/world/World;IIII)Z
-
getDropCount
Returns the amount of items the block should drop on breaking without bonus rolls.- Overrides:
getDropCountin classBlock- Parameters:
rand- Random object- Returns:
- Amount of items to be dropped
- Mappings:
Namespace Name Mixin selector official aLaht;a(Ljava/util/Random;)Iintermediary method_403Lnet/minecraft/class_197;method_403(Ljava/util/Random;)Inamed getDropCountLnet/minecraft/block/Block;getDropCount(Ljava/util/Random;)I
-
method_413
public void method_413(World world, int int2, int int3, int int4, Box box, List list, Entity entity) - Overrides:
method_413in classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafm;IIILaye;Ljava/util/List;Lqm;)Vintermediary method_413Lnet/minecraft/class_197;method_413(Lnet/minecraft/class_1150;IIILnet/minecraft/class_231;Ljava/util/List;Lnet/minecraft/class_864;)Vnamed method_413Lnet/minecraft/block/Block;method_413(Lnet/minecraft/world/World;IIILnet/minecraft/util/math/Box;Ljava/util/List;Lnet/minecraft/entity/Entity;)V
-
method_425
- Overrides:
method_425in classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafw;III)Vintermediary method_425Lnet/minecraft/class_197;method_425(Lnet/minecraft/class_1158;III)Vnamed method_425Lnet/minecraft/block/Block;method_425(Lnet/minecraft/world/BlockView;III)V
-
onNeighborUpdate
- Overrides:
onNeighborUpdatein classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafm;IIILaht;)Vintermediary method_408Lnet/minecraft/class_197;method_408(Lnet/minecraft/class_1150;IIILnet/minecraft/class_197;)Vnamed onNeighborUpdateLnet/minecraft/block/Block;onNeighborUpdate(Lnet/minecraft/world/World;IIILnet/minecraft/block/Block;)V
-
method_6530
public static int method_6530(int int2) - Mappings:
Namespace Name Mixin selector official bLaob;b(I)Iintermediary method_6530Lnet/minecraft/class_228;method_6530(I)Inamed method_6530Lnet/minecraft/block/PistonHeadBlock;method_6530(I)I
-
method_407
- Overrides:
method_407in classBlock- Mappings:
Namespace Name Mixin selector official dLaht;d(Lafm;III)Labm;intermediary method_407Lnet/minecraft/class_197;method_407(Lnet/minecraft/class_1150;III)Lnet/minecraft/class_1069;named method_407Lnet/minecraft/block/Block;method_407(Lnet/minecraft/world/World;III)Lnet/minecraft/item/Item;
-