From a500b8f91b7050a60d2ae00da41189bf6b46d7a4 Mon Sep 17 00:00:00 2001 From: Estecka Date: Sat, 28 Dec 2024 06:58:49 +0100 Subject: [PATCH] Fix/Refactor `VillagerEntity.canBreed` and `wantsToStartBreeding` (#4065) * Fix canBreed, refactor wantsToStartBreeding * lacksFood -> canEatFood --- .../net/minecraft/entity/passive/VillagerEntity.mapping | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mappings/net/minecraft/entity/passive/VillagerEntity.mapping b/mappings/net/minecraft/entity/passive/VillagerEntity.mapping index db032cda66..1a82d15605 100644 --- a/mappings/net/minecraft/entity/passive/VillagerEntity.mapping +++ b/mappings/net/minecraft/entity/passive/VillagerEntity.mapping @@ -77,7 +77,7 @@ CLASS net/minecraft/class_1646 net/minecraft/entity/passive/VillagerEntity ARG 2 villager METHOD method_20696 decayGossip ()V METHOD method_20697 eatForBreeding ()V - METHOD method_20698 lacksFood ()Z + METHOD method_20698 canEatFood ()Z METHOD method_20699 (Lnet/minecraft/class_3218;Lnet/minecraft/class_1297;Lnet/minecraft/class_1309;)V ARG 2 observer METHOD method_20741 hasRecentlySlept (J)Z @@ -109,5 +109,5 @@ CLASS net/minecraft/class_1646 net/minecraft/entity/passive/VillagerEntity ARG 2 lastSlept METHOD method_63666 (Lnet/minecraft/class_3218;Lnet/minecraft/class_1640;)V ARG 2 witch - METHOD method_7234 wantsToStartBreeding ()Z - METHOD method_7239 canBreed ()Z + METHOD method_7234 canShareFoodForBreeding ()Z + METHOD method_7239 needsFoodForBreeding ()Z