mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 19:49:35 +01:00
Add PistonMoveReaction getters for Entity
By: md_5 <git@md-5.net>
This commit is contained in:
parent
8170574f83
commit
018aeb1c85
1 changed files with 8 additions and 0 deletions
|
@ -12,6 +12,7 @@ import org.bukkit.util.Vector;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
|
import org.bukkit.block.PistonMoveReaction;
|
||||||
import org.bukkit.command.CommandSender;
|
import org.bukkit.command.CommandSender;
|
||||||
import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;
|
import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;
|
||||||
|
|
||||||
|
@ -468,4 +469,11 @@ public interface Entity extends Metadatable, CommandSender, Nameable {
|
||||||
* @return true if the tag was successfully removed
|
* @return true if the tag was successfully removed
|
||||||
*/
|
*/
|
||||||
boolean removeScoreboardTag(String tag);
|
boolean removeScoreboardTag(String tag);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the reaction of the entity when moved by a piston.
|
||||||
|
*
|
||||||
|
* @return reaction
|
||||||
|
*/
|
||||||
|
PistonMoveReaction getPistonMoveReaction();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue