Closed HaXrDEV closed 11 months ago
Errors that start with "Some Errors occurred during planting this item:" means something not good has happened, but the mod Saplanting had catched these errors and deal with it with specific procedures(mentioned below). Which means if this error is not bringing troubles to you, it's OK to just ignore the error.
Anyway, since a detailed traceback is provided, I'll try to explain the error.
Interface cool.muyucloud.saplanting.mixin.SaplingGeneratorAccessor
is a Mixin-class used to provide access to some information about a sapling.
In your case, method getTreeFeature
is used to figure out what kind of shape the sapling(s) need to be placed so that the sapling(s) can grow (For example, dark-oak saplings cannot grow unless they're placed in shape of 2x2).
Additionally, this method relies on a class member treeFeature
maintained by class SaplingBlock
, which used to tell Minecraft some properties of a conversion from a sapling to a tree (like conditions to grow a tree, what kind of tree to grow). If this member is null, the Mixin class will throw an exception which cannot be expected until the mod invoke this method.
I've also experienced the mod Better End in some mod packs I like. I'd experienced these errors so I've checked the source code and found some reasons why some modders(not to any specific modder) didn't implement the member.
null
because the mod they make is incomplete and haven't included a tree feature to tell Minecraft what kind of tree to grow, which would also be unable to tell the mod Saplanting how many saplings is required.However, mod Saplanting has a universal procedures to deal with all kinds of exceptions occurring when try to plant a sapling.
containsError
. All the instances with this mark will be excluded from planting. But any form of regeneration will remove the mark. (And of course, an exception and some info will be printed in log)
Error: https://mclo.gs/gCm3kld
saplanting-fabric-1.18.2-1.2.4 better-end-1.1.1 Fabric loader 0.14.21