Class AbstractPressurePlateBlock

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

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

    • field_17735

      protected static final VoxelShape field_17735
      Mappings:
      Namespace Name Mixin selector
      official a Lbcn;a:Lcew;
      intermediary field_17735 Lnet/minecraft/class_1445;field_17735:Lnet/minecraft/class_4100;
      named field_17735 Lnet/minecraft/block/AbstractPressurePlateBlock;field_17735:Lnet/minecraft/util/shapes/VoxelShape;
    • field_17736

      protected static final VoxelShape field_17736
      Mappings:
      Namespace Name Mixin selector
      official b Lbcn;b:Lcew;
      intermediary field_17736 Lnet/minecraft/class_1445;field_17736:Lnet/minecraft/class_4100;
      named field_17736 Lnet/minecraft/block/AbstractPressurePlateBlock;field_17736:Lnet/minecraft/util/shapes/VoxelShape;
    • field_12565

      protected static final Box field_12565
      Mappings:
      Namespace Name Mixin selector
      official c Lbcn;c:Lcea;
      intermediary field_12565 Lnet/minecraft/class_1445;field_12565:Lnet/minecraft/class_231;
      named field_12565 Lnet/minecraft/block/AbstractPressurePlateBlock;field_12565:Lnet/minecraft/util/math/Box;
  • Constructor Details

    • AbstractPressurePlateBlock

      protected AbstractPressurePlateBlock(Block.Builder settings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbcs;<init>(Lbcs$c;)V
      intermediary <init> Lnet/minecraft/class_197;<init>(Lnet/minecraft/class_197$class_3692;)V
      named <init> Lnet/minecraft/block/Block;<init>(Lnet/minecraft/block/Block$Builder;)V
  • Method Details

    • getOutlineShape

      public VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos)
      Overrides:
      getOutlineShape in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;Laxk;Lel;)Lcew;
      intermediary method_11554 Lnet/minecraft/class_197;method_11554(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Lnet/minecraft/class_4100;
      named getOutlineShape Lnet/minecraft/block/Block;getOutlineShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/shapes/VoxelShape;
    • method_16565

      public int method_16565(RenderBlockView renderBlockView)
      Overrides:
      method_16565 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Layc;)I
      intermediary method_16565 Lnet/minecraft/class_197;method_16565(Lnet/minecraft/class_3599;)I
      named method_16565 Lnet/minecraft/block/Block;method_16565(Lnet/minecraft/world/RenderBlockView;)I
    • method_11562

      public boolean method_11562(BlockState state)
      Overrides:
      method_11562 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;)Z
      intermediary method_11562 Lnet/minecraft/class_197;method_11562(Lnet/minecraft/class_2232;)Z
      named method_11562 Lnet/minecraft/block/Block;method_11562(Lnet/minecraft/block/BlockState;)Z
    • canMobSpawnInside

      public boolean canMobSpawnInside()
      Returns whether mobs can spawn inside the block. Used for Air.
      Overrides:
      canMobSpawnInside in class Block
      Returns:
      Whether mobs can spawn inside the block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a()Z
      intermediary method_8678 Lnet/minecraft/class_197;method_8678()Z
      named canMobSpawnInside Lnet/minecraft/block/Block;canMobSpawnInside()Z
    • method_16575

      public BlockState method_16575(BlockState blockState, Direction direction, BlockState blockState2, IWorld iWorld, BlockPos blockPos, BlockPos blockPos2)
      Overrides:
      method_16575 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;Leq;Lblc;Laxz;Lel;Lel;)Lblc;
      intermediary method_16575 Lnet/minecraft/class_197;method_16575(Lnet/minecraft/class_2232;Lnet/minecraft/class_1354;Lnet/minecraft/class_2232;Lnet/minecraft/class_3598;Lnet/minecraft/class_2552;Lnet/minecraft/class_2552;)Lnet/minecraft/class_2232;
      named method_16575 Lnet/minecraft/block/Block;method_16575(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;Lnet/minecraft/block/BlockState;Lnet/minecraft/world/IWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
    • method_16570

      public boolean method_16570(BlockState blockState, RenderBlockView renderBlockView, BlockPos blockPos)
      Overrides:
      method_16570 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;Layc;Lel;)Z
      intermediary method_16570 Lnet/minecraft/class_197;method_16570(Lnet/minecraft/class_2232;Lnet/minecraft/class_3599;Lnet/minecraft/class_2552;)Z
      named method_16570 Lnet/minecraft/block/Block;method_16570(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/RenderBlockView;Lnet/minecraft/util/math/BlockPos;)Z
    • method_8661

      public void method_8661(BlockState blockState, World world, BlockPos blockPos, Random random)
      Overrides:
      method_8661 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;Laxy;Lel;Ljava/util/Random;)V
      intermediary method_8661 Lnet/minecraft/class_197;method_8661(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Ljava/util/Random;)V
      named method_8661 Lnet/minecraft/block/Block;method_8661(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Ljava/util/Random;)V
    • method_416

      public void method_416(BlockState blockState, World world, BlockPos blockPos, Entity entity)
      Overrides:
      method_416 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;Laxy;Lel;Laer;)V
      intermediary method_416 Lnet/minecraft/class_197;method_416(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_864;)V
      named method_416 Lnet/minecraft/block/Block;method_416(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/Entity;)V
    • method_11548

      protected void method_11548(World world, BlockPos blockPos, BlockState blockState, int int2)
      Mappings:
      Namespace Name Mixin selector
      official a Lbcn;a(Laxy;Lel;Lblc;I)V
      intermediary method_11548 Lnet/minecraft/class_1445;method_11548(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;I)V
      named method_11548 Lnet/minecraft/block/AbstractPressurePlateBlock;method_11548(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;I)V
    • method_11549

      protected abstract void method_11549(IWorld iWorld, BlockPos blockPos)
      Mappings:
      Namespace Name Mixin selector
      official a Lbcn;a(Laxz;Lel;)V
      intermediary method_11549 Lnet/minecraft/class_1445;method_11549(Lnet/minecraft/class_3598;Lnet/minecraft/class_2552;)V
      named method_11549 Lnet/minecraft/block/AbstractPressurePlateBlock;method_11549(Lnet/minecraft/world/IWorld;Lnet/minecraft/util/math/BlockPos;)V
    • method_11550

      protected abstract void method_11550(IWorld iWorld, BlockPos blockPos)
      Mappings:
      Namespace Name Mixin selector
      official b Lbcn;b(Laxz;Lel;)V
      intermediary method_11550 Lnet/minecraft/class_1445;method_11550(Lnet/minecraft/class_3598;Lnet/minecraft/class_2552;)V
      named method_11550 Lnet/minecraft/block/AbstractPressurePlateBlock;method_11550(Lnet/minecraft/world/IWorld;Lnet/minecraft/util/math/BlockPos;)V
    • method_8659

      public void method_8659(BlockState blockState, World world, BlockPos blockPos, BlockState blockState2, boolean bool)
      Overrides:
      method_8659 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;Laxy;Lel;Lblc;Z)V
      intermediary method_8659 Lnet/minecraft/class_197;method_8659(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Z)V
      named method_8659 Lnet/minecraft/block/Block;method_8659(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Z)V
    • updateNeighbours

      protected void updateNeighbours(World world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lbcn;a(Laxy;Lel;)V
      intermediary method_8608 Lnet/minecraft/class_1445;method_8608(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)V
      named updateNeighbours Lnet/minecraft/block/AbstractPressurePlateBlock;updateNeighbours(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V
    • method_8653

      public int method_8653(BlockState blockState, BlockView blockView, BlockPos blockPos, Direction direction)
      Overrides:
      method_8653 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;Laxk;Lel;Leq;)I
      intermediary method_8653 Lnet/minecraft/class_197;method_8653(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;)I
      named method_8653 Lnet/minecraft/block/Block;method_8653(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)I
    • method_8664

      public int method_8664(BlockState blockState, BlockView blockView, BlockPos blockPos, Direction direction)
      Overrides:
      method_8664 in class Block
      Mappings:
      Namespace Name Mixin selector
      official b Lbcs;b(Lblc;Laxk;Lel;Leq;)I
      intermediary method_8664 Lnet/minecraft/class_197;method_8664(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;)I
      named method_8664 Lnet/minecraft/block/Block;method_8664(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)I
    • method_11566

      public boolean method_11566(BlockState state)
      Overrides:
      method_11566 in class Block
      Mappings:
      Namespace Name Mixin selector
      official i Lbcs;i(Lblc;)Z
      intermediary method_11566 Lnet/minecraft/class_197;method_11566(Lnet/minecraft/class_2232;)Z
      named method_11566 Lnet/minecraft/block/Block;method_11566(Lnet/minecraft/block/BlockState;)Z
    • getPistonBehavior

      public PistonBehavior getPistonBehavior(BlockState state)
      Overrides:
      getPistonBehavior in class Block
      Mappings:
      Namespace Name Mixin selector
      official j Lbcs;j(Lblc;)Lbzc;
      intermediary method_11567 Lnet/minecraft/class_197;method_11567(Lnet/minecraft/class_2232;)Lnet/minecraft/class_2768;
      named getPistonBehavior Lnet/minecraft/block/Block;getPistonBehavior(Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/piston/PistonBehavior;
    • getRedstoneOutput

      protected abstract int getRedstoneOutput(World world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official b Lbcn;b(Laxy;Lel;)I
      intermediary method_8610 Lnet/minecraft/class_1445;method_8610(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)I
      named getRedstoneOutput Lnet/minecraft/block/AbstractPressurePlateBlock;getRedstoneOutput(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)I
    • getMinRedstoneOutput

      protected abstract int getMinRedstoneOutput(BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official k Lbcn;k(Lblc;)I
      intermediary method_8609 Lnet/minecraft/class_1445;method_8609(Lnet/minecraft/class_2232;)I
      named getMinRedstoneOutput Lnet/minecraft/block/AbstractPressurePlateBlock;getMinRedstoneOutput(Lnet/minecraft/block/BlockState;)I
    • setRedstoneOutput

      protected abstract BlockState setRedstoneOutput(BlockState state, int value)
      Mappings:
      Namespace Name Mixin selector
      official a Lbcn;a(Lblc;I)Lblc;
      intermediary method_8605 Lnet/minecraft/class_1445;method_8605(Lnet/minecraft/class_2232;I)Lnet/minecraft/class_2232;
      named setRedstoneOutput Lnet/minecraft/block/AbstractPressurePlateBlock;setRedstoneOutput(Lnet/minecraft/block/BlockState;I)Lnet/minecraft/block/BlockState;
    • method_14307

      public BlockRenderLayer method_14307(BlockView view, BlockState state, BlockPos pos, Direction direction)
      Overrides:
      method_14307 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Laxk;Lblc;Lel;Leq;)Lblb;
      intermediary method_14307 Lnet/minecraft/class_197;method_14307(Lnet/minecraft/class_1158;Lnet/minecraft/class_2232;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;)Lnet/minecraft/class_3225;
      named method_14307 Lnet/minecraft/block/Block;method_14307(Lnet/minecraft/world/BlockView;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Lnet/minecraft/block/BlockRenderLayer;