Class TrapdoorBlock

All Implemented Interfaces:
FluidFillable, class_3695, Itemable

public class TrapdoorBlock extends HorizotalFacingBlock implements class_3695, FluidFillable
Mappings:
Namespace Name
official bil
intermediary net/minecraft/class_205
named net/minecraft/block/TrapdoorBlock
  • Field Details

    • field_18531

      public static final BooleanProperty field_18531
      Mappings:
      Namespace Name Mixin selector
      official a Lbil;a:Lbmb;
      intermediary field_18531 Lnet/minecraft/class_205;field_18531:Lnet/minecraft/class_2243;
      named field_18531 Lnet/minecraft/block/TrapdoorBlock;field_18531:Lnet/minecraft/state/property/BooleanProperty;
    • field_18532

      public static final EnumProperty<class_3774> field_18532
      Mappings:
      Namespace Name Mixin selector
      official b Lbil;b:Lbmh;
      intermediary field_18532 Lnet/minecraft/class_205;field_18532:Lnet/minecraft/class_2245;
      named field_18532 Lnet/minecraft/block/TrapdoorBlock;field_18532:Lnet/minecraft/state/property/EnumProperty;
    • field_18533

      public static final BooleanProperty field_18533
      Mappings:
      Namespace Name Mixin selector
      official c Lbil;c:Lbmb;
      intermediary field_18533 Lnet/minecraft/class_205;field_18533:Lnet/minecraft/class_2243;
      named field_18533 Lnet/minecraft/block/TrapdoorBlock;field_18533:Lnet/minecraft/state/property/BooleanProperty;
    • field_18534

      public static final BooleanProperty field_18534
      Mappings:
      Namespace Name Mixin selector
      official o Lbil;o:Lbmb;
      intermediary field_18534 Lnet/minecraft/class_205;field_18534:Lnet/minecraft/class_2243;
      named field_18534 Lnet/minecraft/block/TrapdoorBlock;field_18534:Lnet/minecraft/state/property/BooleanProperty;
    • field_18535

      protected static final VoxelShape field_18535
      Mappings:
      Namespace Name Mixin selector
      official p Lbil;p:Lcew;
      intermediary field_18535 Lnet/minecraft/class_205;field_18535:Lnet/minecraft/class_4100;
      named field_18535 Lnet/minecraft/block/TrapdoorBlock;field_18535:Lnet/minecraft/util/shapes/VoxelShape;
    • field_18536

      protected static final VoxelShape field_18536
      Mappings:
      Namespace Name Mixin selector
      official q Lbil;q:Lcew;
      intermediary field_18536 Lnet/minecraft/class_205;field_18536:Lnet/minecraft/class_4100;
      named field_18536 Lnet/minecraft/block/TrapdoorBlock;field_18536:Lnet/minecraft/util/shapes/VoxelShape;
    • field_18537

      protected static final VoxelShape field_18537
      Mappings:
      Namespace Name Mixin selector
      official r Lbil;r:Lcew;
      intermediary field_18537 Lnet/minecraft/class_205;field_18537:Lnet/minecraft/class_4100;
      named field_18537 Lnet/minecraft/block/TrapdoorBlock;field_18537:Lnet/minecraft/util/shapes/VoxelShape;
    • field_18538

      protected static final VoxelShape field_18538
      Mappings:
      Namespace Name Mixin selector
      official s Lbil;s:Lcew;
      intermediary field_18538 Lnet/minecraft/class_205;field_18538:Lnet/minecraft/class_4100;
      named field_18538 Lnet/minecraft/block/TrapdoorBlock;field_18538:Lnet/minecraft/util/shapes/VoxelShape;
    • field_18539

      protected static final VoxelShape field_18539
      Mappings:
      Namespace Name Mixin selector
      official t Lbil;t:Lcew;
      intermediary field_18539 Lnet/minecraft/class_205;field_18539:Lnet/minecraft/class_4100;
      named field_18539 Lnet/minecraft/block/TrapdoorBlock;field_18539:Lnet/minecraft/util/shapes/VoxelShape;
    • field_18540

      protected static final VoxelShape field_18540
      Mappings:
      Namespace Name Mixin selector
      official u Lbil;u:Lcew;
      intermediary field_18540 Lnet/minecraft/class_205;field_18540:Lnet/minecraft/class_4100;
      named field_18540 Lnet/minecraft/block/TrapdoorBlock;field_18540:Lnet/minecraft/util/shapes/VoxelShape;
  • Constructor Details

    • TrapdoorBlock

      protected TrapdoorBlock(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_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
    • 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_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_11640

      protected void method_11640(@Nullable PlayerEntity playerEntity, World world, BlockPos blockPos, boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official a Lbil;a(Laog;Laxy;Lel;Z)V
      intermediary method_11640 Lnet/minecraft/class_205;method_11640(Lnet/minecraft/class_988;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Z)V
      named method_11640 Lnet/minecraft/block/TrapdoorBlock;method_11640(Lnet/minecraft/entity/player/PlayerEntity;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_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;
    • 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;
    • 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;
    • method_16631

      public Fluid method_16631(IWorld iWorld, BlockPos blockPos, BlockState blockState)
      Specified by:
      method_16631 in interface class_3695
      Mappings:
      Namespace Name Mixin selector
      official a Lbcz;a(Laxz;Lel;Lblc;)Lbyv;
      intermediary method_16631 Lnet/minecraft/class_3695;method_16631(Lnet/minecraft/class_3598;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;)Lnet/minecraft/class_4023;
      named method_16631 Lnet/minecraft/class_3695;method_16631(Lnet/minecraft/world/IWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Lnet/minecraft/fluid/Fluid;
    • getFluidState

      public FluidState getFluidState(BlockState state)
      Overrides:
      getFluidState in class Block
      Mappings:
      Namespace Name Mixin selector
      official h Lbcs;h(Lblc;)Lbyw;
      intermediary method_16594 Lnet/minecraft/class_197;method_16594(Lnet/minecraft/class_2232;)Lnet/minecraft/class_4024;
      named getFluidState Lnet/minecraft/block/Block;getFluidState(Lnet/minecraft/block/BlockState;)Lnet/minecraft/fluid/FluidState;
    • canFillWithFluid

      public boolean canFillWithFluid(BlockView blockView, BlockPos blockPos, BlockState blockState, Fluid fluid)
      Specified by:
      canFillWithFluid in interface FluidFillable
      Mappings:
      Namespace Name Mixin selector
      official a Lbfv;a(Laxk;Lel;Lblc;Lbyv;)Z
      intermediary method_16700 Lnet/minecraft/class_3711;method_16700(Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Lnet/minecraft/class_4023;)Z
      named canFillWithFluid Lnet/minecraft/block/FluidFillable;canFillWithFluid(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/fluid/Fluid;)Z
    • tryFillWithFluid

      public boolean tryFillWithFluid(IWorld iWorld, BlockPos blockPos, BlockState blockState, FluidState fluidState)
      Specified by:
      tryFillWithFluid in interface FluidFillable
      Mappings:
      Namespace Name Mixin selector
      official a Lbfv;a(Laxz;Lel;Lblc;Lbyw;)Z
      intermediary method_16701 Lnet/minecraft/class_3711;method_16701(Lnet/minecraft/class_3598;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Lnet/minecraft/class_4024;)Z
      named tryFillWithFluid Lnet/minecraft/block/FluidFillable;tryFillWithFluid(Lnet/minecraft/world/IWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/fluid/FluidState;)Z
    • 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;