From 5727987ab3d4c454fd40c8f871800f15fe0cd620 Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Thu, 3 Aug 2017 23:00:00 +1000 Subject: [PATCH] Update to Minecraft 1.12.1 By: md_5 --- paper-api/pom.xml | 11 +++++-- .../java/org/bukkit/entity/LivingEntity.java | 29 ------------------- 2 files changed, 8 insertions(+), 32 deletions(-) diff --git a/paper-api/pom.xml b/paper-api/pom.xml index 5e29b43b40..8be63a9086 100644 --- a/paper-api/pom.xml +++ b/paper-api/pom.xml @@ -11,7 +11,7 @@ org.bukkit bukkit - 1.12-R0.1-SNAPSHOT + 1.12.1-R0.1-SNAPSHOT jar Bukkit @@ -24,7 +24,6 @@ UTF-8 - spigotmc-releases @@ -36,7 +35,13 @@ - + + + spigotmc-public + https://hub.spigotmc.org/nexus/content/groups/public/ + + + spigotmc-public diff --git a/paper-api/src/main/java/org/bukkit/entity/LivingEntity.java b/paper-api/src/main/java/org/bukkit/entity/LivingEntity.java index fc41a43d73..5a30fa9317 100644 --- a/paper-api/src/main/java/org/bukkit/entity/LivingEntity.java +++ b/paper-api/src/main/java/org/bukkit/entity/LivingEntity.java @@ -57,19 +57,6 @@ public interface LivingEntity extends Attributable, Entity, Damageable, Projecti */ public List getLineOfSight(Set transparent, int maxDistance); - /** - * Gets the block that the living entity has targeted. - * - * @param transparent HashSet containing all transparent block IDs (set to - * null for only air) - * @param maxDistance this is the maximum distance to scan (may be limited - * by server by at least 100 blocks, no less) - * @return block that the living entity has targeted - * @deprecated Magic value - */ - @Deprecated - public Block getTargetBlock(HashSet transparent, int maxDistance); - /** * Gets the block that the living entity has targeted. * @@ -81,22 +68,6 @@ public interface LivingEntity extends Attributable, Entity, Damageable, Projecti */ public Block getTargetBlock(Set transparent, int maxDistance); - /** - * Gets the last two blocks along the living entity's line of sight. - *

- * The target block will be the last block in the list. - * - * @param transparent HashSet containing all transparent block IDs (set to - * null for only air) - * @param maxDistance this is the maximum distance to scan. This may be - * further limited by the server, but never to less than 100 blocks - * @return list containing the last 2 blocks along the living entity's - * line of sight - * @deprecated Magic value - */ - @Deprecated - public List getLastTwoTargetBlocks(HashSet transparent, int maxDistance); - /** * Gets the last two blocks along the living entity's line of sight. *