Package net.minecraft.structure
Class StructurePlacementData
java.lang.Object
net.minecraft.structure.StructurePlacementData
public class StructurePlacementData extends Object
-
Field Summary
Fields Modifier and Type Field Description private BlockBoxboundingBoxprivate intfield_15575private booleanfield_24043private booleanignoreEntitiesprivate BlockMirrormirrorprivate booleanplaceFluidsprivate BlockPospositionprivate List<StructureProcessor>processorsprivate Randomrandomprivate BlockRotationrotationprivate booleanupdateNeighbors -
Constructor Summary
Constructors Constructor Description StructurePlacementData() -
Method Summary
-
Field Details
-
mirror
-
rotation
-
position
-
ignoreEntities
private boolean ignoreEntities -
boundingBox
-
placeFluids
private boolean placeFluids -
random
-
field_15575
-
processors
-
updateNeighbors
private boolean updateNeighbors -
field_24043
private boolean field_24043
-
-
Constructor Details
-
StructurePlacementData
public StructurePlacementData()
-
-
Method Details
-
copy
-
setMirror
-
setRotation
-
setPosition
-
setIgnoreEntities
-
setBoundingBox
-
setRandom
-
setUpdateNeighbors
-
clearProcessors
-
addProcessor
-
removeProcessor
-
getMirror
-
getRotation
-
getPosition
-
getRandom
-
shouldIgnoreEntities
public boolean shouldIgnoreEntities() -
getBoundingBox
-
shouldUpdateNeighbors
public boolean shouldUpdateNeighbors() -
getProcessors
-
shouldPlaceFluids
public boolean shouldPlaceFluids() -
getRandomBlockInfos
public Structure.PalettedBlockInfoList getRandomBlockInfos(List<Structure.PalettedBlockInfoList> list, @Nullable BlockPos pos) -
method_27264
-
method_27265
public boolean method_27265()
-