MobHealth Code

Select a file to view contents.

.classpath
.gitignore
.project
.settings/org.eclipse.core.resources.prefs
README.md
bin/me/sablednah/MobHealth/API/MobHealthAPI.class
bin/me/sablednah/MobHealth/HeroesEventListener.class
bin/me/sablednah/MobHealth/MessageScheduler.class
bin/me/sablednah/MobHealth/Metrics$1.class
bin/me/sablednah/MobHealth/Metrics$Graph.class
bin/me/sablednah/MobHealth/Metrics$Plotter.class
bin/me/sablednah/MobHealth/Metrics.class
bin/me/sablednah/MobHealth/MobHealth$1.class
bin/me/sablednah/MobHealth/MobHealth.class
bin/me/sablednah/MobHealth/MobHealthCommandExecutor.class
bin/me/sablednah/MobHealth/NewWidgitActions.class
bin/me/sablednah/MobHealth/SaveToggle.class
bin/me/sablednah/MobHealth/ServerDamageEntityListener$ScheduledshowBar.class
bin/me/sablednah/MobHealth/ServerDamageEntityListener.class
bin/me/sablednah/MobHealth/SetHealth.class
bin/me/sablednah/MobHealth/SkillMessageScheduler.class
bin/me/sablednah/MobHealth/SpoutNotifications.class
bin/me/sablednah/MobHealth/Updater$UpdateResult.class
bin/me/sablednah/MobHealth/Updater$UpdateRunnable.class
bin/me/sablednah/MobHealth/Updater$UpdateType.class
bin/me/sablednah/MobHealth/Updater.class
licence.txt
pom.xml
src/main/java/me/sablednah/MobHealth/API/ActionBar.java
src/main/java/me/sablednah/MobHealth/API/ActionBar_1_8_1.java
src/main/java/me/sablednah/MobHealth/API/ActionBar_1_8_3.java
src/main/java/me/sablednah/MobHealth/API/ActionBar_1_8_4.java
src/main/java/me/sablednah/MobHealth/API/MobHealthAPI.java
src/main/java/me/sablednah/MobHealth/API/PlayerHealthEvent.java
src/main/java/me/sablednah/MobHealth/HeroesEventListener.java
src/main/java/me/sablednah/MobHealth/MessageScheduler.java
src/main/java/me/sablednah/MobHealth/Metrics.java
src/main/java/me/sablednah/MobHealth/MobHealth.java
src/main/java/me/sablednah/MobHealth/MobHealthCommandExecutor.java
src/main/java/me/sablednah/MobHealth/NewWidgitActions.java
src/main/java/me/sablednah/MobHealth/SaveToggle.java
src/main/java/me/sablednah/MobHealth/ServerDamageEntityListener.java
src/main/java/me/sablednah/MobHealth/SetHealth.java
src/main/java/me/sablednah/MobHealth/SkillMessageScheduler.java
src/main/java/me/sablednah/MobHealth/SpoutNotifications.java
src/main/java/me/sablednah/MobHealth/Updater.java
src/main/resources/config.yml
src/main/resources/lang.yml
src/main/resources/players.yml
src/main/resources/plugin.yml


2
'me/sablednah/MobHealth/API/MobHealthAPIjava/lang/Objectplugin"Lme/sablednah/MobHealth/MobHealth;-$SWITCH_TABLE$org$bukkit$entity$Horse$Variant[I<init>(Lorg/bukkit/plugin/Plugin;)VCode

	()V me/sablednah/MobHealth/MobHealth	LineNumberTableLocalVariableTablethis)Lme/sablednah/MobHealth/API/MobHealthAPI;pLorg/bukkit/plugin/Plugin;showNotificationU(Lorg/bukkit/entity/Player;Ljava/lang/String;Ljava/lang/String;IILjava/lang/String;)V
o(Lorg/bukkit/entity/Player;Ljava/lang/String;Ljava/lang/String;IILjava/lang/String;Lorg/bukkit/entity/Entity;)VplayerLorg/bukkit/entity/Player;damageOutputLjava/lang/String;mobtype
mobsHealthI
mobsMaxHealth	skillName](Lorg/bukkit/entity/Player;Ljava/lang/String;Ljava/lang/String;IILorg/bukkit/entity/Entity;)V
damagerMobLorg/bukkit/entity/Entity;	+,-disableSpoutLjava/lang/Boolean;
/10java/lang/Boolean23booleanValue()Z	56-showRPG	89-showSideNotification;=<org/bukkit/entity/Player>?	getServer()Lorg/bukkit/Server;ACBorg/bukkit/ServerDEgetPluginManager#()Lorg/bukkit/plugin/PluginManager;GSpoutIKJorg/bukkit/plugin/PluginManagerLMisPluginEnabled(Ljava/lang/String;)Z	OP-	debugMode	RTSjava/lang/SystemUVoutLjava/io/PrintStream;XSpoutPlugin detected
Z\[java/io/PrintStream]^print(Ljava/lang/String;)V
`ba"org/getspout/spoutapi/SpoutManagercd	getPlayerF(Lorg/bukkit/entity/Player;)Lorg/getspout/spoutapi/player/SpoutPlayer;fhg(org/getspout/spoutapi/player/SpoutPlayeri3isSpoutCraftEnabledkSpoutCraftEnabledm
oqporg/bukkit/MaterialrsgetMaterial(I)Lorg/bukkit/Material;
uvw
getLangConfig3()Lorg/bukkit/configuration/file/FileConfiguration;yheroesSkillSpoutDamageTitle
{}|/org/bukkit/configuration/file/FileConfiguration~	getString&(Ljava/lang/String;)Ljava/lang/String;%S
java/lang/String
replaceAll8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;heroesSkillSpoutKilledMessageheroesSkillSpoutDamageMessageorg/bukkit/entity/Projectileorg/bukkit/entity/Egg	oEGGLorg/bukkit/Material;org/bukkit/entity/Snowball	o	SNOW_BALLorg/bukkit/entity/ThrownPotion	oPOTION	oARROWorg/bukkit/entity/Tameableorg/bukkit/entity/Wolf	oBONEorg/bukkit/entity/Ocelot	oRAW_FISH;
getItemInHand"()Lorg/bukkit/inventory/ItemStack;
org/bukkit/inventory/ItemStackgetType()Lorg/bukkit/Material;	oAIR	oSTICK
spoutEggTitlespoutEggMessagespoutSnowballTitlespoutSnowballMessagespoutDamageTitlespoutKilledMessagespoutDamageMessage%D%N%M
java/lang/IntegertoString(I)Ljava/lang/String;
org/bukkit/ChatColortranslateAlternateColorCodes'(CLjava/lang/String;)Ljava/lang/String;%Hjava/lang/StringBuilder

	DARK_REDLorg/bukkit/ChatColor;
append-(Ljava/lang/Object;)Ljava/lang/StringBuilder;
-(Ljava/lang/String;)Ljava/lang/StringBuilder;	WHITE
()Ljava/lang/String;attempting notification
)me/sablednah/MobHealth/SpoutNotificationsshowAchievementh(Lorg/bukkit/entity/Player;Ljava/lang/String;Ljava/lang/String;Lorg/bukkit/Material;)Ljava/lang/Boolean;spoutUsed = 
	^
(Z)Ljava/lang/StringBuilder;	!	RPGnotify&
	toHexString

	getByChar*(Ljava/lang/String;)Lorg/bukkit/ChatColor;
trim
6V(Lorg/bukkit/entity/Player;Ljava/lang/String;Lorg/bukkit/Material;)Ljava/lang/Boolean;
showSideWidget	$
notifications;getListeningPluginChannels()Ljava/util/Set;SimpleNotice!#"
java/util/Set$%contains(Ljava/lang/Object;)Z	'(-disableChat*chatMessageEgg,chatMessageSnowball.chatKilledMessage0chatMessage2UTF-8
465java/nio/charset/Charset78forName.(Ljava/lang/String;)Ljava/nio/charset/Charset;
:;<getBytes(Ljava/nio/charset/Charset;)[B;>?@sendPluginMessage1(Lorg/bukkit/plugin/Plugin;Ljava/lang/String;[B)V;BC^sendMessage	spoutUsedZtitlemessageiconrpg	chatcntr2useSimpleNoticeChatMessage
StackMapTableOorg/bukkit/entity/EntitygetNotifications()IgetMobHealth#(Lorg/bukkit/entity/LivingEntity;)IUWVorg/bukkit/entity/LivingEntityXY	getHealth()D	[\-hasMA
=_Monster ApocalypseIabc	getPlugin.(Ljava/lang/String;)Lorg/bukkit/plugin/Plugin;e-blainicus/MonsterApocalypse/MonsterApocalypse
dghigetHealthManager-()Lblainicus/MonsterApocalypse/healthmanager;
kml)blainicus/MonsterApocalypse/healthmanagernogetmobhp#(Lorg/bukkit/entity/LivingEntity;)D	qr-hasMobArenat(com/garbagemule/MobArena/MobArenaHandler
s
swxygetArenaWithMonsterF(Lorg/bukkit/entity/Entity;)Lcom/garbagemule/MobArena/framework/Arena;{}|(com/garbagemule/MobArena/framework/Arena~getMonsterManager+()Lcom/garbagemule/MobArena/MonsterManager;
'com/garbagemule/MobArena/MonsterManagergetBossI(Lorg/bukkit/entity/LivingEntity;)Lcom/garbagemule/MobArena/waves/MABoss;
W%com/garbagemule/MobArena/waves/MABoss	-hasMobs	mobs_dataUMhasMetadataUgetMetadata$(Ljava/lang/String;)Ljava/util/List;java/util/Listget(I)Ljava/lang/Object;!org/bukkit/metadata/MetadataValuevalue()Ljava/lang/Object;
java/util/MapHP%containsKey&(Ljava/lang/Object;)Ljava/lang/Object;
QintValue	-hasEpicBossEpicBossRecodedme/ThaH3lper/com/EpicBossme/ThaH3lper/com/Api/Api
	(Lme/ThaH3lper/com/EpicBoss;)V
isBoss#(Lorg/bukkit/entity/LivingEntity;)Z
XS	targetMob Lorg/bukkit/entity/LivingEntity;targetHealthma/Lblainicus/MonsterApocalypse/MonsterApocalypse;MAHealthManager+Lblainicus/MonsterApocalypse/healthmanager;	maHandler*Lcom/garbagemule/MobArena/MobArenaHandler;arena*Lcom/garbagemule/MobArena/framework/Arena;thisBoss'Lcom/garbagemule/MobArena/waves/MABoss;Ljava/util/Map;EBLme/ThaH3lper/com/EpicBoss;EBAPILme/ThaH3lper/com/Api/Api;LocalVariableTypeTable5Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;getMobMaxHealthUYgetMaxHealth
dw	getConfigWorlds
{getListUgetWorld()Lorg/bukkit/World;org/bukkit/WorldgetName#
dR(Lorg/bukkit/entity/Entity;)I
{getWaveManager.()Lcom/garbagemule/MobArena/waves/WaveManager;
*com/garbagemule/MobArena/waves/WaveManager
getCurrent'()Lcom/garbagemule/MobArena/waves/Wave;#com/garbagemule/MobArena/waves/WaveYgetHealthMultiplierMAX_HP
StargetMaxHealth	worldlistLjava/util/List;wm,Lcom/garbagemule/MobArena/waves/WaveManager;thisWave%Lcom/garbagemule/MobArena/waves/Wave;Ljava/util/List<*>;
getMobName4(Lorg/bukkit/entity/LivingEntity;)Ljava/lang/String;;
getDisplayNameorg/bukkit/entity/Zombieorg/bukkit/entity/PigZombie	PigZombieZombie3
isVillager
valueOf&(Ljava/lang/Object;)Ljava/lang/String;Villager !3isBaby#Baby%org/bukkit/entity/Skeleton'Skeleton$)*+getSkeletonType+()Lorg/bukkit/entity/Skeleton$SkeletonType;	-/.'org/bukkit/entity/Skeleton$SkeletonType01WITHER)Lorg/bukkit/entity/Skeleton$SkeletonType;3Wither5org/bukkit/entity/Horse7Horse49:;
getVariant#()Lorg/bukkit/entity/Horse$Variant;
=>()[I
@BAorg/bukkit/entity/Horse$VariantCQordinalESkeleton HorseGUndead HorseIDoneyKMule
MNOgetClass()Ljava/lang/Class;
QSRjava/lang/ClassT
getSimpleName
WCraft	YZentityLookupU\]
getCustomName
_`	cleanName	bc-hasZMe	ZombieModg me/sablednah/zombiemod/ZombieMod
fijk	getZombieF(Lorg/bukkit/entity/Entity;)Lme/sablednah/zombiemod/PutredineImmortui;	mon(me/sablednah/zombiemod/PutredineImmortuip!
commonName
rs
getBossName	uv-hasLikeABoss
xzycam/entity/LabEntityManager{|getLabEntity2(Lorg/bukkit/entity/Entity;)Lcam/entity/LabEntity;
~cam/entity/LabEntitygetLabEntityData()Lcam/entity/LabEntityData;
cam/entity/LabEntityData	-
hasCorruption
!com/mcdr/corruption/CorruptionAPI(Lorg/bukkit/entity/Entity;)Z
.(Lorg/bukkit/entity/Entity;)Ljava/lang/String;typ!Lorg/bukkit/entity/Horse$Variant;ZM"Lme/sablednah/zombiemod/ZombieMod;zomb*Lme/sablednah/zombiemod/PutredineImmortui;leLcam/entity/LabEntity;thisDataLcam/entity/LabEntityData;showBar#(Lorg/bukkit/entity/LivingEntity;)V	-showPlayerHeadHealth	
setHealths"Lme/sablednah/MobHealth/SetHealth;
 me/sablednah/MobHealth/SetHealth	setPlayer(Lorg/bukkit/entity/Player;)V	-showMobHeadHealth
/(Z)Ljava/lang/Boolean;org/bukkit/entity/Villager	-hideBarForVillagerorg/bukkit/entity/Animals	-hideBarForAnimalNPC	-
hideBarForNPCU ()Lorg/bukkit/entity/EntityType;
org/bukkit/entity/EntityType	forceBarHide
S
RS	-
useBarForMobs	$
healthBarSize
	
	!healthPrefix
barGraph;(IIILjava/lang/String;Ljava/lang/String;)Ljava/lang/String; 
(I)Ljava/lang/StringBuilder;/U^
setCustomName	-
alwaysVisableUsetCustomNameVisible(Z)VthisTypeheadText	maxHealthhealth	
@values$()[Lorg/bukkit/entity/Horse$Variant;	@DONKEY	@HORSE	@MULE	@SKELETON_HORSE	@UNDEAD_HORSEjava/lang/NoSuchFieldError
SourceFileMobHealthAPI.javaInnerClassesVariantSkeletonType!

	
I
**+89:

y*+,-
=>H !"!#$%$&!'y*+,-
ABH !"!#$%$()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