Class AbstractPressurePlateBlock

java.lang.Object
net.minecraft.block.Block
net.minecraft.block.AbstractPressurePlateBlock
Direct Known Subclasses:
PressurePlateBlock, WeightedPressurePlateBlock

public abstract class AbstractPressurePlateBlock extends Block
Mappings:
Namespace Name
official aho
intermediary net/minecraft/class_1445
named net/minecraft/block/AbstractPressurePlateBlock
  • Field Details

    • field_5515

      private String field_5515
      Mappings:
      Namespace Name Mixin selector
      official a Laho;a:Ljava/lang/String;
      intermediary field_5515 Lnet/minecraft/class_1445;field_5515:Ljava/lang/String;
      named field_5515 Lnet/minecraft/block/AbstractPressurePlateBlock;field_5515:Ljava/lang/String;
  • Constructor Details

    • AbstractPressurePlateBlock

      protected AbstractPressurePlateBlock(String string, Material material)
  • Method Details

    • method_425

      public void method_425(BlockView blockView, int int2, int int3, int int4)
      Overrides:
      method_425 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Laht;a(Lafw;III)V
      intermediary method_425 Lnet/minecraft/class_197;method_425(Lnet/minecraft/class_1158;III)V
      named method_425 Lnet/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 b Laho;b(I)V
      intermediary method_4732 Lnet/minecraft/class_1445;method_4732(I)V
      named method_4732 Lnet/minecraft/block/AbstractPressurePlateBlock;method_4732(I)V
    • getTickRate

      public int getTickRate(World world)
      Returns the block's tick rate. Default is 10.
      Overrides:
      getTickRate in class Block
      Parameters:
      world - The world that the block is placed in
      Returns:
      Tick rate
      Mappings:
      Namespace Name Mixin selector
      official a Laht;a(Lafm;)I
      intermediary method_4789 Lnet/minecraft/class_197;method_4789(Lnet/minecraft/class_1150;)I
      named getTickRate Lnet/minecraft/block/Block;getTickRate(Lnet/minecraft/world/World;)I
    • method_454

      public Box method_454(World world, int int2, int int3, int int4)
      Overrides:
      method_454 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Laht;a(Lafm;III)Laye;
      intermediary method_454 Lnet/minecraft/class_197;method_454(Lnet/minecraft/class_1150;III)Lnet/minecraft/class_231;
      named method_454 Lnet/minecraft/block/Block;method_454(Lnet/minecraft/world/World;III)Lnet/minecraft/util/math/Box;
    • hasTransperancy

      public boolean hasTransperancy()
      Overrides:
      hasTransperancy in class Block
      Mappings:
      Namespace Name Mixin selector
      official c Laht;c()Z
      intermediary method_449 Lnet/minecraft/class_197;method_449()Z
      named hasTransperancy Lnet/minecraft/block/Block;hasTransperancy()Z
    • renderAsNormalBlock

      public boolean renderAsNormalBlock()
      Returns whether the block can be rendered as a normal block
      Overrides:
      renderAsNormalBlock in class Block
      Returns:
      Whether the block can be rendered as a normal block
      Mappings:
      Namespace Name Mixin selector
      official d Laht;d()Z
      intermediary method_441 Lnet/minecraft/class_197;method_441()Z
      named renderAsNormalBlock Lnet/minecraft/block/Block;renderAsNormalBlock()Z
    • method_446

      public boolean method_446(BlockView blockView, int int2, int int3, int int4)
      Overrides:
      method_446 in class Block
      Mappings:
      Namespace Name Mixin selector
      official b Laht;b(Lafw;III)Z
      intermediary method_446 Lnet/minecraft/class_197;method_446(Lnet/minecraft/class_1158;III)Z
      named method_446 Lnet/minecraft/block/Block;method_446(Lnet/minecraft/world/BlockView;III)Z
    • canPlaceBlockAt

      public boolean canPlaceBlockAt(World world, int x, int y, int z)
      Overrides:
      canPlaceBlockAt in class Block
      Mappings:
      Namespace Name Mixin selector
      official c Laht;c(Lafm;III)Z
      intermediary method_434 Lnet/minecraft/class_197;method_434(Lnet/minecraft/class_1150;III)Z
      named canPlaceBlockAt Lnet/minecraft/block/Block;canPlaceBlockAt(Lnet/minecraft/world/World;III)Z
    • onNeighborUpdate

      public void onNeighborUpdate(World world, int x, int y, int z, Block block)
      Overrides:
      onNeighborUpdate in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Laht;a(Lafm;IIILaht;)V
      intermediary method_408 Lnet/minecraft/class_197;method_408(Lnet/minecraft/class_1150;IIILnet/minecraft/class_197;)V
      named onNeighborUpdate Lnet/minecraft/block/Block;onNeighborUpdate(Lnet/minecraft/world/World;IIILnet/minecraft/block/Block;)V
    • onTick

      public void onTick(World world, int x, int y, int z, Random random)
      Overrides:
      onTick in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Laht;a(Lafm;IIILjava/util/Random;)V
      intermediary method_436 Lnet/minecraft/class_197;method_436(Lnet/minecraft/class_1150;IIILjava/util/Random;)V
      named onTick Lnet/minecraft/block/Block;onTick(Lnet/minecraft/world/World;IIILjava/util/Random;)V
    • onEntityCollision

      public void onEntityCollision(World world, int x, int y, int z, Entity entity)
      Overrides:
      onEntityCollision in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Laht;a(Lafm;IIILqm;)V
      intermediary method_416 Lnet/minecraft/class_197;method_416(Lnet/minecraft/class_1150;IIILnet/minecraft/class_864;)V
      named onEntityCollision Lnet/minecraft/block/Block;onEntityCollision(Lnet/minecraft/world/World;IIILnet/minecraft/entity/Entity;)V
    • method_4731

      protected void method_4731(World world, int int2, int int3, int int4, int int5)
      Mappings:
      Namespace Name Mixin selector
      official a Laho;a(Lafm;IIII)V
      intermediary method_4731 Lnet/minecraft/class_1445;method_4731(Lnet/minecraft/class_1150;IIII)V
      named method_4731 Lnet/minecraft/block/AbstractPressurePlateBlock;method_4731(Lnet/minecraft/world/World;IIII)V
    • method_4730

      protected Box method_4730(int int2, int int3, int int4)
      Mappings:
      Namespace Name Mixin selector
      official a Laho;a(III)Laye;
      intermediary method_4730 Lnet/minecraft/class_1445;method_4730(III)Lnet/minecraft/class_231;
      named method_4730 Lnet/minecraft/block/AbstractPressurePlateBlock;method_4730(III)Lnet/minecraft/util/math/Box;
    • method_411

      public void method_411(World world, int int2, int int3, int int4, Block block, int int5)
      Overrides:
      method_411 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Laht;a(Lafm;IIILaht;I)V
      intermediary method_411 Lnet/minecraft/class_197;method_411(Lnet/minecraft/class_1150;IIILnet/minecraft/class_197;I)V
      named method_411 Lnet/minecraft/block/Block;method_411(Lnet/minecraft/world/World;IIILnet/minecraft/block/Block;I)V
    • method_4733

      protected void method_4733(World world, int int2, int int3, int int4)
      Mappings:
      Namespace Name Mixin selector
      official a_ Laho;a_(Lafm;III)V
      intermediary method_4733 Lnet/minecraft/class_1445;method_4733(Lnet/minecraft/class_1150;III)V
      named method_4733 Lnet/minecraft/block/AbstractPressurePlateBlock;method_4733(Lnet/minecraft/world/World;III)V
    • getWeakRedstonePower

      public int getWeakRedstonePower(BlockView world, int x, int y, int z, int direction)
      Overrides:
      getWeakRedstonePower in class Block
      Mappings:
      Namespace Name Mixin selector
      official b Laht;b(Lafw;IIII)I
      intermediary method_426 Lnet/minecraft/class_197;method_426(Lnet/minecraft/class_1158;IIII)I
      named getWeakRedstonePower Lnet/minecraft/block/Block;getWeakRedstonePower(Lnet/minecraft/world/BlockView;IIII)I
    • getStrongRedstonePower

      public int getStrongRedstonePower(BlockView world, int x, int y, int z, int direction)
      Overrides:
      getStrongRedstonePower in class Block
      Mappings:
      Namespace Name Mixin selector
      official c Laht;c(Lafw;IIII)I
      intermediary method_444 Lnet/minecraft/class_197;method_444(Lnet/minecraft/class_1158;IIII)I
      named getStrongRedstonePower Lnet/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:
      emitsRedstonePower in class Block
      Returns:
      Whether the current block emits a redstone signal
      Mappings:
      Namespace Name Mixin selector
      official f Laht;f()Z
      intermediary method_466 Lnet/minecraft/class_197;method_466()Z
      named emitsRedstonePower Lnet/minecraft/block/Block;emitsRedstonePower()Z
    • setBlockItemBounds

      public void setBlockItemBounds()
      Sets the bounds for the BlockItem
      Overrides:
      setBlockItemBounds in class Block
      Mappings:
      Namespace Name Mixin selector
      official g Laht;g()V
      intermediary method_456 Lnet/minecraft/class_197;method_456()V
      named setBlockItemBounds Lnet/minecraft/block/Block;setBlockItemBounds()V
    • getPistonInteractionType

      public int getPistonInteractionType()
      Returns the block's piston interaction type, as provided by it's material.
      Overrides:
      getPistonInteractionType in class Block
      Returns:
      Current block's piston interaction type
      Mappings:
      Namespace Name Mixin selector
      official h Laht;h()I
      intermediary method_453 Lnet/minecraft/class_197;method_453()I
      named getPistonInteractionType Lnet/minecraft/block/Block;getPistonInteractionType()I
    • method_4736

      protected abstract int method_4736(World world, int int2, int int3, int int4)
      Mappings:
      Namespace Name Mixin selector
      official e Laho;e(Lafm;III)I
      intermediary method_4736 Lnet/minecraft/class_1445;method_4736(Lnet/minecraft/class_1150;III)I
      named method_4736 Lnet/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 c Laho;c(I)I
      intermediary method_4734 Lnet/minecraft/class_1445;method_4734(I)I
      named method_4734 Lnet/minecraft/block/AbstractPressurePlateBlock;method_4734(I)I
    • method_4735

      protected abstract int method_4735(int int2)
      Mappings:
      Namespace Name Mixin selector
      official d Laho;d(I)I
      intermediary method_4735 Lnet/minecraft/class_1445;method_4735(I)I
      named method_4735 Lnet/minecraft/block/AbstractPressurePlateBlock;method_4735(I)I
    • registerTextures

      @Environment(CLIENT) public void registerTextures(TextureRegistry registry)
      Overrides:
      registerTextures in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Laht;a(Lps;)V
      intermediary method_4791 Lnet/minecraft/class_197;method_4791(Lnet/minecraft/class_1558;)V
      named registerTextures Lnet/minecraft/block/Block;registerTextures(Lnet/minecraft/client/TextureRegistry;)V