public class StructureAccessor extends Object
| Modifier and Type | Field and Description |
|---|---|
private ServerWorld |
field_24404 |
private class_5268 |
field_24405 |
| Constructor and Description |
|---|
StructureAccessor(ServerWorld serverWorld,
class_5268 class_5268) |
| 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<StructureStart> |
getStructuresWithChildren(ChunkSectionPos pos,
StructureFeature<?> feature,
IWorld world) |
boolean |
method_27834() |
void |
setStructureStart(ChunkSectionPos pos,
StructureFeature<?> feature,
StructureStart structureStart,
StructureHolder holder) |
private final ServerWorld field_24404
private final class_5268 field_24405
public StructureAccessor(ServerWorld serverWorld, class_5268 class_5268)
public Stream<StructureStart> getStructuresWithChildren(ChunkSectionPos pos, StructureFeature<?> feature, IWorld world)
@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()