mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-24 18:09:41 -05:00
General cleanup (deprecated+whitespace)
By: Erik Broes <erikbroes@grum.nl>
This commit is contained in:
1 parent
b01fc3ffa8
commit
474817bf11
27 files changed
+224
-244
No files matched your search
@@ -24,7 +24,7 @@ public interface HumanEntity extends LivingEntity {
|
||||
|
||||
/**
|
||||
* Returns the ItemStack currently in your hand, can be empty.
|
||||
*
|
||||
*
|
||||
* @return The ItemStack of the item you are currently holding.
|
||||
*/
|
||||
public ItemStack getItemInHand();
|
||||
@@ -32,17 +32,17 @@ public interface HumanEntity extends LivingEntity {
|
||||
/**
|
||||
* Sets the item to the given ItemStack, this will replace whatever the
|
||||
* user was holding.
|
||||
*
|
||||
*
|
||||
* @param item The ItemStack which will end up in the hand
|
||||
* @return
|
||||
* @return
|
||||
*/
|
||||
public void setItemInHand(ItemStack item);
|
||||
|
||||
/**
|
||||
* Changes the item in hand to another of your 'action slots'.
|
||||
*
|
||||
*
|
||||
* @param index The new index to use, only valid ones are 0-8.
|
||||
*
|
||||
*
|
||||
public void selectItemInHand( int index );
|
||||
*/
|
||||
}
|
||||
Reference in new issue
Block a user