Uses of Class
net.minecraft.structure.Structure
Package
Description
-
Uses of Structure in net.minecraft.block.entity
Modifier and TypeMethodDescriptionboolean
StructureBlockBlockEntity.place
(ServerWorld world, boolean bool, Structure structure) -
Uses of Structure in net.minecraft.structure
Modifier and TypeFieldDescriptionprivate final Function<Identifier,
Optional<Structure>> StructureManager.class_7514.loader
The field for theloader
record component.private final Map<Identifier,
Optional<Structure>> StructureManager.structures
Modifier and TypeMethodDescriptionStructureManager.createStructure
(NbtCompound nbt) StructureManager.getStructureOrBlank
(Identifier id) SimpleStructurePiece.method_41624()
private Structure
StructureManager.readStructure
(InputStream structureInputStream) Modifier and TypeMethodDescriptionStructureManager.getStructure
(Identifier id) StructureManager.class_7514.loader()
Returns the value of theloader
record component.StructureManager.loadStructureFromFile
(Identifier id) StructureManager.loadStructureFromResource
(Identifier id) StructureManager.method_44230
(Identifier identifier, Path path) StructureManager.method_44231
(StructureManager.class_7513 class_7513, Consumer<Throwable> consumer) StructureManager.method_44245
(Identifier identifier) StructureManager.method_44246
(Identifier identifier) ModifierConstructorDescriptionRuinedPortalStructurePiece
(StructureManager manager, BlockPos pos, RuinedPortalStructurePiece.VerticalPlacement verticalPlacement, RuinedPortalStructurePiece.Properties properties, Identifier id, Structure structure, BlockRotation rotation, BlockMirror mirror, BlockPos blockPos) ModifierConstructorDescription(package private)
class_7514
(Function<Identifier, Optional<Structure>> function, Supplier<Stream<Identifier>> supplier) -
Uses of Structure in net.minecraft.structure.pool
Modifier and TypeFieldDescriptionprotected final com.mojang.datafixers.util.Either<Identifier,
Structure> SinglePoolElement.location
private static final com.mojang.serialization.Codec<com.mojang.datafixers.util.Either<Identifier,
Structure>> SinglePoolElement.LOCATION_CODEC
Modifier and TypeMethodDescriptionprivate Structure
SinglePoolElement.getStructure
(StructureManager structureManager) Modifier and TypeMethodDescriptionprotected static <E extends SinglePoolElement>
com.mojang.serialization.codecs.RecordCodecBuilder<E,com.mojang.datafixers.util.Either<Identifier, Structure>> SinglePoolElement.locationGetter()
Modifier and TypeMethodDescriptionprivate static <T> com.mojang.serialization.DataResult<T>
SinglePoolElement.encodeLocation
(com.mojang.datafixers.util.Either<Identifier, Structure> either, com.mojang.serialization.DynamicOps<T> dynamicOps, T t) ModifierConstructorDescriptionprotected
LegacySinglePoolElement
(com.mojang.datafixers.util.Either<Identifier, Structure> location, RegistryEntry<StructureProcessorList> processors, StructurePool.Projection projection) protected
SinglePoolElement
(com.mojang.datafixers.util.Either<Identifier, Structure> location, RegistryEntry<StructureProcessorList> processors, StructurePool.Projection projection) -
Uses of Structure in net.minecraft.test
Modifier and TypeMethodDescriptionprivate static Structure
StructureTestUtil.createStructure
(String structureId, ServerWorld world)