Record Class MobSpawnSettingsModifier.Overlay
java.lang.Object
java.lang.Record
net.minecraft.world.attribute.modifier.MobSpawnSettingsModifier.Overlay
- All Implemented Interfaces:
AttributeModifier<MobSpawnSettings, MobSpawnSettings>, MobSpawnSettingsModifier
- Enclosing interface:
MobSpawnSettingsModifier
public static record MobSpawnSettingsModifier.Overlay()
extends Record
implements MobSpawnSettingsModifier
-
Nested Class Summary
Nested classes/interfaces inherited from interface AttributeModifier
AttributeModifier.OperationId, AttributeModifier.OverrideModifier<Value>Nested classes/interfaces inherited from interface MobSpawnSettingsModifier
MobSpawnSettingsModifier.Overlay -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final MobCategory[]private static final MobSpawnSettingsModifier.OverlayFields inherited from interface AttributeModifier
ARGB_COLOR_LIBRARY, BOOLEAN_LIBRARY, FLOAT_LIBRARY, INTEGER_LIBRARY, MOB_SPAWN_SETTINGS_LIBRARY, RGB_COLOR_LIBRARY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(MobSpawnSettings first, MobSpawnSettings second) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.Methods inherited from interface MobSpawnSettingsModifier
argumentCodec, argumentKeyframeLerp
-
Field Details
-
INSTANCE
-
ALL_CATEGORIES
-
-
Constructor Details
-
Overlay
public Overlay()Creates an instance of aOverlayrecord class.
-
-
Method Details
-
apply
- Specified by:
applyin interfaceAttributeModifier<MobSpawnSettings, MobSpawnSettings>
-
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.
-