Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicMobs MythicMobs
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 134
    • Issues 134
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicMobsMythicMobs
  • Issues
  • #1151

Closed
Open
Created Jun 10, 2023 by Lxlp@LxlpDeveloper

PreventRandomEquipment option being "activated" on plugin reload

Summary

The PreventRandomEquipment triggers on every mob spawn/plugin reload, but that makes it impossible for mobs to keep the equipment they may have obtained in the meantime via equip mechanics or the like

Steps to reproduce

Try the following mobs

IAmWorking:
  Type: WITHER_SKELETON
  Equipment:
  - AIR HAND
  AIGoalSelectors:
  - clear
  AITargetSelectors:
  - clear
  Skills:
  - equip{i="diamond_sword:HAND"} @self ~onInteract
  - equip{i="shield:OFFHAND"} @self ~onInteract
IAmNot:
  Template: IAmWorking
  Options:
    PreventRandomEquipment: true

Current behavior

The option triggers during every spawn/plugin reload event

Intended correct behavior

The option triggers only when the entity spawns

Versions

  • Minecraft: 1.19.4
  • Paper: 527
  • MythicMobs: Dev Build 4516
Edited Jun 10, 2023 by Lxlp
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking