Class RedstoneWireBlock

java.lang.Object
net.minecraft.block.Block
net.minecraft.block.RedstoneWireBlock
All Implemented Interfaces:
Itemable

public class RedstoneWireBlock extends Block
Mappings:
Namespace Name
official bgu
intermediary net/minecraft/class_177
named net/minecraft/block/RedstoneWireBlock
  • Field Details

    • field_18443

      public static final EnumProperty<class_2209> field_18443
      Mappings:
      Namespace Name Mixin selector
      official a Lbgu;a:Lbmh;
      intermediary field_18443 Lnet/minecraft/class_177;field_18443:Lnet/minecraft/class_2245;
      named field_18443 Lnet/minecraft/block/RedstoneWireBlock;field_18443:Lnet/minecraft/state/property/EnumProperty;
    • field_18444

      public static final EnumProperty<class_2209> field_18444
      Mappings:
      Namespace Name Mixin selector
      official b Lbgu;b:Lbmh;
      intermediary field_18444 Lnet/minecraft/class_177;field_18444:Lnet/minecraft/class_2245;
      named field_18444 Lnet/minecraft/block/RedstoneWireBlock;field_18444:Lnet/minecraft/state/property/EnumProperty;
    • field_18445

      public static final EnumProperty<class_2209> field_18445
      Mappings:
      Namespace Name Mixin selector
      official c Lbgu;c:Lbmh;
      intermediary field_18445 Lnet/minecraft/class_177;field_18445:Lnet/minecraft/class_2245;
      named field_18445 Lnet/minecraft/block/RedstoneWireBlock;field_18445:Lnet/minecraft/state/property/EnumProperty;
    • field_18446

      public static final EnumProperty<class_2209> field_18446
      Mappings:
      Namespace Name Mixin selector
      official o Lbgu;o:Lbmh;
      intermediary field_18446 Lnet/minecraft/class_177;field_18446:Lnet/minecraft/class_2245;
      named field_18446 Lnet/minecraft/block/RedstoneWireBlock;field_18446:Lnet/minecraft/state/property/EnumProperty;
    • POWER

      public static final IntProperty POWER
      Mappings:
      Namespace Name Mixin selector
      official p Lbgu;p:Lbmj;
      intermediary field_18447 Lnet/minecraft/class_177;field_18447:Lnet/minecraft/class_2246;
      named POWER Lnet/minecraft/block/RedstoneWireBlock;POWER:Lnet/minecraft/state/property/IntProperty;
    • field_18448

      public static final Map<Direction,EnumProperty<class_2209>> field_18448
      Mappings:
      Namespace Name Mixin selector
      official q Lbgu;q:Ljava/util/Map;
      intermediary field_18448 Lnet/minecraft/class_177;field_18448:Ljava/util/Map;
      named field_18448 Lnet/minecraft/block/RedstoneWireBlock;field_18448:Ljava/util/Map;
    • field_18449

      protected static final VoxelShape[] field_18449
      Mappings:
      Namespace Name Mixin selector
      official r Lbgu;r:[Lcew;
      intermediary field_18449 Lnet/minecraft/class_177;field_18449:[Lnet/minecraft/class_4100;
      named field_18449 Lnet/minecraft/block/RedstoneWireBlock;field_18449:[Lnet/minecraft/util/shapes/VoxelShape;
    • wiresGivePower

      private boolean wiresGivePower
      Mappings:
      Namespace Name Mixin selector
      official s Lbgu;s:Z
      intermediary field_313 Lnet/minecraft/class_177;field_313:Z
      named wiresGivePower Lnet/minecraft/block/RedstoneWireBlock;wiresGivePower:Z
    • affectedNeighbors

      private final Set<BlockPos> affectedNeighbors
      Mappings:
      Namespace Name Mixin selector
      official t Lbgu;t:Ljava/util/Set;
      intermediary field_314 Lnet/minecraft/class_177;field_314:Ljava/util/Set;
      named affectedNeighbors Lnet/minecraft/block/RedstoneWireBlock;affectedNeighbors:Ljava/util/Set;
  • Constructor Details

    • RedstoneWireBlock

      public RedstoneWireBlock(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_11625

      private static int method_11625(BlockState blockState)
      Mappings:
      Namespace Name Mixin selector
      official w Lbgu;w(Lblc;)I
      intermediary method_11625 Lnet/minecraft/class_177;method_11625(Lnet/minecraft/class_2232;)I
      named method_11625 Lnet/minecraft/block/RedstoneWireBlock;method_11625(Lnet/minecraft/block/BlockState;)I
    • method_16563

      public BlockState method_16563(ItemPlacementContext itemPlacementContext)
      Overrides:
      method_16563 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lark;)Lblc;
      intermediary method_16563 Lnet/minecraft/class_197;method_16563(Lnet/minecraft/class_3544;)Lnet/minecraft/class_2232;
      named method_16563 Lnet/minecraft/block/Block;method_16563(Lnet/minecraft/item/ItemPlacementContext;)Lnet/minecraft/block/BlockState;
    • 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_16584

      public void method_16584(BlockState blockState, IWorld iWorld, BlockPos blockPos, int int2)
      Overrides:
      method_16584 in class Block
      Mappings:
      Namespace Name Mixin selector
      official b Lbcs;b(Lblc;Laxz;Lel;I)V
      intermediary method_16584 Lnet/minecraft/class_197;method_16584(Lnet/minecraft/class_2232;Lnet/minecraft/class_3598;Lnet/minecraft/class_2552;I)V
      named method_16584 Lnet/minecraft/block/Block;method_16584(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/IWorld;Lnet/minecraft/util/math/BlockPos;I)V
    • method_8878

      private class_2209 method_8878(BlockView blockView, BlockPos blockPos, Direction direction)
      Mappings:
      Namespace Name Mixin selector
      official a Lbgu;a(Laxk;Lel;Leq;)Lbmo;
      intermediary method_8878 Lnet/minecraft/class_177;method_8878(Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;)Lnet/minecraft/class_2209;
      named method_8878 Lnet/minecraft/block/RedstoneWireBlock;method_8878(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Lnet/minecraft/class_2209;
    • 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
    • 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
    • update

      private BlockState update(World world, BlockPos pos, BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official a Lbgu;a(Laxy;Lel;Lblc;)Lblc;
      intermediary method_8882 Lnet/minecraft/class_177;method_8882(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;)Lnet/minecraft/class_2232;
      named update Lnet/minecraft/block/RedstoneWireBlock;update(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/BlockState;
    • method_8875

      private BlockState method_8875(World world, BlockPos blockPos, BlockState blockState)
      Mappings:
      Namespace Name Mixin selector
      official b Lbgu;b(Laxy;Lel;Lblc;)Lblc;
      intermediary method_8875 Lnet/minecraft/class_177;method_8875(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;)Lnet/minecraft/class_2232;
      named method_8875 Lnet/minecraft/block/RedstoneWireBlock;method_8875(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/BlockState;
    • updateNeighbors

      private void updateNeighbors(World world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lbgu;a(Laxy;Lel;)V
      intermediary method_8881 Lnet/minecraft/class_177;method_8881(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)V
      named updateNeighbors Lnet/minecraft/block/RedstoneWireBlock;updateNeighbors(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V
    • method_8668

      public void method_8668(BlockState blockState, World world, BlockPos blockPos, BlockState blockState2)
      Overrides:
      method_8668 in class Block
      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
    • 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
    • method_16728

      private int method_16728(int int2, BlockState blockState)
      Mappings:
      Namespace Name Mixin selector
      official a Lbgu;a(ILblc;)I
      intermediary method_16728 Lnet/minecraft/class_177;method_16728(ILnet/minecraft/class_2232;)I
      named method_16728 Lnet/minecraft/block/RedstoneWireBlock;method_16728(ILnet/minecraft/block/BlockState;)I
    • onBreak

      public void onBreak(BlockState state, World world, BlockPos arg3, Block block, BlockPos pos)
      Overrides:
      onBreak in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;Laxy;Lel;Lbcs;Lel;)V
      intermediary method_8641 Lnet/minecraft/class_197;method_8641(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_197;Lnet/minecraft/class_2552;)V
      named onBreak Lnet/minecraft/block/Block;onBreak(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;Lnet/minecraft/util/math/BlockPos;)V
    • 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_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_8879

      private boolean method_8879(BlockView blockView, BlockPos blockPos, Direction direction)
      Mappings:
      Namespace Name Mixin selector
      official b Lbgu;b(Laxk;Lel;Leq;)Z
      intermediary method_8879 Lnet/minecraft/class_177;method_8879(Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;)Z
      named method_8879 Lnet/minecraft/block/RedstoneWireBlock;method_8879(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Z
    • method_8883

      protected static boolean method_8883(BlockView blockView, BlockPos blockPos)
      Mappings:
      Namespace Name Mixin selector
      official a Lbgu;a(Laxk;Lel;)Z
      intermediary method_8883 Lnet/minecraft/class_177;method_8883(Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Z
      named method_8883 Lnet/minecraft/block/RedstoneWireBlock;method_8883(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Z
    • connectsTo

      protected static boolean connectsTo(BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official k Lbgu;k(Lblc;)Z
      intermediary method_8880 Lnet/minecraft/class_177;method_8880(Lnet/minecraft/class_2232;)Z
      named connectsTo Lnet/minecraft/block/RedstoneWireBlock;connectsTo(Lnet/minecraft/block/BlockState;)Z
    • connectsTo

      protected static boolean connectsTo(BlockState state, @Nullable Direction dir)
      Mappings:
      Namespace Name Mixin selector
      official a Lbgu;a(Lblc;Leq;)Z
      intermediary method_8876 Lnet/minecraft/class_177;method_8876(Lnet/minecraft/class_2232;Lnet/minecraft/class_1354;)Z
      named connectsTo Lnet/minecraft/block/RedstoneWireBlock;connectsTo(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;)Z
    • 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_8877

      @Environment(CLIENT) public static int method_8877(int int2)
      Mappings:
      Namespace Name Mixin selector
      official b Lbgu;b(I)I
      intermediary method_8877 Lnet/minecraft/class_177;method_8877(I)I
      named method_8877 Lnet/minecraft/block/RedstoneWireBlock;method_8877(I)I
    • method_8669

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

      public BlockRenderLayer getRenderLayerType()
      Returns the appropriate RenderLayer for a block. Only called on the client.
      Overrides:
      getRenderLayerType in class Block
      Returns:
      The block's RenderLayer
      Mappings:
      Namespace Name Mixin selector
      official c Lbcs;c()Laxl;
      intermediary method_8687 Lnet/minecraft/class_197;method_8687()Lnet/minecraft/class_2165;
      named getRenderLayerType Lnet/minecraft/block/Block;getRenderLayerType()Lnet/minecraft/client/render/BlockRenderLayer;
    • 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
    • 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;