Class WeightedPressurePlateBlock


public class WeightedPressurePlateBlock extends AbstractPressurePlateBlock
Mappings:
Namespace Name
official amw
intermediary net/minecraft/class_1457
named net/minecraft/block/WeightedPressurePlateBlock
  • Field Details

    • field_5640

      private final int field_5640
      Mappings:
      Namespace Name Mixin selector
      official a Lamw;a:I
      intermediary field_5640 Lnet/minecraft/class_1457;field_5640:I
      named field_5640 Lnet/minecraft/block/WeightedPressurePlateBlock;field_5640:I
  • Constructor Details

    • WeightedPressurePlateBlock

      protected WeightedPressurePlateBlock(String string, Material material, int int2)
  • Method Details

    • method_4736

      protected int method_4736(World world, int int2, int int3, int int4)
      Specified by:
      method_4736 in class AbstractPressurePlateBlock
      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 int method_4734(int int2)
      Specified by:
      method_4734 in class AbstractPressurePlateBlock
      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 int method_4735(int int2)
      Specified by:
      method_4735 in class AbstractPressurePlateBlock
      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
    • getTickRate

      public int getTickRate(World world)
      Returns the block's tick rate. Default is 10.
      Overrides:
      getTickRate in class AbstractPressurePlateBlock
      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