类 SinglePoolElement
- java.lang.Object
-
- net.minecraft.structure.pool.StructurePoolElement
-
- net.minecraft.structure.pool.SinglePoolElement
-
- 直接已知子类:
LegacySinglePoolElement
public class SinglePoolElement extends StructurePoolElement
- Mappings:
Namespace Name official cwuintermediary net/minecraft/class_3781named net/minecraft/structure/pool/SinglePoolElement
-
-
字段概要
字段 修饰符和类型 字段 说明 protected com.mojang.datafixers.util.Either<Identifier,Structure>field_24015private static com.mojang.serialization.Codec<com.mojang.datafixers.util.Either<Identifier,Structure>>field_24951static com.mojang.serialization.Codec<SinglePoolElement>field_24952protected Supplier<StructureProcessorList>processors-
从类继承的字段 net.minecraft.structure.pool.StructurePoolElement
CODEC
-
-
构造器概要
构造器 限定符 构造器 说明 protectedSinglePoolElement(com.mojang.datafixers.util.Either<Identifier,Structure> either, Supplier<StructureProcessorList> processors, StructurePool.Projection projection)SinglePoolElement(Structure structure)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 protected StructurePlacementDatacreatePlacementData(BlockRotation rotation, BlockBox box, boolean keepJigsaws)booleangenerate(StructureManager structureManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos blockPos, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws)BlockBoxgetBoundingBox(StructureManager structureManager, BlockPos pos, BlockRotation rotation)List<Structure.StructureBlockInfo>getDataStructureBlocks(StructureManager structureManager, BlockPos pos, BlockRotation rotation, boolean mirroredAndRotated)Vec3igetStart(StructureManager structureManager, BlockRotation blockRotation)List<Structure.StructureBlockInfo>getStructureBlockInfos(StructureManager structureManager, BlockPos pos, BlockRotation rotation, Random random)StructurePoolElementType<?>getType()private Structuremethod_27233(StructureManager structureManager)private static <T> com.mojang.serialization.DataResult<T>method_28877(com.mojang.datafixers.util.Either<Identifier,Structure> either, com.mojang.serialization.DynamicOps<T> dynamicOps, T t)protected static <E extends SinglePoolElement>
com.mojang.serialization.codecs.RecordCodecBuilder<E,Supplier<StructureProcessorList>>method_28880()protected static <E extends SinglePoolElement>
com.mojang.serialization.codecs.RecordCodecBuilder<E,com.mojang.datafixers.util.Either<Identifier,Structure>>method_28882()StringtoString()-
从类继承的方法 net.minecraft.structure.pool.StructurePoolElement
getGroundLevelDelta, getProjection, method_16756, method_28883, method_30421, method_30425, method_30426, method_30429, method_30434, method_30435, method_30438, setProjection
-
-
-
-
字段详细资料
-
field_24951
private static final com.mojang.serialization.Codec<com.mojang.datafixers.util.Either<Identifier,Structure>> field_24951
- Mappings:
Namespace Name Mixin selector official aLcwu;a:Lcom/mojang/serialization/Codec;intermediary field_24951Lnet/minecraft/class_3781;field_24951:Lcom/mojang/serialization/Codec;named field_24951Lnet/minecraft/structure/pool/SinglePoolElement;field_24951:Lcom/mojang/serialization/Codec;
-
field_24952
public static final com.mojang.serialization.Codec<SinglePoolElement> field_24952
- Mappings:
Namespace Name Mixin selector official bLcwu;b:Lcom/mojang/serialization/Codec;intermediary field_24952Lnet/minecraft/class_3781;field_24952:Lcom/mojang/serialization/Codec;named field_24952Lnet/minecraft/structure/pool/SinglePoolElement;field_24952:Lcom/mojang/serialization/Codec;
-
field_24015
protected final com.mojang.datafixers.util.Either<Identifier,Structure> field_24015
- Mappings:
Namespace Name Mixin selector official cLcwu;c:Lcom/mojang/datafixers/util/Either;intermediary field_24015Lnet/minecraft/class_3781;field_24015:Lcom/mojang/datafixers/util/Either;named field_24015Lnet/minecraft/structure/pool/SinglePoolElement;field_24015:Lcom/mojang/datafixers/util/Either;
-
processors
protected final Supplier<StructureProcessorList> processors
- Mappings:
Namespace Name Mixin selector official dLcwu;d:Ljava/util/function/Supplier;intermediary field_16674Lnet/minecraft/class_3781;field_16674:Ljava/util/function/Supplier;named processorsLnet/minecraft/structure/pool/SinglePoolElement;processors:Ljava/util/function/Supplier;
-
-
构造器详细资料
-
SinglePoolElement
protected SinglePoolElement(com.mojang.datafixers.util.Either<Identifier,Structure> either, Supplier<StructureProcessorList> processors, StructurePool.Projection projection)
- Mappings:
Namespace Name Mixin selector official <init>Lcwu;<init>(Lcom/mojang/datafixers/util/Either;Ljava/util/function/Supplier;Lcwx$a;)Vintermediary <init>Lnet/minecraft/class_3781;<init>(Lcom/mojang/datafixers/util/Either;Ljava/util/function/Supplier;Lnet/minecraft/class_3785$class_3786;)Vnamed <init>Lnet/minecraft/structure/pool/SinglePoolElement;<init>(Lcom/mojang/datafixers/util/Either;Ljava/util/function/Supplier;Lnet/minecraft/structure/pool/StructurePool$Projection;)V
-
SinglePoolElement
public SinglePoolElement(Structure structure)
- Mappings:
Namespace Name Mixin selector official <init>Lcwu;<init>(Ldbu;)Vintermediary <init>Lnet/minecraft/class_3781;<init>(Lnet/minecraft/class_3499;)Vnamed <init>Lnet/minecraft/structure/pool/SinglePoolElement;<init>(Lnet/minecraft/structure/Structure;)V
-
-
方法详细资料
-
method_28877
private static <T> com.mojang.serialization.DataResult<T> method_28877(com.mojang.datafixers.util.Either<Identifier,Structure> either, com.mojang.serialization.DynamicOps<T> dynamicOps, T t)
- Mappings:
Namespace Name Mixin selector official aLcwu;a(Lcom/mojang/datafixers/util/Either;Lcom/mojang/serialization/DynamicOps;Ljava/lang/Object;)Lcom/mojang/serialization/DataResult;intermediary method_28877Lnet/minecraft/class_3781;method_28877(Lcom/mojang/datafixers/util/Either;Lcom/mojang/serialization/DynamicOps;Ljava/lang/Object;)Lcom/mojang/serialization/DataResult;named method_28877Lnet/minecraft/structure/pool/SinglePoolElement;method_28877(Lcom/mojang/datafixers/util/Either;Lcom/mojang/serialization/DynamicOps;Ljava/lang/Object;)Lcom/mojang/serialization/DataResult;
-
method_28880
protected static <E extends SinglePoolElement> com.mojang.serialization.codecs.RecordCodecBuilder<E,Supplier<StructureProcessorList>> method_28880()
- Mappings:
Namespace Name Mixin selector official bLcwu;b()Lcom/mojang/serialization/codecs/RecordCodecBuilder;intermediary method_28880Lnet/minecraft/class_3781;method_28880()Lcom/mojang/serialization/codecs/RecordCodecBuilder;named method_28880Lnet/minecraft/structure/pool/SinglePoolElement;method_28880()Lcom/mojang/serialization/codecs/RecordCodecBuilder;
-
method_28882
protected static <E extends SinglePoolElement> com.mojang.serialization.codecs.RecordCodecBuilder<E,com.mojang.datafixers.util.Either<Identifier,Structure>> method_28882()
- Mappings:
Namespace Name Mixin selector official cLcwu;c()Lcom/mojang/serialization/codecs/RecordCodecBuilder;intermediary method_28882Lnet/minecraft/class_3781;method_28882()Lcom/mojang/serialization/codecs/RecordCodecBuilder;named method_28882Lnet/minecraft/structure/pool/SinglePoolElement;method_28882()Lcom/mojang/serialization/codecs/RecordCodecBuilder;
-
getStart
public Vec3i getStart(StructureManager structureManager, BlockRotation blockRotation)
- 指定者:
getStart在类中StructurePoolElement- Mappings:
Namespace Name Mixin selector official aLcwv;a(Ldbp;Lcek;)Lgw;intermediary method_16601Lnet/minecraft/class_3784;method_16601(Lnet/minecraft/class_3485;Lnet/minecraft/class_2470;)Lnet/minecraft/class_2382;named getStartLnet/minecraft/structure/pool/StructurePoolElement;getStart(Lnet/minecraft/structure/StructureManager;Lnet/minecraft/util/BlockRotation;)Lnet/minecraft/util/math/Vec3i;
-
method_27233
private Structure method_27233(StructureManager structureManager)
- Mappings:
Namespace Name Mixin selector official aLcwu;a(Ldbp;)Ldbu;intermediary method_27233Lnet/minecraft/class_3781;method_27233(Lnet/minecraft/class_3485;)Lnet/minecraft/class_3499;named method_27233Lnet/minecraft/structure/pool/SinglePoolElement;method_27233(Lnet/minecraft/structure/StructureManager;)Lnet/minecraft/structure/Structure;
-
getDataStructureBlocks
public List<Structure.StructureBlockInfo> getDataStructureBlocks(StructureManager structureManager, BlockPos pos, BlockRotation rotation, boolean mirroredAndRotated)
- Mappings:
Namespace Name Mixin selector official aLcwu;a(Ldbp;Lgb;Lcek;Z)Ljava/util/List;intermediary method_16614Lnet/minecraft/class_3781;method_16614(Lnet/minecraft/class_3485;Lnet/minecraft/class_2338;Lnet/minecraft/class_2470;Z)Ljava/util/List;named getDataStructureBlocksLnet/minecraft/structure/pool/SinglePoolElement;getDataStructureBlocks(Lnet/minecraft/structure/StructureManager;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/BlockRotation;Z)Ljava/util/List;
-
getStructureBlockInfos
public List<Structure.StructureBlockInfo> getStructureBlockInfos(StructureManager structureManager, BlockPos pos, BlockRotation rotation, Random random)
- 指定者:
getStructureBlockInfos在类中StructurePoolElement- Mappings:
Namespace Name Mixin selector official aLcwv;a(Ldbp;Lgb;Lcek;Ljava/util/Random;)Ljava/util/List;intermediary method_16627Lnet/minecraft/class_3784;method_16627(Lnet/minecraft/class_3485;Lnet/minecraft/class_2338;Lnet/minecraft/class_2470;Ljava/util/Random;)Ljava/util/List;named getStructureBlockInfosLnet/minecraft/structure/pool/StructurePoolElement;getStructureBlockInfos(Lnet/minecraft/structure/StructureManager;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/BlockRotation;Ljava/util/Random;)Ljava/util/List;
-
getBoundingBox
public BlockBox getBoundingBox(StructureManager structureManager, BlockPos pos, BlockRotation rotation)
- 指定者:
getBoundingBox在类中StructurePoolElement- Mappings:
Namespace Name Mixin selector official aLcwv;a(Ldbp;Lgb;Lcek;)Lczr;intermediary method_16628Lnet/minecraft/class_3784;method_16628(Lnet/minecraft/class_3485;Lnet/minecraft/class_2338;Lnet/minecraft/class_2470;)Lnet/minecraft/class_3341;named getBoundingBoxLnet/minecraft/structure/pool/StructurePoolElement;getBoundingBox(Lnet/minecraft/structure/StructureManager;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/BlockRotation;)Lnet/minecraft/util/math/BlockBox;
-
generate
public boolean generate(StructureManager structureManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos blockPos, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws)
- 指定者:
generate在类中StructurePoolElement- Mappings:
Namespace Name Mixin selector official aLcwv;a(Ldbp;Lbwm;Lbwi;Lclm;Lgb;Lgb;Lcek;Lczr;Ljava/util/Random;Z)Zintermediary method_16626Lnet/minecraft/class_3784;method_16626(Lnet/minecraft/class_3485;Lnet/minecraft/class_5281;Lnet/minecraft/class_5138;Lnet/minecraft/class_2794;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;Lnet/minecraft/class_2470;Lnet/minecraft/class_3341;Ljava/util/Random;Z)Znamed generateLnet/minecraft/structure/pool/StructurePoolElement;generate(Lnet/minecraft/structure/StructureManager;Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/world/gen/StructureAccessor;Lnet/minecraft/world/gen/chunk/ChunkGenerator;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/BlockRotation;Lnet/minecraft/util/math/BlockBox;Ljava/util/Random;Z)Z
-
createPlacementData
protected StructurePlacementData createPlacementData(BlockRotation rotation, BlockBox box, boolean keepJigsaws)
- Mappings:
Namespace Name Mixin selector official aLcwu;a(Lcek;Lczr;Z)Ldbq;intermediary method_16616Lnet/minecraft/class_3781;method_16616(Lnet/minecraft/class_2470;Lnet/minecraft/class_3341;Z)Lnet/minecraft/class_3492;named createPlacementDataLnet/minecraft/structure/pool/SinglePoolElement;createPlacementData(Lnet/minecraft/util/BlockRotation;Lnet/minecraft/util/math/BlockBox;Z)Lnet/minecraft/structure/StructurePlacementData;
-
getType
public StructurePoolElementType<?> getType()
- 指定者:
getType在类中StructurePoolElement- Mappings:
Namespace Name Mixin selector official aLcwv;a()Lcww;intermediary method_16757Lnet/minecraft/class_3784;method_16757()Lnet/minecraft/class_3816;named getTypeLnet/minecraft/structure/pool/StructurePoolElement;getType()Lnet/minecraft/structure/pool/StructurePoolElementType;
-
toString
public String toString()
-
-