Class Placement<DC extends IPlacementConfig>
java.lang.Object
net.minecraftforge.registries.ForgeRegistryEntry<Placement<?>>
net.minecraft.world.gen.placement.Placement<DC>
- All Implemented Interfaces:
IForgeRegistryEntry<Placement<?>>
- Direct Known Subclasses:
CaveEdge
,CountMultilayerPlacement
,CountNoisePlacement
,DecoratedPlacement
,EndGateway
,HeightmapBasedPlacement
,LakeLava
,LakeWater
,NetherMagma
,SimplePlacement
,Spread32AbovePlacement
public abstract class Placement<DC extends IPlacementConfig>
extends ForgeRegistryEntry<Placement<?>>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.registries.ForgeRegistryEntry
ForgeRegistryEntry.UncheckedRegistryEntry<V extends IForgeRegistryEntry<V>>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Placement<CaveEdgeConfig>
static final Placement<ChanceConfig>
private final com.mojang.serialization.Codec<ConfiguredPlacement<DC>>
static final Placement<FeatureSpreadConfig>
static final Placement<AtSurfaceWithExtraConfig>
static final Placement<FeatureSpreadConfig>
static final Placement<NoiseDependant>
static final Placement<TopSolidWithNoiseConfig>
static final Placement<NoPlacementConfig>
static final Placement<DecoratedPlacementConfig>
static final Placement<DepthAverageConfig>
static final Placement<NoPlacementConfig>
static final Placement<NoPlacementConfig>
static final Placement<NoPlacementConfig>
static final Placement<FeatureSpreadConfig>
static final Placement<FeatureSpreadConfig>
static final Placement<NoPlacementConfig>
static final Placement<NoPlacementConfig>
static final Placement<NoPlacementConfig>
static final Placement<NoPlacementConfig>
static final Placement<ChanceConfig>
static final Placement<NoPlacementConfig>
static final Placement<NoPlacementConfig>
static final Placement<TopSolidRangeConfig>
static final Placement<TopSolidRangeConfig>
static final Placement<TopSolidRangeConfig>
static final Placement<NoPlacementConfig>
static final Placement<NoPlacementConfig>
static final Placement<NoPlacementConfig>
static final Placement<ChanceConfig>
Fields inherited from class net.minecraftforge.registries.ForgeRegistryEntry
delegate
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconfigured
(DC p_227446_1_) com.mojang.serialization.Codec<ConfiguredPlacement<DC>>
getPositions
(WorldDecoratingHelper p_241857_1_, Random p_241857_2_, DC p_241857_3_, BlockPos p_241857_4_) private static <T extends IPlacementConfig,
G extends Placement<T>>
GtoString()
Methods inherited from class net.minecraftforge.registries.ForgeRegistryEntry
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
-
Field Details
-
NOPE
-
CHANCE
-
COUNT
-
COUNT_NOISE
-
COUNT_NOISE_BIASED
-
COUNT_EXTRA
-
SQUARE
-
HEIGHTMAP
-
HEIGHTMAP_SPREAD_DOUBLE
-
TOP_SOLID_HEIGHTMAP
-
HEIGHTMAP_WORLD_SURFACE
-
RANGE
-
RANGE_BIASED
-
RANGE_VERY_BIASED
-
DEPTH_AVERAGE
-
SPREAD_32_ABOVE
-
CARVING_MASK
-
FIRE
-
MAGMA
-
EMERALD_ORE
-
LAVA_LAKE
-
WATER_LAKE
-
GLOWSTONE
-
END_GATEWAY
-
DARK_OAK_TREE
-
ICEBERG
-
END_ISLAND
-
DECORATED
-
COUNT_MULTILAYER
-
configuredCodec
private final com.mojang.serialization.Codec<ConfiguredPlacement<DC extends IPlacementConfig>> configuredCodec
-
-
Constructor Details
-
Placement
-
-
Method Details
-
register
private static <T extends IPlacementConfig,G extends Placement<T>> G register(String p_214999_0_, G p_214999_1_) -
configured
-
configuredCodec
-
getPositions
-
toString
-