Got `java.lang.IllegalArgumentException: Cannot get property EnumProperty{name=coredir, clazz=class com.ferreusveritas.dynamictrees.util.CoordUtils$Surround, values=[N, NW, W, SW, S, SE, E, NE]} as it does not exist in Block{minecraft:deepslate}` when calling `state.getDestroySpeed` of a `BlockWithDynamicHardness$DynamicHardnessBlockState` object.
ISNing opened this issue ยท 1 comments
Minecraft Version: 1.19.2
Describe the bug
Got java.lang.IllegalArgumentException: Cannot get property EnumProperty{name=coredir, clazz=class com.ferreusveritas.dynamictrees.util.CoordUtils$Surround, values=[N, NW, W, SW, S, SE, E, NE]} as it does not exist in Block{minecraft:deepslate}
when calling state.getDestroySpeed
of a BlockWithDynamicHardness$DynamicHardnessBlockState
object.
Log is here: https://paste.myself5.de/vexayixeqa.md
To Reproduce
Install Weather2 and DynamicTrees mod onto server and generate a storm near a tree(Maybe?) by /weather2 summon tornado_f4
Rendering Glitches
Weather2
But this seems to be not related to rendering, because this is an server-side error
- Are you running the latest version of Dynamic Trees? 1.1.0-BETA3 for 1.19.2
- If you are using the DT Biome O' Plenty Add-on do you have the latest version? Yes, I ported it by myself
Mods List
What version of Forge are you running? 1.19.2-43.2.17
BOP version: 17.1.1.162
Weather2(Ported to 1.19.2 by myself: Corosauce/weather2#583)
DynamicTrees-BOP(Ported by myself: DynamicTreesTeam/DynamicTrees-BOP#101)
DynamicTrees-Quark(Ported by myself: DynamicTreesTeam/DynamicTrees-Quark#7)
This is the line causing issue (part of Weather 2). The hardness of DT branches is position/state dependent and it is passing the zero BlockPos.