iron431 / irons-spells-n-spellbooks

Other
77 stars 57 forks source link

Spawned Mobs despawn despite having nametags #507

Open astraltoaster opened 1 month ago

astraltoaster commented 1 month ago

Observed behaviour

When I spawn mobs (for example a Priest, only tested it with the neutral ones, that you can trade with) in creative mode or using commands, they despawn after I go away, despite being given a name tag. It only happens with ones spawned by the player. It's not the issue with mobs walking away, they were contained with no options to just walk out of specific areas. I didn't observe this issue with mobs from vanilla minecraft or other mobs.

Expected behaviour

I expected a name tag to keep mobs from despawning.

Steps to reproduce

  1. Spawn a neutral mob from the mod using spawn egg or commands.
  2. Give it a name using a name tag.
  3. Walk far enough for entities on that chunk to despawn.
  4. Come back to the place you initially spawned the mob in.

Server Type

Single Player

Crashlog

No response

Iron's Spells N Spellbooks version

1.20.1 - 3.3.0

Forge version

1.20.1 - 47.3.0

Other mods

alexsmobs-1.22.8.jar ApothicAttributes-1.20.1-1.3.6.jar appleskin-forge-mc1.20.1-2.5.1.jar aquamirae-6.API15.jar arcane_abilities-0.2.3-1.20.1.jar architectury-9.2.14-forge.jar artifacts-forge-9.5.11.jar balm-forge-1.20.1-7.3.6-all.jar beekeeperhut-forge-mc1.20.1-2.0.1.jar betterfpsdist-1.20.1-4.4.jar BetterThirdPerson-Forge-1.20-1.9.0.jar BiomesOPlenty-1.20.1-18.0.0.592.jar blueprint-1.20.1-7.1.0.jar boatload-1.20.1-5.0.1.jar Bookshelf-Forge-1.20.1-20.2.13.jar burrowers-1.3-1.20.1.jar caelus-forge-3.2.0+1.20.1.jar carryon-forge-1.20.1-2.1.2.7.jar catloaf-1.1.1-1.20.x-FORGE.jar chalk-1.20.1-1.6.4.jar charmofundying-forge-6.5.0+1.20.1.jar charms-2.0.2-1.20.1.jar cherishedworlds-forge-6.1.6+1.20.1.jar chidoriorigins-forge-1.20.1-1.0.8.jar Chimes-v2.0.1-1.20.1.jar citadel-2.5.4-1.20.1.jar cleanswing-1.20-1.5.jar cloth-config-11.1.118-forge.jar Clumps-forge-1.20.1-12.0.0.4.jar comforts-forge-6.4.0+1.20.1.jar common-networking-forge-1.0.5-1.20.1.jar configured-forge-1.20.1-2.2.3.jar connectivity-1.20.1-5.6.jar corpse-forge-1.20.1-1.0.12.jar cosmeticarmorreworked-1.20.1-v1a.jar CraftTweaker-forge-1.20.1-14.0.40.jar cristellib-1.1.5-forge.jar CullLessLeaves-Reforged-1.20.1-1.0.5.jar cupboard-1.20.1-2.7.jar curios-forge-5.9.1+1.20.1.jar curiouslanterns-1.20.1-1.3.2.jar curious_armor_stands-1.20-5.1.0.jar deco-storage-forge-1.20.1-2.0207.jar decorative_blocks-forge-1.20.1-4.1.3.jar decorative_bottles-0.1.3.jar Delightful-1.20.1-3.5.8.jar DerexMaceMod-1.20.1-8.1.7.2.jar DistantHorizons-2.1.2-a-1.20.1-forge-fabric.jar dungeons-and-taverns-3.0.3.f[Forge].jar dynamiclightsreforged-1.20.1_v1.6.0.jar elytraslot-forge-6.4.1+1.20.1.jar elytratrims-forge-3.4.2+1.20.1.jar embeddium-0.3.25+mc1.20.1.jar enchantedcharms-forge-1.20.1-0.1.1.0.jar EnchantmentDescriptions-Forge-1.20.1-17.0.16.jar endersdelight-1.20.1-1.0.3.jar ends_delight-1.20.1-2.4.jar entityculling-forge-1.6.6-mc1.20.1.jar Expand, Explore-1.3.0.jar explorations-forge-1.20.1-1.5.2.jar ExplorersCompass-1.20.1-1.3.3-forge.jar FallingTree-1.20.1-4.3.4.jar FarmersDelight-1.20.1-1.2.4.jar ferritecore-6.0.1-forge.jar fps-shower 1.20.1.jar framework-forge-1.20.1-0.7.6.jar FriendlyFire-Forge-1.20.1-18.0.7.jar friendsandfoes-forge-mc1.20.1-2.0.15.jar functionalarmortrim-1.20.1-5.jar geckolib-forge-1.20.1-4.4.7.jar GeckoLibOculusCompat-Forge-1.0.1.jar Geophilic v2.4.3 f15-48.jar GeophilicReforged-v1.2.0.jar goblintraders-forge-1.20.1-1.9.3.jar HammerLib-1.20.1-20.1.32.jar hearth_and_home-forge-1.20.1-2.0.1.jar Icarus-NeoForge-2.9.2.jar ImmediatelyFast-Forge-1.2.18+1.20.4.jar immersive_armors-1.6.1+1.20.1-forge.jar Incendium_1.20.x_v5.3.5.jar irons_spellbooks-1.20.1-3.3.0.jar Jade-1.20.1-forge-11.9.2.jar JadeAddons-1.20.1-forge-5.2.2.jar jei-1.20.1-forge-15.8.0.13.jar jeiintegration_1.20.1-10.0.0.jar JeiTweaker-forge-1.20.1-8.0.6.jar JustEnoughProfessions-forge-1.20.1-3.0.1.jar JustEnoughResources-1.20.1-1.4.0.247.jar kotlinforforge-4.11.0-all.jar libIPN-forge-1.20-4.0.2.jar lionfishapi-1.9.jar L_Enders_Cataclysm-1.99.6-1.20.1.jar mcpitanlib-2.3.3-1.20.1-forge.jar MedievalOriginsRevival-6.4.5+1.20.1-forge.jar mes-1.3.1-1.20-forge.jar MissingWilds-forge-1.2.1+1.20.1.jar modernfix-forge-5.18.10+mc1.20.1.jar moonlight-1.20-2.12.6-forge.jar More Wandering Trades 1.0.0 - 1.20.1.jar moremobvariants-forge+1.20.1-1.3.0.1.jar mowziesmobs-1.6.5.jar NaturesCompass-1.20.1-1.11.2-forge.jar Nether's Overhaul-1.20.1_V1.3.6.jar nether-s-exoticism-1.20.1-1.2.8.jar netherite_horse_armor-forge-1.20.1-1.0.4.jar nethersdelight-1.20.1-4.0.jar Nullscape_1.20.x_v1.2.7.jar obscure_api-15.jar oceansdelight-1.0.2-1.20.jar octolib-1.20.1-0.3.jar oculus-mc1.20.1-1.7.0.jar origins-classes-forge-1.2.1.jar origins-forge-1.20.1-1.10.0.9-all.jar origins-vampire-v2.2.0.jar OverflowingBars-v8.0.0-1.20.1-Forge.jar Pehkui-3.8.2+1.20.1-forge.jar Placebo-1.20.1-8.6.2.jar player-animation-lib-forge-1.0.2-rc1+1.20.jar polymorph-forge-0.49.5+1.20.1.jar ProjectileSounds-1.20.1.jar PureDiscsTrailsTales-v1.0.0-1.20.1-Forge.jar PuzzlesLib-v8.1.21-1.20.1-Forge.jar Quad-1.2.5+1.20.4-Forge.jar Quark-4.0-458.jar quark_delight_1.0.0_forge_1.20.1.jar radiantgear-forge-2.1.5+1.20.1.jar radium-mc1.20.1-0.12.3+git.50c5c33.jar ramcompat-1.20.1-0.1.3.jar realmrpg_fallen_adventurers_1.0.3_forge_1.20.1.jar realmrpg_pots_and_mimics_1.0.2_forge_1.20.1.jar realmrpg_quests-0.1.1-forge-1.20.1.jar realmrpg_seadwellers_2.9.9_forge_1.20.1.jar RegionsUnexploredForge-0.5.5+1.20.1.jar relics-1.20.1-0.6.5.2.jar resourcefulconfig-forge-1.20.1-2.1.2.jar Retraining-forge-1.20.1-1.3.1.jar Rex's-AdditionalStructures-1.20.x-(v.4.2.1).jar RingsOfAscension-1.20.1-2.0.2.jar saturn-mc1.20.1-0.1.3.jar ShieldExpansion-1.20.1-1.1.7a.jar Simple Weapons 1.4.5 - 1.20.1.jar smarterfarmers-1.20-1.8.3.jar sophisticatedbackpacks-1.20.1-3.20.5.1044.jar sophisticatedcore-1.20.1-0.6.22.611.jar spyglass_of_curios-forge-1.20.1-1.7.2.jar strictly_origins-v4.0.0-1.20.1.jar Structory_1.20.x_v1.3.5.jar structureessentials-1.20.1-3.4.jar TerraBlender-forge-1.20.1-3.0.1.7.jar Terralith_1.20.x_v2.5.4.jar TheOuterEnd-1.0.9.jar tidal.jar totw_additions-1.3.1-1.20.x-forge.jar totw_modded-forge-1.20.1-1.0.5.jar Towns-and-Towers-1.12-Fabric+Forge.jar twilightdelight-2.0.12.jar twilightforest-1.20.1-4.3.2508-universal.jar unwrecked-ships-plus-1.0.0-forge.jar upgrade_aquatic-1.20.1-6.0.0.jar variantsandventures-mc1.20.1-1.0.3.jar voidtotem-forge-1.20-3.0.1.jar wandering-bags-1.20.1-2.0.7.jar waystones-forge-1.20-14.1.4.jar XaeroPlus-2.18+forge-1.20.1-WM1.38.8-MM24.2.0.jar XaerosWorldMap_1.38.8_Forge_1.20.jar Xaeros_Minimap_24.2.0_Forge_1.20.jar xlpackets-1.18.2-2.1.jar YungsApi-1.20-Forge-4.0.5.jar YungsBetterDesertTemples-1.20-Forge-3.0.3.jar YungsBetterDungeons-1.20-Forge-4.0.4.jar YungsBetterEndIsland-1.20-Forge-2.0.6.jar YungsBetterJungleTemples-1.20-Forge-2.0.5.jar YungsBetterMineshafts-1.20-Forge-4.0.4.jar YungsBetterNetherFortresses-1.20-Forge-2.0.6.jar YungsBetterOceanMonuments-1.20-Forge-3.0.4.jar YungsBetterStrongholds-1.20-Forge-4.0.3.jar YungsBetterWitchHuts-1.20-Forge-3.0.3.jar YungsBridges-1.20-Forge-4.0.3.jar Zeta-1.0-19.jar

iron431 commented 1 month ago

I cannot reproduce this with only spells n spellbooks installed. One of the performance mods you have is likely changing the nametag behavior, do other mobs correctly persist when given a name tag?

astraltoaster commented 1 month ago

It doesn't happen with any other mobs that are given name tags.

Edit: But it might be the issue with those mods, I'll try removing them and seeing if the issue persists.

astraltoaster commented 1 month ago

Alright, it seems like after removing "Entity Culling" mod, the problem stopped. I don't know why this specific mod only causes issues with your mod though. Thank you for helping.