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 ejq
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 Summary
Modifier and TypeFieldDescriptionprivate final int
The field for theamountPerCharge
record component.private final float
The field for thecatalystChance
record component.private final int
The field for thechargeCount
record component.static final com.mojang.serialization.Codec
<SculkPatchFeatureConfig> private final IntProvider
The field for theextraRareGrowths
record component.private final int
The field for thegrowthRounds
record component.private final int
The field for thespreadAttempts
record component.private final int
The field for thespreadRounds
record component.Fields inherited from interface net.minecraft.world.gen.feature.FeatureConfig
DEFAULT
-
Constructor Summary
ConstructorDescriptionSculkPatchFeatureConfig
(int int2, int int3, int int4, int int5, int int6, IntProvider intProvider, float float2) -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the value of theamountPerCharge
record component.float
Returns the value of thecatalystChance
record component.int
Returns the value of thechargeCount
record component.final boolean
Indicates whether some other object is "equal to" this one.Returns the value of theextraRareGrowths
record component.int
Returns the value of thegrowthRounds
record component.final int
hashCode()
Returns a hash code value for this object.int
Returns the value of thespreadAttempts
record component.int
Returns the value of thespreadRounds
record component.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.feature.FeatureConfig
getDecoratedFeatures
-
Field Details
-
chargeCount
private final int chargeCountThe field for thechargeCount
record component. -
amountPerCharge
private final int amountPerChargeThe field for theamountPerCharge
record component. -
spreadAttempts
private final int spreadAttemptsThe field for thespreadAttempts
record component. -
growthRounds
private final int growthRoundsThe field for thegrowthRounds
record component. -
spreadRounds
private final int spreadRoundsThe field for thespreadRounds
record component. -
extraRareGrowths
The field for theextraRareGrowths
record component. -
catalystChance
private final float catalystChanceThe field for thecatalystChance
record 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
Lejq;a:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
SculkPatchFeatureConfig
public SculkPatchFeatureConfig(int int2, int int3, int int4, int int5, int int6, IntProvider intProvider, float float2)
-
-
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. Reference components are compared withObjects::equals(Object,Object)
; primitive components are compared with '=='. -
chargeCount
public int chargeCount()Returns the value of thechargeCount
record component.- Returns:
- the value of the
chargeCount
record component
-
amountPerCharge
public int amountPerCharge()Returns the value of theamountPerCharge
record component.- Returns:
- the value of the
amountPerCharge
record component
-
spreadAttempts
public int spreadAttempts()Returns the value of thespreadAttempts
record component.- Returns:
- the value of the
spreadAttempts
record component
-
growthRounds
public int growthRounds()Returns the value of thegrowthRounds
record component.- Returns:
- the value of the
growthRounds
record component
-
spreadRounds
public int spreadRounds()Returns the value of thespreadRounds
record component.- Returns:
- the value of the
spreadRounds
record component
-
extraRareGrowths
Returns the value of theextraRareGrowths
record component.- Returns:
- the value of the
extraRareGrowths
record component
-
catalystChance
public float catalystChance()Returns the value of thecatalystChance
record component.- Returns:
- the value of the
catalystChance
record component
-