Class FenceBlock

java.lang.Object
net.minecraft.block.Block
net.minecraft.block.FenceBlock

public class FenceBlock extends Block
Mappings:
Namespace Name
official alj
intermediary net/minecraft/class_136
named net/minecraft/block/FenceBlock
  • Field Details

    • NORTH

      public static final BooleanProperty NORTH
      Mappings:
      Namespace Name Mixin selector
      official a Lalj;a:Laro;
      intermediary field_9404 Lnet/minecraft/class_136;field_9404:Lnet/minecraft/class_2243;
      named NORTH Lnet/minecraft/block/FenceBlock;NORTH:Lnet/minecraft/state/property/BooleanProperty;
    • EAST

      public static final BooleanProperty EAST
      Mappings:
      Namespace Name Mixin selector
      official b Lalj;b:Laro;
      intermediary field_9405 Lnet/minecraft/class_136;field_9405:Lnet/minecraft/class_2243;
      named EAST Lnet/minecraft/block/FenceBlock;EAST:Lnet/minecraft/state/property/BooleanProperty;
    • SOUTH

      public static final BooleanProperty SOUTH
      Mappings:
      Namespace Name Mixin selector
      official c Lalj;c:Laro;
      intermediary field_9402 Lnet/minecraft/class_136;field_9402:Lnet/minecraft/class_2243;
      named SOUTH Lnet/minecraft/block/FenceBlock;SOUTH:Lnet/minecraft/state/property/BooleanProperty;
    • WEST

      public static final BooleanProperty WEST
      Mappings:
      Namespace Name Mixin selector
      official d Lalj;d:Laro;
      intermediary field_9403 Lnet/minecraft/class_136;field_9403:Lnet/minecraft/class_2243;
      named WEST Lnet/minecraft/block/FenceBlock;WEST:Lnet/minecraft/state/property/BooleanProperty;
    • field_12667

      protected static final Box[] field_12667
      Mappings:
      Namespace Name Mixin selector
      official e Lalj;e:[Lbbf;
      intermediary field_12667 Lnet/minecraft/class_136;field_12667:[Lnet/minecraft/class_231;
      named field_12667 Lnet/minecraft/block/FenceBlock;field_12667:[Lnet/minecraft/util/math/Box;
    • field_12668

      public static final Box field_12668
      Mappings:
      Namespace Name Mixin selector
      official f Lalj;f:Lbbf;
      intermediary field_12668 Lnet/minecraft/class_136;field_12668:Lnet/minecraft/class_231;
      named field_12668 Lnet/minecraft/block/FenceBlock;field_12668:Lnet/minecraft/util/math/Box;
    • field_12669

      public static final Box field_12669
      Mappings:
      Namespace Name Mixin selector
      official g Lalj;g:Lbbf;
      intermediary field_12669 Lnet/minecraft/class_136;field_12669:Lnet/minecraft/class_231;
      named field_12669 Lnet/minecraft/block/FenceBlock;field_12669:Lnet/minecraft/util/math/Box;
    • field_12664

      public static final Box field_12664
      Mappings:
      Namespace Name Mixin selector
      official B Lalj;B:Lbbf;
      intermediary field_12664 Lnet/minecraft/class_136;field_12664:Lnet/minecraft/class_231;
      named field_12664 Lnet/minecraft/block/FenceBlock;field_12664:Lnet/minecraft/util/math/Box;
    • field_12665

      public static final Box field_12665
      Mappings:
      Namespace Name Mixin selector
      official C Lalj;C:Lbbf;
      intermediary field_12665 Lnet/minecraft/class_136;field_12665:Lnet/minecraft/class_231;
      named field_12665 Lnet/minecraft/block/FenceBlock;field_12665:Lnet/minecraft/util/math/Box;
    • field_12666

      public static final Box field_12666
      Mappings:
      Namespace Name Mixin selector
      official D Lalj;D:Lbbf;
      intermediary field_12666 Lnet/minecraft/class_136;field_12666:Lnet/minecraft/class_231;
      named field_12666 Lnet/minecraft/block/FenceBlock;field_12666:Lnet/minecraft/util/math/Box;
  • Constructor Details

    • FenceBlock

      public FenceBlock(Material material, MaterialColor color)
      Parameters:
      material - The block's material
      color - The block's material color
      Mappings:
      Namespace Name Mixin selector
      official <init> Lajt;<init>(Laxe;Laxf;)V
      intermediary <init> Lnet/minecraft/class_197;<init>(Lnet/minecraft/class_63;Lnet/minecraft/class_65;)V
      named <init> Lnet/minecraft/block/Block;<init>(Lnet/minecraft/block/Material;Lnet/minecraft/block/MaterialColor;)V
  • Method Details

    • appendCollisionBoxes

      public void appendCollisionBoxes(BlockState state, World world, BlockPos pos, Box entityBox, List<Box> boxes, @Nullable Entity entity)
      Overrides:
      appendCollisionBoxes in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lajt;a(Lard;Laht;Lcl;Lbbf;Ljava/util/List;Lrr;)V
      intermediary method_11553 Lnet/minecraft/class_197;method_11553(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_231;Ljava/util/List;Lnet/minecraft/class_864;)V
      named appendCollisionBoxes Lnet/minecraft/block/Block;appendCollisionBoxes(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Box;Ljava/util/List;Lnet/minecraft/entity/Entity;)V
    • getCollisionBox

      public Box getCollisionBox(BlockState state, BlockView view, BlockPos pos)
      Overrides:
      getCollisionBox in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lajt;a(Lard;Lahx;Lcl;)Lbbf;
      intermediary method_11554 Lnet/minecraft/class_197;method_11554(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Lnet/minecraft/class_231;
      named getCollisionBox Lnet/minecraft/block/Block;getCollisionBox(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/Box;
    • method_11612

      private static int method_11612(BlockState blockState)
      Mappings:
      Namespace Name Mixin selector
      official i Lalj;i(Lard;)I
      intermediary method_11612 Lnet/minecraft/class_136;method_11612(Lnet/minecraft/class_2232;)I
      named method_11612 Lnet/minecraft/block/FenceBlock;method_11612(Lnet/minecraft/block/BlockState;)I
    • isFullBoundsCubeForCulling

      public boolean isFullBoundsCubeForCulling(BlockState blockState)
      Overrides:
      isFullBoundsCubeForCulling in class Block
      Mappings:
      Namespace Name Mixin selector
      official b Lajt;b(Lard;)Z
      intermediary method_11560 Lnet/minecraft/class_197;method_11560(Lnet/minecraft/class_2232;)Z
      named isFullBoundsCubeForCulling Lnet/minecraft/block/Block;isFullBoundsCubeForCulling(Lnet/minecraft/block/BlockState;)Z
    • method_11562

      public boolean method_11562(BlockState state)
      Overrides:
      method_11562 in class Block
      Mappings:
      Namespace Name Mixin selector
      official c Lajt;c(Lard;)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
    • blocksMovement

      public boolean blocksMovement(BlockView view, BlockPos pos)
      Overrides:
      blocksMovement in class Block
      Mappings:
      Namespace Name Mixin selector
      official b Lajt;b(Lahx;Lcl;)Z
      intermediary method_8663 Lnet/minecraft/class_197;method_8663(Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Z
      named blocksMovement Lnet/minecraft/block/Block;blocksMovement(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Z
    • method_8771

      public boolean method_8771(BlockView blockView, BlockPos blockPos)
      Mappings:
      Namespace Name Mixin selector
      official c Lalj;c(Lahx;Lcl;)Z
      intermediary method_8771 Lnet/minecraft/class_136;method_8771(Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Z
      named method_8771 Lnet/minecraft/block/FenceBlock;method_8771(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Z
    • method_8654

      @Environment(CLIENT) public boolean method_8654(BlockState state, BlockView view, BlockPos pos, Direction direction)
      Overrides:
      method_8654 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lajt;a(Lard;Lahx;Lcl;Lcs;)Z
      intermediary method_8654 Lnet/minecraft/class_197;method_8654(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;)Z
      named method_8654 Lnet/minecraft/block/Block;method_8654(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Z
    • method_421

      public boolean method_421(World world, BlockPos blockPos, BlockState blockState, PlayerEntity playerEntity, Hand hand, @Nullable ItemStack itemStack, Direction direction, float float2, float float3, float float4)
      Overrides:
      method_421 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lajt;a(Laht;Lcl;Lard;Lzj;Lqm;Ladq;Lcs;FFF)Z
      intermediary method_421 Lnet/minecraft/class_197;method_421(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Lnet/minecraft/class_988;Lnet/minecraft/class_2961;Lnet/minecraft/class_1071;Lnet/minecraft/class_1354;FFF)Z
      named method_421 Lnet/minecraft/block/Block;method_421(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;Lnet/minecraft/item/ItemStack;Lnet/minecraft/util/math/Direction;FFF)Z
    • getData

      public int getData(BlockState state)
      Returns the data value for a blockstate Throws an IllegalArmumentException as this method does not work
      Overrides:
      getData in class Block
      Parameters:
      state - The Blockstate
      Returns:
      Zero
      Mappings:
      Namespace Name Mixin selector
      official e Lajt;e(Lard;)I
      intermediary method_8671 Lnet/minecraft/class_197;method_8671(Lnet/minecraft/class_2232;)I
      named getData Lnet/minecraft/block/Block;getData(Lnet/minecraft/block/BlockState;)I
    • getBlockState

      public BlockState getBlockState(BlockState state, BlockView view, BlockPos pos)
      Returns the current block's blockstate at a certain position
      Overrides:
      getBlockState in class Block
      Parameters:
      state - The original blockstate
      view - BlockView instance
      pos - The block's position
      Returns:
      state
      Mappings:
      Namespace Name Mixin selector
      official b Lajt;b(Lard;Lahx;Lcl;)Lard;
      intermediary method_8656 Lnet/minecraft/class_197;method_8656(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Lnet/minecraft/class_2232;
      named getBlockState Lnet/minecraft/block/Block;getBlockState(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
    • withRotation

      public BlockState withRotation(BlockState state, BlockRotation rotation)
      Overrides:
      withRotation in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lajt;a(Lard;Laoe;)Lard;
      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 Lajt;a(Lard;Lamr;)Lard;
      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 StateManager appendProperties()
      Returns a new state manager with a property array.
      Overrides:
      appendProperties in class Block
      Returns:
      New state manager
      Mappings:
      Namespace Name Mixin selector
      official b Lajt;b()Lare;
      intermediary method_8676 Lnet/minecraft/class_197;method_8676()Lnet/minecraft/class_2233;
      named appendProperties Lnet/minecraft/block/Block;appendProperties()Lnet/minecraft/state/StateManager;