Class WallBlock

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

public class WallBlock extends Block
Mappings:
Namespace Name
official arq
intermediary net/minecraft/class_1307
named net/minecraft/block/WallBlock
  • Field Details

    • UP

      public static final BooleanProperty UP
      Mappings:
      Namespace Name Mixin selector
      official a Larq;a:Latx;
      intermediary field_9782 Lnet/minecraft/class_1307;field_9782:Lnet/minecraft/class_2243;
      named UP Lnet/minecraft/block/WallBlock;UP:Lnet/minecraft/state/property/BooleanProperty;
    • NORTH

      public static final BooleanProperty NORTH
      Mappings:
      Namespace Name Mixin selector
      official b Larq;b:Latx;
      intermediary field_9783 Lnet/minecraft/class_1307;field_9783:Lnet/minecraft/class_2243;
      named NORTH Lnet/minecraft/block/WallBlock;NORTH:Lnet/minecraft/state/property/BooleanProperty;
    • EAST

      public static final BooleanProperty EAST
      Mappings:
      Namespace Name Mixin selector
      official c Larq;c:Latx;
      intermediary field_9778 Lnet/minecraft/class_1307;field_9778:Lnet/minecraft/class_2243;
      named EAST Lnet/minecraft/block/WallBlock;EAST:Lnet/minecraft/state/property/BooleanProperty;
    • SOUTH

      public static final BooleanProperty SOUTH
      Mappings:
      Namespace Name Mixin selector
      official d Larq;d:Latx;
      intermediary field_9779 Lnet/minecraft/class_1307;field_9779:Lnet/minecraft/class_2243;
      named SOUTH Lnet/minecraft/block/WallBlock;SOUTH:Lnet/minecraft/state/property/BooleanProperty;
    • WEST

      public static final BooleanProperty WEST
      Mappings:
      Namespace Name Mixin selector
      official e Larq;e:Latx;
      intermediary field_9780 Lnet/minecraft/class_1307;field_9780:Lnet/minecraft/class_2243;
      named WEST Lnet/minecraft/block/WallBlock;WEST:Lnet/minecraft/state/property/BooleanProperty;
    • VARIANT

      public static final EnumProperty<WallBlock.WallType> VARIANT
      Mappings:
      Namespace Name Mixin selector
      official f Larq;f:Latz;
      intermediary field_9781 Lnet/minecraft/class_1307;field_9781:Lnet/minecraft/class_2245;
      named VARIANT Lnet/minecraft/block/WallBlock;VARIANT:Lnet/minecraft/state/property/EnumProperty;
    • field_12831

      protected static final Box[] field_12831
      Mappings:
      Namespace Name Mixin selector
      official g Larq;g:[Lbdt;
      intermediary field_12831 Lnet/minecraft/class_1307;field_12831:[Lnet/minecraft/class_231;
      named field_12831 Lnet/minecraft/block/WallBlock;field_12831:[Lnet/minecraft/util/math/Box;
    • field_12830

      protected static final Box[] field_12830
      Mappings:
      Namespace Name Mixin selector
      official B Larq;B:[Lbdt;
      intermediary field_12830 Lnet/minecraft/class_1307;field_12830:[Lnet/minecraft/class_231;
      named field_12830 Lnet/minecraft/block/WallBlock;field_12830:[Lnet/minecraft/util/math/Box;
  • Constructor Details

    • WallBlock

      public WallBlock(Block block)
  • Method Details

    • getCollisionBox

      public Box getCollisionBox(BlockState state, BlockView view, BlockPos pos)
      Overrides:
      getCollisionBox in class Block
      Mappings:
      Namespace Name Mixin selector
      official b Lalu;b(Latl;Lajw;Lco;)Lbdt;
      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;
    • appendCollisionBoxes

      public void appendCollisionBoxes(BlockState state, World world, BlockPos pos, Box entityBox, List<Box> boxes, @Nullable Entity entity, boolean isActualState)
      Overrides:
      appendCollisionBoxes in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lalu;a(Latl;Lajs;Lco;Lbdt;Ljava/util/List;Lsn;Z)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;Z)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;Z)V
    • method_8640

      @Nullable public Box method_8640(BlockState blockState, BlockView blockView, BlockPos blockPos)
      Overrides:
      method_8640 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lalu;a(Latl;Lajw;Lco;)Lbdt;
      intermediary method_8640 Lnet/minecraft/class_197;method_8640(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Lnet/minecraft/class_231;
      named method_8640 Lnet/minecraft/block/Block;method_8640(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/Box;
    • method_11643

      private static int method_11643(BlockState blockState)
      Mappings:
      Namespace Name Mixin selector
      official i Larq;i(Latl;)I
      intermediary method_11643 Lnet/minecraft/class_1307;method_11643(Lnet/minecraft/class_2232;)I
      named method_11643 Lnet/minecraft/block/WallBlock;method_11643(Lnet/minecraft/block/BlockState;)I
    • getTranslatedName

      public String getTranslatedName()
      Translates and returns the translation key
      Overrides:
      getTranslatedName in class Block
      Returns:
      Translated name
      Mappings:
      Namespace Name Mixin selector
      official c Lalu;c()Ljava/lang/String;
      intermediary method_480 Lnet/minecraft/class_197;method_480()Ljava/lang/String;
      named getTranslatedName Lnet/minecraft/block/Block;getTranslatedName()Ljava/lang/String;
    • method_11562

      public boolean method_11562(BlockState state)
      Overrides:
      method_11562 in class Block
      Mappings:
      Namespace Name Mixin selector
      official c Lalu;c(Latl;)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 Lalu;b(Lajw;Lco;)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
    • isFullBoundsCubeForCulling

      public boolean isFullBoundsCubeForCulling(BlockState blockState)
      Overrides:
      isFullBoundsCubeForCulling in class Block
      Mappings:
      Namespace Name Mixin selector
      official b Lalu;b(Latl;)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_8951

      private boolean method_8951(BlockView blockView, BlockPos blockPos)
      Mappings:
      Namespace Name Mixin selector
      official c Larq;c(Lajw;Lco;)Z
      intermediary method_8951 Lnet/minecraft/class_1307;method_8951(Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Z
      named method_8951 Lnet/minecraft/block/WallBlock;method_8951(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Z
    • method_13700

      @Environment(CLIENT) public void method_13700(Item item, ItemGroup itemGroup, DefaultedList<ItemStack> defaultedList)
      Overrides:
      method_13700 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lalu;a(Lafh;Laej;Ldd;)V
      intermediary method_13700 Lnet/minecraft/class_197;method_13700(Lnet/minecraft/class_1069;Lnet/minecraft/class_1041;Lnet/minecraft/class_3114;)V
      named method_13700 Lnet/minecraft/block/Block;method_13700(Lnet/minecraft/item/Item;Lnet/minecraft/item/itemgroup/ItemGroup;Lnet/minecraft/util/collection/DefaultedList;)V
    • getMeta

      public int getMeta(BlockState state)
      Returns the metadata value for a certain BlockState
      Overrides:
      getMeta in class Block
      Parameters:
      state - The BlockState
      Returns:
      Metadata value
      Mappings:
      Namespace Name Mixin selector
      official d Lalu;d(Latl;)I
      intermediary method_8655 Lnet/minecraft/class_197;method_8655(Lnet/minecraft/class_2232;)I
      named getMeta Lnet/minecraft/block/Block;getMeta(Lnet/minecraft/block/BlockState;)I
    • 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 Lalu;a(Latl;Lajw;Lco;Lcv;)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
    • stateFromData

      public BlockState stateFromData(int data)
      Returns a blockstate of the current block from it's id
      Overrides:
      stateFromData in class Block
      Parameters:
      data - The Blockstate's associated data value
      Returns:
      The Default state
      Mappings:
      Namespace Name Mixin selector
      official a Lalu;a(I)Latl;
      intermediary method_8635 Lnet/minecraft/class_197;method_8635(I)Lnet/minecraft/class_2232;
      named stateFromData Lnet/minecraft/block/Block;stateFromData(I)Lnet/minecraft/block/BlockState;
    • 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 Lalu;e(Latl;)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 c Lalu;c(Latl;Lajw;Lco;)Latl;
      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;
    • 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 Lalu;b()Latm;
      intermediary method_8676 Lnet/minecraft/class_197;method_8676()Lnet/minecraft/class_2233;
      named appendProperties Lnet/minecraft/block/Block;appendProperties()Lnet/minecraft/state/StateManager;