Record Class LevelBiomeEdit.Add
java.lang.Object
java.lang.Record
dev.wyck.registry.level.LevelBiomeEdit.Add
- Record Components:
dimension- the dimension to add the biome tobiome- the biome to addpoint- the climate point of the biome
- All Implemented Interfaces:
LevelBiomeEdit
- Enclosing interface:
LevelBiomeEdit
@AsOf("2.3.0")
public static record LevelBiomeEdit.Add(ResourceKey dimension, ResourceKey biome, ClimatePoint point)
extends Record
implements LevelBiomeEdit
Adds a biome to a dimension.
- Since:
- 2.3.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface LevelBiomeEdit
LevelBiomeEdit.Add, LevelBiomeEdit.Replace -
Constructor Summary
ConstructorsConstructorDescriptionAdd(ResourceKey dimension, ResourceKey biome, ClimatePoint point) Creates an instance of aAddrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbiome()Returns the value of thebiomerecord component.Returns the value of thedimensionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.point()Returns the value of thepointrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Method Details
-
toString
-
hashCode
-
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 withObjects::equals(Object,Object). -
dimension
Returns the value of thedimensionrecord component.- Specified by:
dimensionin interfaceLevelBiomeEdit- Returns:
- the value of the
dimensionrecord component
-
biome
-
point
-