Class ConfiguredPlacement<DC extends IPlacementConfig>
- java.lang.Object
-
- net.minecraft.world.gen.placement.ConfiguredPlacement<DC>
-
- All Implemented Interfaces:
IDecoratable<ConfiguredPlacement<?>>
public class ConfiguredPlacement<DC extends IPlacementConfig> extends java.lang.Object implements IDecoratable<ConfiguredPlacement<?>>
-
-
Constructor Summary
Constructors Constructor Description ConfiguredPlacement(Placement<DC> p_i51390_1_, DC p_i51390_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DC
config()
ConfiguredPlacement<?>
decorated(ConfiguredPlacement<?> p_227228_1_)
java.util.stream.Stream<BlockPos>
getPositions(WorldDecoratingHelper p_242876_1_, java.util.Random p_242876_2_, BlockPos p_242876_3_)
java.lang.String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.minecraft.world.gen.IDecoratable
chance, count, count, countRandom, range, squared
-
-
-
-
Field Detail
-
CODEC
public static final com.mojang.serialization.Codec<ConfiguredPlacement<?>> CODEC
-
decorator
private final Placement<DC extends IPlacementConfig> decorator
-
config
private final DC extends IPlacementConfig config
-
-
Method Detail
-
getPositions
public java.util.stream.Stream<BlockPos> getPositions(WorldDecoratingHelper p_242876_1_, java.util.Random p_242876_2_, BlockPos p_242876_3_)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
decorated
public ConfiguredPlacement<?> decorated(ConfiguredPlacement<?> p_227228_1_)
- Specified by:
decorated
in interfaceIDecoratable<DC extends IPlacementConfig>
-
config
public DC config()
-
-