mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-26 19:43:07 +00:00
Went down huge rabbit hole to attempt adding scripted events for players. Chock full of errors, trying to backport classes from the 1.12 version.
This commit is contained in:
1 parent
71e13a177f
commit
5a1c4757cf
72 files changed
+4014
-20
No files matched your search
@@ -0,0 +1,75 @@
|
||||
//
|
||||
// Source code recreated from a .class file by IntelliJ IDEA
|
||||
// (powered by Fernflower decompiler)
|
||||
//
|
||||
|
||||
package noppes.npcs.scripted.entity;
|
||||
|
||||
import net.minecraft.entity.EntityCreature;
|
||||
import noppes.npcs.scripted.ITimers;
|
||||
import noppes.npcs.scripted.entity.IEntityLiving;
|
||||
import noppes.npcs.scripted.entity.IEntityLivingBase;
|
||||
import noppes.npcs.scripted.entity.IPlayer;
|
||||
import noppes.npcs.scripted.entity.IProjectile;
|
||||
import noppes.npcs.scripted.entity.data.INPCAdvanced;
|
||||
import noppes.npcs.scripted.entity.data.INPCAi;
|
||||
import noppes.npcs.scripted.entity.data.INPCDisplay;
|
||||
import noppes.npcs.scripted.entity.data.INPCInventory;
|
||||
import noppes.npcs.scripted.entity.data.INPCJob;
|
||||
import noppes.npcs.scripted.entity.data.INPCRole;
|
||||
import noppes.npcs.scripted.entity.data.INPCStats;
|
||||
import noppes.npcs.scripted.handler.data.IDialog;
|
||||
import noppes.npcs.scripted.handler.data.IFaction;
|
||||
import noppes.npcs.scripted.item.IItemStack;
|
||||
|
||||
public interface ICustomNpc<T extends EntityCreature> extends IEntityLiving<T> {
|
||||
INPCDisplay getDisplay();
|
||||
|
||||
INPCInventory getInventory();
|
||||
|
||||
INPCStats getStats();
|
||||
|
||||
INPCAi getAi();
|
||||
|
||||
INPCAdvanced getAdvanced();
|
||||
|
||||
IFaction getFaction();
|
||||
|
||||
void setFaction(int var1);
|
||||
|
||||
INPCRole getRole();
|
||||
|
||||
INPCJob getJob();
|
||||
|
||||
ITimers getTimers();
|
||||
|
||||
int getHomeX();
|
||||
|
||||
int getHomeY();
|
||||
|
||||
int getHomeZ();
|
||||
|
||||
IEntityLivingBase getOwner();
|
||||
|
||||
void setHome(int var1, int var2, int var3);
|
||||
|
||||
void reset();
|
||||
|
||||
void say(String var1);
|
||||
|
||||
void sayTo(IPlayer var1, String var2);
|
||||
|
||||
IProjectile shootItem(IEntityLivingBase var1, IItemStack var2, int var3);
|
||||
|
||||
IProjectile shootItem(double var1, double var3, double var5, IItemStack var7, int var8);
|
||||
|
||||
void giveItem(IPlayer var1, IItemStack var2);
|
||||
|
||||
void setDialog(int var1, IDialog var2);
|
||||
|
||||
IDialog getDialog(int var1);
|
||||
|
||||
void updateClient();
|
||||
|
||||
String executeCommand(String var1);
|
||||
}
|
||||
@@ -0,0 +1,150 @@
|
||||
//
|
||||
// Source code recreated from a .class file by IntelliJ IDEA
|
||||
// (powered by Fernflower decompiler)
|
||||
//
|
||||
|
||||
package noppes.npcs.scripted.entity;
|
||||
|
||||
import net.minecraft.entity.Entity;
|
||||
import noppes.npcs.scripted.INbt;
|
||||
import noppes.npcs.scripted.IWorld;
|
||||
import noppes.npcs.scripted.entity.data.IData;
|
||||
import noppes.npcs.scripted.item.IItemStack;
|
||||
|
||||
public interface IEntity<T extends Entity> {
|
||||
double getX();
|
||||
|
||||
void setX(double var1);
|
||||
|
||||
double getY();
|
||||
|
||||
void setY(double var1);
|
||||
|
||||
double getZ();
|
||||
|
||||
void setZ(double var1);
|
||||
|
||||
int getBlockX();
|
||||
|
||||
int getBlockY();
|
||||
|
||||
int getBlockZ();
|
||||
|
||||
void setPosition(double var1, double var3, double var5);
|
||||
|
||||
void setRotation(float var1);
|
||||
|
||||
float getRotation();
|
||||
|
||||
float getHeight();
|
||||
|
||||
float getEyeHeight();
|
||||
|
||||
float getWidth();
|
||||
|
||||
void setPitch(float var1);
|
||||
|
||||
float getPitch();
|
||||
|
||||
IEntity getMount();
|
||||
|
||||
void setMount(IEntity var1);
|
||||
|
||||
IEntity[] getRiders();
|
||||
|
||||
IEntity[] getAllRiders();
|
||||
|
||||
void addRider(IEntity var1);
|
||||
|
||||
void clearRiders();
|
||||
|
||||
void knockback(int var1, float var2);
|
||||
|
||||
boolean isSneaking();
|
||||
|
||||
boolean isSprinting();
|
||||
|
||||
IEntityItem dropItem(IItemStack var1);
|
||||
|
||||
boolean inWater();
|
||||
|
||||
boolean inFire();
|
||||
|
||||
boolean inLava();
|
||||
|
||||
IData getTempdata();
|
||||
|
||||
IData getStoreddata();
|
||||
|
||||
INbt getNbt();
|
||||
|
||||
boolean isAlive();
|
||||
|
||||
long getAge();
|
||||
|
||||
void despawn();
|
||||
|
||||
void spawn();
|
||||
|
||||
void kill();
|
||||
|
||||
boolean isBurning();
|
||||
|
||||
void setBurning(int var1);
|
||||
|
||||
void extinguish();
|
||||
|
||||
IWorld getWorld();
|
||||
|
||||
String getTypeName();
|
||||
|
||||
int getType();
|
||||
|
||||
boolean typeOf(int var1);
|
||||
|
||||
T getMCEntity();
|
||||
|
||||
String getUUID();
|
||||
|
||||
String generateNewUUID();
|
||||
|
||||
void storeAsClone(int var1, String var2);
|
||||
|
||||
INbt getEntityNbt();
|
||||
|
||||
void setEntityNbt(INbt var1);
|
||||
|
||||
IEntity[] rayTraceEntities(double var1, boolean var3, boolean var4);
|
||||
|
||||
String[] getTags();
|
||||
|
||||
void addTag(String var1);
|
||||
|
||||
boolean hasTag(String var1);
|
||||
|
||||
void removeTag(String var1);
|
||||
|
||||
void playAnimation(int var1);
|
||||
|
||||
void damage(float var1);
|
||||
|
||||
double getMotionX();
|
||||
|
||||
double getMotionY();
|
||||
|
||||
double getMotionZ();
|
||||
|
||||
void setMotionX(double var1);
|
||||
|
||||
void setMotionY(double var1);
|
||||
|
||||
void setMotionZ(double var1);
|
||||
|
||||
String getName();
|
||||
|
||||
void setName(String var1);
|
||||
|
||||
boolean hasCustomName();
|
||||
|
||||
String getEntityName();
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
//
|
||||
// Source code recreated from a .class file by IntelliJ IDEA
|
||||
// (powered by Fernflower decompiler)
|
||||
//
|
||||
|
||||
package noppes.npcs.scripted.entity;
|
||||
|
||||
import net.minecraft.entity.item.EntityItem;
|
||||
import noppes.npcs.scripted.entity.IEntity;
|
||||
import noppes.npcs.scripted.item.IItemStack;
|
||||
|
||||
public interface IEntityItem<T extends EntityItem> extends IEntity<T> {
|
||||
String getOwner();
|
||||
|
||||
void setOwner(String var1);
|
||||
|
||||
int getPickupDelay();
|
||||
|
||||
void setPickupDelay(int var1);
|
||||
|
||||
long getAge();
|
||||
|
||||
void setAge(long var1);
|
||||
|
||||
int getLifeSpawn();
|
||||
|
||||
void setLifeSpawn(int var1);
|
||||
|
||||
IItemStack getItem();
|
||||
|
||||
void setItem(IItemStack var1);
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
//
|
||||
// Source code recreated from a .class file by IntelliJ IDEA
|
||||
// (powered by Fernflower decompiler)
|
||||
//
|
||||
|
||||
package noppes.npcs.scripted.entity;
|
||||
|
||||
import net.minecraft.entity.EntityLiving;
|
||||
import noppes.npcs.scripted.entity.IEntityLivingBase;
|
||||
|
||||
public interface IEntityLiving<T extends EntityLiving> extends IEntityLivingBase<T> {
|
||||
boolean isNavigating();
|
||||
|
||||
void clearNavigation();
|
||||
|
||||
void navigateTo(double var1, double var3, double var5, double var7);
|
||||
|
||||
void jump();
|
||||
|
||||
T getMCEntity();
|
||||
}
|
||||
@@ -0,0 +1,70 @@
|
||||
//
|
||||
// Source code recreated from a .class file by IntelliJ IDEA
|
||||
// (powered by Fernflower decompiler)
|
||||
//
|
||||
|
||||
package noppes.npcs.scripted.entity;
|
||||
|
||||
import net.minecraft.entity.EntityLivingBase;
|
||||
import noppes.npcs.scripted.entity.IEntity;
|
||||
import noppes.npcs.scripted.item.IItemStack;
|
||||
|
||||
public interface IEntityLivingBase<T extends EntityLivingBase> extends IEntity<T> {
|
||||
float getHealth();
|
||||
|
||||
void setHealth(float var1);
|
||||
|
||||
float getMaxHealth();
|
||||
|
||||
void setMaxHealth(float var1);
|
||||
|
||||
boolean isAttacking();
|
||||
|
||||
void setAttackTarget(IEntityLivingBase var1);
|
||||
|
||||
IEntityLivingBase getAttackTarget();
|
||||
|
||||
IEntityLivingBase getLastAttacked();
|
||||
|
||||
int getLastAttackedTime();
|
||||
|
||||
boolean canSeeEntity(IEntity var1);
|
||||
|
||||
void swingMainhand();
|
||||
|
||||
void swingOffhand();
|
||||
|
||||
IItemStack getMainhandItem();
|
||||
|
||||
void setMainhandItem(IItemStack var1);
|
||||
|
||||
IItemStack getOffhandItem();
|
||||
|
||||
void setOffhandItem(IItemStack var1);
|
||||
|
||||
IItemStack getArmor(int var1);
|
||||
|
||||
void setArmor(int var1, IItemStack var2);
|
||||
|
||||
void addPotionEffect(int var1, int var2, int var3, boolean var4);
|
||||
|
||||
void clearPotionEffects();
|
||||
|
||||
int getPotionEffect(int var1);
|
||||
|
||||
boolean isChild();
|
||||
|
||||
T getMCEntity();
|
||||
|
||||
float getMoveForward();
|
||||
|
||||
void setMoveForward(float var1);
|
||||
|
||||
float getMoveStrafing();
|
||||
|
||||
void setMoveStrafing(float var1);
|
||||
|
||||
float getMoveVertical();
|
||||
|
||||
void setMoveVertical(float var1);
|
||||
}
|
||||
@@ -0,0 +1,119 @@
|
||||
//
|
||||
// Source code recreated from a .class file by IntelliJ IDEA
|
||||
// (powered by Fernflower decompiler)
|
||||
//
|
||||
|
||||
package noppes.npcs.scripted.entity;
|
||||
|
||||
import net.minecraft.entity.player.EntityPlayerMP;
|
||||
import noppes.npcs.scripted.IContainer;
|
||||
import noppes.npcs.scripted.ITimers;
|
||||
import noppes.npcs.scripted.entity.data.IPlayerMail;
|
||||
import noppes.npcs.scripted.gui.ICustomGui;
|
||||
import noppes.npcs.scripted.handler.data.IQuest;
|
||||
import noppes.npcs.scripted.item.IItemStack;
|
||||
|
||||
public interface IPlayer<T extends EntityPlayerMP> extends IEntityLivingBase<T> {
|
||||
String getDisplayName();
|
||||
|
||||
boolean hasFinishedQuest(int var1);
|
||||
|
||||
boolean hasActiveQuest(int var1);
|
||||
|
||||
void startQuest(int var1);
|
||||
|
||||
int factionStatus(int var1);
|
||||
|
||||
void finishQuest(int var1);
|
||||
|
||||
void stopQuest(int var1);
|
||||
|
||||
void removeQuest(int var1);
|
||||
|
||||
boolean hasReadDialog(int var1);
|
||||
|
||||
void showDialog(int var1, String var2);
|
||||
|
||||
void removeDialog(int var1);
|
||||
|
||||
void addDialog(int var1);
|
||||
|
||||
void addFactionPoints(int var1, int var2);
|
||||
|
||||
int getFactionPoints(int var1);
|
||||
|
||||
void message(String var1);
|
||||
|
||||
int getGamemode();
|
||||
|
||||
void setGamemode(int var1);
|
||||
|
||||
/** @deprecated */
|
||||
int inventoryItemCount(IItemStack var1);
|
||||
|
||||
/** @deprecated */
|
||||
int inventoryItemCount(String var1, int var2);
|
||||
|
||||
IContainer getInventory();
|
||||
|
||||
boolean removeItem(IItemStack var1, int var2);
|
||||
|
||||
boolean removeItem(String var1, int var2, int var3);
|
||||
|
||||
void removeAllItems(IItemStack var1);
|
||||
|
||||
boolean giveItem(IItemStack var1);
|
||||
|
||||
boolean giveItem(String var1, int var2, int var3);
|
||||
|
||||
void setSpawnpoint(int var1, int var2, int var3);
|
||||
|
||||
void resetSpawnpoint();
|
||||
|
||||
boolean hasAchievement(String var1);
|
||||
|
||||
int getExpLevel();
|
||||
|
||||
void setExpLevel(int var1);
|
||||
|
||||
boolean hasPermission(String var1);
|
||||
|
||||
Object getPixelmonData();
|
||||
|
||||
ITimers getTimers();
|
||||
|
||||
void closeGui();
|
||||
|
||||
T getMCEntity();
|
||||
|
||||
int getHunger();
|
||||
|
||||
void setHunger(int var1);
|
||||
|
||||
void kick(String var1);
|
||||
|
||||
void sendNotification(String var1, String var2, int var3);
|
||||
|
||||
void sendMail(IPlayerMail var1);
|
||||
|
||||
void clearData();
|
||||
|
||||
IQuest[] getActiveQuests();
|
||||
|
||||
IQuest[] getFinishedQuests();
|
||||
|
||||
void updatePlayerInventory();
|
||||
|
||||
void playSound(String var1, float var2, float var3);
|
||||
|
||||
/** @deprecated */
|
||||
IContainer showChestGui(int var1);
|
||||
|
||||
IContainer getOpenContainer();
|
||||
|
||||
boolean canQuestBeAccepted(int var1);
|
||||
|
||||
void showCustomGui(ICustomGui var1);
|
||||
|
||||
ICustomGui getCustomGui();
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
//
|
||||
// Source code recreated from a .class file by IntelliJ IDEA
|
||||
// (powered by Fernflower decompiler)
|
||||
//
|
||||
|
||||
package noppes.npcs.scripted.entity;
|
||||
|
||||
import net.minecraft.entity.projectile.EntityThrowable;
|
||||
import noppes.npcs.scripted.entity.IEntity;
|
||||
import noppes.npcs.scripted.entity.IThrowable;
|
||||
import noppes.npcs.scripted.item.IItemStack;
|
||||
|
||||
public interface IProjectile<T extends EntityThrowable> extends IThrowable<T> {
|
||||
IItemStack getItem();
|
||||
|
||||
void setItem(IItemStack var1);
|
||||
|
||||
boolean getHasGravity();
|
||||
|
||||
void setHasGravity(boolean var1);
|
||||
|
||||
int getAccuracy();
|
||||
|
||||
void setAccuracy(int var1);
|
||||
|
||||
void setHeading(IEntity var1);
|
||||
|
||||
void setHeading(double var1, double var3, double var5);
|
||||
|
||||
void setHeading(float var1, float var2);
|
||||
|
||||
void enableEvents();
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
//
|
||||
// Source code recreated from a .class file by IntelliJ IDEA
|
||||
// (powered by Fernflower decompiler)
|
||||
//
|
||||
|
||||
package noppes.npcs.scripted.entity;
|
||||
|
||||
import net.minecraft.entity.projectile.EntityThrowable;
|
||||
import noppes.npcs.scripted.entity.IEntity;
|
||||
|
||||
public interface IThrowable<T extends EntityThrowable> extends IEntity<T> {
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
//
|
||||
// Source code recreated from a .class file by IntelliJ IDEA
|
||||
// (powered by Fernflower decompiler)
|
||||
//
|
||||
|
||||
package noppes.npcs.scripted.entity.data;
|
||||
|
||||
public interface IData {
|
||||
void put(String var1, Object var2);
|
||||
|
||||
Object get(String var1);
|
||||
|
||||
void remove(String var1);
|
||||
|
||||
boolean has(String var1);
|
||||
|
||||
String[] getKeys();
|
||||
|
||||
void clear();
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
//
|
||||
// Source code recreated from a .class file by IntelliJ IDEA
|
||||
// (powered by Fernflower decompiler)
|
||||
//
|
||||
|
||||
package noppes.npcs.scripted.entity.data;
|
||||
|
||||
public interface INPCAdvanced {
|
||||
void setLine(int var1, int var2, String var3, String var4);
|
||||
|
||||
String getLine(int var1, int var2);
|
||||
|
||||
int getLineCount(int var1);
|
||||
|
||||
String getSound(int var1);
|
||||
|
||||
void setSound(int var1, String var2);
|
||||
}
|
||||
@@ -0,0 +1,92 @@
|
||||
//
|
||||
// Source code recreated from a .class file by IntelliJ IDEA
|
||||
// (powered by Fernflower decompiler)
|
||||
//
|
||||
|
||||
package noppes.npcs.scripted.entity.data;
|
||||
|
||||
public interface INPCAi {
|
||||
int getAnimation();
|
||||
|
||||
void setAnimation(int var1);
|
||||
|
||||
int getCurrentAnimation();
|
||||
|
||||
void setReturnsHome(boolean var1);
|
||||
|
||||
boolean getReturnsHome();
|
||||
|
||||
int getRetaliateType();
|
||||
|
||||
void setRetaliateType(int var1);
|
||||
|
||||
int getMovingType();
|
||||
|
||||
void setMovingType(int var1);
|
||||
|
||||
int getNavigationType();
|
||||
|
||||
void setNavigationType(int var1);
|
||||
|
||||
int getStandingType();
|
||||
|
||||
void setStandingType(int var1);
|
||||
|
||||
boolean getAttackInvisible();
|
||||
|
||||
void setAttackInvisible(boolean var1);
|
||||
|
||||
int getWanderingRange();
|
||||
|
||||
void setWanderingRange(int var1);
|
||||
|
||||
boolean getInteractWithNPCs();
|
||||
|
||||
void setInteractWithNPCs(boolean var1);
|
||||
|
||||
boolean getStopOnInteract();
|
||||
|
||||
void setStopOnInteract(boolean var1);
|
||||
|
||||
int getWalkingSpeed();
|
||||
|
||||
void setWalkingSpeed(int var1);
|
||||
|
||||
int getMovingPathType();
|
||||
|
||||
boolean getMovingPathPauses();
|
||||
|
||||
void setMovingPathType(int var1, boolean var2);
|
||||
|
||||
int getDoorInteract();
|
||||
|
||||
void setDoorInteract(int var1);
|
||||
|
||||
boolean getCanSwim();
|
||||
|
||||
void setCanSwim(boolean var1);
|
||||
|
||||
int getSheltersFrom();
|
||||
|
||||
void setSheltersFrom(int var1);
|
||||
|
||||
boolean getAttackLOS();
|
||||
|
||||
void setAttackLOS(boolean var1);
|
||||
|
||||
boolean getAvoidsWater();
|
||||
|
||||
void setAvoidsWater(boolean var1);
|
||||
|
||||
boolean getLeapAtTarget();
|
||||
|
||||
void setLeapAtTarget(boolean var1);
|
||||
|
||||
int getTacticalType();
|
||||
|
||||
void setTacticalType(int var1);
|
||||
|
||||
int getTacticalRange();
|
||||
|
||||
void setTacticalRange(int var1);
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
//
|
||||
// Source code recreated from a .class file by IntelliJ IDEA
|
||||
// (powered by Fernflower decompiler)
|
||||
//
|
||||
|
||||
package noppes.npcs.scripted.entity.data;
|
||||
|
||||
public interface INPCDisplay {
|
||||
String getName();
|
||||
|
||||
void setName(String var1);
|
||||
|
||||
String getTitle();
|
||||
|
||||
void setTitle(String var1);
|
||||
|
||||
String getSkinUrl();
|
||||
|
||||
void setSkinUrl(String var1);
|
||||
|
||||
String getSkinPlayer();
|
||||
|
||||
void setSkinPlayer(String var1);
|
||||
|
||||
String getSkinTexture();
|
||||
|
||||
void setSkinTexture(String var1);
|
||||
|
||||
boolean getHasLivingAnimation();
|
||||
|
||||
void setHasLivingAnimation(boolean var1);
|
||||
|
||||
int getVisible();
|
||||
|
||||
void setVisible(int var1);
|
||||
|
||||
int getBossbar();
|
||||
|
||||
void setBossbar(int var1);
|
||||
|
||||
int getSize();
|
||||
|
||||
void setSize(int var1);
|
||||
|
||||
int getTint();
|
||||
|
||||
void setTint(int var1);
|
||||
|
||||
int getShowName();
|
||||
|
||||
void setShowName(int var1);
|
||||
|
||||
void setCapeTexture(String var1);
|
||||
|
||||
String getCapeTexture();
|
||||
|
||||
void setOverlayTexture(String var1);
|
||||
|
||||
String getOverlayTexture();
|
||||
|
||||
void setModelScale(int var1, float var2, float var3, float var4);
|
||||
|
||||
float[] getModelScale(int var1);
|
||||
|
||||
int getBossColor();
|
||||
|
||||
void setBossColor(int var1);
|
||||
|
||||
void setModel(String var1);
|
||||
|
||||
String getModel();
|
||||
|
||||
void setHasHitbox(boolean var1);
|
||||
|
||||
boolean getHasHitbox();
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
//
|
||||
// Source code recreated from a .class file by IntelliJ IDEA
|
||||
// (powered by Fernflower decompiler)
|
||||
//
|
||||
|
||||
package noppes.npcs.scripted.entity.data;
|
||||
|
||||
import noppes.npcs.scripted.item.IItemStack;
|
||||
|
||||
public interface INPCInventory {
|
||||
IItemStack getRightHand();
|
||||
|
||||
void setRightHand(IItemStack var1);
|
||||
|
||||
IItemStack getLeftHand();
|
||||
|
||||
void setLeftHand(IItemStack var1);
|
||||
|
||||
IItemStack getProjectile();
|
||||
|
||||
void setProjectile(IItemStack var1);
|
||||
|
||||
IItemStack getArmor(int var1);
|
||||
|
||||
void setArmor(int var1, IItemStack var2);
|
||||
|
||||
void setDropItem(int var1, IItemStack var2, int var3);
|
||||
|
||||
IItemStack getDropItem(int var1);
|
||||
|
||||
int getExpMin();
|
||||
|
||||
int getExpMax();
|
||||
|
||||
int getExpRNG();
|
||||
|
||||
void setExp(int var1, int var2);
|
||||
|
||||
IItemStack[] getItemsRNG();
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
//
|
||||
// Source code recreated from a .class file by IntelliJ IDEA
|
||||
// (powered by Fernflower decompiler)
|
||||
//
|
||||
|
||||
package noppes.npcs.scripted.entity.data;
|
||||
|
||||
public interface INPCJob {
|
||||
int getType();
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
//
|
||||
// Source code recreated from a .class file by IntelliJ IDEA
|
||||
// (powered by Fernflower decompiler)
|
||||
//
|
||||
|
||||
package noppes.npcs.scripted.entity.data;
|
||||
|
||||
public interface INPCMelee {
|
||||
int getStrength();
|
||||
|
||||
void setStrength(int var1);
|
||||
|
||||
int getDelay();
|
||||
|
||||
void setDelay(int var1);
|
||||
|
||||
int getRange();
|
||||
|
||||
void setRange(int var1);
|
||||
|
||||
int getKnockback();
|
||||
|
||||
void setKnockback(int var1);
|
||||
|
||||
int getEffectType();
|
||||
|
||||
int getEffectTime();
|
||||
|
||||
int getEffectStrength();
|
||||
|
||||
void setEffect(int var1, int var2, int var3);
|
||||
}
|
||||
@@ -0,0 +1,108 @@
|
||||
//
|
||||
// Source code recreated from a .class file by IntelliJ IDEA
|
||||
// (powered by Fernflower decompiler)
|
||||
//
|
||||
|
||||
package noppes.npcs.scripted.entity.data;
|
||||
|
||||
public interface INPCRanged {
|
||||
int getStrength();
|
||||
|
||||
void setStrength(int var1);
|
||||
|
||||
int getSpeed();
|
||||
|
||||
void setSpeed(int var1);
|
||||
|
||||
int getBurst();
|
||||
|
||||
void setBurst(int var1);
|
||||
|
||||
int getBurstDelay();
|
||||
|
||||
void setBurstDelay(int var1);
|
||||
|
||||
int getKnockback();
|
||||
|
||||
void setKnockback(int var1);
|
||||
|
||||
int getSize();
|
||||
|
||||
void setSize(int var1);
|
||||
|
||||
boolean getRender3D();
|
||||
|
||||
void setRender3D(boolean var1);
|
||||
|
||||
boolean getSpins();
|
||||
|
||||
void setSpins(boolean var1);
|
||||
|
||||
boolean getSticks();
|
||||
|
||||
void setSticks(boolean var1);
|
||||
|
||||
boolean getHasGravity();
|
||||
|
||||
void setHasGravity(boolean var1);
|
||||
|
||||
boolean getAccelerate();
|
||||
|
||||
void setAccelerate(boolean var1);
|
||||
|
||||
int getExplodeSize();
|
||||
|
||||
void setExplodeSize(int var1);
|
||||
|
||||
int getEffectType();
|
||||
|
||||
int getEffectTime();
|
||||
|
||||
int getEffectStrength();
|
||||
|
||||
void setEffect(int var1, int var2, int var3);
|
||||
|
||||
boolean getGlows();
|
||||
|
||||
void setGlows(boolean var1);
|
||||
|
||||
int getParticle();
|
||||
|
||||
void setParticle(int var1);
|
||||
|
||||
String getSound(int var1);
|
||||
|
||||
void setSound(int var1, String var2);
|
||||
|
||||
int getShotCount();
|
||||
|
||||
void setShotCount(int var1);
|
||||
|
||||
boolean getHasAimAnimation();
|
||||
|
||||
void setHasAimAnimation(boolean var1);
|
||||
|
||||
int getAccuracy();
|
||||
|
||||
void setAccuracy(int var1);
|
||||
|
||||
int getRange();
|
||||
|
||||
void setRange(int var1);
|
||||
|
||||
int getDelayMin();
|
||||
|
||||
int getDelayMax();
|
||||
|
||||
int getDelayRNG();
|
||||
|
||||
void setDelay(int var1, int var2);
|
||||
|
||||
int getFireType();
|
||||
|
||||
void setFireType(int var1);
|
||||
|
||||
int getMeleeRange();
|
||||
|
||||
void setMeleeRange(int var1);
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
//
|
||||
// Source code recreated from a .class file by IntelliJ IDEA
|
||||
// (powered by Fernflower decompiler)
|
||||
//
|
||||
|
||||
package noppes.npcs.scripted.entity.data;
|
||||
|
||||
public interface INPCRole {
|
||||
int getType();
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
//
|
||||
// Source code recreated from a .class file by IntelliJ IDEA
|
||||
// (powered by Fernflower decompiler)
|
||||
//
|
||||
|
||||
package noppes.npcs.scripted.entity.data;
|
||||
|
||||
import noppes.npcs.scripted.entity.data.INPCMelee;
|
||||
import noppes.npcs.scripted.entity.data.INPCRanged;
|
||||
|
||||
public interface INPCStats {
|
||||
int getMaxHealth();
|
||||
|
||||
void setMaxHealth(int var1);
|
||||
|
||||
float getResistance(int var1);
|
||||
|
||||
void setResistance(int var1, float var2);
|
||||
|
||||
int getCombatRegen();
|
||||
|
||||
void setCombatRegen(int var1);
|
||||
|
||||
int getHealthRegen();
|
||||
|
||||
void setHealthRegen(int var1);
|
||||
|
||||
INPCMelee getMelee();
|
||||
|
||||
INPCRanged getRanged();
|
||||
|
||||
boolean getImmune(int var1);
|
||||
|
||||
void setImmune(int var1, boolean var2);
|
||||
|
||||
void setCreatureType(int var1);
|
||||
|
||||
int getCreatureType();
|
||||
|
||||
int getRespawnType();
|
||||
|
||||
void setRespawnType(int var1);
|
||||
|
||||
int getRespawnTime();
|
||||
|
||||
void setRespawnTime(int var1);
|
||||
|
||||
boolean getHideDeadBody();
|
||||
|
||||
void setHideDeadBody(boolean var1);
|
||||
|
||||
int getAggroRange();
|
||||
|
||||
void setAggroRange(int var1);
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
//
|
||||
// Source code recreated from a .class file by IntelliJ IDEA
|
||||
// (powered by Fernflower decompiler)
|
||||
//
|
||||
|
||||
package noppes.npcs.scripted.entity.data;
|
||||
|
||||
import noppes.npcs.scripted.IContainer;
|
||||
import noppes.npcs.scripted.handler.data.IQuest;
|
||||
|
||||
public interface IPlayerMail {
|
||||
String getSender();
|
||||
|
||||
void setSender(String var1);
|
||||
|
||||
String getSubject();
|
||||
|
||||
void setSubject(String var1);
|
||||
|
||||
String[] getText();
|
||||
|
||||
void setText(String[] var1);
|
||||
|
||||
IQuest getQuest();
|
||||
|
||||
void setQuest(int var1);
|
||||
|
||||
IContainer getContainer();
|
||||
}
|
||||
Reference in new issue
Block a user