Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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. #792

Closed
ISNing opened this issue Jul 15, 2023 · 1 comment
Labels

Comments

@ISNing
Copy link

ISNing commented Jul 15, 2023

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)

@ISNing ISNing added the bug label Jul 15, 2023
@Harleyoc1
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants