[SPIGOT-4311] Phantoms Dont Naturally Spawn Created: 26/Aug/18 Updated: 26/Aug/18 Resolved: 26/Aug/18 |
|
Status: | Resolved |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Minor |
Reporter: | village_admin | Assignee: | Unassigned |
Resolution: | Cannot Reproduce | Votes: | 0 |
Labels: | phantom | ||
Environment: |
Linux
|
Version: | CraftBukkit version git-Bukkit-d0bb0a1 (MC: 1.13.1) (Implementing API version 1.13.1-R0.1-SNAPSHOT) |
Plugin: | none |
Guidelines Read: | Yes |
Description |
Both in 1.13 and still in 1.13.1 phantoms do not naturally spawn at night. I can spawn them with a spawn egg and by command. In both vanilla servers for 1.13 and 1.13.1 i see phantoms spawn at night. Using craftbukkit 1.13.1 with no plugins, I sit outside uncovered, not sleeping, in survival, non-op, 5+ day/night cycles in a row and not one phantom has ever spawned. Also tested in 1.13 for a month with 20 players online and a plugin to log any phantoms spawned. Not one phantom spawned and nothing logged unless i spawn one with a spawn egg.
server.properties --------------------------------------------------------- #Minecraft server properties
|
Comments |
Comment by md_5 [ 26/Aug/18 ] |
Spawning is random. Also ticks-per.monster-spawns option |
Comment by village_admin [ 26/Aug/18 ] |
I have not changed sea level, it is whatever the default is. I was wondering if one of the settings in my server.properties could make the difference? After submitting this report i continued to sit online waiting for phantoms. They finally spawned but it was after the 12th night, verified with "/time query day". Any idea why it took until the 12th night? Is is possible a server.property setting changes why my server acts differently than yours? Since they eventually did spawn i will rule out sea level as a possible reason. I retested on vanilla today and they spawned just after (/time query day) 5 days.
|
Comment by md_5 [ 26/Aug/18 ] |
Amongst other things the player must be above sea level. Otherwise phantoms actually spawn rather rarely. They will only attempt to spawn every ~ minute, and the chance that they spawn is 1/(ticksSinceSlept - 72000) I tested on my server and two phantoms spawned successfully, there is even a spawnreason given for them in the API; org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason.NATURAL |