Class BlockTypes

java.lang.Object
net.minecraft.block.BlockTypes

public class BlockTypes extends Object
Mappings:
Namespace Name
official cwr
intermediary net/minecraft/class_8811
named net/minecraft/block/BlockTypes
  • Field Details

    • CODEC

      public static final com.mojang.serialization.MapCodec<Block> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Lcwr;a:Lcom/mojang/serialization/MapCodec;
      intermediary field_46281 Lnet/minecraft/class_8811;field_46281:Lcom/mojang/serialization/MapCodec;
      named CODEC Lnet/minecraft/block/BlockTypes;CODEC:Lcom/mojang/serialization/MapCodec;
  • Constructor Details

    • BlockTypes

      public BlockTypes()
  • Method Details

    • registerAndGetDefault

      public static com.mojang.serialization.MapCodec<? extends Block> registerAndGetDefault(Registry<com.mojang.serialization.MapCodec<? extends Block>> registry)
      Mappings:
      Namespace Name Mixin selector
      official a Lcwr;a(Lit;)Lcom/mojang/serialization/MapCodec;
      intermediary method_53979 Lnet/minecraft/class_8811;method_53979(Lnet/minecraft/class_2378;)Lcom/mojang/serialization/MapCodec;
      named registerAndGetDefault Lnet/minecraft/block/BlockTypes;registerAndGetDefault(Lnet/minecraft/registry/Registry;)Lcom/mojang/serialization/MapCodec;