mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-23 00:03:48 -07:00
@@ -103,6 +103,10 @@ public class EntityTransformEvent extends EntityEvent implements Cancellable {
|
||||
/**
|
||||
* When a slime splits into multiple smaller slimes.
|
||||
*/
|
||||
SPLIT
|
||||
SPLIT,
|
||||
/**
|
||||
* When reason is unknown.
|
||||
*/
|
||||
UNKNOWN
|
||||
}
|
||||
}
|
||||
|
@@ -38,7 +38,9 @@ public class PlayerPortalEvent extends PlayerTeleportEvent {
|
||||
*
|
||||
* @param searchRadius the radius in which to search for a portal from the
|
||||
* location
|
||||
* @deprecated not currently functional
|
||||
*/
|
||||
@Deprecated
|
||||
public void setSearchRadius(int searchRadius) {
|
||||
this.getSearchRadius = searchRadius;
|
||||
}
|
||||
@@ -68,7 +70,9 @@ public class PlayerPortalEvent extends PlayerTeleportEvent {
|
||||
*
|
||||
* @param canCreatePortal Sets whether there should be a destination portal
|
||||
* created
|
||||
* @deprecated not currently functional
|
||||
*/
|
||||
@Deprecated
|
||||
public void setCanCreatePortal(boolean canCreatePortal) {
|
||||
this.canCreatePortal = canCreatePortal;
|
||||
}
|
||||
@@ -85,7 +89,9 @@ public class PlayerPortalEvent extends PlayerTeleportEvent {
|
||||
*
|
||||
* @param creationRadius the radius in which to create a portal from the
|
||||
* location
|
||||
* @deprecated not currently functional
|
||||
*/
|
||||
@Deprecated
|
||||
public void setCreationRadius(int creationRadius) {
|
||||
this.creationRadius = creationRadius;
|
||||
}
|
||||
|
Reference in New Issue
Block a user