Skip to content

🔌 Referensi Mixin & Titik Injeksi Bytecode ​

📌 Pernyataan Sumber Repositori: Dokumentasi di Wiki ini mencerminkan kondisi kode sumber terkini di repositori, yang mungkin memuat komit atau fitur pengembangan yang belum dirilis di CurseForge atau Modrinth.

Better Bats uses Bytecode Mixins to modify vanilla entity and world spawning behavior while keeping world saves 100% vanilla-safe.

☕ Catatan Pengembang Solo: Jika Anda menyukai kawanan kelelawar 3D BOIDs yang realistis dan pemupukan tanaman otomatis dengan guano, dukung karya saya di Ko-fi!


📋 Tabel Lengkap Injeksi Mixin ​

Mixin ClassTarget Vanilla ClassTarget Method@At Injection PointCancellation / Behavior
BatMixinnet.minecraft.world.entity.ambient.Bat<init>@At("TAIL")Registers custom AI goals (Panic, Sleep, HuntLight, DiveBomb) into goalSelector.
BatMixinnet.minecraft.world.entity.ambient.BatcustomServerAiStep@At("HEAD")cancellable = true. Completely replaces vanilla flight calculation with BatFlightHelper forces and resting logic.
BatMixinnet.minecraft.world.entity.ambient.BatcheckBatSpawnRules@At("HEAD")cancellable = true. Validates surface nighttime spawning rules.
BatMixinnet.minecraft.world.entity.ambient.BataddAdditionalSaveData@At("TAIL")Writes betterbats:guano_ticks integer tag to ValueOutput.
BatMixinnet.minecraft.world.entity.ambient.BatreadAdditionalSaveData@At("TAIL")Reads betterbats:guano_ticks integer tag from ValueInput.
GameEventDispatcherMixinnet.minecraft.world.level.gameevent.vibrations.VibrationSystem$ListenerhandleGameEvent@At("HEAD")Notifies nearby bats of sprint/explosion vibrations.
NaturalSpawnerMixinnet.minecraft.world.level.NaturalSpawnerm_6419_@At("HEAD")Replaces vanilla bat spawn weights with bat_spawn_weight GameRule.

See also: Arsitektur & Struktur Paket | Profil Perilaku AI & Status

Official documentation & web portal for Dasik Igaijinn mods.