Sleep Sooner (Forge)

Sleep Sooner (Forge)

117k Downloads

Incompatibility with Guard Viallgers

TenKotowsky opened this issue ยท 4 comments

commented

Information

Minecraft version: 1.21
Modloader: Fabric
Fabric loader version: 0.16.0
Environment: Singleplayer

First mod name: Village Spawn Point
First mod version: villagespawnpoint-1.21.O-4.4.jar

Second mod name: Guard Villagers
Second mod version: guardvillagers-2.1.2-1.21.jar

Description

When both mods are installed, some entities in around in the village where I spawned are stuck mid-air. Soon they become immune to any attacks and nothing can be done about them. Even after killing them with a command, they don't disappear.

obraz
obraz

latest.log
[01:19:35] [main/INFO]: Loading Minecraft 1.21 with Fabric Loader 0.16.0
[01:19:35] [main/INFO]: Loading 57 mods:
	- collective 7.80
	- fabric-api 0.100.8+1.21
	   |-- fabric-api-base 0.4.42+6573ed8cd1
	   |-- fabric-api-lookup-api-v1 1.6.67+b5597344d1
	   |-- fabric-biome-api-v1 13.0.29+5bd9f1bcd1
	   |-- fabric-block-api-v1 1.0.22+0af3f5a7d1
	   |-- fabric-block-view-api-v2 1.0.10+6573ed8cd1
	   |-- fabric-blockrenderlayer-v1 1.1.52+0af3f5a7d1
	   |-- fabric-client-tags-api-v1 1.1.15+6573ed8cd1
	   |-- fabric-command-api-v1 1.2.49+f71b366fd1
	   |-- fabric-command-api-v2 2.2.28+6ced4dd9d1
	   |-- fabric-commands-v0 0.2.66+df3654b3d1
	   |-- fabric-content-registries-v0 8.0.15+b5597344d1
	   |-- fabric-convention-tags-v1 2.0.18+7f945d5bd1
	   |-- fabric-convention-tags-v2 2.4.2+c111832ad1
	   |-- fabric-crash-report-info-v1 0.2.29+0af3f5a7d1
	   |-- fabric-data-attachment-api-v1 1.1.25+6a6dfa19d1
	   |-- fabric-data-generation-api-v1 20.2.13+16c4ae25d1
	   |-- fabric-dimensions-v1 4.0.0+6fc22b99d1
	   |-- fabric-entity-events-v1 1.6.12+6fc22b99d1
	   |-- fabric-events-interaction-v0 0.7.10+e633f883d1
	   |-- fabric-game-rule-api-v1 1.0.53+6ced4dd9d1
	   |-- fabric-item-api-v1 11.0.0+afdfc921d1
	   |-- fabric-item-group-api-v1 4.1.3+78017270d1
	   |-- fabric-key-binding-api-v1 1.0.47+0af3f5a7d1
	   |-- fabric-keybindings-v0 0.2.45+df3654b3d1
	   |-- fabric-lifecycle-events-v1 2.3.11+8f3583aed1
	   |-- fabric-loot-api-v2 3.0.13+3f89f5a5d1
	   |-- fabric-loot-api-v3 1.0.1+3f89f5a5d1
	   |-- fabric-message-api-v1 6.0.13+6573ed8cd1
	   |-- fabric-model-loading-api-v1 2.0.0+fe474d6bd1
	   |-- fabric-networking-api-v1 4.2.0+ab7edbacd1
	   |-- fabric-object-builder-api-v1 15.1.13+d1321076d1
	   |-- fabric-particles-v1 4.0.2+6573ed8cd1
	   |-- fabric-recipe-api-v1 5.0.10+65089712d1
	   |-- fabric-registry-sync-v0 5.0.26+a5d66753d1
	   |-- fabric-renderer-api-v1 3.3.0+0ae0b97dd1
	   |-- fabric-renderer-indigo 1.6.5+48fb1586d1
	   |-- fabric-renderer-registries-v1 3.2.68+df3654b3d1
	   |-- fabric-rendering-data-attachment-v1 0.3.48+73761d2ed1
	   |-- fabric-rendering-fluids-v1 3.1.6+b5597344d1
	   |-- fabric-rendering-v0 1.1.71+df3654b3d1
	   |-- fabric-rendering-v1 5.0.5+df16efd0d1
	   |-- fabric-resource-conditions-api-v1 4.2.1+d153f344d1
	   |-- fabric-resource-loader-v0 1.2.0+7e687b32d1
	   |-- fabric-screen-api-v1 2.0.24+b5597344d1
	   |-- fabric-screen-handler-api-v1 1.3.83+b5597344d1
	   |-- fabric-sound-api-v1 1.0.23+6573ed8cd1
	   |-- fabric-transfer-api-v1 5.1.15+3dccd343d1
	   \-- fabric-transitive-access-wideners-v1 6.0.12+6573ed8cd1
	- fabricloader 0.16.0
	   \-- mixinextras 0.4.0
	- guardvillagers 2.1.2-1.21
	   \-- midnightlib 1.5.7
	- java 21
	- minecraft 1.21
	- villagespawnpoint 4.4
[01:19:35] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.7 Source=file:/C:/Users/barte/curseforge/minecraft/Install/libraries/net/fabricmc/sponge-mixin/0.15.0+mixin.0.8.7/sponge-mixin-0.15.0+mixin.0.8.7.jar Service=Knot/Fabric Env=CLIENT
[01:19:35] [main/INFO]: Compatibility level set to JAVA_21
[01:19:36] [main/INFO]: Initializing MixinExtras via com.llamalad7.mixinextras.service.MixinExtrasServiceImpl(version=0.4.0).
[01:19:37] [Datafixer Bootstrap/INFO]: 226 Datafixer optimizations took 346 milliseconds
[01:19:41] [Render thread/INFO]: Environment: Environment[sessionHost=https://sessionserver.mojang.com, servicesHost=https://api.minecraftservices.com, name=PROD]
[01:19:41] [Render thread/INFO]: Setting user: Teny_guy
[01:19:42] [Render thread/INFO]: Loading Collective version 7.80.
[01:19:42] [Render thread/INFO]: [Indigo] Registering Indigo renderer!
[01:19:42] [Render thread/INFO]: Backend library: LWJGL version 3.3.3-snapshot
[01:19:43] [Render thread/INFO]: Reloading ResourceManager: vanilla, fabric, fabric-api, fabric-api-base, fabric-api-lookup-api-v1, fabric-biome-api-v1, fabric-block-api-v1, fabric-block-view-api-v2, fabric-blockrenderlayer-v1, fabric-client-tags-api-v1, fabric-command-api-v1, fabric-command-api-v2, fabric-commands-v0, fabric-content-registries-v0, fabric-convention-tags-v1, fabric-convention-tags-v2, fabric-crash-report-info-v1, fabric-data-attachment-api-v1, fabric-data-generation-api-v1, fabric-dimensions-v1, fabric-entity-events-v1, fabric-events-interaction-v0, fabric-game-rule-api-v1, fabric-item-api-v1, fabric-item-group-api-v1, fabric-key-binding-api-v1, fabric-keybindings-v0, fabric-lifecycle-events-v1, fabric-loot-api-v2, fabric-loot-api-v3, fabric-message-api-v1, fabric-model-loading-api-v1, fabric-networking-api-v1, fabric-object-builder-api-v1, fabric-particles-v1, fabric-recipe-api-v1, fabric-registry-sync-v0, fabric-renderer-api-v1, fabric-renderer-indigo, fabric-renderer-registries-v1, fabric-rendering-data-attachment-v1, fabric-rendering-fluids-v1, fabric-rendering-v0, fabric-rendering-v1, fabric-resource-conditions-api-v1, fabric-resource-loader-v0, fabric-screen-api-v1, fabric-screen-handler-api-v1, fabric-sound-api-v1, fabric-transfer-api-v1, fabric-transitive-access-wideners-v1, fabricloader, guardvillagers, midnightlib
[01:19:43] [Worker-Main-8/INFO]: Found unifont_all_no_pua-15.1.05.hex, loading
[01:19:43] [Worker-Main-2/INFO]: Found unifont_jp_patch-15.1.05.hex, loading
[01:19:45] [Render thread/WARN]: Missing sound for event: minecraft:item.goat_horn.play
[01:19:45] [Render thread/WARN]: Missing sound for event: minecraft:entity.goat.screaming.horn_break
[01:19:45] [Render thread/INFO]: OpenAL initialized on device OpenAL Soft on Headphones (High Definition Audio Device)
[01:19:45] [Render thread/INFO]: Sound engine started
[01:19:45] [Render thread/INFO]: Created: 1024x512x4 minecraft:textures/atlas/blocks.png-atlas
[01:19:45] [Render thread/INFO]: Created: 256x256x4 minecraft:textures/atlas/signs.png-atlas
[01:19:45] [Render thread/INFO]: Created: 512x512x4 minecraft:textures/atlas/banner_patterns.png-atlas
[01:19:45] [Render thread/INFO]: Created: 512x512x4 minecraft:textures/atlas/shield_patterns.png-atlas
[01:19:45] [Render thread/INFO]: Created: 1024x1024x4 minecraft:textures/atlas/armor_trims.png-atlas
[01:19:45] [Render thread/INFO]: Created: 128x64x4 minecraft:textures/atlas/decorated_pot.png-atlas
[01:19:45] [Render thread/INFO]: Created: 256x256x4 minecraft:textures/atlas/chest.png-atlas
[01:19:45] [Render thread/INFO]: Created: 512x256x4 minecraft:textures/atlas/beds.png-atlas
[01:19:45] [Render thread/INFO]: Created: 512x256x4 minecraft:textures/atlas/shulker_boxes.png-atlas
[01:19:45] [Render thread/INFO]: Created: 512x256x0 minecraft:textures/atlas/particles.png-atlas
[01:19:45] [Render thread/INFO]: Created: 512x256x0 minecraft:textures/atlas/paintings.png-atlas
[01:19:45] [Render thread/INFO]: Created: 256x128x0 minecraft:textures/atlas/mob_effects.png-atlas
[01:19:45] [Render thread/INFO]: Created: 64x64x0 minecraft:textures/atlas/map_decorations.png-atlas
[01:19:45] [Render thread/INFO]: Created: 1024x512x0 minecraft:textures/atlas/gui.png-atlas
[01:19:45] [Render thread/WARN]: Shader rendertype_entity_translucent_emissive could not find sampler named Sampler2 in the specified shader program.
[01:19:49] [Render thread/INFO]: Deleting level New World
[01:19:49] [Render thread/INFO]: Attempt 1...
[01:19:50] [Render thread/INFO]: Loaded 1290 recipes
[01:19:50] [Render thread/INFO]: Loaded 1399 advancements
[01:19:51] [Render thread/INFO]: Loaded 1290 recipes
[01:19:51] [Render thread/INFO]: Loaded 1399 advancements
[01:19:52] [Render thread/INFO]: Applied 0 biome modifications to 0 of 64 new biomes in 1.533 ms
[01:19:52] [Server thread/INFO]: Starting integrated minecraft server version 1.21
[01:19:52] [Server thread/INFO]: Generating keypair
[01:19:54] [Server thread/INFO]: [Village Spawn Point] Finding the nearest village. This might take a few seconds.
[01:19:55] [Server thread/INFO]: Locating element #minecraft:village (minecraft:village_taiga) took 461 ms
[01:19:56] [Server thread/INFO]: [Village Spawn Point] Village found! The world will now generate.
[01:19:56] [Server thread/INFO]: Preparing start region for dimension minecraft:overworld
[01:19:56] [Render thread/INFO]: Preparing spawn area: 4%
[01:19:56] [Render thread/INFO]: Preparing spawn area: 4%
[01:19:57] [Render thread/INFO]: Preparing spawn area: 53%
[01:19:57] [Render thread/INFO]: Preparing spawn area: 67%
[01:19:57] [Render thread/INFO]: Time elapsed: 1557 ms
[01:19:58] [Server thread/INFO]: Changing view distance to 12, from 10
[01:19:58] [Server thread/INFO]: Changing simulation distance to 12, from 0
[01:19:58] [Server thread/INFO]: Teny_guy[local:E:78d5d7db] logged in with entity id 39 at (360.5, 63.0, -354.5)
[01:19:58] [Server thread/INFO]: Teny_guy joined the game
[01:19:59] [Render thread/INFO]: Loaded 2 advancements
[01:20:09] [Render thread/INFO]: [System] [CHAT] Saved screenshot as 2024-08-04_01.20.08.png
[01:22:21] [Server thread/INFO]: Villager class_1646['Nitwit'/22, l='ServerLevel[New World]', x=331.47, y=64.00, z=-384.30] died, message: 'Nitwit was killed'
[01:22:21] [Server thread/INFO]: Villager class_1646['Weaponsmith'/16, l='ServerLevel[New World]', x=358.05, y=64.00, z=-348.58] died, message: 'Weaponsmith was killed'
[01:22:21] [Server thread/INFO]: Villager class_1646['Nitwit'/17, l='ServerLevel[New World]', x=351.37, y=66.00, z=-336.28] died, message: 'Nitwit was killed'
[01:22:21] [Server thread/INFO]: Villager class_1646['Villager'/13, l='ServerLevel[New World]', x=357.07, y=64.00, z=-353.37] died, message: 'Villager was killed'
[01:22:21] [Server thread/INFO]: Villager class_1646['Villager'/14, l='ServerLevel[New World]', x=354.37, y=64.00, z=-357.93] died, message: 'Villager was killed'
[01:22:21] [Server thread/INFO]: Villager class_1646['Villager'/15, l='ServerLevel[New World]', x=357.63, y=64.00, z=-361.07] died, message: 'Villager was killed'
[01:22:21] [Server thread/INFO]: Villager class_1646['Villager'/30, l='ServerLevel[New World]', x=282.59, y=91.00, z=-339.48] died, message: 'Villager was killed'
[01:22:21] [Server thread/INFO]: [Teny_guy: Killed 7 entities]
[01:22:21] [Render thread/INFO]: Villager class_1646['Nitwit'/22, l='ClientLevel', x=331.47, y=64.00, z=-384.11] died, message: 'Nitwit died'
[01:22:21] [Render thread/INFO]: Villager class_1646['Weaponsmith'/16, l='ClientLevel', x=358.05, y=64.00, z=-348.58] died, message: 'Weaponsmith died'
[01:22:21] [Render thread/INFO]: Villager class_1646['Nitwit'/17, l='ClientLevel', x=351.37, y=66.00, z=-336.28] died, message: 'Nitwit died'
[01:22:21] [Render thread/INFO]: Villager class_1646['Villager'/13, l='ClientLevel', x=357.07, y=64.00, z=-353.37] died, message: 'Villager died'
[01:22:21] [Render thread/INFO]: Villager class_1646['Villager'/14, l='ClientLevel', x=354.37, y=64.00, z=-357.93] died, message: 'Villager died'
[01:22:21] [Render thread/INFO]: Villager class_1646['Villager'/15, l='ClientLevel', x=357.63, y=64.00, z=-361.07] died, message: 'Villager died'
[01:22:21] [Render thread/INFO]: Villager class_1646['Villager'/30, l='ClientLevel', x=282.05, y=91.00, z=-339.48] died, message: 'Villager died'
[01:22:21] [Render thread/INFO]: [System] [CHAT] Killed 7 entities
[01:22:37] [Render thread/INFO]: [System] [CHAT] Saved screenshot as 2024-08-04_01.22.37.png
[01:24:05] [Server thread/INFO]: Saving and pausing game...
[01:24:05] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:overworld
[01:24:05] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:the_end
[01:24:05] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:the_nether
[01:24:06] [Server thread/INFO]: Teny_guy lost connection: Disconnected
[01:24:06] [Server thread/INFO]: Teny_guy left the game
[01:24:06] [Server thread/INFO]: Stopping singleplayer server as player logged out
[01:24:06] [Server thread/INFO]: Stopping server
[01:24:06] [Server thread/INFO]: Saving players
[01:24:06] [Server thread/INFO]: Saving worlds
[01:24:06] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:overworld
[01:24:07] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:the_end
[01:24:07] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:the_nether
[01:24:07] [Server thread/INFO]: ThreadedAnvilChunkStorage (New World): All chunks are saved
[01:24:07] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
[01:24:07] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
[01:24:07] [Server thread/INFO]: ThreadedAnvilChunkStorage: All dimensions are saved
[01:24:08] [Render thread/INFO]: Stopping!

commented

Are you sure this is related to Village Spawn Point? As it only changes the spawn point, nothing with villager mechanics. Does it not happen without the mod installed?

commented

It seems that this issue happens when Guard Villagers is installed alone, so it actually has nothing to do with Village Spawn Point.
I originally thought it did because, well, it always hapepened when I spawned in a village, but it seems that if I spawned in a village without village spawn point this issue would still happen, so it's definitely guard villagers.
Sorry for taking your time, have a good day!

commented

What do you get in the log when you run the following commands with bugged-out villagers as shown in your screenshots?

execute as @e[type=guardvillagers:guard] run data get entity @s
execute as @e[type=minecraft:villager] run data get entity @s
commented

What do you get in the log when you run the following commands with bugged-out villagers as shown in your screenshots?

execute as @e[type=guardvillagers:guard] run data get entity @s
execute as @e[type=minecraft:villager] run data get entity @s

[23:39:31] [Render thread/INFO]: [System] [CHAT] Villager has the following entity data: {Brain: {memories: {}}, HurtByTimestamp: 0, FoodLevel: 0b, Invulnerable: 0b, FallFlying: 0b, ForcedAge: 0, Gossips: [{Target: [I; -1527165172, 491145631, -1628498195, 1602520542], Type: "major_negative", Value: 50}], PortalCooldown: 0, AbsorptionAmount: 0.0f, LastRestock: 0L, FallDistance: 0.0f, DeathTime: 0s, Xp: 0, LastGossipDecay: 0L, HandDropChances: [0.085f, 0.085f], PersistenceRequired: 0b, UUID: [I; -1455626900, 406012122, -1928656349, -1745790610], Age: 0, Motion: [0.4667955771004555d, -0.0784000015258789d, 0.04238427554057177d], Health: 20.0f, AssignProfessionWhenSpawned: 1b, LeftHanded: 0b, Air: 300s, OnGround: 1b, Rotation: [48.821632f, 0.0f], HandItems: [{}, {}], RestocksToday: 0, ArmorDropChances: [0.085f, 0.085f, 0.085f, 0.085f], Pos: [2.720498619085589d, 111.0d, 8.631455289898156d], Fire: -1s, ArmorItems: [{}, {}, {}, {}], CanPickUpLoot: 1b, VillagerData: {profession: "minecraft:none", level: 1, type: "minecraft:plains"}, attributes: [{id: "minecraft:generic.follow_range", modifiers: [{amount: 0.00695521489071493d, id: "minecraft:random_spawn_bonus", operation: "add_multiplied_base"}], base: 48.0d}], HurtTime: 0s, Inventory: []}


[23:39:31] [Render thread/INFO]: [System] [CHAT] Villager has the following entity data: {Brain: {memories: {}}, HurtByTimestamp: 0, FoodLevel: 0b, Invulnerable: 0b, FallFlying: 0b, ForcedAge: 0, Gossips: [{Target: [I; -1527165172, 491145631, -1628498195, 1602520542], Type: "minor_negative", Value: 25}], PortalCooldown: 0, AbsorptionAmount: 0.0f, LastRestock: 0L, FallDistance: 0.0f, DeathTime: 0s, Xp: 0, LastGossipDecay: 0L, HandDropChances: [0.085f, 0.085f], PersistenceRequired: 0b, UUID: [I; 2000968517, 1781812789, -2097934418, -1818281914], Age: 0, Motion: [-0.06735697934411392d, 0.4d, -0.47181577335817876d], Health: 19.0f, AssignProfessionWhenSpawned: 1b, LeftHanded: 0b, Air: 300s, OnGround: 1b, Rotation: [48.821632f, 0.0f], HandItems: [{}, {}], RestocksToday: 0, ArmorDropChances: [0.085f, 0.085f, 0.085f, 0.085f], Pos: [-2.279501380914411d, 115.0d, -4.368544710101844d], Fire: -1s, ArmorItems: [{}, {}, {}, {}], CanPickUpLoot: 1b, VillagerData: {profession: "minecraft:none", level: 1, type: "minecraft:plains"}, attributes: [{id: "minecraft:generic.follow_range", modifiers: [{amount: -0.08524319658193312d, id: "minecraft:random_spawn_bonus", operation: "add_multiplied_base"}], base: 48.0d}], HurtTime: 10s, Inventory: []}


[23:41:45] [Render thread/INFO]: [System] [CHAT] Iron Golem has the following entity data: {Brain: {memories: {}}, HurtByTimestamp: 0, Invulnerable: 0b, FallFlying: 0b, PortalCooldown: 0, AbsorptionAmount: 0.0f, FallDistance: 0.0f, DeathTime: 0s, HandDropChances: [0.085f, 0.085f], PersistenceRequired: 1b, UUID: [I; 1383645414, 905465567, -1079223436, -1089669280], AngerTime: 0, Motion: [0.012304493724387263d, -0.0784000015258789d, -0.4639741176911043d], Health: 100.0f, PlayerCreated: 0b, LeftHanded: 0b, Air: 300s, OnGround: 1b, Rotation: [180.0f, 0.0f], HandItems: [{}, {}], ArmorDropChances: [0.085f, 0.085f, 0.085f, 0.085f], Pos: [1.4500000000000028d, 111.0d, 4.559999999999999d], Fire: -1s, ArmorItems: [{}, {}, {}, {}], CanPickUpLoot: 0b, attributes: [{id: "minecraft:generic.follow_range", modifiers: [{amount: 0.04635499892508863d, id: "minecraft:random_spawn_bonus", operation: "add_multiplied_base"}], base: 16.0d}, {id: "minecraft:generic.max_health", base: 100.0d}, {id: "minecraft:generic.armor", base: 0.0d}, {id: "minecraft:generic.knockback_resistance", base: 1.0d}, {id: "minecraft:generic.armor_toughness", base: 0.0d}, {id: "minecraft:generic.attack_knockback", base: 0.0d}, {id: "minecraft:generic.movement_speed", base: 0.25d}], HurtTime: 0s}