Record Class FeatureConfiguration.ColumnConfiguration
java.lang.Object
java.lang.Record
dev.wyck.wrapper.worldgen.feature.config.FeatureConfiguration.ColumnConfiguration
- Record Components:
reach- the horizontal reach providerheight- the column height provider
- All Implemented Interfaces:
Wrapper, FeatureConfiguration
- Enclosing interface:
FeatureConfiguration
@AsOf("3.0.0")
public static record FeatureConfiguration.ColumnConfiguration(IntProvider reach, IntProvider height)
extends Record
implements FeatureConfiguration
A column feature. The vanilla codec constrains reach to [0, 3] and height to [1, 10].
- Since:
- 3.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface FeatureConfiguration
FeatureConfiguration.ColumnConfiguration, FeatureConfiguration.CountConfiguration, FeatureConfiguration.DripstoneClusterConfiguration, FeatureConfiguration.Factory, FeatureConfiguration.LargeDripstoneConfiguration, FeatureConfiguration.NoneConfiguration, FeatureConfiguration.PointedDripstoneConfiguration, FeatureConfiguration.ProbabilityConfiguration, FeatureConfiguration.SculkPatchConfigurationNested classes/interfaces inherited from interface Wrapper
Wrapper.Context<C> -
Field Summary
Fields inherited from interface FeatureConfiguration
WIRE -
Constructor Summary
ConstructorsConstructorDescriptionColumnConfiguration(IntProvider reach, IntProvider height) Creates an instance of aColumnConfigurationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.height()Returns the value of theheightrecord component.of(IntProvider reach, IntProvider height) reach()Returns the value of thereachrecord component.final StringtoString()Returns a string representation of this record class.Methods inherited from interface FeatureConfiguration
toMinecraft
-
Constructor Details
-
Method Details
-
of
@AsOf("3.0.0") public static FeatureConfiguration.ColumnConfiguration of(IntProvider reach, IntProvider height) -
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). -
reach
-
height
-