Home›Java›Mods›RoboBee Fix
RoboBee Fix
ModsJava

RoboBee Fix

Java mod listed for Minecraft 1.20. Downloads from the MC Java Mods app on Android.

by TheDarkAce · on CurseForge

Silently fixes the "Pose stack not empty" crash in Create: Mobile Packages v0.6.0 when a RoboBee carries a package with no rigging model.

⬇ Download on CurseForge

The author built this one for Minecraft 1.20.1 on Forge. On other versions it may install and then do nothing.

RoboBee Fix

Fixes the Pose stack not empty crash caused by Create: Mobile Packages.


What's happening?

If a RoboBee is carrying a package whose rigging model isn't registered — for example, a package from a mod that Create: Mobile Packages doesn't have a rigging asset for — the game crashes the moment that bee appears on screen. Every time, without fail.


What causes it?

A bug in DroneEntityRenderer in Create: Mobile Packages 0.6.0:

poseStack.pushPose();   // always called

PartialModel partialModel = AllPartialModels.PACKAGE_RIGGING.get(modelKey);
if (partialModel != null) {
    // render rigging...
    poseStack.popPose(); // only called if the model exists!
}
// if partialModel is null: the push leaks every frame → crash

When partialModel is null, popPose() is never called. The PoseStack gains one unbalanced entry per render frame until Minecraft throws Pose stack not empty and crashes.


How does this fix it?

A Mixin patches DroneEntityRenderer.render() at runtime, tracking whether pushPose() was called without a matching popPose(). If the method returns with an unbalanced stack, it calls popPose() automatically — silently keeping everything in order.

Every 5 minutes a status line appears in the log so you can confirm the patch is active:

[RoboBee Fix] Status: 42 pose leaks corrected in the last 5 minutes

Notes


Created because nobody should lose their RoboBees to a null pointer.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

File checked by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more