public class FoliagePlacerType<P extends FoliagePlacer> extends ForgeRegistryEntry<FoliagePlacerType<?>>
Modifier and Type | Field and Description |
---|---|
static FoliagePlacerType<AcaciaFoliagePlacer> |
ACACIA |
static FoliagePlacerType<BlobFoliagePlacer> |
BLOB |
private java.util.function.Function<com.mojang.datafixers.Dynamic<?>,P> |
field_227390_e_ |
static FoliagePlacerType<PineFoliagePlacer> |
PINE |
static FoliagePlacerType<SpruceFoliagePlacer> |
SPRUCE |
delegate
Constructor and Description |
---|
FoliagePlacerType(java.util.function.Function<com.mojang.datafixers.Dynamic<?>,P> p_i225849_1_) |
Modifier and Type | Method and Description |
---|---|
P |
func_227391_a_(com.mojang.datafixers.Dynamic<?> p_227391_1_) |
private static <P extends FoliagePlacer> |
register(java.lang.String p_227392_0_,
java.util.function.Function<com.mojang.datafixers.Dynamic<?>,P> p_227392_1_) |
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
public static final FoliagePlacerType<BlobFoliagePlacer> BLOB
public static final FoliagePlacerType<SpruceFoliagePlacer> SPRUCE
public static final FoliagePlacerType<PineFoliagePlacer> PINE
public static final FoliagePlacerType<AcaciaFoliagePlacer> ACACIA
private final java.util.function.Function<com.mojang.datafixers.Dynamic<?>,P extends FoliagePlacer> field_227390_e_
public FoliagePlacerType(java.util.function.Function<com.mojang.datafixers.Dynamic<?>,P> p_i225849_1_)
private static <P extends FoliagePlacer> FoliagePlacerType<P> register(java.lang.String p_227392_0_, java.util.function.Function<com.mojang.datafixers.Dynamic<?>,P> p_227392_1_)
public P func_227391_a_(com.mojang.datafixers.Dynamic<?> p_227391_1_)