VO: Better Bats

Better Bats overhauls the vanilla Bat into a dynamic, ecosystem-driven entity with swarming behaviors, guano fertilization, and pest control mechanics. Built for Minecraft 26.1+ with DasikLibrary integration.
Back to Files

better-bats-1.1.17-26.1.2.jar

File namebetter-bats-1.1.17-26.1.2.jar
Uploader
DasikIgaijinDasikIgaijin
Uploaded
Aug 24, 2026
Downloads
20
Size
583.0 KB
Mod Loaders
Fabric
File ID
8721304
Type
R
Release
Supported game versions
  • 26.1.2

Curse Maven Snippet

Fabric

modImplementation "curse.maven:vo-better-bats-1529340:8721304"

Learn more about Curse Maven

What's new

[1.1.17-26.1.2] - 2026-08-24

Changed

  • AI/Movement & Core Architectural Overhaul:
    • Re-engineered @Inject(method = "customServerAiStep") in BatMixin.java to inject at @At("HEAD") with cancellable = true.
    • Vanilla Flight Jitter Elimination: Fixed a critical movement conflict where vanilla Bat.customServerAiStep ran every single tick when flying, randomly selecting target coordinates in a 7-block box and overriding setDeltaMovement. By cancelling vanilla's flying step (ci.cancel()), BatFlightHelper and active AI goals (BatHuntLightGoal, BatDiveBombGoal, BatSleepGoal, BatPanicGoal) now have 100% clean, unperturbed control over bat flight trajectories.
    • Vanilla Resting Waking Retained: Preserved vanilla resting checks (waking up when a player is within 4 blocks, when the ceiling block breaks, or with a 1/200 random chance at night). Added a 1/100 random chance for flying bats to rest if a solid ceiling block (isRedstoneConductor) is detected above.
  • AI/Rotation Smoothing:
    • Replaced instant 90° yaw snapping with smooth 3-axis rotational lerping using Mth.approachDegrees(self.getYRot(), targetYaw, 12.0F) (clamped to 12° per tick maximum).
    • Synchronously updated yRot, yHeadRot, and yBodyRot on every tick, eliminating abrupt visual snapping and making turns and banking look completely organic.
  • AI/Guano Production & Particle Polish:
    • Enhanced diegetic visual feedback during guano fertilization. When a roosting bat fertilizes a crop below, it now triggers both vanilla bone meal particles/sound (levelEvent(2005)) and a burst of green villager happy particles (ParticleTypes.HAPPY_VILLAGER).
    • Added visual guano particle effects (ParticleTypes.MYCELIUM) drifting down from roosting spots when guano drops on non-crop or fully grown blocks, ensuring players can visually observe guano falling regardless of underlying block state.
  • Forward Compatibility & Version Identity:
    • Configured fabric.mod.json with "minecraft": ">=26.1.2-" for open-ended forward compatibility across minor/patch releases.
    • Integrated zero-dependency ModVersionGuard.checkClass("Better Bats", "net.minecraft.world.entity.EntityType") in onInitialize() to display human-readable guidance in the event of an API mismatch.