From 5eaefeba3de60990e4b318d5fb0c04e8caf931bf Mon Sep 17 00:00:00 2001 From: Nikita Skobelevs <34107736+nskobelevs@users.noreply.github.com> Date: Sun, 2 Aug 2020 09:36:19 +0100 Subject: [PATCH] Corrected EyeOfEnderEntity mappings & comment (#1576) * Add some ProjectileEntity field names (#1507) * Add some ProjectileEntity field names * Fix my syntax mistakes * ServerWorld: add weather and time mappings (#1570) (#1572) * ServerWorld: add weather and time mappings * ServerWorldProperties: set time methods * Corrected EyeOfEnderEntity mappings * Changed wording per suggestion Signed-off-by: Nikita Skobelevs Co-authored-by: jakbyte Co-authored-by: Filip Weiss Co-authored-by: modmuss50 --- .../net/minecraft/entity/EyeOfEnderEntity.mapping | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/mappings/net/minecraft/entity/EyeOfEnderEntity.mapping b/mappings/net/minecraft/entity/EyeOfEnderEntity.mapping index 1773757237..16c7b73881 100644 --- a/mappings/net/minecraft/entity/EyeOfEnderEntity.mapping +++ b/mappings/net/minecraft/entity/EyeOfEnderEntity.mapping @@ -1,9 +1,9 @@ CLASS net/minecraft/class_1672 net/minecraft/entity/EyeOfEnderEntity FIELD field_17080 ITEM Lnet/minecraft/class_2940; - FIELD field_7617 velocityZ D - FIELD field_7618 velocityY D - FIELD field_7619 velocityX D - FIELD field_7620 useCount I + FIELD field_7617 targetZ D + FIELD field_7618 targetY D + FIELD field_7619 targetX D + FIELD field_7620 lifespan I FIELD field_7621 dropsItem Z METHOD (Lnet/minecraft/class_1937;DDD)V ARG 1 world @@ -15,5 +15,9 @@ CLASS net/minecraft/class_1672 net/minecraft/entity/EyeOfEnderEntity METHOD method_16934 (Lnet/minecraft/class_1799;)V ARG 0 stack METHOD method_16935 getTrackedItem ()Lnet/minecraft/class_1799; - METHOD method_7478 moveTowards (Lnet/minecraft/class_2338;)V + METHOD method_7478 initTargetPos (Lnet/minecraft/class_2338;)V + COMMENT Sets where the eye will fly towards. + COMMENT If close enough, it will fly directly towards it, otherwise, it will fly upwards, in the direction of the BlockPos. + COMMENT + COMMENT @param pos the block the eye of ender is drawn towards ARG 1 pos