Mythic Spawner
MythicMobs Spawner with Corner System
フィールド
| フィールド | 型 | デフォルト | 説明 | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
mobType | String | SkeletonKing | The internal name of the MythicMob to spawn | ||||||||||||||||||||
regions | List<SpawnerRegion> | — | Spawn regions - each defines a zone where mobs can spawn using corners
|
| フィールド | 型 | デフォルト | 説明 |
|---|---|---|---|
corner1 | Coordinate | ORIGIN | First corner of the spawn zone (absolute world coordinates) |
corner2 | Coordinate | ORIGIN | Second corner of the spawn zone (absolute world coordinates) |
activationRangeFact | Ref<ReadableFactEntry> | — | Optional fact for global activation range from region center. If not set, uses default. |
defaultActivationRange | Double | 24.0 | Default global activation range (3D radius) for player detection |
maxMobsFactRef<ReadableFactEntry>defaultMaxMobsInt1mobsPerSpawnFactRef<ReadableFactEntry>defaultMobsPerSpawnInt1cooldownFactRef<ReadableFactEntry>defaultCooldownLong100warmupFactRef<ReadableFactEntry>defaultWarmupLong0groupRef<GroupEntry>onlyVisibleForNearbyBooleanfalsevisibilityGroupRef<GroupEntry>visibilityCriteriaList<Criteria>emptyvisibilityRefreshIntervalDurationofSeconds(1)collidableBooleantrueTypeWriter 共通フィールド(criteria)
| フィールド | 型 | デフォルト | 説明 |
|---|---|---|---|
criteria | List<Criteria> | empty | The criteria that must be met by at least one nearby player for the spawner to be active |
How to use it
A spawner is checked once per second for each online player (not in spectator mode), starting about five seconds after the server starts.
mobTypeis the MythicMobs internal name.regionsare boxes defined by two corners in absolute world coordinates. A mob spawns at a random point inside a box, so make the box thin and close to the ground. A region is active when a player is within its activation range of the centre of the box (defaultActivationRange, 24 blocks by default, or the value ofactivationRangeFact).criteriamust match at least one player near the region.maxMobsFact/defaultMaxMobscap the mobs of this type within the activation range plus 5 blocks.mobsPerSpawnFact/defaultMobsPerSpawnis the number spawned per cycle, never above the cap.cooldownFact/defaultCooldownandwarmupFact/defaultWarmupare in ticks (20 ticks = 1 second). The warmup runs once per world and spawner (per group whengroupis set) after the first activation. When a fact reference is set, its value replaces the default.onlyVisibleForNearbymakes the mobs visible only to the triggering player;visibilityGroupmakes them visible to the online members of the triggering player's group, followed live, and takes priority.visibilityCriteria(not the same ascriteria, which activates the spawner) restricts who sees, is targeted by and can hurt or be hurt by the spawned mobs. It is checked again everyvisibilityRefreshInterval(1 second by default).collidableset tofalseremoves collision and pushing for everybody. This entry has noabandonRange: use Spawn Mob for that.- Mobs spawn at level 1.
groupis optional. When set, only members of that group activate the spawner,criteriais checked on members of the same group, and each group has its own warmup and cooldown. A player who belongs to no such group activates nothing. Withoutgroup, every player counts and the state is shared by all of them in the world.maxMobsstill counts every mob of the type around the region, whatever the group, and facts are still read through their own group. The state of a group is dropped once none of its members is online; its next visit starts a new warmup.