OmniOcular
OmniOcular copied to clipboard
internal function doesn't work in Java19
i use this version https://www.curseforge.com/minecraft/mc-mods/omni-ocular/files/4475975 in GTNH with JDK19, but any use of internal function like name, fluidName doesn't work . it shows nothing and makes lines disappeared.
same problem
Example
<!--机器/大型机器:物品产物--> <line displayname="hud.msg.greg.output"> if(nbt['mActive']==1 && nbt['mID']!=1003 && nbt['mID']!=12730 && nbt['mID']!=12731){return YELLOW+nbt['mOutputItem0']['Count']+"个"+GREEN+name(nbt['mOutputItem0'])} if(nbt['mActive']==1 && nbt['mOutputItem0']['Damage']!=nbt['mOutputItem1']['Damage'] && nbt['mID']==12730 || nbt['mID']==12731){return YELLOW+nbt['mOutputItemsLength']/2+"个 "+GREEN+name(nbt['mOutputItem0'])} if(nbt['mActive']==1 && nbt['mID']==12730 || nbt['mID']==12731){return YELLOW+nbt['mOutputItemsLength']+"个 "+GREEN+name(nbt['mOutputItem0'])} </line>