Class BlockStateProviderType<P extends BlockStateProvider>

java.lang.Object
net.minecraft.world.gen.stateprovider.BlockStateProviderType<P>

public class BlockStateProviderType<P extends BlockStateProvider> extends Object
Mappings:
Namespace Name
official cxk
intermediary net/minecraft/class_4652
named net/minecraft/world/gen/stateprovider/BlockStateProviderType
  • Field Details

    • SIMPLE_STATE_PROVIDER

      public static final BlockStateProviderType<SimpleBlockStateProvider> SIMPLE_STATE_PROVIDER
      Mappings:
      Namespace Name Mixin selector
      official a Lcxk;a:Lcxk;
      intermediary field_21305 Lnet/minecraft/class_4652;field_21305:Lnet/minecraft/class_4652;
      named SIMPLE_STATE_PROVIDER Lnet/minecraft/world/gen/stateprovider/BlockStateProviderType;SIMPLE_STATE_PROVIDER:Lnet/minecraft/world/gen/stateprovider/BlockStateProviderType;
    • WEIGHTED_STATE_PROVIDER

      public static final BlockStateProviderType<WeightedBlockStateProvider> WEIGHTED_STATE_PROVIDER
      Mappings:
      Namespace Name Mixin selector
      official b Lcxk;b:Lcxk;
      intermediary field_21306 Lnet/minecraft/class_4652;field_21306:Lnet/minecraft/class_4652;
      named WEIGHTED_STATE_PROVIDER Lnet/minecraft/world/gen/stateprovider/BlockStateProviderType;WEIGHTED_STATE_PROVIDER:Lnet/minecraft/world/gen/stateprovider/BlockStateProviderType;
    • PLAIN_FLOWER_PROVIDER

      public static final BlockStateProviderType<PlainsFlowerBlockStateProvider> PLAIN_FLOWER_PROVIDER
      Mappings:
      Namespace Name Mixin selector
      official c Lcxk;c:Lcxk;
      intermediary field_21307 Lnet/minecraft/class_4652;field_21307:Lnet/minecraft/class_4652;
      named PLAIN_FLOWER_PROVIDER Lnet/minecraft/world/gen/stateprovider/BlockStateProviderType;PLAIN_FLOWER_PROVIDER:Lnet/minecraft/world/gen/stateprovider/BlockStateProviderType;
    • FOREST_FLOWER_PROVIDER

      public static final BlockStateProviderType<ForestFlowerBlockStateProvider> FOREST_FLOWER_PROVIDER
      Mappings:
      Namespace Name Mixin selector
      official d Lcxk;d:Lcxk;
      intermediary field_21308 Lnet/minecraft/class_4652;field_21308:Lnet/minecraft/class_4652;
      named FOREST_FLOWER_PROVIDER Lnet/minecraft/world/gen/stateprovider/BlockStateProviderType;FOREST_FLOWER_PROVIDER:Lnet/minecraft/world/gen/stateprovider/BlockStateProviderType;
    • ROTATED_BLOCK_PROVIDER

      public static final BlockStateProviderType<PillarBlockStateProvider> ROTATED_BLOCK_PROVIDER
      Mappings:
      Namespace Name Mixin selector
      official e Lcxk;e:Lcxk;
      intermediary field_24938 Lnet/minecraft/class_4652;field_24938:Lnet/minecraft/class_4652;
      named ROTATED_BLOCK_PROVIDER Lnet/minecraft/world/gen/stateprovider/BlockStateProviderType;ROTATED_BLOCK_PROVIDER:Lnet/minecraft/world/gen/stateprovider/BlockStateProviderType;
    • RANDOMIZED_INT_STATE_PROVIDER

      public static final BlockStateProviderType<RandomizedIntBlockStateProvider> RANDOMIZED_INT_STATE_PROVIDER
      Mappings:
      Namespace Name Mixin selector
      official f Lcxk;f:Lcxk;
      intermediary field_29300 Lnet/minecraft/class_4652;field_29300:Lnet/minecraft/class_4652;
      named RANDOMIZED_INT_STATE_PROVIDER Lnet/minecraft/world/gen/stateprovider/BlockStateProviderType;RANDOMIZED_INT_STATE_PROVIDER:Lnet/minecraft/world/gen/stateprovider/BlockStateProviderType;
    • codec

      private final com.mojang.serialization.Codec<P extends BlockStateProvider> codec
      Mappings:
      Namespace Name Mixin selector
      official g Lcxk;g:Lcom/mojang/serialization/Codec;
      intermediary field_24939 Lnet/minecraft/class_4652;field_24939:Lcom/mojang/serialization/Codec;
      named codec Lnet/minecraft/world/gen/stateprovider/BlockStateProviderType;codec:Lcom/mojang/serialization/Codec;
  • Constructor Details

    • BlockStateProviderType

      private BlockStateProviderType(com.mojang.serialization.Codec<P> codec)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcxk;<init>(Lcom/mojang/serialization/Codec;)V
      intermediary <init> Lnet/minecraft/class_4652;<init>(Lcom/mojang/serialization/Codec;)V
      named <init> Lnet/minecraft/world/gen/stateprovider/BlockStateProviderType;<init>(Lcom/mojang/serialization/Codec;)V
  • Method Details

    • register

      private static <P extends BlockStateProvider> BlockStateProviderType<P> register(String id, com.mojang.serialization.Codec<P> codec)
      Mappings:
      Namespace Name Mixin selector
      official a Lcxk;a(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lcxk;
      intermediary method_23457 Lnet/minecraft/class_4652;method_23457(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lnet/minecraft/class_4652;
      named register Lnet/minecraft/world/gen/stateprovider/BlockStateProviderType;register(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lnet/minecraft/world/gen/stateprovider/BlockStateProviderType;
    • getCodec

      public com.mojang.serialization.Codec<P> getCodec()
      Mappings:
      Namespace Name Mixin selector
      official a Lcxk;a()Lcom/mojang/serialization/Codec;
      intermediary method_28863 Lnet/minecraft/class_4652;method_28863()Lcom/mojang/serialization/Codec;
      named getCodec Lnet/minecraft/world/gen/stateprovider/BlockStateProviderType;getCodec()Lcom/mojang/serialization/Codec;