Begin implementation of CheckStyle style checking
By: md_5 <git@md-5.net>
This commit is contained in:
@@ -241,7 +241,7 @@ public interface Block extends Metadatable {
|
||||
/**
|
||||
* Gets the face relation of this block compared to the given block.
|
||||
* <p>
|
||||
* For example:
|
||||
* For example:
|
||||
* <pre>{@code
|
||||
* Block current = world.getBlockAt(100, 100, 100);
|
||||
* Block target = world.getBlockAt(100, 101, 100);
|
||||
|
||||
@@ -14,7 +14,7 @@ public interface Dropper extends Container, Lootable {
|
||||
* Normal behavior of a dropper is as follows:
|
||||
* <p>
|
||||
* If the block that the dropper is facing is an InventoryHolder,
|
||||
* the randomly selected ItemStack is placed within that
|
||||
* the randomly selected ItemStack is placed within that
|
||||
* Inventory in the first slot that's available, starting with 0 and
|
||||
* counting up. If the inventory is full, nothing happens.
|
||||
* <p>
|
||||
@@ -24,7 +24,7 @@ public interface Dropper extends Container, Lootable {
|
||||
* <p>
|
||||
* If the block represented by this state is no longer a dropper, this will
|
||||
* do nothing.
|
||||
*
|
||||
*
|
||||
* @throws IllegalStateException if this block state is not placed
|
||||
*/
|
||||
public void drop();
|
||||
|
||||
@@ -9,11 +9,11 @@ import org.jetbrains.annotations.Nullable;
|
||||
public interface EndGateway extends BlockState {
|
||||
|
||||
/**
|
||||
* Gets the location that entities are teleported to when
|
||||
* Gets the location that entities are teleported to when
|
||||
* entering the gateway portal.
|
||||
* <p>
|
||||
* If this block state is not placed the location's world will be null.
|
||||
*
|
||||
*
|
||||
* @return the gateway exit location
|
||||
*/
|
||||
@Nullable
|
||||
@@ -24,7 +24,7 @@ public interface EndGateway extends BlockState {
|
||||
* they enter the gateway portal.
|
||||
* <p>
|
||||
* If this block state is not placed the location's world has to be null.
|
||||
*
|
||||
*
|
||||
* @param location the new exit location
|
||||
* @throws IllegalArgumentException for differing worlds
|
||||
*/
|
||||
@@ -33,7 +33,7 @@ public interface EndGateway extends BlockState {
|
||||
/**
|
||||
* Gets whether this gateway will teleport entities directly to
|
||||
* the exit location instead of finding a nearby location.
|
||||
*
|
||||
*
|
||||
* @return true if the gateway is teleporting to the exact location
|
||||
*/
|
||||
boolean isExactTeleport();
|
||||
@@ -41,7 +41,7 @@ public interface EndGateway extends BlockState {
|
||||
/**
|
||||
* Sets whether this gateway will teleport entities directly to
|
||||
* the exit location instead of finding a nearby location.
|
||||
*
|
||||
*
|
||||
* @param exact whether to teleport to the exact location
|
||||
*/
|
||||
void setExactTeleport(boolean exact);
|
||||
|
||||
Reference in New Issue
Block a user