Class DetectorRailBlock

All Implemented Interfaces:
Itemable

public class DetectorRailBlock extends AbstractRailBlock
Mappings:
Namespace Name
official bdz
intermediary net/minecraft/class_124
named net/minecraft/block/DetectorRailBlock
  • Field Details

    • field_18279

      public static final EnumProperty<class_2175> field_18279
      Mappings:
      Namespace Name Mixin selector
      official c Lbdz;c:Lbmh;
      intermediary field_18279 Lnet/minecraft/class_124;field_18279:Lnet/minecraft/class_2245;
      named field_18279 Lnet/minecraft/block/DetectorRailBlock;field_18279:Lnet/minecraft/state/property/EnumProperty;
    • field_18280

      public static final BooleanProperty field_18280
      Mappings:
      Namespace Name Mixin selector
      official o Lbdz;o:Lbmb;
      intermediary field_18280 Lnet/minecraft/class_124;field_18280:Lnet/minecraft/class_2243;
      named field_18280 Lnet/minecraft/block/DetectorRailBlock;field_18280:Lnet/minecraft/state/property/BooleanProperty;
  • Constructor Details

    • DetectorRailBlock

      public DetectorRailBlock(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

    • 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_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
    • 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_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_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
    • updatePoweredStatus

      private void updatePoweredStatus(World world, BlockPos pos, BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official a Lbdz;a(Laxy;Lel;Lblc;)V
      intermediary method_8719 Lnet/minecraft/class_124;method_8719(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;)V
      named updatePoweredStatus Lnet/minecraft/block/DetectorRailBlock;updatePoweredStatus(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
    • method_11600

      protected void method_11600(World world, BlockPos blockPos, BlockState blockState, boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official b Lbdz;b(Laxy;Lel;Lblc;Z)V
      intermediary method_11600 Lnet/minecraft/class_124;method_11600(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Z)V
      named method_11600 Lnet/minecraft/block/DetectorRailBlock;method_11600(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Z)V
    • method_8668

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

      public Property<class_2175> getShapeProperty()
      Specified by:
      getShapeProperty in class AbstractRailBlock
      Mappings:
      Namespace Name Mixin selector
      official e Lbco;e()Lbmm;
      intermediary method_8616 Lnet/minecraft/class_1446;method_8616()Lnet/minecraft/class_2247;
      named getShapeProperty Lnet/minecraft/block/AbstractRailBlock;getShapeProperty()Lnet/minecraft/state/property/Property;
    • method_11577

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

      public int getComparatorOutput(BlockState state, World world, BlockPos pos)
      Overrides:
      getComparatorOutput in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;Laxy;Lel;)I
      intermediary method_8686 Lnet/minecraft/class_197;method_8686(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)I
      named getComparatorOutput Lnet/minecraft/block/Block;getComparatorOutput(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)I
    • method_16661

      protected <T extends AbstractMinecartEntity> List<T> method_16661(World world, BlockPos blockPos, Class<T> class2, @Nullable Predicate<Entity> predicate)
      Mappings:
      Namespace Name Mixin selector
      official a Lbdz;a(Laxy;Lel;Ljava/lang/Class;Ljava/util/function/Predicate;)Ljava/util/List;
      intermediary method_16661 Lnet/minecraft/class_124;method_16661(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Ljava/lang/Class;Ljava/util/function/Predicate;)Ljava/util/List;
      named method_16661 Lnet/minecraft/block/DetectorRailBlock;method_16661(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Ljava/lang/Class;Ljava/util/function/Predicate;)Ljava/util/List;
    • getCartDetectionBox

      private Box getCartDetectionBox(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lbdz;a(Lel;)Lcea;
      intermediary method_8718 Lnet/minecraft/class_124;method_8718(Lnet/minecraft/class_2552;)Lnet/minecraft/class_231;
      named getCartDetectionBox Lnet/minecraft/block/DetectorRailBlock;getCartDetectionBox(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/Box;
    • withRotation

      public BlockState withRotation(BlockState state, BlockRotation rotation)
      Overrides:
      withRotation in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;Lbhb;)Lblc;
      intermediary method_11556 Lnet/minecraft/class_197;method_11556(Lnet/minecraft/class_2232;Lnet/minecraft/class_2734;)Lnet/minecraft/class_2232;
      named withRotation Lnet/minecraft/block/Block;withRotation(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/BlockRotation;)Lnet/minecraft/block/BlockState;
    • withMirror

      public BlockState withMirror(BlockState state, BlockMirror mirror)
      Overrides:
      withMirror in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;Lbfz;)Lblc;
      intermediary method_11555 Lnet/minecraft/class_197;method_11555(Lnet/minecraft/class_2232;Lnet/minecraft/class_2727;)Lnet/minecraft/class_2232;
      named withMirror Lnet/minecraft/block/Block;withMirror(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/BlockMirror;)Lnet/minecraft/block/BlockState;
    • appendProperties

      protected void appendProperties(StateManager.Builder<Block,BlockState> builder)
      Overrides:
      appendProperties in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lble$a;)V
      intermediary method_16576 Lnet/minecraft/class_197;method_16576(Lnet/minecraft/class_2233$class_3757;)V
      named appendProperties Lnet/minecraft/block/Block;appendProperties(Lnet/minecraft/state/StateManager$Builder;)V