Skip to content

[Bug]: Sleeping bats get pat in the wrong direction #35

@T-ufy

Description

@T-ufy

Problem Description

When you pat a bat while it is sleeping on a ceiling, both the pat and the squash animation still go in the same direction.

Environment

  • Minecraft Version: 1.21.11
  • Mod Version: v1.2.4

Attachments

[16:02:02] [main/INFO]: Loading Minecraft 1.21.11 with Fabric Loader 0.18.4
[16:02:02] [main/INFO]: Loading 54 mods:
- cloth-config 21.11.153
-- cloth-basic-math 0.6.1
- fabric-api 0.140.2+1.21.11
|-- fabric-api-base 1.0.5+4ebb5c083e
|-- fabric-api-lookup-api-v1 1.6.113+1fb1cde93e
|-- fabric-biome-api-v1 17.1.1+4fc5413f3e
|-- fabric-block-api-v1 1.1.10+4ebb5c083e
|-- fabric-block-view-api-v2 1.0.39+4ebb5c083e
|-- fabric-command-api-v2 2.4.7+6b42a6003e
|-- fabric-content-registries-v0 10.2.14+4fc5413f3e
|-- fabric-convention-tags-v1 2.1.55+7f945d5b3e
|-- fabric-convention-tags-v2 2.17.3+8ef948ba3e
|-- fabric-crash-report-info-v1 0.3.23+4ebb5c083e
|-- fabric-data-attachment-api-v1 1.8.44+1fb1cde93e
|-- fabric-data-generation-api-v1 23.4.0+69974c4e3e
|-- fabric-dimensions-v1 4.0.28+4fc5413f3e
|-- fabric-entity-events-v1 3.0.5+4ebb5c083e
|-- fabric-events-interaction-v0 4.0.44+1fb1cde93e
|-- fabric-game-rule-api-v1 2.0.3+4fc5413f3e
|-- fabric-item-api-v1 11.5.20+d0c46b9e3e
|-- fabric-item-group-api-v1 4.2.36+4fc5413f3e
|-- fabric-key-binding-api-v1 1.1.7+4fc5413f3e
|-- fabric-lifecycle-events-v1 2.6.15+4ebb5c083e
|-- fabric-loot-api-v2 3.0.73+3f89f5a53e
|-- fabric-loot-api-v3 2.0.20+78c8b4663e
|-- fabric-message-api-v1 6.1.12+4ebb5c083e
|-- fabric-model-loading-api-v1 6.0.13+4fc5413f3e
|-- fabric-networking-api-v1 5.1.5+ae1e07683e
|-- fabric-object-builder-api-v1 21.1.39+4fc5413f3e
|-- fabric-particles-v1 4.2.11+4fc5413f3e
|-- fabric-recipe-api-v1 8.2.3+4ebb5c083e
|-- fabric-registry-sync-v0 6.2.5+1718722b3e
|-- fabric-renderer-api-v1 8.0.1+f4ffd2e53e
|-- fabric-renderer-indigo 5.0.1+f4ffd2e53e
|-- fabric-rendering-fluids-v1 3.1.43+4ebb5c083e
|-- fabric-rendering-v1 16.2.8+f4ffd2e53e
|-- fabric-resource-conditions-api-v1 5.0.35+4fc5413f3e
|-- fabric-resource-loader-v0 3.3.4+4fc5413f3e
|-- fabric-resource-loader-v1 1.0.10+78c8b4663e
|-- fabric-screen-api-v1 3.1.7+4ebb5c083e
|-- fabric-screen-handler-api-v1 1.3.161+4fc5413f3e
|-- fabric-serialization-api-v1 1.0.5+4ebb5c083e
|-- fabric-sound-api-v1 1.0.51+4fc5413f3e
|-- fabric-tag-api-v1 1.2.20+4fc5413f3e
|-- fabric-transfer-api-v1 6.0.24+4fc5413f3e
-- fabric-transitive-access-wideners-v1 7.1.0+014c8cec3e
- fabricloader 0.18.4
-- mixinextras 0.5.0
- java 21
- minecraft 1.21.11
- patpat 1.2.4+1.21.11
|-- fabric-permissions-api-v0 0.6.0
-- proxlib 0.2.4
- sodium 0.8.2+mc1.21.11
[16:02:02] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.7 Source=file:/home/t-ufy/.local/share/PrismLauncher/libraries/net/fabricmc/sponge-mixin/0.17.0+mixin.0.8.7/sponge-mixin-0.17.0+mixin.0.8.7.jar Service=Knot/Fabric Env=CLIENT
[16:02:02] [main/INFO]: Compatibility level set to JAVA_21
[16:02:02] [main/WARN]: Reference map 'patpat.refmap.json' for patpat.mixins.json could not be read. If this is a development environment you can ignore this message
[16:02:02] [main/WARN]: Reference map 'patpat.refmap.json' for patpat-geckolib.mixins.json could not be read. If this is a development environment you can ignore this message
[16:02:02] [main/WARN]: Reference map 'patpat.refmap.json' for patpat-controlling.mixins.json could not be read. If this is a development environment you can ignore this message
[16:02:02] [main/INFO]: Loaded configuration file for Sodium: 43 options available, 0 override(s) found
[16:02:03] [main/INFO]: Searching for graphics cards...
[16:02:03] [main/INFO]: Found graphics adapter: LinuxPciAdapterInfo[vendor=NVIDIA, name=GM107M [GeForce GTX 960M], pciVendorId=0x10de, pciDeviceId=0x139b]
[16:02:03] [main/INFO]: Found graphics adapter: LinuxPciAdapterInfo[vendor=INTEL, name=HD Graphics 530, pciVendorId=0x8086, pciDeviceId=0x191b]
[16:02:03] [main/WARN]: Sodium has applied one or more workarounds to prevent crashes or other issues on your system: [NVIDIA_THREADED_OPTIMIZATIONS_BROKEN]
[16:02:03] [main/WARN]: This is not necessarily an issue, but it may result in certain features or optimizations being disabled. You can sometimes fix these issues by upgrading your graphics driver.
[16:02:04] [main/INFO]: Initializing MixinExtras via com.llamalad7.mixinextras.service.MixinExtrasServiceImpl(version=0.5.0).
[16:02:05] [Datafixer Bootstrap/INFO]: 287 Datafixer optimizations took 659 milliseconds
[16:02:10] [Render thread/INFO]: Environment: Environment[sessionHost=https://sessionserver.mojang.com, servicesHost=https://api.minecraftservices.com, profilesHost=https://api.mojang.com, name=PROD]
[16:02:10] [Render thread/INFO]: Setting user: T_ufy
[16:02:11] [Render thread/INFO]: [PatPat]: PatPat Initialized
[16:02:11] [Render thread/INFO]: [Indigo] Different rendering plugin detected; not applying Indigo.
[16:02:11] [Render thread/INFO]: [PatPat/Client]: PatPat Client Initialized
[16:02:11] [Render thread/INFO]: Backend library: LWJGL version 3.3.3-snapshot
[16:02:11] [Render thread/INFO]: Modifying process environment to apply workarounds for the NVIDIA graphics driver...
[16:02:12] [Render thread/INFO]: OpenGL Vendor: Intel
[16:02:12] [Render thread/INFO]: OpenGL Renderer: Mesa Intel(R) HD Graphics 530 (SKL GT2)
[16:02:12] [Render thread/INFO]: OpenGL Version: 4.6 (Core Profile) Mesa 25.0.7-0ubuntu0.24.04.2
[16:02:12] [Render thread/INFO]: Using optional rendering extensions: GL_ARB_buffer_storage, GL_KHR_debug, GL_ARB_vertex_attrib_binding, GL_ARB_direct_state_access, GL_EXT_texture_filter_anisotropic
[16:02:13] [Render thread/INFO]: Reloading ResourceManager: vanilla, cloth-config, fabric-api, fabric-api-base, fabric-api-lookup-api-v1, fabric-biome-api-v1, fabric-block-api-v1, fabric-block-view-api-v2, fabric-command-api-v2, 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-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-rendering-fluids-v1, fabric-rendering-v1, fabric-resource-conditions-api-v1, fabric-resource-loader-v0, fabric-resource-loader-v1, fabric-screen-api-v1, fabric-screen-handler-api-v1, fabric-serialization-api-v1, fabric-sound-api-v1, fabric-tag-api-v1, fabric-transfer-api-v1, fabric-transitive-access-wideners-v1, fabricloader, patpat, proxlib, sodium
[16:02:13] [Worker-Main-6/INFO]: Found unifont_all_no_pua-17.0.01.hex, loading
[16:02:13] [Worker-Main-2/INFO]: Found unifont_pua-17.0.01.hex, loading
[16:02:14] [Worker-Main-6/INFO]: Found unifont_jp_patch-17.0.01.hex, loading
[16:02:15] [Render thread/INFO]: OpenAL initialized on device Built-in Audio Analog Stereo
[16:02:15] [Render thread/INFO]: Sound engine started
[16:02:15] [Render thread/INFO]: Created: 512x256x0 minecraft:textures/atlas/particles.png-atlas
[16:02:15] [Render thread/INFO]: Created: 128x128x0 minecraft:textures/atlas/decorated_pot.png-atlas
[16:02:15] [Render thread/INFO]: Created: 2048x1024x0 minecraft:textures/atlas/armor_trims.png-atlas
[16:02:15] [Render thread/INFO]: Created: 512x256x0 minecraft:textures/atlas/paintings.png-atlas
[16:02:15] [Render thread/INFO]: Created: 1024x512x0 minecraft:textures/atlas/shield_patterns.png-atlas
[16:02:15] [Render thread/INFO]: Created: 2048x2048x4 minecraft:textures/atlas/blocks.png-atlas
[16:02:15] [Render thread/INFO]: Created: 512x512x0 minecraft:textures/atlas/chest.png-atlas
[16:02:15] [Render thread/INFO]: Created: 256x128x0 minecraft:textures/atlas/celestials.png-atlas
[16:02:15] [Render thread/INFO]: Created: 1024x512x0 minecraft:textures/atlas/banner_patterns.png-atlas
[16:02:15] [Render thread/INFO]: Created: 512x512x0 minecraft:textures/atlas/beds.png-atlas
[16:02:15] [Render thread/INFO]: Created: 1024x512x0 minecraft:textures/atlas/items.png-atlas
[16:02:15] [Render thread/INFO]: Created: 1024x1024x0 minecraft:textures/atlas/gui.png-atlas
[16:02:15] [Render thread/INFO]: Created: 128x64x0 minecraft:textures/atlas/map_decorations.png-atlas
[16:02:15] [Render thread/INFO]: Created: 512x256x0 minecraft:textures/atlas/signs.png-atlas
[16:02:15] [Render thread/INFO]: Created: 512x512x0 minecraft:textures/atlas/shulker_boxes.png-atlas
[16:02:16] [Render thread/INFO]: [PatPat/Client/ResourcePackManager]: Registering patpat resource pack
[16:02:23] [Render thread/INFO]: Loaded 1470 recipes
[16:02:23] [Render thread/INFO]: Loaded 1584 advancements
[16:02:23] [Render thread/INFO]: Applied 0 biome modifications to 0 of 65 new biomes in 1.494 ms
[16:02:23] [Server thread/INFO]: Starting integrated minecraft server version 1.21.11
[16:02:23] [Server thread/INFO]: Generating keypair
[16:02:23] [Server thread/INFO]: Loading 0 persistent chunks...
[16:02:23] [Server thread/INFO]: Preparing spawn area: 16%
[16:02:24] [Server thread/INFO]: Loading 49 chunks for player spawn...
[16:02:24] [Server thread/INFO]: Preparing spawn area: 16%
[16:02:24] [Server thread/INFO]: Preparing spawn area: 100%
[16:02:24] [Server thread/INFO]: Time elapsed: 1013 ms
[16:02:25] [Server thread/INFO]: T_ufy[local:E:f47166b5] logged in with entity id 19 at (12.357479847353957, -60.0, 0.1316883891757102)
[16:02:25] [Server thread/INFO]: T_ufy joined the game
[16:02:25] [Render thread/INFO]: Started 2 worker threads
[16:02:25] [Server thread/INFO]: Changing view distance to 16, from 10
[16:02:25] [Server thread/INFO]: Changing simulation distance to 12, from 0
[16:02:25] [Render thread/INFO]: Loaded 2 advancements
[16:02:25] [Render thread/INFO]: Resizing Dynamic Transforms UBO, capacity limit of 2 reached during a single frame. New capacity will be 4.
[16:02:25] [Render thread/INFO]: Resizing Dynamic Transforms UBO, capacity limit of 4 reached during a single frame. New capacity will be 8.
[16:02:29] [Server thread/INFO]: Saving and pausing game...
[16:02:30] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:overworld
[16:02:30] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:the_end
[16:02:30] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:the_nether
[16:02:30] [Server thread/INFO]: T_ufy lost connection: Disconnected
[16:02:30] [Server thread/INFO]: T_ufy left the game
[16:02:30] [Server thread/INFO]: Stopping singleplayer server as player logged out
[16:02:30] [Server thread/INFO]: Stopping server
[16:02:30] [Server thread/INFO]: Saving players
[16:02:30] [Server thread/INFO]: Saving worlds
[16:02:30] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:overworld
[16:02:31] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:the_end
[16:02:31] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:the_nether
[16:02:31] [Server thread/INFO]: ThreadedAnvilChunkStorage (New World): All chunks are saved
[16:02:31] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
[16:02:31] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
[16:02:31] [Server thread/INFO]: ThreadedAnvilChunkStorage: All dimensions are saved
[16:02:31] [Render thread/INFO]: Stopping worker threads
[16:02:31] [Render thread/INFO]: Stopping!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions