Class DoorBlock

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

public class DoorBlock extends Block
Mappings:
Namespace Name
official bed
intermediary net/minecraft/class_129
named net/minecraft/block/DoorBlock
  • Field Details

    • FACING

      public static final DirectionProperty FACING
      Mappings:
      Namespace Name Mixin selector
      official a Lbed;a:Lbme;
      intermediary field_9372 Lnet/minecraft/class_129;field_9372:Lnet/minecraft/class_2244;
      named FACING Lnet/minecraft/block/DoorBlock;FACING:Lnet/minecraft/state/property/DirectionProperty;
    • field_18293

      public static final BooleanProperty field_18293
      Mappings:
      Namespace Name Mixin selector
      official b Lbed;b:Lbmb;
      intermediary field_18293 Lnet/minecraft/class_129;field_18293:Lnet/minecraft/class_2243;
      named field_18293 Lnet/minecraft/block/DoorBlock;field_18293:Lnet/minecraft/state/property/BooleanProperty;
    • field_18294

      public static final EnumProperty<class_2182> field_18294
      Mappings:
      Namespace Name Mixin selector
      official c Lbed;c:Lbmh;
      intermediary field_18294 Lnet/minecraft/class_129;field_18294:Lnet/minecraft/class_2245;
      named field_18294 Lnet/minecraft/block/DoorBlock;field_18294:Lnet/minecraft/state/property/EnumProperty;
    • field_18295

      public static final BooleanProperty field_18295
      Mappings:
      Namespace Name Mixin selector
      official o Lbed;o:Lbmb;
      intermediary field_18295 Lnet/minecraft/class_129;field_18295:Lnet/minecraft/class_2243;
      named field_18295 Lnet/minecraft/block/DoorBlock;field_18295:Lnet/minecraft/state/property/BooleanProperty;
    • field_18296

      public static final EnumProperty<class_2181> field_18296
      Mappings:
      Namespace Name Mixin selector
      official p Lbed;p:Lbmh;
      intermediary field_18296 Lnet/minecraft/class_129;field_18296:Lnet/minecraft/class_2245;
      named field_18296 Lnet/minecraft/block/DoorBlock;field_18296:Lnet/minecraft/state/property/EnumProperty;
    • field_18297

      protected static final VoxelShape field_18297
      Mappings:
      Namespace Name Mixin selector
      official q Lbed;q:Lcew;
      intermediary field_18297 Lnet/minecraft/class_129;field_18297:Lnet/minecraft/class_4100;
      named field_18297 Lnet/minecraft/block/DoorBlock;field_18297:Lnet/minecraft/util/shapes/VoxelShape;
    • field_18298

      protected static final VoxelShape field_18298
      Mappings:
      Namespace Name Mixin selector
      official r Lbed;r:Lcew;
      intermediary field_18298 Lnet/minecraft/class_129;field_18298:Lnet/minecraft/class_4100;
      named field_18298 Lnet/minecraft/block/DoorBlock;field_18298:Lnet/minecraft/util/shapes/VoxelShape;
    • field_18299

      protected static final VoxelShape field_18299
      Mappings:
      Namespace Name Mixin selector
      official s Lbed;s:Lcew;
      intermediary field_18299 Lnet/minecraft/class_129;field_18299:Lnet/minecraft/class_4100;
      named field_18299 Lnet/minecraft/block/DoorBlock;field_18299:Lnet/minecraft/util/shapes/VoxelShape;
    • field_18300

      protected static final VoxelShape field_18300
      Mappings:
      Namespace Name Mixin selector
      official t Lbed;t:Lcew;
      intermediary field_18300 Lnet/minecraft/class_129;field_18300:Lnet/minecraft/class_4100;
      named field_18300 Lnet/minecraft/block/DoorBlock;field_18300:Lnet/minecraft/util/shapes/VoxelShape;
  • Constructor Details

    • DoorBlock

      protected DoorBlock(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_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_8651

      public void method_8651(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack stack)
      Overrides:
      method_8651 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Laxy;Laog;Lel;Lblc;Lbji;Late;)V
      intermediary method_8651 Lnet/minecraft/class_197;method_8651(Lnet/minecraft/class_1150;Lnet/minecraft/class_988;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Lnet/minecraft/class_226;Lnet/minecraft/class_1071;)V
      named method_8651 Lnet/minecraft/block/Block;method_8651(Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/entity/BlockEntity;Lnet/minecraft/item/ItemStack;)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
    • canPlaceAtSide

      public boolean canPlaceAtSide(BlockState state, BlockView world, BlockPos pos, BlockPlacementEnvironment blockPlacementEnvironment)
      Overrides:
      canPlaceAtSide in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;Laxk;Lel;Lcbf;)Z
      intermediary method_8663 Lnet/minecraft/class_197;method_8663(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;Lnet/minecraft/class_4064;)Z
      named canPlaceAtSide Lnet/minecraft/block/Block;canPlaceAtSide(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockPlacementEnvironment;)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_11604

      private int method_11604()
      Mappings:
      Namespace Name Mixin selector
      official d Lbed;d()I
      intermediary method_11604 Lnet/minecraft/class_129;method_11604()I
      named method_11604 Lnet/minecraft/block/DoorBlock;method_11604()I
    • method_11605

      private int method_11605()
      Mappings:
      Namespace Name Mixin selector
      official e Lbed;e()I
      intermediary method_11605 Lnet/minecraft/class_129;method_11605()I
      named method_11605 Lnet/minecraft/block/DoorBlock;method_11605()I
    • method_16563

      @Nullable 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;
    • 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_16667

      private class_2182 method_16667(ItemPlacementContext itemPlacementContext)
      Mappings:
      Namespace Name Mixin selector
      official b Lbed;b(Lark;)Lbmf;
      intermediary method_16667 Lnet/minecraft/class_129;method_16667(Lnet/minecraft/class_3544;)Lnet/minecraft/class_2182;
      named method_16667 Lnet/minecraft/block/DoorBlock;method_16667(Lnet/minecraft/item/ItemPlacementContext;)Lnet/minecraft/class_2182;
    • 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_8742

      public void method_8742(World world, BlockPos blockPos, boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official a Lbed;a(Laxy;Lel;Z)V
      intermediary method_8742 Lnet/minecraft/class_129;method_8742(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Z)V
      named method_8742 Lnet/minecraft/block/DoorBlock;method_8742(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Z)V
    • 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_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
    • method_16668

      private void method_16668(World world, BlockPos blockPos, boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official b Lbed;b(Laxy;Lel;Z)V
      intermediary method_16668 Lnet/minecraft/class_129;method_16668(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Z)V
      named method_16668 Lnet/minecraft/block/DoorBlock;method_16668(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Z)V
    • method_16568

      public Itemable method_16568(BlockState blockState, World world, BlockPos blockPos, int int2)
      Overrides:
      method_16568 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;Laxy;Lel;I)Laxx;
      intermediary method_16568 Lnet/minecraft/class_197;method_16568(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;I)Lnet/minecraft/class_3597;
      named method_16568 Lnet/minecraft/block/Block;method_16568(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;I)Lnet/minecraft/item/Itemable;
    • 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;
    • 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;
    • getRenderingSeed

      @Environment(CLIENT) public long getRenderingSeed(BlockState state, BlockPos pos)
      Overrides:
      getRenderingSeed in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;Lel;)J
      intermediary method_16574 Lnet/minecraft/class_197;method_16574(Lnet/minecraft/class_2232;Lnet/minecraft/class_2552;)J
      named getRenderingSeed Lnet/minecraft/block/Block;getRenderingSeed(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;)J
    • 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;