diff --git a/paper-api/src/main/java/org/bukkit/entity/Vehicle.java b/paper-api/src/main/java/org/bukkit/entity/Vehicle.java index 6cad4be345..98435c6353 100644 --- a/paper-api/src/main/java/org/bukkit/entity/Vehicle.java +++ b/paper-api/src/main/java/org/bukkit/entity/Vehicle.java @@ -1,24 +1,24 @@ -package org.bukkit.entity; - -import org.bukkit.util.Vector; - -/** - * Represents a vehicle entity. - * - * @author sk89q - */ -public interface Vehicle extends Entity { - /** - * Gets the vehicle's velocity. - * - * @return velocity vector - */ - public Vector getVelocity(); - - /** - * Sets the vehicle's velocity. - * - * @param vel velocity vector - */ - public void setVelocity(Vector vel); -} +package org.bukkit.entity; + +import org.bukkit.util.Vector; + +/** + * Represents a vehicle entity. + * + * @author sk89q + */ +public interface Vehicle extends Entity { + /** + * Gets the vehicle's velocity. + * + * @return velocity vector + */ + public Vector getVelocity(); + + /** + * Sets the vehicle's velocity. + * + * @param vel velocity vector + */ + public void setVelocity(Vector vel); +} diff --git a/paper-api/src/main/java/org/bukkit/event/player/PlayerBucketFillEvent.java b/paper-api/src/main/java/org/bukkit/event/player/PlayerBucketFillEvent.java index a14244529e..5002ca8d9e 100644 --- a/paper-api/src/main/java/org/bukkit/event/player/PlayerBucketFillEvent.java +++ b/paper-api/src/main/java/org/bukkit/event/player/PlayerBucketFillEvent.java @@ -1,51 +1,51 @@ -package org.bukkit.event.player; - -import org.bukkit.Material; -import org.bukkit.block.Block; -import org.bukkit.block.BlockFace; -import org.bukkit.entity.Player; -import org.bukkit.inventory.ItemStack; - -public class PlayerBucketFillEvent extends PlayerEvent { - ItemStack itemStack; - boolean cancelled = false; - Block blockClicked; - BlockFace blockFace; - Material bucket; - - public PlayerBucketFillEvent(Player who, Block blockClicked, BlockFace blockFace, Material bucket, ItemStack itemInHand) { - super(Type.PLAYER_BUCKET_FILL, who); - this.blockClicked = blockClicked; - this.blockFace = blockFace; - this.itemStack = itemInHand; - this.bucket = bucket; - } - - public Material getBucket() { - return bucket; - } - - public ItemStack getItemStack() { - return itemStack; - } - - public Block getBlockClicked() { - return blockClicked; - } - - public BlockFace getBlockFace() { - return blockFace; - } - - public void setItemStack(ItemStack itemStack) { - this.itemStack = itemStack; - } - - public boolean isCancelled() { - return cancelled; - } - - public void setCancelled(boolean cancel) { - this.cancelled = cancel; - } -} +package org.bukkit.event.player; + +import org.bukkit.Material; +import org.bukkit.block.Block; +import org.bukkit.block.BlockFace; +import org.bukkit.entity.Player; +import org.bukkit.inventory.ItemStack; + +public class PlayerBucketFillEvent extends PlayerEvent { + ItemStack itemStack; + boolean cancelled = false; + Block blockClicked; + BlockFace blockFace; + Material bucket; + + public PlayerBucketFillEvent(Player who, Block blockClicked, BlockFace blockFace, Material bucket, ItemStack itemInHand) { + super(Type.PLAYER_BUCKET_FILL, who); + this.blockClicked = blockClicked; + this.blockFace = blockFace; + this.itemStack = itemInHand; + this.bucket = bucket; + } + + public Material getBucket() { + return bucket; + } + + public ItemStack getItemStack() { + return itemStack; + } + + public Block getBlockClicked() { + return blockClicked; + } + + public BlockFace getBlockFace() { + return blockFace; + } + + public void setItemStack(ItemStack itemStack) { + this.itemStack = itemStack; + } + + public boolean isCancelled() { + return cancelled; + } + + public void setCancelled(boolean cancel) { + this.cancelled = cancel; + } +}