Record Class StructurePlacement.ExclusionZone
java.lang.Object
java.lang.Record
net.minecraft.world.gen.chunk.placement.StructurePlacement.ExclusionZone
- Record Components:
otherSet-chunkCount-
- Enclosing class:
StructurePlacement
@Deprecated
public static record StructurePlacement.ExclusionZone(RegistryEntry<StructureSet> otherSet, int chunkCount)
extends Record
Deprecated.
- Mappings:
Namespace Name official dsu$aintermediary net/minecraft/class_6874$class_7152named net/minecraft/world/gen/chunk/placement/StructurePlacement$ExclusionZoneofficial bintermediary comp_574named otherSetofficial cintermediary comp_575named chunkCount
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intDeprecated.The field for thechunkCountrecord component.static final com.mojang.serialization.Codec<StructurePlacement.ExclusionZone>Deprecated.private final RegistryEntry<StructureSet>Deprecated.The field for theotherSetrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionExclusionZone(RegistryEntry<StructureSet> registryEntry, int int2) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionintDeprecated.Returns the value of thechunkCountrecord component.final booleanDeprecated.Indicates whether some other object is "equal to" this one.final inthashCode()Deprecated.Returns a hash code value for this object.otherSet()Deprecated.Returns the value of theotherSetrecord component.(package private) booleanshouldExclude(StructurePlacementCalculator calculator, int centerChunkX, int centerChunkZ) Deprecated.final StringtoString()Deprecated.Returns a string representation of this record class.
-
Field Details
-
otherSet
Deprecated.The field for theotherSetrecord component. -
chunkCount
private final int chunkCountDeprecated.The field for thechunkCountrecord component. -
CODEC
Deprecated.- Mappings:
Namespace Name Mixin selector official aLdsu$a;a:Lcom/mojang/serialization/Codec;intermediary field_37781Lnet/minecraft/class_6874$class_7152;field_37781:Lcom/mojang/serialization/Codec;named CODECLnet/minecraft/world/gen/chunk/placement/StructurePlacement$ExclusionZone;CODEC:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
ExclusionZone
Deprecated.
-
-
Method Details
-
shouldExclude
Deprecated.- Mappings:
Namespace Name Mixin selector official aLdsu$a;a(Lddw;II)Zintermediary method_41648Lnet/minecraft/class_6874$class_7152;method_41648(Lnet/minecraft/class_7869;II)Znamed shouldExcludeLnet/minecraft/world/gen/chunk/placement/StructurePlacement$ExclusionZone;shouldExclude(Lnet/minecraft/world/gen/chunk/placement/StructurePlacementCalculator;II)Z
-
toString
Deprecated.Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Deprecated.Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Deprecated.Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
otherSet
Deprecated.Returns the value of theotherSetrecord component.- Returns:
- the value of the
otherSetrecord component
-
chunkCount
public int chunkCount()Deprecated.Returns the value of thechunkCountrecord component.- Returns:
- the value of the
chunkCountrecord component
-