Open XenonsEU opened 2 years ago
Can confirm.
Same here!
This still needs to be fixed and is really bothering me personally
arguably this is solved for two reasons
age of %block%
and compare against maximum age of %block%
fully grown wheat plant
it's as simple as wheat[age=7]
While the core issue might not be fixed blockdata should be the suggested fix especially with 1.13 being the lowest supported version now. I honestly don't see any way for skript to fix this especially when we're labeling it as an aliases tag when the issue is ItemType/ItemData class likely nothing to do with the skript-aliases submodule.
The only solution I can think of is adding a proper method to get block data from itemtype and doing a comparator for itemtype and block relying on blockdata.
arguably this is solved for two reasons
- you can use
age of %block%
and compare againstmaximum age of %block%
- using block data comparison speaking you already type
fully grown wheat plant
it's as simple aswheat[age=7]
While the core issue might not be fixed blockdata should be the suggested fix especially with 1.13 being the lowest supported version now. I honestly don't see any way for skript to fix this especially when we're labeling it as an aliases tag when the issue is ItemType/ItemData class likely nothing to do with the skript-aliases submodule.
The only solution I can think of is adding a proper method to get block data from itemtype and doing a comparator for itemtype and block relying on blockdata.
Thanks a lot! Unfortunately I couldn't find any documentation on using the age parameter / wheat[age=7]
for example. That fixed it for me. Thanks again!
Skript/Server Version
Bug Description
detecting fully grown weath plant or ripe wheat plant with loop also considers newly planted ones as well for some reason
Expected Behavior
it should look only for fully grown plants and not new ones
Steps to Reproduce
Errors or Screenshots
No response
Other
No response
Agreement