Uses of Class
com.hypixel.hytale.builtin.triggervolumes.effect.TriggerRule
Packages that use TriggerRule
Package
Description
-
Uses of TriggerRule in com.hypixel.hytale.builtin.triggervolumes
Methods in com.hypixel.hytale.builtin.triggervolumes with type parameters of type TriggerRuleModifier and TypeMethodDescription<T extends TriggerRule>
voidTriggerVolumesPlugin.registerRuleType(String typeId, Class<T> clazz, BuilderCodec<T> codec) Registers a custom always-active rule type so it can be used in trigger volume JSON and appears in the in-game effect editor's "Always Active" list automatically. -
Uses of TriggerRule in com.hypixel.hytale.builtin.triggervolumes.asset
Methods in com.hypixel.hytale.builtin.triggervolumes.asset that return TriggerRuleMethods in com.hypixel.hytale.builtin.triggervolumes.asset with parameters of type TriggerRuleModifier and TypeMethodDescriptionstatic TriggerEffectAssetTriggerEffectAsset.create(String id, TriggerCondition[] conditions, TriggerEffect[] effects, TriggerEffect[] rejectionEffects, TriggerRule[] rules, ConditionTiming conditionTiming, TriggerEffectAsset.VolumeSettings volumeSettings) -
Uses of TriggerRule in com.hypixel.hytale.builtin.triggervolumes.effect
Fields in com.hypixel.hytale.builtin.triggervolumes.effect with type parameters of type TriggerRuleModifier and TypeFieldDescriptionstatic final BuilderCodec<TriggerRule> TriggerRule.BASE_CODECstatic final CodecMapCodec<TriggerRule> TriggerRule.CODECstatic final ArrayCodec<TriggerRule> TriggerVolumeCodecs.TOLERANT_RULESMethods in com.hypixel.hytale.builtin.triggervolumes.effect that return TriggerRuleMethods in com.hypixel.hytale.builtin.triggervolumes.effect that return types with arguments of type TriggerRuleModifier and TypeMethodDescriptionstatic List<TriggerRule> TriggerRule.deepCopyList(List<TriggerRule> rules) Methods in com.hypixel.hytale.builtin.triggervolumes.effect with parameters of type TriggerRuleMethod parameters in com.hypixel.hytale.builtin.triggervolumes.effect with type arguments of type TriggerRuleModifier and TypeMethodDescriptionstatic List<TriggerRule> TriggerRule.deepCopyList(List<TriggerRule> rules) -
Uses of TriggerRule in com.hypixel.hytale.builtin.triggervolumes.effect.builtin
Methods in com.hypixel.hytale.builtin.triggervolumes.effect.builtin that return TriggerRuleMethods in com.hypixel.hytale.builtin.triggervolumes.effect.builtin with parameters of type TriggerRule -
Uses of TriggerRule in com.hypixel.hytale.builtin.triggervolumes.effect.builtin.rules
Modifier and TypeClassDescriptionclassBase for rules that veto a block action.classBlocks placed inside the volume are not consumed from the placer's inventory, mirroring creative-mode placement for players in other game modes.classMultiplies entity damage based on the volume.classLets players fly while inside the volume (as in creative mode) without changing their game mode.classPrevents block placement inside the volume, except for block types listed inExceptBlocksor carrying a tag listed inExceptBlockTags.classCancels damage dealt to entities inside the volume.classPrevents block damage and breaking inside the volume.classPrevents players from opening or closing doors inside the volume.classPrevents harvestable blocks from being gathered inside the volume, except for block types listed by id inExceptBlocksor carrying a tag listed inExceptBlockTags.classPrevents health regeneration and other healing for entities inside the volume.classSuppresses block ticking inside the volume.classPrevents players from using (pressing use on) blocks and entities inside the volume, except for block types listed inExceptBlocksor carrying a tag listed inExceptBlockTags. -
Uses of TriggerRule in com.hypixel.hytale.builtin.triggervolumes.manager
Classes in com.hypixel.hytale.builtin.triggervolumes.manager with type parameters of type TriggerRuleModifier and TypeClassDescriptionstatic final recordTriggerVolumeManager.ActiveRule<T extends TriggerRule>A rule active at a queried position together with the in-range volume it was found on.Methods in com.hypixel.hytale.builtin.triggervolumes.manager with type parameters of type TriggerRuleModifier and TypeMethodDescription<T extends TriggerRule>
List<T> TriggerVolumeManager.getActiveRules(org.joml.Vector3d worldPos, Class<T> ruleClass) Collects all rule instances of the given class active atworldPos, including group-inherited rules.<T extends TriggerRule>
List<TriggerVolumeManager.ActiveRule<T>> TriggerVolumeManager.getActiveRulesWithVolume(org.joml.Vector3d worldPos, Class<T> ruleClass) LikeTriggerVolumeManager.getActiveRules(Vector3d, Class), but pairs each rule with the volume it came from (the in-range member volume for group-inherited rules).Methods in com.hypixel.hytale.builtin.triggervolumes.manager that return types with arguments of type TriggerRuleMethod parameters in com.hypixel.hytale.builtin.triggervolumes.manager with type arguments of type TriggerRuleModifier and TypeMethodDescriptionbooleanTriggerVolumeManager.hasActiveRule(org.joml.Vector3d worldPos, Class<? extends TriggerRule> ruleClass) Returns whether any enabled volume with active rules containsworldPosand carries a rule of the given class, either directly or inherited from its group.