Friction API
This commit is contained in:
@@ -8,7 +8,7 @@ import org.jetbrains.annotations.Nullable;
|
||||
/**
|
||||
* Represents a dropped item.
|
||||
*/
|
||||
public interface Item extends Entity {
|
||||
public interface Item extends Entity, io.papermc.paper.entity.Frictional { // Paper
|
||||
|
||||
/**
|
||||
* Gets the item stack associated with this item drop.
|
||||
|
||||
@@ -27,7 +27,7 @@ import org.jetbrains.annotations.Nullable;
|
||||
/**
|
||||
* Represents a living entity, such as a monster or player
|
||||
*/
|
||||
public interface LivingEntity extends Attributable, Damageable, ProjectileSource {
|
||||
public interface LivingEntity extends Attributable, Damageable, ProjectileSource, io.papermc.paper.entity.Frictional { // Paper
|
||||
|
||||
/**
|
||||
* Gets the height of the living entity's eyes above its Location.
|
||||
|
||||
@@ -11,7 +11,7 @@ import org.jetbrains.annotations.Nullable;
|
||||
/**
|
||||
* Represents a minecart entity.
|
||||
*/
|
||||
public interface Minecart extends Vehicle {
|
||||
public interface Minecart extends Vehicle, io.papermc.paper.entity.Frictional { // Paper
|
||||
|
||||
/**
|
||||
* Sets a minecart's damage.
|
||||
|
||||
Reference in New Issue
Block a user