From 95e18382f610dc6456e9b25a3aa12f268d7d530f Mon Sep 17 00:00:00 2001 From: yurisuika Date: Mon, 28 Aug 2023 17:09:03 -0700 Subject: [PATCH] pathfinding favor --- .../yurisuika/blossom/mixin/entity/passive/BeeEntityMixin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/dev/yurisuika/blossom/mixin/entity/passive/BeeEntityMixin.java b/src/main/java/dev/yurisuika/blossom/mixin/entity/passive/BeeEntityMixin.java index 87ad5835..10fc37f5 100644 --- a/src/main/java/dev/yurisuika/blossom/mixin/entity/passive/BeeEntityMixin.java +++ b/src/main/java/dev/yurisuika/blossom/mixin/entity/passive/BeeEntityMixin.java @@ -21,7 +21,7 @@ public abstract class BeeEntityMixin { @Inject(method = "getPathfindingFavor", at = @At("HEAD"), cancellable = true) private void injectGetPathfindingFavor(BlockPos pos, WorldView world, CallbackInfoReturnable cir) { if (world.getBlockState(pos).getBlock() instanceof LeavesBlock) { - cir.setReturnValue(0.0F); + cir.setReturnValue(2.0F); } }