Record Class DensityFunction.UnblendedNoisePos
java.lang.Object
java.lang.Record
net.minecraft.world.gen.densityfunction.DensityFunction.UnblendedNoisePos
- Record Components:
blockX
-blockY
-blockZ
-
- All Implemented Interfaces:
DensityFunction.NoisePos
- Enclosing interface:
DensityFunction
public static record DensityFunction.UnblendedNoisePos(int blockX, int blockY, int blockZ)
extends Record
implements DensityFunction.NoisePos
- Mappings:
Namespace Name named net/minecraft/world/gen/densityfunction/DensityFunction$UnblendedNoisePos
intermediary net/minecraft/class_6910$class_6914
official dxo$e
named blockX
intermediary comp_371
official a
named blockY
intermediary comp_372
official b
named blockZ
intermediary comp_373
official c
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
blockX()
Returns the value of theblockX
record component.int
blockY()
Returns the value of theblockY
record component.int
blockZ()
Returns the value of theblockZ
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.final String
toString()
Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.world.gen.densityfunction.DensityFunction.NoisePos
getBlender
-
Field Details
-
Constructor Details
-
UnblendedNoisePos
public UnblendedNoisePos(int int2, int int3, int int4)
-
-
Method Details
-
toString
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()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
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. All components in this record class are compared with '=='. -
blockX
public int blockX()Returns the value of theblockX
record component.- Specified by:
blockX
in interfaceDensityFunction.NoisePos
- Returns:
- the value of the
blockX
record component
-
blockY
public int blockY()Returns the value of theblockY
record component.- Specified by:
blockY
in interfaceDensityFunction.NoisePos
- Returns:
- the value of the
blockY
record component
-
blockZ
public int blockZ()Returns the value of theblockZ
record component.- Specified by:
blockZ
in interfaceDensityFunction.NoisePos
- Returns:
- the value of the
blockZ
record component
-