AdventureZ references internal Iris interfaces
coderbot16 opened this issue ยท 3 comments
I tried to use it with IrisApi.getInstance().isShaderPackInUse() but it always return just true, thats why I used the internal stuff instead. Does it have any draw backs?
https://github.com/Globox1997/AdventureZ/blob/1.18/src/main/java/net/adventurez/entity/render/feature/layer/ExtraRenderLayer.java
I believe that the method was broken in 1.2.0, but it should be fixed as of 1.2.1. You can mark your mod as incompatible with 1.2.0 and below to ensure you get the correct behavior.
Other than that, the working versions of Iris should behave the exact same as the internal methods, with the difference that the API is guaranteed to stay stable from version to version, while we often refactor around the internal classes from time to time.
Alright, used api instead :)
310de51