geforkt von Mirrors/Paper
Update to Minecraft 1.12.1
By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Ursprung
df8a6926fd
Commit
5727987ab3
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
<groupId>org.bukkit</groupId>
|
<groupId>org.bukkit</groupId>
|
||||||
<artifactId>bukkit</artifactId>
|
<artifactId>bukkit</artifactId>
|
||||||
<version>1.12-R0.1-SNAPSHOT</version>
|
<version>1.12.1-R0.1-SNAPSHOT</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<name>Bukkit</name>
|
<name>Bukkit</name>
|
||||||
@ -24,7 +24,6 @@
|
|||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<!-- just until we get deployment to central approved -->
|
|
||||||
<distributionManagement>
|
<distributionManagement>
|
||||||
<repository>
|
<repository>
|
||||||
<id>spigotmc-releases</id>
|
<id>spigotmc-releases</id>
|
||||||
@ -36,7 +35,13 @@
|
|||||||
</snapshotRepository>
|
</snapshotRepository>
|
||||||
</distributionManagement>
|
</distributionManagement>
|
||||||
|
|
||||||
<!-- required until fixed plexus-compiler-eclipse is deployed -->
|
<repositories>
|
||||||
|
<repository>
|
||||||
|
<id>spigotmc-public</id>
|
||||||
|
<url>https://hub.spigotmc.org/nexus/content/groups/public/</url>
|
||||||
|
</repository>
|
||||||
|
</repositories>
|
||||||
|
|
||||||
<pluginRepositories>
|
<pluginRepositories>
|
||||||
<pluginRepository>
|
<pluginRepository>
|
||||||
<id>spigotmc-public</id>
|
<id>spigotmc-public</id>
|
||||||
|
@ -57,19 +57,6 @@ public interface LivingEntity extends Attributable, Entity, Damageable, Projecti
|
|||||||
*/
|
*/
|
||||||
public List<Block> getLineOfSight(Set<Material> transparent, int maxDistance);
|
public List<Block> getLineOfSight(Set<Material> 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<Byte> transparent, int maxDistance);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the block that the living entity has targeted.
|
* 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<Material> transparent, int maxDistance);
|
public Block getTargetBlock(Set<Material> transparent, int maxDistance);
|
||||||
|
|
||||||
/**
|
|
||||||
* Gets the last two blocks along the living entity's line of sight.
|
|
||||||
* <p>
|
|
||||||
* 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<Block> getLastTwoTargetBlocks(HashSet<Byte> transparent, int maxDistance);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the last two blocks along the living entity's line of sight.
|
* Gets the last two blocks along the living entity's line of sight.
|
||||||
* <p>
|
* <p>
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren