Class NetherBridgePieces.NetherBridgePiece
java.lang.Object
net.minecraft.world.level.levelgen.structure.StructurePiece
net.minecraft.world.level.levelgen.structure.NetherBridgePieces.NetherBridgePiece
- Direct Known Subclasses:
NetherBridgePieces.BridgeCrossing
,NetherBridgePieces.BridgeEndFiller
,NetherBridgePieces.BridgeStraight
,NetherBridgePieces.CastleCorridorStairsPiece
,NetherBridgePieces.CastleCorridorTBalconyPiece
,NetherBridgePieces.CastleEntrance
,NetherBridgePieces.CastleSmallCorridorCrossingPiece
,NetherBridgePieces.CastleSmallCorridorLeftTurnPiece
,NetherBridgePieces.CastleSmallCorridorPiece
,NetherBridgePieces.CastleSmallCorridorRightTurnPiece
,NetherBridgePieces.CastleStalkRoom
,NetherBridgePieces.MonsterThrone
,NetherBridgePieces.RoomCrossing
,NetherBridgePieces.StairsRoom
- Enclosing class:
- NetherBridgePieces
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
StructurePiece.BlockSelector
-
Field Summary
Fields inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
boundingBox, CAVE_AIR, genDepth
-
Constructor Summary
ModifierConstructorDescriptionprotected
NetherBridgePiece
(StructurePieceType p_209887_, int p_209888_, BoundingBox p_209889_) NetherBridgePiece
(StructurePieceType p_209891_, CompoundTag p_209892_) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAdditionalSaveData
(StructurePieceSerializationContext p_192213_, CompoundTag p_192214_) private StructurePiece
generateAndAddPiece
(NetherBridgePieces.StartPiece p_162858_, StructurePieceAccessor p_162859_, Random p_162860_, int p_162861_, int p_162862_, int p_162863_, Direction p_162864_, int p_162865_, boolean p_162866_) protected StructurePiece
generateChildForward
(NetherBridgePieces.StartPiece p_162868_, StructurePieceAccessor p_162869_, Random p_162870_, int p_162871_, int p_162872_, boolean p_162873_) protected StructurePiece
generateChildLeft
(NetherBridgePieces.StartPiece p_162885_, StructurePieceAccessor p_162886_, Random p_162887_, int p_162888_, int p_162889_, boolean p_162890_) protected StructurePiece
generateChildRight
(NetherBridgePieces.StartPiece p_162892_, StructurePieceAccessor p_162893_, Random p_162894_, int p_162895_, int p_162896_, boolean p_162897_) generatePiece
(NetherBridgePieces.StartPiece p_162875_, List<NetherBridgePieces.PieceWeight> p_162876_, StructurePieceAccessor p_162877_, Random p_162878_, int p_162879_, int p_162880_, int p_162881_, Direction p_162882_, int p_162883_) protected static boolean
isOkBox
(BoundingBox p_71904_) private int
updatePieceWeight
(List<NetherBridgePieces.PieceWeight> p_71933_) Methods inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
addChildren, canBeReplaced, createBoundingBox, createChest, createChest, createDispenser, createTag, fillColumnDown, findCollisionPiece, generateAirBox, generateBox, generateBox, generateBox, generateBox, generateMaybeBox, generateUpperHalfSphere, getBlock, getBoundingBox, getGenDepth, getLocatorPosition, getMirror, getNoiseEffect, getOrientation, getRandomHorizontalDirection, getRotation, getType, getWorldPos, getWorldX, getWorldY, getWorldZ, isCloseToChunk, isInterior, isReplaceableByStructures, makeBoundingBox, maybeGenerateBlock, move, placeBlock, postProcess, reorient, setOrientation
-
Constructor Details
-
NetherBridgePiece
-
NetherBridgePiece
-
-
Method Details
-
addAdditionalSaveData
protected void addAdditionalSaveData(StructurePieceSerializationContext p_192213_, CompoundTag p_192214_) - Specified by:
addAdditionalSaveData
in classStructurePiece
-
updatePieceWeight
-
generatePiece
private NetherBridgePieces.NetherBridgePiece generatePiece(NetherBridgePieces.StartPiece p_162875_, List<NetherBridgePieces.PieceWeight> p_162876_, StructurePieceAccessor p_162877_, Random p_162878_, int p_162879_, int p_162880_, int p_162881_, Direction p_162882_, int p_162883_) -
generateAndAddPiece
private StructurePiece generateAndAddPiece(NetherBridgePieces.StartPiece p_162858_, StructurePieceAccessor p_162859_, Random p_162860_, int p_162861_, int p_162862_, int p_162863_, @Nullable Direction p_162864_, int p_162865_, boolean p_162866_) -
generateChildForward
@Nullable protected StructurePiece generateChildForward(NetherBridgePieces.StartPiece p_162868_, StructurePieceAccessor p_162869_, Random p_162870_, int p_162871_, int p_162872_, boolean p_162873_) -
generateChildLeft
@Nullable protected StructurePiece generateChildLeft(NetherBridgePieces.StartPiece p_162885_, StructurePieceAccessor p_162886_, Random p_162887_, int p_162888_, int p_162889_, boolean p_162890_) -
generateChildRight
@Nullable protected StructurePiece generateChildRight(NetherBridgePieces.StartPiece p_162892_, StructurePieceAccessor p_162893_, Random p_162894_, int p_162895_, int p_162896_, boolean p_162897_) -
isOkBox
-