Package net.minecraft

Class class_3066

All Implemented Interfaces:
BlockEntityProvider, Itemable

public class class_3066 extends BlockWithEntity
Mappings:
Namespace Name
official bhi
intermediary net/minecraft/class_3066
named net/minecraft/class_3066
  • Field Details

    • field_18474

      public static final EnumProperty<Direction> field_18474
      Mappings:
      Namespace Name Mixin selector
      official a Lbhi;a:Lbmh;
      intermediary field_18474 Lnet/minecraft/class_3066;field_18474:Lnet/minecraft/class_2245;
      named field_18474 Lnet/minecraft/class_3066;field_18474:Lnet/minecraft/state/property/EnumProperty;
    • field_15144

      @Nullable private final DyeColor field_15144
      Mappings:
      Namespace Name Mixin selector
      official b Lbhi;b:Lasc;
      intermediary field_15144 Lnet/minecraft/class_3066;field_15144:Lnet/minecraft/class_2674;
      named field_15144 Lnet/minecraft/class_3066;field_15144:Lnet/minecraft/util/DyeColor;
  • Constructor Details

  • Method Details

    • method_16671

      public BlockEntity method_16671(BlockView blockView)
      Mappings:
      Namespace Name Mixin selector
      official a Lben;a(Laxk;)Lbji;
      intermediary method_16671 Lnet/minecraft/class_1451;method_16671(Lnet/minecraft/class_1158;)Lnet/minecraft/class_226;
      named method_16671 Lnet/minecraft/block/BlockEntityProvider;method_16671(Lnet/minecraft/world/BlockView;)Lnet/minecraft/block/entity/BlockEntity;
    • method_13703

      public boolean method_13703(BlockState state)
      Overrides:
      method_13703 in class Block
      Mappings:
      Namespace Name Mixin selector
      official q Lbcs;q(Lblc;)Z
      intermediary method_13703 Lnet/minecraft/class_197;method_13703(Lnet/minecraft/class_2232;)Z
      named method_13703 Lnet/minecraft/block/Block;method_13703(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 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_13704

      @Environment(CLIENT) public boolean method_13704(BlockState state)
      Overrides:
      method_13704 in class Block
      Mappings:
      Namespace Name Mixin selector
      official b Lbcs;b(Lblc;)Z
      intermediary method_13704 Lnet/minecraft/class_197;method_13704(Lnet/minecraft/class_2232;)Z
      named method_13704 Lnet/minecraft/block/Block;method_13704(Lnet/minecraft/block/BlockState;)Z
    • getBlockRenderType

      public BlockRenderType getBlockRenderType(BlockState state)
      Overrides:
      getBlockRenderType in class BlockWithEntity
      Mappings:
      Namespace Name Mixin selector
      official c Lbcs;c(Lblc;)Lbgy;
      intermediary method_11552 Lnet/minecraft/class_197;method_11552(Lnet/minecraft/class_2232;)Lnet/minecraft/class_2733;
      named getBlockRenderType Lnet/minecraft/block/Block;getBlockRenderType(Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/BlockRenderType;
    • method_421

      public boolean method_421(BlockState blockState, World world, BlockPos blockPos, PlayerEntity playerEntity, Hand hand, Direction direction, float float2, float float3, float float4)
      Overrides:
      method_421 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;Laxy;Lel;Laog;Ladk;Leq;FFF)Z
      intermediary method_421 Lnet/minecraft/class_197;method_421(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_988;Lnet/minecraft/class_2961;Lnet/minecraft/class_1354;FFF)Z
      named method_421 Lnet/minecraft/block/Block;method_421(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;Lnet/minecraft/util/math/Direction;FFF)Z
    • 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;
    • 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
    • onBreakByPlayer

      public void onBreakByPlayer(World world, BlockPos pos, BlockState state, PlayerEntity player)
      Runs when the block is broken by a player.
      Overrides:
      onBreakByPlayer in class Block
      Parameters:
      world - The world that the block is placed in
      pos - The block's position
      state - The block's BlockState
      player - The player who broke the block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Laxy;Lel;Lblc;Laog;)V
      intermediary method_8644 Lnet/minecraft/class_197;method_8644(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Lnet/minecraft/class_988;)V
      named onBreakByPlayer Lnet/minecraft/block/Block;onBreakByPlayer(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/entity/player/PlayerEntity;)V
    • method_410

      public void method_410(BlockState blockState, World world, BlockPos blockPos, float float2, int int2)
      Overrides:
      method_410 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;Laxy;Lel;FI)V
      intermediary method_410 Lnet/minecraft/class_197;method_410(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;FI)V
      named method_410 Lnet/minecraft/block/Block;method_410(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;FI)V
    • onPlaced

      public void onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack)
      Runs when the block is placed by an entity
      Overrides:
      onPlaced in class Block
      Parameters:
      world - The world that the block is in
      pos - The block's position
      state - The block's BlockState
      placer - The entity who placed the block
      itemStack - ItemStack instance
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Laxy;Lel;Lblc;Lafa;Late;)V
      intermediary method_419 Lnet/minecraft/class_197;method_419(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Lnet/minecraft/class_1699;Lnet/minecraft/class_1071;)V
      named onPlaced Lnet/minecraft/block/Block;onPlaced(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/item/ItemStack;)V
    • method_8659

      public void method_8659(BlockState blockState, World world, BlockPos blockPos, BlockState blockState2, boolean bool)
      Overrides:
      method_8659 in class BlockWithEntity
      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_16564

      @Environment(CLIENT) public void method_16564(ItemStack itemStack, @Nullable BlockView blockView, List<Text> list, TooltipContext tooltipContext)
      Overrides:
      method_16564 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Late;Laxk;Ljava/util/List;Laum;)V
      intermediary method_16564 Lnet/minecraft/class_197;method_16564(Lnet/minecraft/class_1071;Lnet/minecraft/class_1158;Ljava/util/List;Lnet/minecraft/class_3191;)V
      named method_16564 Lnet/minecraft/block/Block;method_16564(Lnet/minecraft/item/ItemStack;Lnet/minecraft/world/BlockView;Ljava/util/List;Lnet/minecraft/client/TooltipContext;)V
    • getPistonBehavior

      public PistonBehavior getPistonBehavior(BlockState state)
      Overrides:
      getPistonBehavior in class Block
      Mappings:
      Namespace Name Mixin selector
      official j Lbcs;j(Lblc;)Lbzc;
      intermediary method_11567 Lnet/minecraft/class_197;method_11567(Lnet/minecraft/class_2232;)Lnet/minecraft/class_2768;
      named getPistonBehavior Lnet/minecraft/block/Block;getPistonBehavior(Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/piston/PistonBehavior;
    • 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;
    • isFullBoundsCubeForCulling

      public boolean isFullBoundsCubeForCulling(BlockState blockState)
      Overrides:
      isFullBoundsCubeForCulling in class Block
      Mappings:
      Namespace Name Mixin selector
      official f Lbcs;f(Lblc;)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_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_8640

      public ItemStack method_8640(BlockView blockView, BlockPos blockPos, BlockState blockState)
      Overrides:
      method_8640 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Laxk;Lel;Lblc;)Late;
      intermediary method_8640 Lnet/minecraft/class_197;method_8640(Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;)Lnet/minecraft/class_1071;
      named method_8640 Lnet/minecraft/block/Block;method_8640(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Lnet/minecraft/item/ItemStack;
    • method_13716

      @Environment(CLIENT) public static DyeColor method_13716(Item item)
      Mappings:
      Namespace Name Mixin selector
      official b Lbhi;b(Lata;)Lasc;
      intermediary method_13716 Lnet/minecraft/class_3066;method_13716(Lnet/minecraft/class_1069;)Lnet/minecraft/class_2674;
      named method_13716 Lnet/minecraft/class_3066;method_13716(Lnet/minecraft/item/Item;)Lnet/minecraft/util/DyeColor;
    • method_13717

      @Environment(CLIENT) public static DyeColor method_13717(Block block)
      Mappings:
      Namespace Name Mixin selector
      official f Lbhi;f(Lbcs;)Lasc;
      intermediary method_13717 Lnet/minecraft/class_3066;method_13717(Lnet/minecraft/class_197;)Lnet/minecraft/class_2674;
      named method_13717 Lnet/minecraft/class_3066;method_13717(Lnet/minecraft/block/Block;)Lnet/minecraft/util/DyeColor;
    • method_13714

      public static Block method_13714(DyeColor dyeColor)
      Mappings:
      Namespace Name Mixin selector
      official a Lbhi;a(Lasc;)Lbcs;
      intermediary method_13714 Lnet/minecraft/class_3066;method_13714(Lnet/minecraft/class_2674;)Lnet/minecraft/class_197;
      named method_13714 Lnet/minecraft/class_3066;method_13714(Lnet/minecraft/util/DyeColor;)Lnet/minecraft/block/Block;
    • method_13718

      @Environment(CLIENT) public DyeColor method_13718()
      Mappings:
      Namespace Name Mixin selector
      official d Lbhi;d()Lasc;
      intermediary method_13718 Lnet/minecraft/class_3066;method_13718()Lnet/minecraft/class_2674;
      named method_13718 Lnet/minecraft/class_3066;method_13718()Lnet/minecraft/util/DyeColor;
    • method_13715

      public static ItemStack method_13715(DyeColor dyeColor)
      Mappings:
      Namespace Name Mixin selector
      official b Lbhi;b(Lasc;)Late;
      intermediary method_13715 Lnet/minecraft/class_3066;method_13715(Lnet/minecraft/class_2674;)Lnet/minecraft/class_1071;
      named method_13715 Lnet/minecraft/class_3066;method_13715(Lnet/minecraft/util/DyeColor;)Lnet/minecraft/item/ItemStack;
    • 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;
    • 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;