public class BlockStateProviderType<P extends BlockStateProvider> extends ForgeRegistryEntry<BlockStateProviderType<?>>
Modifier and Type | Field and Description |
---|---|
private java.util.function.Function<com.mojang.datafixers.Dynamic<?>,P> |
field_227398_e_ |
static BlockStateProviderType<ForestFlowerBlockStateProvider> |
FOREST_FLOWER_PROVIDER |
static BlockStateProviderType<PlainFlowerBlockStateProvider> |
PLAIN_FLOWER_PROVIDER |
static BlockStateProviderType<SimpleBlockStateProvider> |
SIMPLE_STATE_PROVIDER |
static BlockStateProviderType<WeightedBlockStateProvider> |
WEIGHTED_STATE_PROVIDER |
delegate
Constructor and Description |
---|
BlockStateProviderType(java.util.function.Function<com.mojang.datafixers.Dynamic<?>,P> p_i225855_1_) |
Modifier and Type | Method and Description |
---|---|
P |
func_227399_a_(com.mojang.datafixers.Dynamic<?> p_227399_1_) |
private static <P extends BlockStateProvider> |
register(java.lang.String p_227400_0_,
java.util.function.Function<com.mojang.datafixers.Dynamic<?>,P> p_227400_1_) |
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
public static final BlockStateProviderType<SimpleBlockStateProvider> SIMPLE_STATE_PROVIDER
public static final BlockStateProviderType<WeightedBlockStateProvider> WEIGHTED_STATE_PROVIDER
public static final BlockStateProviderType<PlainFlowerBlockStateProvider> PLAIN_FLOWER_PROVIDER
public static final BlockStateProviderType<ForestFlowerBlockStateProvider> FOREST_FLOWER_PROVIDER
private final java.util.function.Function<com.mojang.datafixers.Dynamic<?>,P extends BlockStateProvider> field_227398_e_
public BlockStateProviderType(java.util.function.Function<com.mojang.datafixers.Dynamic<?>,P> p_i225855_1_)
private static <P extends BlockStateProvider> BlockStateProviderType<P> register(java.lang.String p_227400_0_, java.util.function.Function<com.mojang.datafixers.Dynamic<?>,P> p_227400_1_)
public P func_227399_a_(com.mojang.datafixers.Dynamic<?> p_227399_1_)