Package net.minecraft.structure
Class RuinedPortalStructurePiece
java.lang.Object
net.minecraft.structure.StructurePiece
net.minecraft.structure.SimpleStructurePiece
net.minecraft.structure.RuinedPortalStructurePiece
- Mappings:
Namespace Name official dmj
intermediary net/minecraft/class_5189
named net/minecraft/structure/RuinedPortalStructurePiece
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static enum
Nested classes/interfaces inherited from class net.minecraft.structure.StructurePiece
StructurePiece.BlockRandomizer
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final org.slf4j.Logger
private static final float
private static final float
private static final float
private final RuinedPortalStructurePiece.Properties
private final RuinedPortalStructurePiece.VerticalPlacement
Fields inherited from class net.minecraft.structure.SimpleStructurePiece
placementData, pos, structure, template
Fields inherited from class net.minecraft.structure.StructurePiece
AIR, boundingBox, chainLength
-
Constructor Summary
ConstructorDescriptionRuinedPortalStructurePiece
(StructureManager manager, NbtCompound nbt) RuinedPortalStructurePiece
(StructureManager manager, BlockPos pos, RuinedPortalStructurePiece.VerticalPlacement verticalPlacement, RuinedPortalStructurePiece.Properties properties, Identifier id, Structure structure, BlockRotation rotation, BlockMirror mirror, BlockPos blockPos) -
Method Summary
Modifier and TypeMethodDescriptionprivate boolean
canFillNetherrack
(WorldAccess world, BlockPos pos) private static StructureProcessorRule
createLavaReplacementRule
(RuinedPortalStructurePiece.VerticalPlacement verticalPlacement, RuinedPortalStructurePiece.Properties properties) private static StructurePlacementData
createPlacementData
(StructureManager manager, NbtCompound nbt, Identifier id) private static StructurePlacementData
createPlacementData
(BlockMirror mirror, BlockRotation rotation, RuinedPortalStructurePiece.VerticalPlacement verticalPlacement, BlockPos pos, RuinedPortalStructurePiece.Properties properties) private static StructureProcessorRule
createReplacementRule
(Block old, float chance, Block updated) private static StructureProcessorRule
createReplacementRule
(Block old, Block updated) void
generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) private void
generateOvergrownLeaves
(Random random, WorldAccess world, BlockPos pos) private void
generateVines
(Random random, WorldAccess world, BlockPos pos) private static int
getBaseHeight
(WorldAccess world, int x, int y, RuinedPortalStructurePiece.VerticalPlacement verticalPlacement) static Heightmap.Type
getHeightmapType
(RuinedPortalStructurePiece.VerticalPlacement verticalPlacement) protected void
handleMetadata
(String metadata, BlockPos pos, ServerWorldAccess world, Random random, BlockBox boundingBox) private void
placeNetherrackBase
(Random random, WorldAccess world) private void
placeNetherrackBottom
(Random random, WorldAccess world, BlockPos pos) private void
updateNetherracks
(Random random, WorldAccess world, BlockPos pos) private void
updateNetherracksInBound
(Random random, WorldAccess world) protected void
writeNbt
(StructureContext context, NbtCompound nbt) Methods inherited from class net.minecraft.structure.SimpleStructurePiece
getId, getRotation, method_41624, method_41625, method_41626, translate
Methods inherited from class net.minecraft.structure.StructurePiece
addBlock, addBlockWithRandomThreshold, addChest, addChest, addDispenser, applyXTransform, applyYTransform, applyZTransform, boundingBox, canAddBlock, canReplace, createBox, fill, fillDownwards, fillHalfEllipsoid, fillOpenings, fillWithOutline, fillWithOutline, fillWithOutline, fillWithOutline, fillWithOutlineUnderSeaLevel, firstIntersecting, getBlockAt, getBoundingBox, getCenter, getChainLength, getFacing, getMirror, getRandomHorizontalDirection, getType, intersectsChunk, isUnderSeaLevel, method_41620, offsetPos, orientateChest, setOrientation, toNbt
-
Field Details
-
field_24992
private static final org.slf4j.Logger field_24992- Mappings:
Namespace Name Mixin selector official h
Ldmj;h:Lorg/slf4j/Logger;
intermediary field_24992
Lnet/minecraft/class_5189;field_24992:Lorg/slf4j/Logger;
named field_24992
Lnet/minecraft/structure/RuinedPortalStructurePiece;field_24992:Lorg/slf4j/Logger;
-
field_31620
private static final float field_31620- See Also:
- Mappings:
Namespace Name Mixin selector official i
Ldmj;i:F
intermediary field_31620
Lnet/minecraft/class_5189;field_31620:F
named field_31620
Lnet/minecraft/structure/RuinedPortalStructurePiece;field_31620:F
-
field_31621
private static final float field_31621- See Also:
- Mappings:
Namespace Name Mixin selector official j
Ldmj;j:F
intermediary field_31621
Lnet/minecraft/class_5189;field_31621:F
named field_31621
Lnet/minecraft/structure/RuinedPortalStructurePiece;field_31621:F
-
field_31622
private static final float field_31622- See Also:
- Mappings:
Namespace Name Mixin selector official k
Ldmj;k:F
intermediary field_31622
Lnet/minecraft/class_5189;field_31622:F
named field_31622
Lnet/minecraft/structure/RuinedPortalStructurePiece;field_31622:F
-
verticalPlacement
- Mappings:
Namespace Name Mixin selector official l
Ldmj;l:Ldmj$b;
intermediary field_24021
Lnet/minecraft/class_5189;field_24021:Lnet/minecraft/class_5189$class_5191;
named verticalPlacement
Lnet/minecraft/structure/RuinedPortalStructurePiece;verticalPlacement:Lnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;
-
properties
- Mappings:
Namespace Name Mixin selector official m
Ldmj;m:Ldmj$a;
intermediary field_24022
Lnet/minecraft/class_5189;field_24022:Lnet/minecraft/class_5189$class_5190;
named properties
Lnet/minecraft/structure/RuinedPortalStructurePiece;properties:Lnet/minecraft/structure/RuinedPortalStructurePiece$Properties;
-
-
Constructor Details
-
RuinedPortalStructurePiece
public RuinedPortalStructurePiece(StructureManager manager, BlockPos pos, RuinedPortalStructurePiece.VerticalPlacement verticalPlacement, RuinedPortalStructurePiece.Properties properties, Identifier id, Structure structure, BlockRotation rotation, BlockMirror mirror, BlockPos blockPos) - Mappings:
Namespace Name Mixin selector official <init>
Ldmj;<init>(Ldnw;Lgt;Ldmj$b;Ldmj$a;Laaj;Ldnv;Lcoz;Lcnk;Lgt;)V
intermediary <init>
Lnet/minecraft/class_5189;<init>(Lnet/minecraft/class_3485;Lnet/minecraft/class_2338;Lnet/minecraft/class_5189$class_5191;Lnet/minecraft/class_5189$class_5190;Lnet/minecraft/class_2960;Lnet/minecraft/class_3499;Lnet/minecraft/class_2470;Lnet/minecraft/class_2415;Lnet/minecraft/class_2338;)V
named <init>
Lnet/minecraft/structure/RuinedPortalStructurePiece;<init>(Lnet/minecraft/structure/StructureManager;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;Lnet/minecraft/structure/RuinedPortalStructurePiece$Properties;Lnet/minecraft/util/Identifier;Lnet/minecraft/structure/Structure;Lnet/minecraft/util/BlockRotation;Lnet/minecraft/util/BlockMirror;Lnet/minecraft/util/math/BlockPos;)V
-
RuinedPortalStructurePiece
- Mappings:
Namespace Name Mixin selector official <init>
Ldmj;<init>(Ldnw;Lpj;)V
intermediary <init>
Lnet/minecraft/class_5189;<init>(Lnet/minecraft/class_3485;Lnet/minecraft/class_2487;)V
named <init>
Lnet/minecraft/structure/RuinedPortalStructurePiece;<init>(Lnet/minecraft/structure/StructureManager;Lnet/minecraft/nbt/NbtCompound;)V
-
-
Method Details
-
writeNbt
- Overrides:
writeNbt
in classSimpleStructurePiece
- Mappings:
Namespace Name Mixin selector official a
Ldkh;a(Ldkt;Lpj;)V
intermediary method_14943
Lnet/minecraft/class_3443;method_14943(Lnet/minecraft/class_6625;Lnet/minecraft/class_2487;)V
named writeNbt
Lnet/minecraft/structure/StructurePiece;writeNbt(Lnet/minecraft/structure/StructureContext;Lnet/minecraft/nbt/NbtCompound;)V
-
createPlacementData
private static StructurePlacementData createPlacementData(StructureManager manager, NbtCompound nbt, Identifier id) - Mappings:
Namespace Name Mixin selector official a
Ldmj;a(Ldnw;Lpj;Laaj;)Ldnr;
intermediary method_35449
Lnet/minecraft/class_5189;method_35449(Lnet/minecraft/class_3485;Lnet/minecraft/class_2487;Lnet/minecraft/class_2960;)Lnet/minecraft/class_3492;
named createPlacementData
Lnet/minecraft/structure/RuinedPortalStructurePiece;createPlacementData(Lnet/minecraft/structure/StructureManager;Lnet/minecraft/nbt/NbtCompound;Lnet/minecraft/util/Identifier;)Lnet/minecraft/structure/StructurePlacementData;
-
createPlacementData
private static StructurePlacementData createPlacementData(BlockMirror mirror, BlockRotation rotation, RuinedPortalStructurePiece.VerticalPlacement verticalPlacement, BlockPos pos, RuinedPortalStructurePiece.Properties properties) - Mappings:
Namespace Name Mixin selector official a
Ldmj;a(Lcnk;Lcoz;Ldmj$b;Lgt;Ldmj$a;)Ldnr;
intermediary method_35450
Lnet/minecraft/class_5189;method_35450(Lnet/minecraft/class_2415;Lnet/minecraft/class_2470;Lnet/minecraft/class_5189$class_5191;Lnet/minecraft/class_2338;Lnet/minecraft/class_5189$class_5190;)Lnet/minecraft/class_3492;
named createPlacementData
Lnet/minecraft/structure/RuinedPortalStructurePiece;createPlacementData(Lnet/minecraft/util/BlockMirror;Lnet/minecraft/util/BlockRotation;Lnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/structure/RuinedPortalStructurePiece$Properties;)Lnet/minecraft/structure/StructurePlacementData;
-
createLavaReplacementRule
private static StructureProcessorRule createLavaReplacementRule(RuinedPortalStructurePiece.VerticalPlacement verticalPlacement, RuinedPortalStructurePiece.Properties properties) - Mappings:
Namespace Name Mixin selector official a
Ldmj;a(Ldmj$b;Ldmj$a;)Ldnk;
intermediary method_27247
Lnet/minecraft/class_5189;method_27247(Lnet/minecraft/class_5189$class_5191;Lnet/minecraft/class_5189$class_5190;)Lnet/minecraft/class_3821;
named createLavaReplacementRule
Lnet/minecraft/structure/RuinedPortalStructurePiece;createLavaReplacementRule(Lnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;Lnet/minecraft/structure/RuinedPortalStructurePiece$Properties;)Lnet/minecraft/structure/processor/StructureProcessorRule;
-
generate
public void generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) - Overrides:
generate
in classSimpleStructurePiece
- Mappings:
Namespace Name Mixin selector official a
Ldkh;a(Lcgs;Lcgr;Lcwn;Lalu;Ldjv;Lcfh;Lgt;)V
intermediary method_14931
Lnet/minecraft/class_3443;method_14931(Lnet/minecraft/class_5281;Lnet/minecraft/class_5138;Lnet/minecraft/class_2794;Lnet/minecraft/class_5819;Lnet/minecraft/class_3341;Lnet/minecraft/class_1923;Lnet/minecraft/class_2338;)V
named generate
Lnet/minecraft/structure/StructurePiece;generate(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/world/gen/StructureAccessor;Lnet/minecraft/world/gen/chunk/ChunkGenerator;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/util/math/BlockBox;Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/util/math/BlockPos;)V
-
handleMetadata
protected void handleMetadata(String metadata, BlockPos pos, ServerWorldAccess world, Random random, BlockBox boundingBox) - Specified by:
handleMetadata
in classSimpleStructurePiece
- Mappings:
Namespace Name Mixin selector official a
Ldkn;a(Ljava/lang/String;Lgt;Lcgp;Lalu;Ldjv;)V
intermediary method_15026
Lnet/minecraft/class_3470;method_15026(Ljava/lang/String;Lnet/minecraft/class_2338;Lnet/minecraft/class_5425;Lnet/minecraft/class_5819;Lnet/minecraft/class_3341;)V
named handleMetadata
Lnet/minecraft/structure/SimpleStructurePiece;handleMetadata(Ljava/lang/String;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/ServerWorldAccess;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/util/math/BlockBox;)V
-
generateVines
- Mappings:
Namespace Name Mixin selector official a
Ldmj;a(Lalu;Lcgb;Lgt;)V
intermediary method_27244
Lnet/minecraft/class_5189;method_27244(Lnet/minecraft/class_5819;Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;)V
named generateVines
Lnet/minecraft/structure/RuinedPortalStructurePiece;generateVines(Lnet/minecraft/util/math/random/Random;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;)V
-
generateOvergrownLeaves
- Mappings:
Namespace Name Mixin selector official b
Ldmj;b(Lalu;Lcgb;Lgt;)V
intermediary method_27246
Lnet/minecraft/class_5189;method_27246(Lnet/minecraft/class_5819;Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;)V
named generateOvergrownLeaves
Lnet/minecraft/structure/RuinedPortalStructurePiece;generateOvergrownLeaves(Lnet/minecraft/util/math/random/Random;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;)V
-
updateNetherracksInBound
- Mappings:
Namespace Name Mixin selector official a
Ldmj;a(Lalu;Lcgb;)V
intermediary method_27243
Lnet/minecraft/class_5189;method_27243(Lnet/minecraft/class_5819;Lnet/minecraft/class_1936;)V
named updateNetherracksInBound
Lnet/minecraft/structure/RuinedPortalStructurePiece;updateNetherracksInBound(Lnet/minecraft/util/math/random/Random;Lnet/minecraft/world/WorldAccess;)V
-
updateNetherracks
- Mappings:
Namespace Name Mixin selector official c
Ldmj;c(Lalu;Lcgb;Lgt;)V
intermediary method_27248
Lnet/minecraft/class_5189;method_27248(Lnet/minecraft/class_5819;Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;)V
named updateNetherracks
Lnet/minecraft/structure/RuinedPortalStructurePiece;updateNetherracks(Lnet/minecraft/util/math/random/Random;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;)V
-
placeNetherrackBase
- Mappings:
Namespace Name Mixin selector official b
Ldmj;b(Lalu;Lcgb;)V
intermediary method_27245
Lnet/minecraft/class_5189;method_27245(Lnet/minecraft/class_5819;Lnet/minecraft/class_1936;)V
named placeNetherrackBase
Lnet/minecraft/structure/RuinedPortalStructurePiece;placeNetherrackBase(Lnet/minecraft/util/math/random/Random;Lnet/minecraft/world/WorldAccess;)V
-
canFillNetherrack
- Mappings:
Namespace Name Mixin selector official a
Ldmj;a(Lcgb;Lgt;)Z
intermediary method_27238
Lnet/minecraft/class_5189;method_27238(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;)Z
named canFillNetherrack
Lnet/minecraft/structure/RuinedPortalStructurePiece;canFillNetherrack(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;)Z
-
placeNetherrackBottom
- Mappings:
Namespace Name Mixin selector official d
Ldmj;d(Lalu;Lcgb;Lgt;)V
intermediary method_27249
Lnet/minecraft/class_5189;method_27249(Lnet/minecraft/class_5819;Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;)V
named placeNetherrackBottom
Lnet/minecraft/structure/RuinedPortalStructurePiece;placeNetherrackBottom(Lnet/minecraft/util/math/random/Random;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;)V
-
getBaseHeight
private static int getBaseHeight(WorldAccess world, int x, int y, RuinedPortalStructurePiece.VerticalPlacement verticalPlacement) - Mappings:
Namespace Name Mixin selector official a
Ldmj;a(Lcgb;IILdmj$b;)I
intermediary method_27237
Lnet/minecraft/class_5189;method_27237(Lnet/minecraft/class_1936;IILnet/minecraft/class_5189$class_5191;)I
named getBaseHeight
Lnet/minecraft/structure/RuinedPortalStructurePiece;getBaseHeight(Lnet/minecraft/world/WorldAccess;IILnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;)I
-
getHeightmapType
public static Heightmap.Type getHeightmapType(RuinedPortalStructurePiece.VerticalPlacement verticalPlacement) - Mappings:
Namespace Name Mixin selector official a
Ldmj;a(Ldmj$b;)Lczt$a;
intermediary method_27241
Lnet/minecraft/class_5189;method_27241(Lnet/minecraft/class_5189$class_5191;)Lnet/minecraft/class_2902$class_2903;
named getHeightmapType
Lnet/minecraft/structure/RuinedPortalStructurePiece;getHeightmapType(Lnet/minecraft/structure/RuinedPortalStructurePiece$VerticalPlacement;)Lnet/minecraft/world/Heightmap$Type;
-
createReplacementRule
- Mappings:
Namespace Name Mixin selector official a
Ldmj;a(Lciw;FLciw;)Ldnk;
intermediary method_27239
Lnet/minecraft/class_5189;method_27239(Lnet/minecraft/class_2248;FLnet/minecraft/class_2248;)Lnet/minecraft/class_3821;
named createReplacementRule
Lnet/minecraft/structure/RuinedPortalStructurePiece;createReplacementRule(Lnet/minecraft/block/Block;FLnet/minecraft/block/Block;)Lnet/minecraft/structure/processor/StructureProcessorRule;
-
createReplacementRule
- Mappings:
Namespace Name Mixin selector official a
Ldmj;a(Lciw;Lciw;)Ldnk;
intermediary method_27240
Lnet/minecraft/class_5189;method_27240(Lnet/minecraft/class_2248;Lnet/minecraft/class_2248;)Lnet/minecraft/class_3821;
named createReplacementRule
Lnet/minecraft/structure/RuinedPortalStructurePiece;createReplacementRule(Lnet/minecraft/block/Block;Lnet/minecraft/block/Block;)Lnet/minecraft/structure/processor/StructureProcessorRule;
-