Closed SlimeDog closed 5 years ago
Change the Sentinels to cats
npc select Killer
npc type CAT
and restart the server. The shadow entities are not present.
Change the Sentinels back to wolves. The shadow entities reappear.
Create non-Sentinel wolf NPC
npc create --type wolf
No shadow entities for that NPC. Restart the server. No shadow entities for that NPC.
Citizens/saves.yml for that NPC
'42':
name: XYZZY
uuid: a0af5e67-f644-4fb3-8548-dd8bb2cd3be7
traits:
location:
world: world
x: '-1.1079'
y: '64.0'
z: '1.2078'
yaw: '28.3096923828125'
pitch: '0.0'
age:
age: 0
locked: true
type: WOLF
spawned: true
owner:
owner: PLAYER_NAME_REDACTED
uuid: PLAYER_UUID_REDACTED
traitnames: owner,type,mounttrait,location,spawned,age
navigator:
speedmodifier: '1.0'
avoidwater: false
usedefaultstuckaction: true
I'm having trouble replicating this. Running the exact same builds as in your opening post,
Setup:
/npc create bob --type wolf
/npc wolf -t
/npc path
+ set 1 point
/npc lookclose
/npc inventory
(just to add the trait just in case as you have it set)
/trait sentinel
/sentinel guard mcmonkey4eva
(to have it move away from it's starting point to better reveal dup entities)
/sentinel invincible
Test:
/citizens save
/citizens reload
move around a bit
just the one wolf here, no shadow.
My guess here is in the direction of potential plugin interference (the issue may only appear with some given other plugin installed) or world setting issue (a gamerule or similar that is required to cause it)
Can you please test for plugin conflicts? https://wiki.citizensnpcs.co/Plugin_Conflict
Add wolf modifiers to XYZZY
wolfmodifiers:
angry: false
collarColor: RED
sitting: false
tamed: true
with the same result. No shadow entities.
Gamerules (other than defaults) in this creative world
gamerule announceAdvancements false
gamerule commandBlockOutput false
gamerule doDaylightCycle false
gamerule doFireTick false
gamerule doWeatherCycle false
gamerule sendCommandFeedback true
Gamerules are different in the other (survival) worlds, so I will test that possibility.
Can you please test for plugin conflicts?
I do have a rather extensive plugin set. I will run isolation tests later today.
>version
[08:55:04] [Server thread/INFO]: This server is running CraftBukkit version git-Spigot-01d0f04-455023c (MC: 1.14.2) (Implementing API version 1.14.2-R0.1-SNAPSHOT)
[08:55:04] [Server thread/INFO]: You are running the latest version
>version citizens
[08:55:00] [Server thread/INFO]: Citizens version 2.0.25-SNAPSHOT (build 1700)
[08:55:00] [Server thread/INFO]: Website: http://www.citizensnpcs.co
[08:55:00] [Server thread/INFO]: Authors: aPunch and fullwall
>version Sentinel
[08:55:08] [Server thread/INFO]: Sentinel version 1.9.2 (build 261)
[08:55:08] [Server thread/INFO]: Author: mcmonkey
Spigot 1.14.2 (Jenkins 2237)
Isolation testing completed. The world in question is world, so Multiverse (which has not been updated, and was therefore a contender for interaction effects) did not get in the way. The tests involved only two plugins. Between tests, the server was stopped, the plugins changed, and the server restarted.
Test 1: Citizens and Sentinel. There were shadows. An example:
Test 2: Citizens only. There were no shadows. Same example:
Test 3: Citizens and Sentinel. There were shadows.
Server invocation: java -Xms1M -Xmx4G -XX:+UseG1GC -Dfile-encoding=UTF-8 -jar spigot.jar nogui --universe ./UNIVERSE
I posted
Please let me know when you have captured the files, so I can remove them. I can provide additional files if needed.
I'm unclear whether you actually followed the conflict test procedure. For a good test where smaller tests fail to find anything, you ideally should start a new local server (just spin up a Spigot server on your own PC) with only Citizens and Sentinel with default configs on a defaultly generated world, and see if you can replicate it. If you can't, begin transferring things from the original server til it replicates (send the world over - does it start then? If so, it's something in the world. If not, try config files. If not, try plugins, etc)
I did not get to that part yet. I will, but I'm AFK until next week. I could get to my test servers remotely, so I stripped down the server on which it occurred to get to the point above, in hopes that it would help. If not... More later. Should I remove the files, if they are not helpful?
OK, I found a stable internet connection. I rebuilt the world, and (naturally) the shadow entities do not exist. So, "something in the world." Not very satisfying, but resolved in the instant.
I removed the files.
Sentinel/config.yml
I have four Sentinel tame wolves and one Player NPC near the spawn point in a creative world (world). World was --forceUpgrade converted from 1.13.2. In 1.14.x, the Sentinels have acquired shadow wolf entities in the four locations, oriented per the Sentinel's positions (including yaw). The shadow entities
So the shadow entities are clearly tied to the Sentinel entities somehow.
After citizens reload, there are multiple shadow entities per Sentinel. All of them display the same names as the related Sentinels. As before, the shadow entitles do not appear in the output of npc list.
There are Sentinels in other (survival) worlds that do not acquire shadow entities.
The issue has been present since 1.14-pre1. I have rebuild the world several times since, but the issue always returns. The same NPC/Sentinel configuration worked without issues from 1.8.3 through 1.13.2, and is currently working correctly in 1.13.2.
Citizens/saves.yml for one of the four Sentinels; the others are similar, with different locations