Class AirBlock

All Implemented Interfaces:
ItemConvertible, ToggleableFeature
Direct Known Subclasses:
PackedAirBlock

public class AirBlock extends Block
Mappings:
Namespace Name
official csk
intermediary net/minecraft/class_2189
named net/minecraft/block/AirBlock
  • Constructor Details

    • AirBlock

      protected AirBlock(AbstractBlock.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldgg;<init>(Ldgg$d;)V
      intermediary <init> Lnet/minecraft/class_4970;<init>(Lnet/minecraft/class_4970$class_2251;)V
      named <init> Lnet/minecraft/block/AbstractBlock;<init>(Lnet/minecraft/block/AbstractBlock$Settings;)V
  • Method Details

    • getRenderType

      public BlockRenderType getRenderType(BlockState state)
      Returns the block's render type (invisible, animated, model).
      Overrides:
      getRenderType in class AbstractBlock
      Returns:
      the block's render type (invisible, animated, model)
      Mappings:
      Namespace Name Mixin selector
      official b_ Ldgg;b_(Ldgh;)Lczx;
      intermediary method_9604 Lnet/minecraft/class_4970;method_9604(Lnet/minecraft/class_2680;)Lnet/minecraft/class_2464;
      named getRenderType Lnet/minecraft/block/AbstractBlock;getRenderType(Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/BlockRenderType;
    • getOutlineShape

      public VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
      Overrides:
      getOutlineShape in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official a Ldgg;a(Ldgh;Lcpr;Lgt;Lein;)Lejb;
      intermediary method_9530 Lnet/minecraft/class_4970;method_9530(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_3726;)Lnet/minecraft/class_265;
      named getOutlineShape Lnet/minecraft/block/AbstractBlock;getOutlineShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/ShapeContext;)Lnet/minecraft/util/shape/VoxelShape;
    • method_50847

      public boolean method_50847(BlockState blockState)
      Overrides:
      method_50847 in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official c_ Ldgg;c_(Ldgh;)Z
      intermediary method_50847 Lnet/minecraft/class_4970;method_50847(Lnet/minecraft/class_2680;)Z
      named method_50847 Lnet/minecraft/block/AbstractBlock;method_50847(Lnet/minecraft/block/BlockState;)Z
    • shouldLetAirThrough

      public boolean shouldLetAirThrough(BlockState state, ServerWorld world, BlockPos pos, Direction direction)
      Overrides:
      shouldLetAirThrough in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official a Ldgg;a(Ldgh;Laik;Lgt;Lgz;)Z
      intermediary method_50846 Lnet/minecraft/class_4970;method_50846(Lnet/minecraft/class_2680;Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)Z
      named shouldLetAirThrough Lnet/minecraft/block/AbstractBlock;shouldLetAirThrough(Lnet/minecraft/block/BlockState;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Z