Class StateManager.BlockStateImpl

java.lang.Object
net.minecraft.block.AbstractBlockState
net.minecraft.state.StateManager.BlockStateImpl
All Implemented Interfaces:
BaseBlockState, BlockState, class_2741
Enclosing class:
StateManager

static class StateManager.BlockStateImpl extends AbstractBlockState
Mappings:
Namespace Name
official atm$a
intermediary net/minecraft/class_2233$class_2234
named net/minecraft/state/StateManager$BlockStateImpl
  • Field Details

    • block

      private final Block block
      Mappings:
      Namespace Name Mixin selector
      official a Latm$a;a:Lalu;
      intermediary field_9891 Lnet/minecraft/class_2233$class_2234;field_9891:Lnet/minecraft/class_197;
      named block Lnet/minecraft/state/StateManager$BlockStateImpl;block:Lnet/minecraft/block/Block;
    • map

      private final ImmutableMap<Property<?>,Comparable<?>> map
      Mappings:
      Namespace Name Mixin selector
      official b Latm$a;b:Lcom/google/common/collect/ImmutableMap;
      intermediary field_9892 Lnet/minecraft/class_2233$class_2234;field_9892:Lcom/google/common/collect/ImmutableMap;
      named map Lnet/minecraft/state/StateManager$BlockStateImpl;map:Lcom/google/common/collect/ImmutableMap;
    • table

      Mappings:
      Namespace Name Mixin selector
      official c Latm$a;c:Lcom/google/common/collect/ImmutableTable;
      intermediary field_9893 Lnet/minecraft/class_2233$class_2234;field_9893:Lcom/google/common/collect/ImmutableTable;
      named table Lnet/minecraft/state/StateManager$BlockStateImpl;table:Lcom/google/common/collect/ImmutableTable;
  • Constructor Details

    • BlockStateImpl

      private BlockStateImpl(Block block, ImmutableMap<Property<?>,Comparable<?>> map)
      Mappings:
      Namespace Name Mixin selector
      official <init> Latm$a;<init>(Lalu;Lcom/google/common/collect/ImmutableMap;)V
      intermediary <init> Lnet/minecraft/class_2233$class_2234;<init>(Lnet/minecraft/class_197;Lcom/google/common/collect/ImmutableMap;)V
      named <init> Lnet/minecraft/state/StateManager$BlockStateImpl;<init>(Lnet/minecraft/block/Block;Lcom/google/common/collect/ImmutableMap;)V
  • Method Details

    • getProperties

      public Collection<Property<?>> getProperties()
      Mappings:
      Namespace Name Mixin selector
      official t Latl;t()Ljava/util/Collection;
      intermediary method_9023 Lnet/minecraft/class_2232;method_9023()Ljava/util/Collection;
      named getProperties Lnet/minecraft/block/BlockState;getProperties()Ljava/util/Collection;
    • get

      public <T extends Comparable<T>> T get(Property<T> property)
      Mappings:
      Namespace Name Mixin selector
      official c Latl;c(Laub;)Ljava/lang/Comparable;
      intermediary method_9027 Lnet/minecraft/class_2232;method_9027(Lnet/minecraft/class_2247;)Ljava/lang/Comparable;
      named get Lnet/minecraft/block/BlockState;get(Lnet/minecraft/state/property/Property;)Ljava/lang/Comparable;
    • with

      public <T extends Comparable<T>, V extends T> BlockState with(Property<T> property, V v)
      Mappings:
      Namespace Name Mixin selector
      official a Latl;a(Laub;Ljava/lang/Comparable;)Latl;
      intermediary method_9025 Lnet/minecraft/class_2232;method_9025(Lnet/minecraft/class_2247;Ljava/lang/Comparable;)Lnet/minecraft/class_2232;
      named with Lnet/minecraft/block/BlockState;with(Lnet/minecraft/state/property/Property;Ljava/lang/Comparable;)Lnet/minecraft/block/BlockState;
    • getPropertyMap

      public ImmutableMap<Property<?>,Comparable<?>> getPropertyMap()
      Mappings:
      Namespace Name Mixin selector
      official u Latl;u()Lcom/google/common/collect/ImmutableMap;
      intermediary method_9026 Lnet/minecraft/class_2232;method_9026()Lcom/google/common/collect/ImmutableMap;
      named getPropertyMap Lnet/minecraft/block/BlockState;getPropertyMap()Lcom/google/common/collect/ImmutableMap;
    • getBlock

      public Block getBlock()
      Mappings:
      Namespace Name Mixin selector
      official v Latl;v()Lalu;
      intermediary method_9028 Lnet/minecraft/class_2232;method_9028()Lnet/minecraft/class_197;
      named getBlock Lnet/minecraft/block/BlockState;getBlock()Lnet/minecraft/block/Block;
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
      Mappings:
      Namespace Name Mixin selector
      official equals Latm$a;equals(Ljava/lang/Object;)Z
      intermediary equals Lnet/minecraft/class_2233$class_2234;equals(Ljava/lang/Object;)Z
      named equals Lnet/minecraft/state/StateManager$BlockStateImpl;equals(Ljava/lang/Object;)Z
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
      Mappings:
      Namespace Name Mixin selector
      official hashCode Latm$a;hashCode()I
      intermediary hashCode Lnet/minecraft/class_2233$class_2234;hashCode()I
      named hashCode Lnet/minecraft/state/StateManager$BlockStateImpl;hashCode()I
    • method_9036

      public void method_9036(Map<Map<Property<?>,Comparable<?>>,StateManager.BlockStateImpl> map)
      Mappings:
      Namespace Name Mixin selector
      official a Latm$a;a(Ljava/util/Map;)V
      intermediary method_9036 Lnet/minecraft/class_2233$class_2234;method_9036(Ljava/util/Map;)V
      named method_9036 Lnet/minecraft/state/StateManager$BlockStateImpl;method_9036(Ljava/util/Map;)V
    • method_9037

      private Map<Property<?>,Comparable<?>> method_9037(Property<?> property, Comparable<?> comparable)
      Mappings:
      Namespace Name Mixin selector
      official b Latm$a;b(Laub;Ljava/lang/Comparable;)Ljava/util/Map;
      intermediary method_9037 Lnet/minecraft/class_2233$class_2234;method_9037(Lnet/minecraft/class_2247;Ljava/lang/Comparable;)Ljava/util/Map;
      named method_9037 Lnet/minecraft/state/StateManager$BlockStateImpl;method_9037(Lnet/minecraft/state/property/Property;Ljava/lang/Comparable;)Ljava/util/Map;
    • getMaterial

      public Material getMaterial()
      Mappings:
      Namespace Name Mixin selector
      official a Latk;a()Lazs;
      intermediary method_11708 Lnet/minecraft/class_2742;method_11708()Lnet/minecraft/class_63;
      named getMaterial Lnet/minecraft/block/BaseBlockState;getMaterial()Lnet/minecraft/block/Material;
    • method_11717

      public boolean method_11717()
      Mappings:
      Namespace Name Mixin selector
      official b Latk;b()Z
      intermediary method_11717 Lnet/minecraft/class_2742;method_11717()Z
      named method_11717 Lnet/minecraft/block/BaseBlockState;method_11717()Z
    • method_13361

      public boolean method_13361(Entity entity)
      Mappings:
      Namespace Name Mixin selector
      official a Latk;a(Lsn;)Z
      intermediary method_13361 Lnet/minecraft/class_2742;method_13361(Lnet/minecraft/class_864;)Z
      named method_13361 Lnet/minecraft/block/BaseBlockState;method_13361(Lnet/minecraft/entity/Entity;)Z
    • getOpacity

      public int getOpacity()
      Mappings:
      Namespace Name Mixin selector
      official c Latk;c()I
      intermediary method_11721 Lnet/minecraft/class_2742;method_11721()I
      named getOpacity Lnet/minecraft/block/BaseBlockState;getOpacity()I
    • getLuminance

      public int getLuminance()
      Mappings:
      Namespace Name Mixin selector
      official d Latk;d()I
      intermediary method_11725 Lnet/minecraft/class_2742;method_11725()I
      named getLuminance Lnet/minecraft/block/BaseBlockState;getLuminance()I
    • method_11727

      @Environment(CLIENT) public boolean method_11727()
      Mappings:
      Namespace Name Mixin selector
      official e Latk;e()Z
      intermediary method_11727 Lnet/minecraft/class_2742;method_11727()Z
      named method_11727 Lnet/minecraft/block/BaseBlockState;method_11727()Z
    • method_11728

      public boolean method_11728()
      Mappings:
      Namespace Name Mixin selector
      official f Latk;f()Z
      intermediary method_11728 Lnet/minecraft/class_2742;method_11728()Z
      named method_11728 Lnet/minecraft/block/BaseBlockState;method_11728()Z
    • getMaterialColor

      public MaterialColor getMaterialColor()
      Mappings:
      Namespace Name Mixin selector
      official g Latk;g()Lazt;
      intermediary method_11729 Lnet/minecraft/class_2742;method_11729()Lnet/minecraft/class_65;
      named getMaterialColor Lnet/minecraft/block/BaseBlockState;getMaterialColor()Lnet/minecraft/block/MaterialColor;
    • withRotation

      public BlockState withRotation(BlockRotation rotation)
      Mappings:
      Namespace Name Mixin selector
      official a Latk;a(Laqi;)Latl;
      intermediary method_11715 Lnet/minecraft/class_2742;method_11715(Lnet/minecraft/class_2734;)Lnet/minecraft/class_2232;
      named withRotation Lnet/minecraft/block/BaseBlockState;withRotation(Lnet/minecraft/util/BlockRotation;)Lnet/minecraft/block/BlockState;
    • withMirror

      public BlockState withMirror(BlockMirror mirror)
      Mappings:
      Namespace Name Mixin selector
      official a Latk;a(Laou;)Latl;
      intermediary method_11714 Lnet/minecraft/class_2742;method_11714(Lnet/minecraft/class_2727;)Lnet/minecraft/class_2232;
      named withMirror Lnet/minecraft/block/BaseBlockState;withMirror(Lnet/minecraft/util/BlockMirror;)Lnet/minecraft/block/BlockState;
    • method_11730

      public boolean method_11730()
      Mappings:
      Namespace Name Mixin selector
      official h Latk;h()Z
      intermediary method_11730 Lnet/minecraft/class_2742;method_11730()Z
      named method_11730 Lnet/minecraft/block/BaseBlockState;method_11730()Z
    • method_13762

      @Environment(CLIENT) public boolean method_13762()
      Mappings:
      Namespace Name Mixin selector
      official i Latk;i()Z
      intermediary method_13762 Lnet/minecraft/class_2742;method_13762()Z
      named method_13762 Lnet/minecraft/block/BaseBlockState;method_13762()Z
    • getRenderType

      public BlockRenderType getRenderType()
      Mappings:
      Namespace Name Mixin selector
      official j Latk;j()Laqf;
      intermediary method_11731 Lnet/minecraft/class_2742;method_11731()Lnet/minecraft/class_2733;
      named getRenderType Lnet/minecraft/block/BaseBlockState;getRenderType()Lnet/minecraft/block/BlockRenderType;
    • method_11712

      @Environment(CLIENT) public int method_11712(BlockView view, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Latk;a(Lajw;Lco;)I
      intermediary method_11712 Lnet/minecraft/class_2742;method_11712(Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)I
      named method_11712 Lnet/minecraft/block/BaseBlockState;method_11712(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)I
    • method_11732

      @Environment(CLIENT) public float method_11732()
      Mappings:
      Namespace Name Mixin selector
      official k Latk;k()F
      intermediary method_11732 Lnet/minecraft/class_2742;method_11732()F
      named method_11732 Lnet/minecraft/block/BaseBlockState;method_11732()F
    • method_11733

      public boolean method_11733()
      Mappings:
      Namespace Name Mixin selector
      official l Latk;l()Z
      intermediary method_11733 Lnet/minecraft/class_2742;method_11733()Z
      named method_11733 Lnet/minecraft/block/BaseBlockState;method_11733()Z
    • method_11734

      public boolean method_11734()
      Mappings:
      Namespace Name Mixin selector
      official m Latk;m()Z
      intermediary method_11734 Lnet/minecraft/class_2742;method_11734()Z
      named method_11734 Lnet/minecraft/block/BaseBlockState;method_11734()Z
    • method_11735

      public boolean method_11735()
      Mappings:
      Namespace Name Mixin selector
      official n Latk;n()Z
      intermediary method_11735 Lnet/minecraft/class_2742;method_11735()Z
      named method_11735 Lnet/minecraft/block/BaseBlockState;method_11735()Z
    • method_11713

      public int method_11713(BlockView view, BlockPos pos, Direction direction)
      Mappings:
      Namespace Name Mixin selector
      official a Latk;a(Lajw;Lco;Lcv;)I
      intermediary method_11713 Lnet/minecraft/class_2742;method_11713(Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;)I
      named method_11713 Lnet/minecraft/block/BaseBlockState;method_11713(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)I
    • method_11736

      public boolean method_11736()
      Mappings:
      Namespace Name Mixin selector
      official o Latk;o()Z
      intermediary method_11736 Lnet/minecraft/class_2742;method_11736()Z
      named method_11736 Lnet/minecraft/block/BaseBlockState;method_11736()Z
    • method_11709

      public int method_11709(World world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Latk;a(Lajs;Lco;)I
      intermediary method_11709 Lnet/minecraft/class_2742;method_11709(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)I
      named method_11709 Lnet/minecraft/block/BaseBlockState;method_11709(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)I
    • getHardness

      public float getHardness(World world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official b Latk;b(Lajs;Lco;)F
      intermediary method_11718 Lnet/minecraft/class_2742;method_11718(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)F
      named getHardness Lnet/minecraft/block/BaseBlockState;getHardness(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)F
    • method_11716

      public float method_11716(PlayerEntity player, World world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Latk;a(Laay;Lajs;Lco;)F
      intermediary method_11716 Lnet/minecraft/class_2742;method_11716(Lnet/minecraft/class_988;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)F
      named method_11716 Lnet/minecraft/block/BaseBlockState;method_11716(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)F
    • getStrongRedstonePower

      public int getStrongRedstonePower(BlockView view, BlockPos pos, Direction direction)
      Mappings:
      Namespace Name Mixin selector
      official b Latk;b(Lajw;Lco;Lcv;)I
      intermediary method_11720 Lnet/minecraft/class_2742;method_11720(Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;)I
      named getStrongRedstonePower Lnet/minecraft/block/BaseBlockState;getStrongRedstonePower(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)I
    • getPistonBehavior

      public PistonBehavior getPistonBehavior()
      Mappings:
      Namespace Name Mixin selector
      official p Latk;p()Lazv;
      intermediary method_11737 Lnet/minecraft/class_2742;method_11737()Lnet/minecraft/class_2768;
      named getPistonBehavior Lnet/minecraft/block/BaseBlockState;getPistonBehavior()Lnet/minecraft/block/piston/PistonBehavior;
    • method_11719

      public BlockState method_11719(BlockView view, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official b Latk;b(Lajw;Lco;)Latl;
      intermediary method_11719 Lnet/minecraft/class_2742;method_11719(Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Lnet/minecraft/class_2232;
      named method_11719 Lnet/minecraft/block/BaseBlockState;method_11719(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
    • method_11722

      @Environment(CLIENT) public Box method_11722(World world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official c Latk;c(Lajs;Lco;)Lbdt;
      intermediary method_11722 Lnet/minecraft/class_2742;method_11722(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)Lnet/minecraft/class_231;
      named method_11722 Lnet/minecraft/block/BaseBlockState;method_11722(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/Box;
    • method_11724

      @Environment(CLIENT) public boolean method_11724(BlockView view, BlockPos pos, Direction direction)
      Mappings:
      Namespace Name Mixin selector
      official c Latk;c(Lajw;Lco;Lcv;)Z
      intermediary method_11724 Lnet/minecraft/class_2742;method_11724(Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;)Z
      named method_11724 Lnet/minecraft/block/BaseBlockState;method_11724(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Z
    • isFullBlock

      public boolean isFullBlock()
      Mappings:
      Namespace Name Mixin selector
      official q Latk;q()Z
      intermediary method_11738 Lnet/minecraft/class_2742;method_11738()Z
      named isFullBlock Lnet/minecraft/block/BaseBlockState;isFullBlock()Z
    • method_11726

      @Nullable public Box method_11726(BlockView view, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official c Latk;c(Lajw;Lco;)Lbdt;
      intermediary method_11726 Lnet/minecraft/class_2742;method_11726(Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Lnet/minecraft/class_231;
      named method_11726 Lnet/minecraft/block/BaseBlockState;method_11726(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/Box;
    • appendCollisionBoxes

      public void appendCollisionBoxes(World world, BlockPos pos, Box box, List<Box> boxes, @Nullable Entity entity, boolean isActualState)
      Mappings:
      Namespace Name Mixin selector
      official a Latk;a(Lajs;Lco;Lbdt;Ljava/util/List;Lsn;Z)V
      intermediary method_11710 Lnet/minecraft/class_2742;method_11710(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/BaseBlockState;appendCollisionBoxes(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Box;Ljava/util/List;Lnet/minecraft/entity/Entity;Z)V
    • getCollisionBox

      public Box getCollisionBox(BlockView view, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official d Latk;d(Lajw;Lco;)Lbdt;
      intermediary method_11723 Lnet/minecraft/class_2742;method_11723(Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Lnet/minecraft/class_231;
      named getCollisionBox Lnet/minecraft/block/BaseBlockState;getCollisionBox(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/Box;
    • method_11711

      public BlockHitResult method_11711(World world, BlockPos pos, Vec3d vec3d, Vec3d vec3d2)
      Mappings:
      Namespace Name Mixin selector
      official a Latk;a(Lajs;Lco;Lbdw;Lbdw;)Lbdu;
      intermediary method_11711 Lnet/minecraft/class_2742;method_11711(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_236;Lnet/minecraft/class_236;)Lnet/minecraft/class_234;
      named method_11711 Lnet/minecraft/block/BaseBlockState;method_11711(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/hit/BlockHitResult;
    • method_11739

      public boolean method_11739()
      Mappings:
      Namespace Name Mixin selector
      official r Latk;r()Z
      intermediary method_11739 Lnet/minecraft/class_2742;method_11739()Z
      named method_11739 Lnet/minecraft/block/BaseBlockState;method_11739()Z
    • method_13761

      public Vec3d method_13761(BlockView view, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official e Latk;e(Lajw;Lco;)Lbdw;
      intermediary method_13761 Lnet/minecraft/class_2742;method_13761(Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Lnet/minecraft/class_236;
      named method_13761 Lnet/minecraft/block/BaseBlockState;method_13761(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/Vec3d;
    • method_11706

      public boolean method_11706(World world, BlockPos pos, int int2, int int3)
      Mappings:
      Namespace Name Mixin selector
      official a Latj;a(Lajs;Lco;II)Z
      intermediary method_11706 Lnet/minecraft/class_2741;method_11706(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;II)Z
      named method_11706 Lnet/minecraft/class_2741;method_11706(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;II)Z
    • method_11707

      public void method_11707(World world, BlockPos blockPos, Block block, BlockPos blockPos2)
      Mappings:
      Namespace Name Mixin selector
      official a Latj;a(Lajs;Lco;Lalu;Lco;)V
      intermediary method_11707 Lnet/minecraft/class_2741;method_11707(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_197;Lnet/minecraft/class_2552;)V
      named method_11707 Lnet/minecraft/class_2741;method_11707(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;Lnet/minecraft/util/math/BlockPos;)V
    • method_13763

      public boolean method_13763()
      Mappings:
      Namespace Name Mixin selector
      official s Latk;s()Z
      intermediary method_13763 Lnet/minecraft/class_2742;method_13763()Z
      named method_13763 Lnet/minecraft/block/BaseBlockState;method_13763()Z