Class BlockTypes

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

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

    • CODEC

      public static final com.mojang.serialization.MapCodec<Block> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/block/BlockTypes;CODEC:Lcom/mojang/serialization/MapCodec;
      intermediary field_46281 Lnet/minecraft/class_8811;field_46281:Lcom/mojang/serialization/MapCodec;
      official a Ldfc;a: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
      named registerAndGetDefault Lnet/minecraft/block/BlockTypes;registerAndGetDefault(Lnet/minecraft/registry/Registry;)Lcom/mojang/serialization/MapCodec;
      intermediary method_53979 Lnet/minecraft/class_8811;method_53979(Lnet/minecraft/class_2378;)Lcom/mojang/serialization/MapCodec;
      official a Ldfc;a(Ljv;)Lcom/mojang/serialization/MapCodec;