Package net.minecraft.block
Class AbstractPressurePlateBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.AbstractPressurePlateBlock
- Direct Known Subclasses:
PressurePlateBlock,WeightedPressurePlateBlock
- Mappings:
Namespace Name official ahointermediary net/minecraft/class_1445named net/minecraft/block/AbstractPressurePlateBlock
-
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
ConstructorsModifierConstructorDescriptionprotectedAbstractPressurePlateBlock(String string, Material material) -
Method Summary
Modifier and TypeMethodDescriptionbooleancanPlaceBlockAt(World world, int x, int y, int z) booleanReturns whether the current block emits a redstone signal.intReturns the block's piston interaction type, as provided by it's material.intgetStrongRedstonePower(BlockView world, int x, int y, int z, int direction) intgetTickRate(World world) Returns the block's tick rate.intgetWeakRedstonePower(BlockView world, int x, int y, int z, int direction) booleanvoidmethod_411(World world, int int2, int int3, int int4, Block block, int int5) voidmethod_425(BlockView blockView, int int2, int int3, int int4) booleanmethod_446(BlockView blockView, int int2, int int3, int int4) method_454(World world, int int2, int int3, int int4) protected Boxmethod_4730(int int2, int int3, int int4) protected voidmethod_4731(World world, int int2, int int3, int int4, int int5) protected voidmethod_4732(int int2) protected voidmethod_4733(World world, int int2, int int3, int int4) protected abstract intmethod_4734(int int2) protected abstract intmethod_4735(int int2) protected abstract intmethod_4736(World world, int int2, int int3, int int4) voidonEntityCollision(World world, int x, int y, int z, Entity entity) voidonNeighborUpdate(World world, int x, int y, int z, Block block) voidvoidregisterTextures(TextureRegistry registry) booleanReturns whether the block can be rendered as a normal blockvoidSets the bounds for the BlockItemMethods inherited from class net.minecraft.block.Block
appendItemStacks, areBlocksEqual, breakNaturally, canStayPlaced, canStayPlaced, disableStats, get, getAmbientOcclusionLightLevel, getBlastResistance, getBlockFromItem, getBlockType, getBonusDrops, getById, getColor, getDropCount, getIdByBlock, getItemGroup, getLightLevel, getMaterial, getMaxX, getMaxY, getMaxZ, getMinX, getMinY, getMinZ, getOpacity, getSideTexture, getTexture, getTextureName, getTranslatedName, getTranslationKey, hasBlockEntity, hasCollision, hasComparatorOutput, hasStats, isEqualTo, isFire, isFlowerPot, isFullBlock, isFullCube, isNormalBlock, isTransluscent, method_398, method_400, method_405, method_407, method_410, method_412, method_413, method_414, method_415, method_417, method_418, method_4185, method_4186, method_420, method_422, method_424, method_427, method_428, method_431, method_435, method_437, method_438, method_448, method_452, method_455, method_457, method_459, method_461, method_463, method_464, method_468, method_471, method_479, method_4790, method_4793, method_4794, method_4798, method_5546, method_6444, method_6449, onActivated, onBreak, onDestroyed, requiresSilkTouch, setBlockSoundGroup, setBoundingBox, setItemGroup, setLightLevel, setOpacity, setResistance, setStrength, setTickRandomly, setTranslationKey, setUnbreakable, setup, shouldDropItemsOnExplosion, shouldRenderSide, ticksRandomly, usesNeighbourLight
-
Field Details
-
field_5515
- Mappings:
Namespace Name Mixin selector official aLaho;a:Ljava/lang/String;intermediary field_5515Lnet/minecraft/class_1445;field_5515:Ljava/lang/String;named field_5515Lnet/minecraft/block/AbstractPressurePlateBlock;field_5515:Ljava/lang/String;
-
-
Constructor Details
-
AbstractPressurePlateBlock
-
-
Method Details
-
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
-
method_4732
protected void method_4732(int int2) - Mappings:
Namespace Name Mixin selector official bLaho;b(I)Vintermediary method_4732Lnet/minecraft/class_1445;method_4732(I)Vnamed method_4732Lnet/minecraft/block/AbstractPressurePlateBlock;method_4732(I)V
-
getTickRate
Returns the block's tick rate. Default is 10.- Overrides:
getTickRatein classBlock- Parameters:
world- The world that the block is placed in- Returns:
- Tick rate
- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafm;)Iintermediary method_4789Lnet/minecraft/class_197;method_4789(Lnet/minecraft/class_1150;)Inamed getTickRateLnet/minecraft/block/Block;getTickRate(Lnet/minecraft/world/World;)I
-
method_454
- Overrides:
method_454in classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafm;III)Laye;intermediary method_454Lnet/minecraft/class_197;method_454(Lnet/minecraft/class_1150;III)Lnet/minecraft/class_231;named method_454Lnet/minecraft/block/Block;method_454(Lnet/minecraft/world/World;III)Lnet/minecraft/util/math/Box;
-
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
-
method_446
- Overrides:
method_446in classBlock- Mappings:
Namespace Name Mixin selector official bLaht;b(Lafw;III)Zintermediary method_446Lnet/minecraft/class_197;method_446(Lnet/minecraft/class_1158;III)Znamed method_446Lnet/minecraft/block/Block;method_446(Lnet/minecraft/world/BlockView;III)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
-
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
-
onTick
- Overrides:
onTickin classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafm;IIILjava/util/Random;)Vintermediary method_436Lnet/minecraft/class_197;method_436(Lnet/minecraft/class_1150;IIILjava/util/Random;)Vnamed onTickLnet/minecraft/block/Block;onTick(Lnet/minecraft/world/World;IIILjava/util/Random;)V
-
onEntityCollision
- Overrides:
onEntityCollisionin classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafm;IIILqm;)Vintermediary method_416Lnet/minecraft/class_197;method_416(Lnet/minecraft/class_1150;IIILnet/minecraft/class_864;)Vnamed onEntityCollisionLnet/minecraft/block/Block;onEntityCollision(Lnet/minecraft/world/World;IIILnet/minecraft/entity/Entity;)V
-
method_4731
- Mappings:
Namespace Name Mixin selector official aLaho;a(Lafm;IIII)Vintermediary method_4731Lnet/minecraft/class_1445;method_4731(Lnet/minecraft/class_1150;IIII)Vnamed method_4731Lnet/minecraft/block/AbstractPressurePlateBlock;method_4731(Lnet/minecraft/world/World;IIII)V
-
method_4730
- Mappings:
Namespace Name Mixin selector official aLaho;a(III)Laye;intermediary method_4730Lnet/minecraft/class_1445;method_4730(III)Lnet/minecraft/class_231;named method_4730Lnet/minecraft/block/AbstractPressurePlateBlock;method_4730(III)Lnet/minecraft/util/math/Box;
-
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
-
method_4733
- Mappings:
Namespace Name Mixin selector official a_Laho;a_(Lafm;III)Vintermediary method_4733Lnet/minecraft/class_1445;method_4733(Lnet/minecraft/class_1150;III)Vnamed method_4733Lnet/minecraft/block/AbstractPressurePlateBlock;method_4733(Lnet/minecraft/world/World;III)V
-
getWeakRedstonePower
- Overrides:
getWeakRedstonePowerin classBlock- Mappings:
Namespace Name Mixin selector official bLaht;b(Lafw;IIII)Iintermediary method_426Lnet/minecraft/class_197;method_426(Lnet/minecraft/class_1158;IIII)Inamed getWeakRedstonePowerLnet/minecraft/block/Block;getWeakRedstonePower(Lnet/minecraft/world/BlockView;IIII)I
-
getStrongRedstonePower
- Overrides:
getStrongRedstonePowerin classBlock- Mappings:
Namespace Name Mixin selector official cLaht;c(Lafw;IIII)Iintermediary method_444Lnet/minecraft/class_197;method_444(Lnet/minecraft/class_1158;IIII)Inamed getStrongRedstonePowerLnet/minecraft/block/Block;getStrongRedstonePower(Lnet/minecraft/world/BlockView;IIII)I
-
emitsRedstonePower
public boolean emitsRedstonePower()Returns whether the current block emits a redstone signal. Used by comparators, Redstone Blocks, etc.- Overrides:
emitsRedstonePowerin classBlock- Returns:
- Whether the current block emits a redstone signal
- Mappings:
Namespace Name Mixin selector official fLaht;f()Zintermediary method_466Lnet/minecraft/class_197;method_466()Znamed emitsRedstonePowerLnet/minecraft/block/Block;emitsRedstonePower()Z
-
setBlockItemBounds
public void setBlockItemBounds()Sets the bounds for the BlockItem- Overrides:
setBlockItemBoundsin classBlock- Mappings:
Namespace Name Mixin selector official gLaht;g()Vintermediary method_456Lnet/minecraft/class_197;method_456()Vnamed setBlockItemBoundsLnet/minecraft/block/Block;setBlockItemBounds()V
-
getPistonInteractionType
public int getPistonInteractionType()Returns the block's piston interaction type, as provided by it's material.- Overrides:
getPistonInteractionTypein classBlock- Returns:
- Current block's piston interaction type
- Mappings:
Namespace Name Mixin selector official hLaht;h()Iintermediary method_453Lnet/minecraft/class_197;method_453()Inamed getPistonInteractionTypeLnet/minecraft/block/Block;getPistonInteractionType()I
-
method_4736
- Mappings:
Namespace Name Mixin selector official eLaho;e(Lafm;III)Iintermediary method_4736Lnet/minecraft/class_1445;method_4736(Lnet/minecraft/class_1150;III)Inamed method_4736Lnet/minecraft/block/AbstractPressurePlateBlock;method_4736(Lnet/minecraft/world/World;III)I
-
method_4734
protected abstract int method_4734(int int2) - Mappings:
Namespace Name Mixin selector official cLaho;c(I)Iintermediary method_4734Lnet/minecraft/class_1445;method_4734(I)Inamed method_4734Lnet/minecraft/block/AbstractPressurePlateBlock;method_4734(I)I
-
method_4735
protected abstract int method_4735(int int2) - Mappings:
Namespace Name Mixin selector official dLaho;d(I)Iintermediary method_4735Lnet/minecraft/class_1445;method_4735(I)Inamed method_4735Lnet/minecraft/block/AbstractPressurePlateBlock;method_4735(I)I
-
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
-