Class BarrierBlock

All Implemented Interfaces:
ItemConvertible, ToggleableFeature

public class BarrierBlock extends Block
Mappings:
Namespace Name
official cov
intermediary net/minecraft/class_2213
named net/minecraft/block/BarrierBlock
  • Constructor Details

    • BarrierBlock

      protected BarrierBlock(AbstractBlock.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldca;<init>(Ldca$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

    • isTransparent

      public boolean isTransparent(BlockState state, BlockView world, BlockPos pos)
      Overrides:
      isTransparent in class Block
      Mappings:
      Namespace Name Mixin selector
      official c Lcpn;c(Ldcb;Lcls;Lgu;)Z
      intermediary method_9579 Lnet/minecraft/class_2248;method_9579(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Z
      named isTransparent Lnet/minecraft/block/Block;isTransparent(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Z
    • 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_ Ldca;b_(Ldcb;)Lcvs;
      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;
    • getAmbientOcclusionLightLevel

      public float getAmbientOcclusionLightLevel(BlockState state, BlockView world, BlockPos pos)
      Overrides:
      getAmbientOcclusionLightLevel in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official b Ldca;b(Ldcb;Lcls;Lgu;)F
      intermediary method_9575 Lnet/minecraft/class_4970;method_9575(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)F
      named getAmbientOcclusionLightLevel Lnet/minecraft/block/AbstractBlock;getAmbientOcclusionLightLevel(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)F