Package net.minecraft.world.gen.feature
Record Class SculkPatchFeatureConfig
java.lang.Object
java.lang.Record
net.minecraft.world.gen.feature.SculkPatchFeatureConfig
- Record Components:
- chargeCount-
- amountPerCharge-
- spreadAttempts-
- growthRounds-
- spreadRounds-
- extraRareGrowths-
- catalystChance-
- All Implemented Interfaces:
- FeatureConfig
public record SculkPatchFeatureConfig(int chargeCount, int amountPerCharge, int spreadAttempts, int growthRounds, int spreadRounds, IntProvider extraRareGrowths, float catalystChance)
extends Record
implements FeatureConfig
- Mappings:
- Namespace - Name - named - net/minecraft/world/gen/feature/SculkPatchFeatureConfig- intermediary - net/minecraft/class_7141- official - eiu- named - chargeCount- intermediary - comp_553- official - b- named - amountPerCharge- intermediary - comp_554- official - c- named - spreadAttempts- intermediary - comp_555- official - d- named - growthRounds- intermediary - comp_556- official - e- named - spreadRounds- intermediary - comp_557- official - f- named - extraRareGrowths- intermediary - comp_685- official - g- named - catalystChance- intermediary - comp_558- official - h
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final intThe field for theamountPerChargerecord component.private final floatThe field for thecatalystChancerecord component.private final intThe field for thechargeCountrecord component.static final com.mojang.serialization.Codec<SculkPatchFeatureConfig> private final IntProviderThe field for theextraRareGrowthsrecord component.private final intThe field for thegrowthRoundsrecord component.private final intThe field for thespreadAttemptsrecord component.private final intThe field for thespreadRoundsrecord component.Fields inherited from interface net.minecraft.world.gen.feature.FeatureConfigDEFAULT
- 
Constructor SummaryConstructorsConstructorDescriptionSculkPatchFeatureConfig(int int2, int int3, int int4, int int5, int int6, IntProvider intProvider, float float2) 
- 
Method SummaryModifier and TypeMethodDescriptionintReturns the value of theamountPerChargerecord component.floatReturns the value of thecatalystChancerecord component.intReturns the value of thechargeCountrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theextraRareGrowthsrecord component.intReturns the value of thegrowthRoundsrecord component.final inthashCode()Returns a hash code value for this object.intReturns the value of thespreadAttemptsrecord component.intReturns the value of thespreadRoundsrecord component.final StringtoString()Returns a string representation of this record class.Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.world.gen.feature.FeatureConfiggetDecoratedFeatures
- 
Field Details- 
chargeCountprivate final int chargeCountThe field for thechargeCountrecord component.
- 
amountPerChargeprivate final int amountPerChargeThe field for theamountPerChargerecord component.
- 
spreadAttemptsprivate final int spreadAttemptsThe field for thespreadAttemptsrecord component.
- 
growthRoundsprivate final int growthRoundsThe field for thegrowthRoundsrecord component.
- 
spreadRoundsprivate final int spreadRoundsThe field for thespreadRoundsrecord component.
- 
extraRareGrowthsThe field for theextraRareGrowthsrecord component.
- 
catalystChanceprivate final float catalystChanceThe field for thecatalystChancerecord component.
- 
CODEC- Mappings:
- Namespace - Name - Mixin selector - named - CODEC- Lnet/minecraft/world/gen/feature/SculkPatchFeatureConfig;CODEC:Lcom/mojang/serialization/Codec;- intermediary - field_37710- Lnet/minecraft/class_7141;field_37710:Lcom/mojang/serialization/Codec;- official - a- Leiu;a:Lcom/mojang/serialization/Codec;
 
 
- 
- 
Constructor Details- 
SculkPatchFeatureConfigpublic SculkPatchFeatureConfig(int int2, int int3, int int4, int int5, int int6, IntProvider intProvider, float float2) 
 
- 
- 
Method Details- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='.
- 
chargeCountpublic int chargeCount()Returns the value of thechargeCountrecord component.- Returns:
- the value of the chargeCountrecord component
 
- 
amountPerChargepublic int amountPerCharge()Returns the value of theamountPerChargerecord component.- Returns:
- the value of the amountPerChargerecord component
 
- 
spreadAttemptspublic int spreadAttempts()Returns the value of thespreadAttemptsrecord component.- Returns:
- the value of the spreadAttemptsrecord component
 
- 
growthRoundspublic int growthRounds()Returns the value of thegrowthRoundsrecord component.- Returns:
- the value of the growthRoundsrecord component
 
- 
spreadRoundspublic int spreadRounds()Returns the value of thespreadRoundsrecord component.- Returns:
- the value of the spreadRoundsrecord component
 
- 
extraRareGrowthsReturns the value of theextraRareGrowthsrecord component.- Returns:
- the value of the extraRareGrowthsrecord component
 
- 
catalystChancepublic float catalystChance()Returns the value of thecatalystChancerecord component.- Returns:
- the value of the catalystChancerecord component
 
 
-