类 RandomSpreadStructurePlacement
java.lang.Object
net.minecraft.world.level.levelgen.structure.placement.StructurePlacement
net.minecraft.world.level.levelgen.structure.placement.RandomSpreadStructurePlacement
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraft.world.level.levelgen.structure.placement.StructurePlacement
StructurePlacement.ExclusionZone, StructurePlacement.FrequencyReducer, StructurePlacement.FrequencyReductionMethod
-
字段概要
字段修饰符和类型字段说明static final com.mojang.serialization.MapCodec
<RandomSpreadStructurePlacement> private final int
private final int
private final RandomSpreadType
-
构造器概要
构造器构造器说明RandomSpreadStructurePlacement
(int p_204980_, int p_204981_, RandomSpreadType p_204982_, int p_204983_) RandomSpreadStructurePlacement
(Vec3i p_227000_, StructurePlacement.FrequencyReductionMethod p_227001_, float p_227002_, int p_227003_, Optional<StructurePlacement.ExclusionZone> p_227004_, int p_227005_, int p_227006_, RandomSpreadType p_227007_) -
方法概要
修饰符和类型方法说明getPotentialStructureChunk
(long p_227009_, int p_227010_, int p_227011_) protected boolean
isPlacementChunk
(ChunkGeneratorStructureState p_256267_, int p_256050_, int p_255975_) int
int
spacing()
type()
private static com.mojang.serialization.DataResult
<RandomSpreadStructurePlacement> validate
(RandomSpreadStructurePlacement p_286361_) 从类继承的方法 net.minecraft.world.level.levelgen.structure.placement.StructurePlacement
applyAdditionalChunkRestrictions, applyInteractionsWithOtherStructures, exclusionZone, frequency, frequencyReductionMethod, getLocatePos, isStructureChunk, locateOffset, placementCodec, salt
-
字段详细资料
-
CODEC
-
spacing
private final int spacing -
separation
private final int separation -
spreadType
-
-
构造器详细资料
-
RandomSpreadStructurePlacement
public RandomSpreadStructurePlacement(Vec3i p_227000_, StructurePlacement.FrequencyReductionMethod p_227001_, float p_227002_, int p_227003_, Optional<StructurePlacement.ExclusionZone> p_227004_, int p_227005_, int p_227006_, RandomSpreadType p_227007_) -
RandomSpreadStructurePlacement
public RandomSpreadStructurePlacement(int p_204980_, int p_204981_, RandomSpreadType p_204982_, int p_204983_)
-
-
方法详细资料
-
validate
private static com.mojang.serialization.DataResult<RandomSpreadStructurePlacement> validate(RandomSpreadStructurePlacement p_286361_) -
spacing
public int spacing() -
separation
public int separation() -
spreadType
-
getPotentialStructureChunk
-
isPlacementChunk
protected boolean isPlacementChunk(ChunkGeneratorStructureState p_256267_, int p_256050_, int p_255975_) - 指定者:
isPlacementChunk
在类中StructurePlacement
-
type
- 指定者:
type
在类中StructurePlacement
-