Record Class FeatureConfiguration.CountConfiguration
java.lang.Object
java.lang.Record
dev.wyck.wrapper.worldgen.feature.config.FeatureConfiguration.CountConfiguration
- Record Components:
count- the count provider
- All Implemented Interfaces:
Wrapper, FeatureConfiguration
- Enclosing interface:
FeatureConfiguration
@AsOf("3.0.0")
public static record FeatureConfiguration.CountConfiguration(IntProvider count)
extends Record
implements FeatureConfiguration
A number of placement attempts. The vanilla codec constrains this to [0, 256].
- 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
ConstructorsConstructorDescriptionCountConfiguration(IntProvider count) Creates an instance of aCountConfigurationrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncount()Returns the value of thecountrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.of(IntProvider count) final StringtoString()Returns a string representation of this record class.Methods inherited from interface FeatureConfiguration
toMinecraft
-
Constructor Details
-
CountConfiguration
Creates an instance of aCountConfigurationrecord class.- Parameters:
count- the value for thecountrecord component
-
-
Method Details
-
of
-
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). -
count
-