Vampirism - Become a vampire!

Vampirism - Become a vampire!

16M Downloads

[Bug]: Vampire Baron does need multiple attempts to summon

cactusdualcore opened this issue ยท 6 comments

commented

Minecraft Version

1.19.2

Forge Version

43.2.8

Vampirism Version

1.9.4

Modpack

No response

Singleplayer/Multiplayer

Singleplayer

What happened?

I tried to summon a vampire baron with either the spawn egg or /summon vampirism:vampire_baron. It sometimes works, but most of the time it just does not do anything.

Relevant log output

[17:04:28] [Server thread/INFO]: [CactusDualcore: Summoned new Vampire Baron]
[17:04:28] [Render thread/INFO]: [System] [CHAT] Summoned new Vampire Baron
[17:04:29] [Server thread/INFO]: [CactusDualcore: Summoned new Vampire Baron]
[17:04:29] [Render thread/INFO]: [System] [CHAT] Summoned new Vampire Baron
[17:04:30] [Server thread/INFO]: [CactusDualcore: Summoned new Vampire Baron]
[17:04:30] [Render thread/INFO]: [System] [CHAT] Summoned new Vampire Baron
[17:04:32] [Server thread/INFO]: Named entity VampireBaronEntity['Vampire Baron Level 3'/391, l='ServerLevel[Test]', x=4.44, y=-60.00, z=2.53] died: Vampire Baron Level 3 was slain by Vampire Baron Level 3
[17:04:34] [Server thread/INFO]: Named entity VampireBaronEntity['Vampire Baron Level 3'/439, l='ServerLevel[Test]', x=-9.27, y=-60.00, z=-1.52] died: Vampire Baron Level 3 was slain by Vampire Baron Level 4
[17:04:36] [Server thread/INFO]: Named entity VampireBaronEntity['Vampire Baron Level 4'/401, l='ServerLevel[Test]', x=8.65, y=-60.00, z=-17.62] died: Vampire Baron Level 4 was slain by Vampire Baron Level 4

Reproduce steps

  1. Load a singleplayer flat world
  2. Try spawning a baron with either summon vampirism:vampire_baron or the spawn egg
  3. Most times nothing happens (in the case of /summon, it falsely prints to chat, shown in log output)

Other relevant mods

Reproduced this with a new curseforge profile with only Vampirism added

commented

image
Most times it omits the level. In those cases nothing was spawned.

commented

I can supply a video of this behavior if necessary

commented

(sorry again for closing and reopening)

commented

Vampire Barons can not spawn under the sun. Try spawning them in the vampire forest or under some blocks

commented

What does under sun mean exactly? If you mean in direct sunlight, this appears to still be a bug, because i tried this at night. In this case I would like to ask for a visual clue indicating to the player that the baron disappeared or whatever happened, because not spawning anything is hardly intuitive. If you mean not spawn it on a block with no obstructions above, this is a bug nontheless, because - again - sometimes it works.

I tried this in a flat world with difficulty normal at night and no blocks around. It should behave consistently spawns should be consistent if the circumstances don't change.

commented

Max made me aware of the fact that we set the level based on the level of the surrounding faction player. Higher level player result in higher level barons. If the faction player level is too low or there are no faction player around, there is a chance that the baron will not spawn, no matter the spawn condition.

I changed this so that for a spawn egg and summon command the baron will always spawn.

You can test this behavior by being a level 14 vampire vs a no faction player