记录类 StructurePlacement.ExclusionZone
java.lang.Object
java.lang.Record
net.minecraft.world.level.levelgen.structure.placement.StructurePlacement.ExclusionZone
- 封闭类:
StructurePlacement
@Deprecated
public static record StructurePlacement.ExclusionZone(Holder<StructureSet> otherSet, int chunkCount)
extends Record
已过时。
-
字段概要
字段修饰符和类型字段说明private final int
已过时。chunkCount
记录组件的字段。static final com.mojang.serialization.Codec
<StructurePlacement.ExclusionZone> 已过时。private final Holder
<StructureSet> 已过时。otherSet
记录组件的字段。 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明int
已过时。返回chunkCount
记录组件的值。final boolean
已过时。指示某个其他对象是否“等于”此对象。final int
hashCode()
已过时。返回此对象的哈希代码值。(专用程序包) boolean
isPlacementForbidden
(ChunkGeneratorStructureState p_255745_, int p_255634_, int p_255892_) 已过时。otherSet()
已过时。返回otherSet
记录组件的值。final String
toString()
已过时。返回此记录类的字符串表示形式。
-
字段详细资料
-
otherSet
已过时。otherSet
记录组件的字段。 -
chunkCount
private final int chunkCount已过时。chunkCount
记录组件的字段。 -
CODEC
已过时。
-
-
构造器详细资料
-
ExclusionZone
已过时。创建ExclusionZone
记录类的实例。- 参数:
otherSet
-otherSet
记录组件的值chunkCount
-chunkCount
记录组件的值
-
-
方法详细资料
-
isPlacementForbidden
已过时。 -
toString
已过时。返回此记录类的字符串表示形式。此表示形式包含类的名称,后跟每个记录组件的名称和值。 -
hashCode
public final int hashCode()已过时。返回此对象的哈希代码值。此值派生自每个记录组件的哈希代码。 -
equals
已过时。指示某个其他对象是否“等于”此对象。如果两个对象属于同一个类,而且所有记录组件都相等,则这两个对象相等。 使用Objects::equals(Object,Object)
对参考组件进行比较;使用 '==' 对基元组件进行比较 -
otherSet
已过时。返回otherSet
记录组件的值。- 返回:
otherSet
记录组件的值
-
chunkCount
public int chunkCount()已过时。返回chunkCount
记录组件的值。- 返回:
chunkCount
记录组件的值
-