public class StructureAccessor extends Object
| Modifier and Type | Field and Description |
|---|---|
private ServerWorld |
field_24404 |
private GeneratorOptions |
field_24497 |
| Constructor and Description |
|---|
StructureAccessor(ServerWorld serverWorld,
GeneratorOptions generatorOptions) |
| Modifier and Type | Method and Description |
|---|---|
void |
addStructureReference(ChunkSectionPos pos,
StructureFeature<?> feature,
long reference,
StructureHolder holder) |
StructureStart<?> |
getStructureStart(ChunkSectionPos pos,
StructureFeature<?> feature,
StructureHolder holder) |
Stream<? extends StructureStart<?>> |
getStructuresWithChildren(ChunkSectionPos pos,
StructureFeature<?> feature) |
boolean |
method_27834() |
StructureStart<?> |
method_28388(BlockPos blockPos,
boolean bool,
StructureFeature<?> structureFeature) |
void |
setStructureStart(ChunkSectionPos pos,
StructureFeature<?> feature,
StructureStart<?> structureStart,
StructureHolder holder) |
private final ServerWorld field_24404
private final GeneratorOptions field_24497
public StructureAccessor(ServerWorld serverWorld, GeneratorOptions generatorOptions)
public Stream<? extends StructureStart<?>> getStructuresWithChildren(ChunkSectionPos pos, StructureFeature<?> feature)
@Nullable public StructureStart<?> getStructureStart(ChunkSectionPos pos, StructureFeature<?> feature, StructureHolder holder)
public void setStructureStart(ChunkSectionPos pos, StructureFeature<?> feature, StructureStart<?> structureStart, StructureHolder holder)
public void addStructureReference(ChunkSectionPos pos, StructureFeature<?> feature, long reference, StructureHolder holder)
public boolean method_27834()
public StructureStart<?> method_28388(BlockPos blockPos, boolean bool, StructureFeature<?> structureFeature)