Comments (8)
Hm...
java.lang.IllegalArgumentException: Cannot get property PropertyInteger{name=age, clazz=class java.lang.Integer, values=[0, 1, 2, 3, 4, 5, 6, 7]} as it does not exist in BlockStateContainer{block=harvestcraft:pamparsnipcrop, properties=[age]}
block=harvestcraft:pamparsnipcrop <- that seems to be the block that causes Gentle Harvest to stumble, by unexpectedly not having an age property despite being a crop.
So the key person to talk to would be the maker of HarvestCraft. What we could do here, however, is add a bit of hardening, so it doesn't outright fall over when encountering such a thing.
Maybe surround int age = blockState.getValue(property);
in Event_Listener.java line 125 with ...um, why is that crashing anyway? Just because the property doesn't exist doesn't mean that Minecraft has to explode. Just return 0 or some other default. Someone coded it to be like this. o_O
Either way, a try/catch would solve that on our end. Catch and just not touch the block if it has no age, since it probably doesn't want to be messed with.
from minecraft-gentleharvest.
The crashes started when i powered up a IF Plant Interactor
from minecraft-gentleharvest.
@Moobien yep, thats cus of what he said, block=harvestcraft:pamparsnipcrop is not made correctly / made different, which causes what we do, which ShOuLdNt break, break. so now I need to update it just cus one mod can do things correctly :P.
from minecraft-gentleharvest.
ill work on this when i get the time. for now i suggest u remove that crop.
from minecraft-gentleharvest.
Ok :)
from minecraft-gentleharvest.
To the OP;
I have encountered this issue also; I had fixed it by checking out what mods were installed- turns out I installed SimpleHarvest + GentleHarvest and that was conflicting against each other.
Hope this helps.
from minecraft-gentleharvest.
After reviewing this further, the same issue encounters with ChocoCraft 3.
I hope the developer finds a fix.
from minecraft-gentleharvest.
Fixed in #4
from minecraft-gentleharvest.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from minecraft-gentleharvest.