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


2a1me/sablednah/MobHealth/ServerDamageEntityListenerjava/lang/Objectorg/bukkit/event/Listenerplugin"Lme/sablednah/MobHealth/MobHealth;<init>%(Lme/sablednah/MobHealth/MobHealth;)VCode

	()V	LineNumberTableLocalVariableTablethis3Lme/sablednah/MobHealth/ServerDamageEntityListener;instanceonEntityInteract6(Lorg/bukkit/event/player/PlayerInteractEntityEvent;)VRuntimeVisibleAnnotationsLorg/bukkit/event/EventHandler;priority Lorg/bukkit/event/EventPriority;LOW	  me/sablednah/MobHealth/MobHealth!"showPlayerHeadHealthLjava/lang/Boolean;
$&%java/lang/Boolean'(booleanValue()Z	*+"showMobHeadHealth
-/.1org/bukkit/event/player/PlayerInteractEntityEvent01getRightClicked()Lorg/bukkit/entity/Entity;3org/bukkit/entity/LivingEntity2567
getCustomName()Ljava/lang/String;
9;:java/lang/String<=length()I	?@AhealthPrefixLjava/lang/String;
9CDEcontains(Ljava/lang/CharSequence;)Z
GHI	cleanName&(Ljava/lang/String;)Ljava/lang/String;2KLM
setCustomName(Ljava/lang/String;)V
OPQ	getServer()Lorg/bukkit/Server;SUTorg/bukkit/ServerVWgetScheduler(()Lorg/bukkit/scheduler/BukkitScheduler;YBme/sablednah/MobHealth/ServerDamageEntityListener$ScheduledshowBar
X[	\V(Lme/sablednah/MobHealth/ServerDamageEntityListener;Lorg/bukkit/entity/LivingEntity;)V`ba$org/bukkit/scheduler/BukkitSchedulercdscheduleSyncDelayedTask2(Lorg/bukkit/plugin/Plugin;Ljava/lang/Runnable;J)Ievent3Lorg/bukkit/event/player/PlayerInteractEntityEvent;le Lorg/bukkit/entity/LivingEntity;
customName
StackMapTableonEntityDamageMonitor.(Lorg/bukkit/event/entity/EntityDamageEvent;)VMONITOR
oqp)org/bukkit/event/entity/EntityDamageEventr1	getEntity+Lorg/bukkit/event/entity/EntityDamageEvent;targetonEntityRegenMonitor4(Lorg/bukkit/event/entity/EntityRegainHealthEvent;)V
xqy/org/bukkit/event/entity/EntityRegainHealthEvent1Lorg/bukkit/event/entity/EntityRegainHealthEvent;onEntityDamageLOWEST
o~(isCancelled	"	debugModeorg/bukkit/entity/Player7getDisplayName
97toLowerCase
97toString	sablednah
osetCancelled(Z)V
o	setDamage(D)V'me/sablednah/MobHealth/API/MobHealthAPI
	(Lorg/bukkit/plugin/Plugin;)Vorg/bukkit/entity/Horse
9	substring(II)Ljava/lang/String;
showBar#(Lorg/bukkit/entity/LivingEntity;)V1org/bukkit/event/entity/EntityDamageByEntityEvent
1
getDamagerorg/bukkit/entity/Projectile
getShooter"()Lorg/bukkit/entity/LivingEntity;org/bukkit/entity/Tameable	"disablePetsgetOwner!()Lorg/bukkit/entity/AnimalTamer;	java/lang/SystemoutLjava/io/PrintStream;----
java/io/PrintStreamMprintjava/lang/StringBuilderEntity Damaged 
	M
append-(Ljava/lang/Object;)Ljava/lang/StringBuilder;

Entity class 
getClass()Ljava/lang/Class;
java/lang/Class7getName
-(Ljava/lang/String;)Ljava/lang/StringBuilder;Event getEventName  
o7getEventNameDamage class  Entity Damage  
o	getDamage()D
(D)Ljava/lang/StringBuilder;Damage Cause  
ogetCause9()Lorg/bukkit/event/entity/EntityDamageEvent$DamageCause;%org/bukkit/entity/ComplexLivingEntity&Entity Damaged is ComplexLivingEntity #org/bukkit/entity/ComplexEntityPart	getParent)()Lorg/bukkit/entity/ComplexLivingEntity;
getPluginState/(Lorg/bukkit/entity/Player;)Ljava/lang/Boolean;mobhealth.show	

hasPermission(Ljava/lang/String;)Z	
"usePermissions
getMobHealth#(Lorg/bukkit/entity/LivingEntity;)I'me/sablednah/MobHealth/MessageScheduler
	(Lorg/bukkit/entity/Player;Lorg/bukkit/event/entity/EntityDamageByEntityEvent;Lorg/bukkit/entity/LivingEntity;IILme/sablednah/MobHealth/MobHealth;)V Not allowed - mobhealth.show is 
(Z)Ljava/lang/StringBuilder; - usePermissions set to targetHealthItmpplayAPI)Lme/sablednah/MobHealth/API/MobHealthAPI;tm	horsenameplayaLorg/bukkit/entity/Player;damageEvent3Lorg/bukkit/event/entity/EntityDamageByEntityEvent;bullitLorg/bukkit/entity/Projectile;tempLorg/bukkit/entity/AnimalTamer;	targetMobonPlayerJoin,(Lorg/bukkit/event/player/PlayerJoinEvent;)V	123
setHealths"Lme/sablednah/MobHealth/SetHealth;
576'org/bukkit/event/player/PlayerJoinEvent89	getPlayer()Lorg/bukkit/entity/Player;
;=< me/sablednah/MobHealth/SetHealth>?	setPlayer(Lorg/bukkit/entity/Player;)V)Lorg/bukkit/event/player/PlayerJoinEvent;onPlayerQuit,(Lorg/bukkit/event/player/PlayerQuitEvent;)V
D7E'org/bukkit/event/player/PlayerQuitEvent
;GH?removePlayer)Lorg/bukkit/event/player/PlayerQuitEvent;
onPlayerDeath-(Lorg/bukkit/event/entity/PlayerDeathEvent;)V	MN"cleanDeathMessages
PRQ(org/bukkit/event/entity/PlayerDeathEventS7getDeathMessage
PUVMsetDeathMessagee*Lorg/bukkit/event/entity/PlayerDeathEvent;dm
SourceFileServerDamageEntityListener.javaInnerClassesScheduledshowBar_5org/bukkit/event/entity/EntityDamageEvent$DamageCauseDamageCause!	
F
**+	


eo#)#_+,2U+,2M,4N-B-8 9->B/,-FJ*NR*XY*,Z]_W*
"#$$%+&/'8(B)L+n1*ooef$Jgh+CiAj[kl
emG#)#7+n2-+n2M*NR*XY*,Z]_W567$8F; GGes$"thj3uv
emG#)#7+w2-+w2M*NR*XY*,Z]_W?@A$BFE GGez$"thj3{l
e|
+}=#6+n,+nN-N-B++Y*N#)#U+n2K+n2:44F:)8 
 :J	-:+2+:&::*#!:
:
:#òYʷ+nζҶòYӷ+nնٶ޶ҶòY+޶ҶòY+նζҶòY+ҶòY+ζҶ+n:+n+n:+n2+n2:###;-=*NR*Y+*]_W#/Y޲ζҶ*NR*XY*Z]_W>JL	NOP)Q1R:S?TDUEYQZc[m\v]~^_`acfkmnpqrswxyz%~0:?HPi&/4?^ezes	) AQ!"v?#h%$A6%&)'()*+,-hjBE?29=12%74"o./
e|Y#
0+4:	e@jAB
e|Y#
0+CF	eIjJK
e|xL#+OM+
,FM+,T	 WXYAjZ[\X]^o`@

Leave a Reply