From 6ac3f86f2ed8c1e75aac9a820687576c9a7fecab Mon Sep 17 00:00:00 2001 From: ByMartrixX <47987888+ByMartrixx@users.noreply.github.com> Date: Mon, 7 Jun 2021 09:40:36 -0400 Subject: [PATCH] Map some BeeEntity constants (#2462) * Map some BeeEntity constants * Fix typo * Make difficulty the prefix in fields 30289 and 30290 * Rename fields 30291 and 30293 * Apply suggestions from code review Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com> --- mappings/net/minecraft/entity/passive/BeeEntity.mapping | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/mappings/net/minecraft/entity/passive/BeeEntity.mapping b/mappings/net/minecraft/entity/passive/BeeEntity.mapping index f447786b08..ae21a6e587 100644 --- a/mappings/net/minecraft/entity/passive/BeeEntity.mapping +++ b/mappings/net/minecraft/entity/passive/BeeEntity.mapping @@ -31,6 +31,13 @@ CLASS net/minecraft/class_4466 net/minecraft/entity/passive/BeeEntity COMMENT A bee will start moving to a flower once this time in ticks has passed from a pollination. FIELD field_30286 POLLINATION_FAIL_TICKS I COMMENT The duration in ticks when a bee's pollination is considered failed. + FIELD field_30288 MAX_POLLINATED_CROPS I + FIELD field_30289 NORMAL_DIFFICULTY_STING_POISON_DURATION I + FIELD field_30290 HARD_DIFFICULTY_STING_POISON_DURATION I + FIELD field_30291 TOO_FAR_DISTANCE I + COMMENT The minimum distance that bees lose their hive or flower position at. + FIELD field_30293 MIN_HIVE_RETURN_DISTANCE I + COMMENT The minimum distance that bees will immediately return to their hive at. METHOD method_21769 addParticle (Lnet/minecraft/class_1937;DDDDDLnet/minecraft/class_2394;)V ARG 1 world ARG 2 lastX