mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-17 05:15:12 +00:00
Large Cleanup to Code Imports and Formatting
This commit is contained in:
1 parent
64fe8794e7
commit
a6b4a131c8
65 files changed
+606
-409
No files matched your search
@@ -2,12 +2,23 @@ package noppes.npcs.api.entity;
|
||||
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.player.EntityPlayerMP;
|
||||
import noppes.npcs.api.*;
|
||||
import noppes.npcs.api.IBlock;
|
||||
import noppes.npcs.api.IContainer;
|
||||
import noppes.npcs.api.IPixelmonPlayerData;
|
||||
import noppes.npcs.api.IPos;
|
||||
import noppes.npcs.api.IScreenSize;
|
||||
import noppes.npcs.api.ITimers;
|
||||
import noppes.npcs.api.IWorld;
|
||||
import noppes.npcs.api.gui.ICustomGui;
|
||||
import noppes.npcs.api.handler.IActionManager;
|
||||
import noppes.npcs.api.handler.IOverlayHandler;
|
||||
import noppes.npcs.api.handler.IPlayerData;
|
||||
import noppes.npcs.api.handler.data.*;
|
||||
import noppes.npcs.api.handler.data.IAnimationData;
|
||||
import noppes.npcs.api.handler.data.IDialog;
|
||||
import noppes.npcs.api.handler.data.IMagicData;
|
||||
import noppes.npcs.api.handler.data.IPlayerAttributes;
|
||||
import noppes.npcs.api.handler.data.IQuest;
|
||||
import noppes.npcs.api.handler.data.ISound;
|
||||
import noppes.npcs.api.item.IItemStack;
|
||||
import noppes.npcs.api.overlay.ICustomOverlay;
|
||||
|
||||
@@ -313,8 +324,8 @@ public interface IPlayer<T extends EntityPlayerMP> extends IEntityLivingBase<T>,
|
||||
void setMode(int type);
|
||||
|
||||
/**
|
||||
* @since 1.7.10d
|
||||
* @return Returns an IItemStack array of size 36 representing the player's inventory.
|
||||
* @since 1.7.10d
|
||||
*/
|
||||
IItemStack[] getInventory();
|
||||
|
||||
@@ -327,11 +338,11 @@ public interface IPlayer<T extends EntityPlayerMP> extends IEntityLivingBase<T>,
|
||||
int inventoryItemCount(IItemStack item, boolean ignoreNBT, boolean ignoreDamage);
|
||||
|
||||
/**
|
||||
* @since 1.7.10c
|
||||
* @param id The item's name.
|
||||
* @param damage The damage value.
|
||||
* @param amount How many items will be removed.
|
||||
* @return True if the items were removed successfully, false if the amount exceeds what the player has or the item doesn't exist.
|
||||
* @since 1.7.10c
|
||||
*/
|
||||
boolean removeItem(String id, int damage, int amount);
|
||||
|
||||
@@ -353,19 +364,19 @@ public interface IPlayer<T extends EntityPlayerMP> extends IEntityLivingBase<T>,
|
||||
int removeAllItems(IItemStack item, boolean ignoreNBT, boolean ignoreDamage);
|
||||
|
||||
/**
|
||||
* @since 1.7.10c
|
||||
* @param item The item to be added.
|
||||
* @param amount The number of items to add.
|
||||
* @return True if the item was given successfully, false otherwise.
|
||||
* @since 1.7.10c
|
||||
*/
|
||||
boolean giveItem(IItemStack item, int amount);
|
||||
|
||||
/**
|
||||
* @since 1.7.10c
|
||||
* @param id The item's name.
|
||||
* @param damage The damage value.
|
||||
* @param amount The number of items to add.
|
||||
* @return True if the item was given successfully, false otherwise.
|
||||
* @since 1.7.10c
|
||||
*/
|
||||
boolean giveItem(String id, int damage, int amount);
|
||||
|
||||
@@ -511,22 +522,22 @@ public interface IPlayer<T extends EntityPlayerMP> extends IEntityLivingBase<T>,
|
||||
boolean hasBukkitPermission(String permission);
|
||||
|
||||
/**
|
||||
* @since 1.7.10c
|
||||
* @return Returns the player's experience level.
|
||||
* @since 1.7.10c
|
||||
*/
|
||||
int getExpLevel();
|
||||
|
||||
/**
|
||||
* @since 1.7.10c
|
||||
* @param level The new experience level to set.
|
||||
* @since 1.7.10c
|
||||
*/
|
||||
void setExpLevel(int level);
|
||||
|
||||
/**
|
||||
* Requires Pixelmon to be installed.
|
||||
*
|
||||
* @since 1.7.10d
|
||||
* @return Returns the player's Pixelmon data, or null if Pixelmon is not enabled.
|
||||
* @since 1.7.10d
|
||||
*/
|
||||
IPixelmonPlayerData getPixelmonData();
|
||||
|
||||
@@ -673,7 +684,6 @@ public interface IPlayer<T extends EntityPlayerMP> extends IEntityLivingBase<T>,
|
||||
IActionManager getActionManager();
|
||||
|
||||
|
||||
|
||||
IPlayer[] getPartyMembers();
|
||||
|
||||
// =========================================
|
||||
|
||||
Reference in new issue
Block a user