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 cumintermediary net/minecraft/class_4652named net/minecraft/world/gen/stateprovider/BlockStateProviderType
-
Field Summary
Fields Modifier and Type Field Description private com.mojang.serialization.Codec<P>codecstatic BlockStateProviderType<ForestFlowerBlockStateProvider>FOREST_FLOWER_PROVIDERstatic BlockStateProviderType<PlainsFlowerBlockStateProvider>PLAIN_FLOWER_PROVIDERstatic BlockStateProviderType<PillarBlockStateProvider>ROTATED_BLOCK_PROVIDERstatic BlockStateProviderType<SimpleBlockStateProvider>SIMPLE_STATE_PROVIDERstatic BlockStateProviderType<WeightedBlockStateProvider>WEIGHTED_STATE_PROVIDER -
Constructor Summary
Constructors Modifier Constructor Description privateBlockStateProviderType(com.mojang.serialization.Codec<P> codec) -
Method Summary
Modifier and Type Method Description com.mojang.serialization.Codec<P>getCodec()private static <P extends BlockStateProvider>
BlockStateProviderType<P>register(String id, com.mojang.serialization.Codec<P> codec)
-
Field Details
-
SIMPLE_STATE_PROVIDER
- Mappings:
Namespace Name Mixin selector official aLcum;a:Lcum;intermediary field_21305Lnet/minecraft/class_4652;field_21305:Lnet/minecraft/class_4652;named SIMPLE_STATE_PROVIDERLnet/minecraft/world/gen/stateprovider/BlockStateProviderType;SIMPLE_STATE_PROVIDER:Lnet/minecraft/world/gen/stateprovider/BlockStateProviderType;
-
WEIGHTED_STATE_PROVIDER
- Mappings:
Namespace Name Mixin selector official bLcum;b:Lcum;intermediary field_21306Lnet/minecraft/class_4652;field_21306:Lnet/minecraft/class_4652;named WEIGHTED_STATE_PROVIDERLnet/minecraft/world/gen/stateprovider/BlockStateProviderType;WEIGHTED_STATE_PROVIDER:Lnet/minecraft/world/gen/stateprovider/BlockStateProviderType;
-
PLAIN_FLOWER_PROVIDER
- Mappings:
Namespace Name Mixin selector official cLcum;c:Lcum;intermediary field_21307Lnet/minecraft/class_4652;field_21307:Lnet/minecraft/class_4652;named PLAIN_FLOWER_PROVIDERLnet/minecraft/world/gen/stateprovider/BlockStateProviderType;PLAIN_FLOWER_PROVIDER:Lnet/minecraft/world/gen/stateprovider/BlockStateProviderType;
-
FOREST_FLOWER_PROVIDER
- Mappings:
Namespace Name Mixin selector official dLcum;d:Lcum;intermediary field_21308Lnet/minecraft/class_4652;field_21308:Lnet/minecraft/class_4652;named FOREST_FLOWER_PROVIDERLnet/minecraft/world/gen/stateprovider/BlockStateProviderType;FOREST_FLOWER_PROVIDER:Lnet/minecraft/world/gen/stateprovider/BlockStateProviderType;
-
ROTATED_BLOCK_PROVIDER
- Mappings:
Namespace Name Mixin selector official eLcum;e:Lcum;intermediary field_24938Lnet/minecraft/class_4652;field_24938:Lnet/minecraft/class_4652;named ROTATED_BLOCK_PROVIDERLnet/minecraft/world/gen/stateprovider/BlockStateProviderType;ROTATED_BLOCK_PROVIDER:Lnet/minecraft/world/gen/stateprovider/BlockStateProviderType;
-
codec
- Mappings:
Namespace Name Mixin selector official fLcum;f:Lcom/mojang/serialization/Codec;intermediary field_24939Lnet/minecraft/class_4652;field_24939:Lcom/mojang/serialization/Codec;named codecLnet/minecraft/world/gen/stateprovider/BlockStateProviderType;codec:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
BlockStateProviderType
- Mappings:
Namespace Name Mixin selector official <init>Lcum;<init>(Lcom/mojang/serialization/Codec;)Vintermediary <init>Lnet/minecraft/class_4652;<init>(Lcom/mojang/serialization/Codec;)Vnamed <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 aLcum;a(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lcum;intermediary method_23457Lnet/minecraft/class_4652;method_23457(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lnet/minecraft/class_4652;named registerLnet/minecraft/world/gen/stateprovider/BlockStateProviderType;register(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lnet/minecraft/world/gen/stateprovider/BlockStateProviderType;
-
getCodec
- Mappings:
Namespace Name Mixin selector official aLcum;a()Lcom/mojang/serialization/Codec;intermediary method_28863Lnet/minecraft/class_4652;method_28863()Lcom/mojang/serialization/Codec;named getCodecLnet/minecraft/world/gen/stateprovider/BlockStateProviderType;getCodec()Lcom/mojang/serialization/Codec;
-