Bee Productive

Bee Productive

20.8k Downloads

class not found BeeEntity$PollinateGoal

lorilith opened this issue ยท 2 comments

commented

MC version: 1.15.2
Fabric version: 0.7.6+build.1.7.9 (also tested 0.7.8+1.8.4)
Fabric API version: 0.4.32+build.292
Mods:

  • Fabric API
  • BeeProductive 1.0.2+1.15.1 (listed as 1.15.2 compatible on curseforge)

receiving the following error during game launch.

[00:41:51] [main/WARN]: Error loading class: net/minecraft/entity/passive/BeeEntity$PollinateGoal (java.lang.ClassNotFoundException: net/minecraft/entity/passive/BeeEntity$PollinateGoal)

[00:41:51] [main/WARN]: @Mixin target net.minecraft.entity.passive.BeeEntity$PollinateGoal was not found mixins.beeproductive.json:MixinBeeEntity$MixinPollinateGoal

commented

maybe i am wrong but...
@Inject(method = "Lnet/minecraft/entity/passive/BeeEntity$PollinateGoal;stop()V", at = @At("HEAD")) this says to inject into the stop method inside the PollinateGoal class, that is contained within the BeeEntity class?
if so, i dont see a "stop" method in yarn, but i do see a "cancel" method. Am i missing something or misunderstanding?

also, for the above, what about referencing class_4478 instead?

commented

Ling's PR seems to fix it