Uses of Record Class
net.minecraft.structure.StructureContext
-
Uses of StructureContext in net.minecraft.structure
Modifier and TypeMethodDescriptionstatic StructureContext
StructureContext.from
(ServerWorld world) Modifier and TypeMethodDescriptionstatic StructurePiecesList
StructurePiecesList.fromNbt
(NbtList list, StructureContext context) static @Nullable StructureStart
StructureStart.fromNbt
(StructureContext context, NbtCompound nbt, long seed) StructurePieceType.load
(StructureContext context, NbtCompound nbt) default StructurePiece
StructurePieceType.ManagerAware.load
(StructureContext context, NbtCompound nbt) default StructurePiece
StructurePieceType.Simple.load
(StructureContext context, NbtCompound nbt) final NbtCompound
StructurePiece.toNbt
(StructureContext context) StructurePiecesList.toNbt
(StructureContext context) StructureStart.toNbt
(StructureContext context, ChunkPos chunkPos) protected void
BuriedTreasureGenerator.Piece.writeNbt
(StructureContext context, NbtCompound nbt) protected void
DesertTempleGenerator.writeNbt
(StructureContext context, NbtCompound nbt) protected void
EndCityGenerator.Piece.writeNbt
(StructureContext context, NbtCompound nbt) protected void
IglooGenerator.Piece.writeNbt
(StructureContext context, NbtCompound nbt) protected void
JungleTempleGenerator.writeNbt
(StructureContext context, NbtCompound nbt) protected void
MineshaftGenerator.MineshaftCorridor.writeNbt
(StructureContext context, NbtCompound nbt) protected void
MineshaftGenerator.MineshaftCrossing.writeNbt
(StructureContext context, NbtCompound nbt) protected void
MineshaftGenerator.MineshaftPart.writeNbt
(StructureContext context, NbtCompound nbt) protected void
MineshaftGenerator.MineshaftRoom.writeNbt
(StructureContext context, NbtCompound nbt) protected void
NetherFortressGenerator.BridgeEnd.writeNbt
(StructureContext context, NbtCompound nbt) protected void
NetherFortressGenerator.BridgePlatform.writeNbt
(StructureContext context, NbtCompound nbt) protected void
NetherFortressGenerator.CorridorLeftTurn.writeNbt
(StructureContext context, NbtCompound nbt) protected void
NetherFortressGenerator.CorridorRightTurn.writeNbt
(StructureContext context, NbtCompound nbt) protected void
NetherFortressGenerator.Piece.writeNbt
(StructureContext context, NbtCompound nbt) protected void
NetherFossilGenerator.Piece.writeNbt
(StructureContext context, NbtCompound nbt) protected void
OceanMonumentGenerator.Piece.writeNbt
(StructureContext context, NbtCompound nbt) protected void
OceanRuinGenerator.Piece.writeNbt
(StructureContext context, NbtCompound nbt) protected void
PoolStructurePiece.writeNbt
(StructureContext context, NbtCompound nbt) protected void
RuinedPortalStructurePiece.writeNbt
(StructureContext context, NbtCompound nbt) protected void
ShiftableStructurePiece.writeNbt
(StructureContext context, NbtCompound nbt) protected void
ShipwreckGenerator.Piece.writeNbt
(StructureContext context, NbtCompound nbt) protected void
SimpleStructurePiece.writeNbt
(StructureContext context, NbtCompound nbt) protected void
StrongholdGenerator.ChestCorridor.writeNbt
(StructureContext context, NbtCompound nbt) protected void
StrongholdGenerator.Corridor.writeNbt
(StructureContext context, NbtCompound nbt) protected void
StrongholdGenerator.FiveWayCrossing.writeNbt
(StructureContext context, NbtCompound nbt) protected void
StrongholdGenerator.Library.writeNbt
(StructureContext context, NbtCompound nbt) protected void
StrongholdGenerator.Piece.writeNbt
(StructureContext context, NbtCompound nbt) protected void
StrongholdGenerator.PortalRoom.writeNbt
(StructureContext context, NbtCompound nbt) protected void
StrongholdGenerator.SmallCorridor.writeNbt
(StructureContext context, NbtCompound nbt) protected void
StrongholdGenerator.SpiralStaircase.writeNbt
(StructureContext context, NbtCompound nbt) protected void
StrongholdGenerator.SquareRoom.writeNbt
(StructureContext context, NbtCompound nbt) protected abstract void
StructurePiece.writeNbt
(StructureContext context, NbtCompound nbt) protected void
SwampHutGenerator.writeNbt
(StructureContext context, NbtCompound nbt) protected void
WoodlandMansionGenerator.Piece.writeNbt
(StructureContext context, NbtCompound nbt) -
Uses of StructureContext in net.minecraft.world
Modifier and TypeMethodDescriptionprivate static Map
<Structure, StructureStart> ChunkSerializer.readStructureStarts
(StructureContext context, NbtCompound nbt, long worldSeed) private static NbtCompound
ChunkSerializer.writeStructures
(StructureContext context, ChunkPos pos, Map<Structure, StructureStart> starts, Map<Structure, LongSet> references)