Contents
Record Class TriggerEffectAsset.VolumeSettings
java.lang.Object
java.lang.Record
com.hypixel.hytale.builtin.triggervolumes.asset.TriggerEffectAsset.VolumeSettings
- Enclosing class:
TriggerEffectAsset
public static record TriggerEffectAsset.VolumeSettings(@Nonnull Set<EntityTargetType> targetTypes, @Nonnull Map<String,String> tags, @Nonnull RejectionDelayMode rejectionDelayMode, float cooldown, @Nonnull CooldownMode cooldownMode, float activationDelay, @Nonnull ProjectileSource projectileSource, boolean keepLoaded, boolean rotateEffectsOnPaste, boolean cancelDelayedOnExit)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionVolumeSettings(Set<EntityTargetType> targetTypes, Map<String, String> tags, RejectionDelayMode rejectionDelayMode, float cooldown, CooldownMode cooldownMode, float activationDelay, ProjectileSource projectileSource, boolean keepLoaded, boolean rotateEffectsOnPaste, boolean cancelDelayedOnExit) Creates an instance of aVolumeSettingsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfloatReturns the value of theactivationDelayrecord component.booleanReturns the value of thecancelDelayedOnExitrecord component.floatcooldown()Returns the value of thecooldownrecord component.Returns the value of thecooldownModerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanReturns the value of thekeepLoadedrecord component.Returns the value of theprojectileSourcerecord component.Returns the value of therejectionDelayModerecord component.booleanReturns the value of therotateEffectsOnPasterecord component.tags()Returns the value of thetagsrecord component.Returns the value of thetargetTypesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
VolumeSettings
public VolumeSettings(@Nonnull Set<EntityTargetType> targetTypes, @Nonnull Map<String, String> tags, @Nonnull RejectionDelayMode rejectionDelayMode, float cooldown, @Nonnull CooldownMode cooldownMode, float activationDelay, @Nonnull ProjectileSource projectileSource, boolean keepLoaded, boolean rotateEffectsOnPaste, boolean cancelDelayedOnExit) Creates an instance of aVolumeSettingsrecord class.- Parameters:
targetTypes- the value for thetargetTypesrecord componenttags- the value for thetagsrecord componentrejectionDelayMode- the value for therejectionDelayModerecord componentcooldown- the value for thecooldownrecord componentcooldownMode- the value for thecooldownModerecord componentactivationDelay- the value for theactivationDelayrecord componentprojectileSource- the value for theprojectileSourcerecord componentkeepLoaded- the value for thekeepLoadedrecord componentrotateEffectsOnPaste- the value for therotateEffectsOnPasterecord componentcancelDelayedOnExit- the value for thecancelDelayedOnExitrecord component
-
-
Method Details
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
targetTypes
Returns the value of thetargetTypesrecord component.- Returns:
- the value of the
targetTypesrecord component
-
tags
-
rejectionDelayMode
Returns the value of therejectionDelayModerecord component.- Returns:
- the value of the
rejectionDelayModerecord component
-
cooldown
public float cooldown()Returns the value of thecooldownrecord component.- Returns:
- the value of the
cooldownrecord component
-
cooldownMode
Returns the value of thecooldownModerecord component.- Returns:
- the value of the
cooldownModerecord component
-
activationDelay
public float activationDelay()Returns the value of theactivationDelayrecord component.- Returns:
- the value of the
activationDelayrecord component
-
projectileSource
Returns the value of theprojectileSourcerecord component.- Returns:
- the value of the
projectileSourcerecord component
-
keepLoaded
public boolean keepLoaded()Returns the value of thekeepLoadedrecord component.- Returns:
- the value of the
keepLoadedrecord component
-
rotateEffectsOnPaste
public boolean rotateEffectsOnPaste()Returns the value of therotateEffectsOnPasterecord component.- Returns:
- the value of the
rotateEffectsOnPasterecord component
-
cancelDelayedOnExit
public boolean cancelDelayedOnExit()Returns the value of thecancelDelayedOnExitrecord component.- Returns:
- the value of the
cancelDelayedOnExitrecord component
-