-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Mod Version
3.1.3
Minecraft Version
1.20.1
Mod Loader
Forge (1.20.1 and older)
Mod Loader Version
Forge 47.4.16
Describe the bug
Giving an entity the Invisibility effect causes the game to hang on the frame before crashing to desktop.
Was observed since Azurelib v3.1.2, on both Linux and Windows systems, and was observed on both dedicated servers and singleplayer.
A crash log was printed:
crash-2026-03-01_14.37.25-client.txt
Suggesting that something in Azurelib's AzRendererPipelineContext class went wrong during an unsafe nullcheck via requireNonNull
In my own project, I'm writing a workaround that makes the affected entities immune to the invisibility effect.
To Reproduce
- Write any entity renderer using
AzEntityRenderer - Open the game and apply Invisibility tho the entity (either potions or commands)
- Client sided crash
Example renderer, entity shown in crash log:
public class GrapplerRender extends AzEntityRenderer<EntityGrappler> {
private static final EntityEnum id = EntityEnum.GRAPPLER;
public GrapplerRender(EntityRendererProvider.Context context) {
super(
AzEntityRendererConfig.<EntityGrappler>builder(((
(entity2) -> id.getModel())),
(entity2) -> id.getTextureVariants(entity2.getVariant()))
.setAnimatorProvider( () -> new EntityAnimationController<>(id) ).setScale(1.0f).setDeathMaxRotation(0).setShadowRadius(0.25f).build(),
context
);
}
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working