[Feature Request] Clock and Compass randomness
Disketaa opened this issue ยท 8 comments
Make clock and compass random in EMI index tab when player in survival mode
(To make a reason to craft them instead of view just in tab)
The mod in question is likely Embeddium/Rubidium. Having this loaded alongside EMI causes this issue. This does not occur with JEI+Embeddium/Rubidium, however.
This is not the behavior of vanilla. You have a mod that is making the compass and clock do this.
@emilyploszaj The overload of DrawContext#drawItem
that you call here:
passes the client player & world to the compass model, which allows it to resolve the angle. I think if you want to prevent this behavior you need to use drawItemWithoutEntity
instead. I'm not sure why this is not an issue without a Sodium-like mod installed; do you use a different rendering path for vanilla?
It seems like it doesn't occur in vanilla because of the batched renderer, which has to be disabled because of sodium crashing custom vertex writers or something back in the back. This is something EMI will have to resolve and it shouldn't be that bad given the context from embeddedt, thanks for looking into it.
Custom vertex writers should be fine as of Sodium 0.5.4; all of the fallback solutions from Embeddium have made their way upstream. That is only usable on 1.20.2+ though.