PageRenderTime 66ms CodeModel.GetById 40ms RepoModel.GetById 1ms app.codeStats 0ms

/src/minecraft/net/minecraft/src/PlayerAPI.java

https://bitbucket.org/codelore/xclient
Java | 690 lines | 688 code | 2 blank | 0 comment | 0 complexity | 939b08d3bbc1f395a527591fcc50f8ee MD5 | raw file
  1. package net.minecraft.src;
  2. import java.io.File;
  3. import java.lang.reflect.Constructor;
  4. import java.lang.reflect.Method;
  5. import java.lang.reflect.Modifier;
  6. import java.util.ArrayList;
  7. import java.util.Collections;
  8. import java.util.HashMap;
  9. import java.util.HashSet;
  10. import java.util.Hashtable;
  11. import java.util.Iterator;
  12. import java.util.LinkedList;
  13. import java.util.List;
  14. import java.util.Map;
  15. import java.util.Set;
  16. import java.util.logging.Logger;
  17. import net.minecraft.block.Block;
  18. import net.minecraft.block.material.Material;
  19. import net.minecraft.client.Minecraft;
  20. import net.minecraft.client.entity.EntityClientPlayerMP;
  21. import net.minecraft.client.entity.EntityPlayerSP;
  22. import net.minecraft.entity.Entity;
  23. import net.minecraft.entity.EntityLiving;
  24. import net.minecraft.entity.effect.EntityLightningBolt;
  25. import net.minecraft.entity.item.EntityItem;
  26. import net.minecraft.entity.player.EntityPlayer;
  27. import net.minecraft.entity.player.EnumStatus;
  28. import net.minecraft.inventory.IInventory;
  29. import net.minecraft.item.ItemStack;
  30. import net.minecraft.nbt.NBTTagCompound;
  31. import net.minecraft.stats.StatBase;
  32. import net.minecraft.tileentity.TileEntity;
  33. import net.minecraft.tileentity.TileEntityBrewingStand;
  34. import net.minecraft.tileentity.TileEntityDispenser;
  35. import net.minecraft.tileentity.TileEntityFurnace;
  36. import net.minecraft.util.DamageSource;
  37. import net.minecraft.util.Icon;
  38. import net.minecraft.util.MovingObjectPosition;
  39. import net.minecraft.util.Session;
  40. import net.minecraft.world.World;
  41. public final class PlayerAPI
  42. {
  43. private static final Class[] Class = new Class[] {PlayerAPI.class};
  44. private static final Class[] Classes = new Class[] {PlayerAPI.class, String.class};
  45. private static boolean isCreated;
  46. private static final Logger logger = Logger.getLogger("PlayerAPI");
  47. private static final Map EmptySortMap = Collections.unmodifiableMap(new HashMap());
  48. private static final Object[] initializer = new Object[] {null};
  49. private static final Object[] initializers = new Object[] {null, null};
  50. private static final List beforeAddExhaustionHookTypes = new LinkedList();
  51. private static final List overrideAddExhaustionHookTypes = new LinkedList();
  52. private static final List afterAddExhaustionHookTypes = new LinkedList();
  53. private PlayerBase[] beforeAddExhaustionHooks;
  54. private PlayerBase[] overrideAddExhaustionHooks;
  55. private PlayerBase[] afterAddExhaustionHooks;
  56. public boolean isAddExhaustionModded;
  57. private static final Map allBaseBeforeAddExhaustionSuperiors = new Hashtable(0);
  58. private static final Map allBaseBeforeAddExhaustionInferiors = new Hashtable(0);
  59. private static final Map allBaseOverrideAddExhaustionSuperiors = new Hashtable(0);
  60. private static final Map allBaseOverrideAddExhaustionInferiors = new Hashtable(0);
  61. private static final Map allBaseAfterAddExhaustionSuperiors = new Hashtable(0);
  62. private static final Map allBaseAfterAddExhaustionInferiors = new Hashtable(0);
  63. private static final List beforeAddMovementStatHookTypes = new LinkedList();
  64. private static final List overrideAddMovementStatHookTypes = new LinkedList();
  65. private static final List afterAddMovementStatHookTypes = new LinkedList();
  66. private PlayerBase[] beforeAddMovementStatHooks;
  67. private PlayerBase[] overrideAddMovementStatHooks;
  68. private PlayerBase[] afterAddMovementStatHooks;
  69. public boolean isAddMovementStatModded;
  70. private static final Map allBaseBeforeAddMovementStatSuperiors = new Hashtable(0);
  71. private static final Map allBaseBeforeAddMovementStatInferiors = new Hashtable(0);
  72. private static final Map allBaseOverrideAddMovementStatSuperiors = new Hashtable(0);
  73. private static final Map allBaseOverrideAddMovementStatInferiors = new Hashtable(0);
  74. private static final Map allBaseAfterAddMovementStatSuperiors = new Hashtable(0);
  75. private static final Map allBaseAfterAddMovementStatInferiors = new Hashtable(0);
  76. private static final List beforeAddStatHookTypes = new LinkedList();
  77. private static final List overrideAddStatHookTypes = new LinkedList();
  78. private static final List afterAddStatHookTypes = new LinkedList();
  79. private PlayerBase[] beforeAddStatHooks;
  80. private PlayerBase[] overrideAddStatHooks;
  81. private PlayerBase[] afterAddStatHooks;
  82. public boolean isAddStatModded;
  83. private static final Map allBaseBeforeAddStatSuperiors = new Hashtable(0);
  84. private static final Map allBaseBeforeAddStatInferiors = new Hashtable(0);
  85. private static final Map allBaseOverrideAddStatSuperiors = new Hashtable(0);
  86. private static final Map allBaseOverrideAddStatInferiors = new Hashtable(0);
  87. private static final Map allBaseAfterAddStatSuperiors = new Hashtable(0);
  88. private static final Map allBaseAfterAddStatInferiors = new Hashtable(0);
  89. private static final List beforeAttackEntityFromHookTypes = new LinkedList();
  90. private static final List overrideAttackEntityFromHookTypes = new LinkedList();
  91. private static final List afterAttackEntityFromHookTypes = new LinkedList();
  92. private PlayerBase[] beforeAttackEntityFromHooks;
  93. private PlayerBase[] overrideAttackEntityFromHooks;
  94. private PlayerBase[] afterAttackEntityFromHooks;
  95. public boolean isAttackEntityFromModded;
  96. private static final Map allBaseBeforeAttackEntityFromSuperiors = new Hashtable(0);
  97. private static final Map allBaseBeforeAttackEntityFromInferiors = new Hashtable(0);
  98. private static final Map allBaseOverrideAttackEntityFromSuperiors = new Hashtable(0);
  99. private static final Map allBaseOverrideAttackEntityFromInferiors = new Hashtable(0);
  100. private static final Map allBaseAfterAttackEntityFromSuperiors = new Hashtable(0);
  101. private static final Map allBaseAfterAttackEntityFromInferiors = new Hashtable(0);
  102. private static final List beforeAlertWolvesHookTypes = new LinkedList();
  103. private static final List overrideAlertWolvesHookTypes = new LinkedList();
  104. private static final List afterAlertWolvesHookTypes = new LinkedList();
  105. private PlayerBase[] beforeAlertWolvesHooks;
  106. private PlayerBase[] overrideAlertWolvesHooks;
  107. private PlayerBase[] afterAlertWolvesHooks;
  108. public boolean isAlertWolvesModded;
  109. private static final Map allBaseBeforeAlertWolvesSuperiors = new Hashtable(0);
  110. private static final Map allBaseBeforeAlertWolvesInferiors = new Hashtable(0);
  111. private static final Map allBaseOverrideAlertWolvesSuperiors = new Hashtable(0);
  112. private static final Map allBaseOverrideAlertWolvesInferiors = new Hashtable(0);
  113. private static final Map allBaseAfterAlertWolvesSuperiors = new Hashtable(0);
  114. private static final Map allBaseAfterAlertWolvesInferiors = new Hashtable(0);
  115. private static final List beforeAttackTargetEntityWithCurrentItemHookTypes = new LinkedList();
  116. private static final List overrideAttackTargetEntityWithCurrentItemHookTypes = new LinkedList();
  117. private static final List afterAttackTargetEntityWithCurrentItemHookTypes = new LinkedList();
  118. private PlayerBase[] beforeAttackTargetEntityWithCurrentItemHooks;
  119. private PlayerBase[] overrideAttackTargetEntityWithCurrentItemHooks;
  120. private PlayerBase[] afterAttackTargetEntityWithCurrentItemHooks;
  121. public boolean isAttackTargetEntityWithCurrentItemModded;
  122. private static final Map allBaseBeforeAttackTargetEntityWithCurrentItemSuperiors = new Hashtable(0);
  123. private static final Map allBaseBeforeAttackTargetEntityWithCurrentItemInferiors = new Hashtable(0);
  124. private static final Map allBaseOverrideAttackTargetEntityWithCurrentItemSuperiors = new Hashtable(0);
  125. private static final Map allBaseOverrideAttackTargetEntityWithCurrentItemInferiors = new Hashtable(0);
  126. private static final Map allBaseAfterAttackTargetEntityWithCurrentItemSuperiors = new Hashtable(0);
  127. private static final Map allBaseAfterAttackTargetEntityWithCurrentItemInferiors = new Hashtable(0);
  128. private static final List beforeCanBreatheUnderwaterHookTypes = new LinkedList();
  129. private static final List overrideCanBreatheUnderwaterHookTypes = new LinkedList();
  130. private static final List afterCanBreatheUnderwaterHookTypes = new LinkedList();
  131. private PlayerBase[] beforeCanBreatheUnderwaterHooks;
  132. private PlayerBase[] overrideCanBreatheUnderwaterHooks;
  133. private PlayerBase[] afterCanBreatheUnderwaterHooks;
  134. public boolean isCanBreatheUnderwaterModded;
  135. private static final Map allBaseBeforeCanBreatheUnderwaterSuperiors = new Hashtable(0);
  136. private static final Map allBaseBeforeCanBreatheUnderwaterInferiors = new Hashtable(0);
  137. private static final Map allBaseOverrideCanBreatheUnderwaterSuperiors = new Hashtable(0);
  138. private static final Map allBaseOverrideCanBreatheUnderwaterInferiors = new Hashtable(0);
  139. private static final Map allBaseAfterCanBreatheUnderwaterSuperiors = new Hashtable(0);
  140. private static final Map allBaseAfterCanBreatheUnderwaterInferiors = new Hashtable(0);
  141. private static final List beforeCanHarvestBlockHookTypes = new LinkedList();
  142. private static final List overrideCanHarvestBlockHookTypes = new LinkedList();
  143. private static final List afterCanHarvestBlockHookTypes = new LinkedList();
  144. private PlayerBase[] beforeCanHarvestBlockHooks;
  145. private PlayerBase[] overrideCanHarvestBlockHooks;
  146. private PlayerBase[] afterCanHarvestBlockHooks;
  147. public boolean isCanHarvestBlockModded;
  148. private static final Map allBaseBeforeCanHarvestBlockSuperiors = new Hashtable(0);
  149. private static final Map allBaseBeforeCanHarvestBlockInferiors = new Hashtable(0);
  150. private static final Map allBaseOverrideCanHarvestBlockSuperiors = new Hashtable(0);
  151. private static final Map allBaseOverrideCanHarvestBlockInferiors = new Hashtable(0);
  152. private static final Map allBaseAfterCanHarvestBlockSuperiors = new Hashtable(0);
  153. private static final Map allBaseAfterCanHarvestBlockInferiors = new Hashtable(0);
  154. private static final List beforeCanPlayerEditHookTypes = new LinkedList();
  155. private static final List overrideCanPlayerEditHookTypes = new LinkedList();
  156. private static final List afterCanPlayerEditHookTypes = new LinkedList();
  157. private PlayerBase[] beforeCanPlayerEditHooks;
  158. private PlayerBase[] overrideCanPlayerEditHooks;
  159. private PlayerBase[] afterCanPlayerEditHooks;
  160. public boolean isCanPlayerEditModded;
  161. private static final Map allBaseBeforeCanPlayerEditSuperiors = new Hashtable(0);
  162. private static final Map allBaseBeforeCanPlayerEditInferiors = new Hashtable(0);
  163. private static final Map allBaseOverrideCanPlayerEditSuperiors = new Hashtable(0);
  164. private static final Map allBaseOverrideCanPlayerEditInferiors = new Hashtable(0);
  165. private static final Map allBaseAfterCanPlayerEditSuperiors = new Hashtable(0);
  166. private static final Map allBaseAfterCanPlayerEditInferiors = new Hashtable(0);
  167. private static final List beforeCanTriggerWalkingHookTypes = new LinkedList();
  168. private static final List overrideCanTriggerWalkingHookTypes = new LinkedList();
  169. private static final List afterCanTriggerWalkingHookTypes = new LinkedList();
  170. private PlayerBase[] beforeCanTriggerWalkingHooks;
  171. private PlayerBase[] overrideCanTriggerWalkingHooks;
  172. private PlayerBase[] afterCanTriggerWalkingHooks;
  173. public boolean isCanTriggerWalkingModded;
  174. private static final Map allBaseBeforeCanTriggerWalkingSuperiors = new Hashtable(0);
  175. private static final Map allBaseBeforeCanTriggerWalkingInferiors = new Hashtable(0);
  176. private static final Map allBaseOverrideCanTriggerWalkingSuperiors = new Hashtable(0);
  177. private static final Map allBaseOverrideCanTriggerWalkingInferiors = new Hashtable(0);
  178. private static final Map allBaseAfterCanTriggerWalkingSuperiors = new Hashtable(0);
  179. private static final Map allBaseAfterCanTriggerWalkingInferiors = new Hashtable(0);
  180. private static final List beforeCloseScreenHookTypes = new LinkedList();
  181. private static final List overrideCloseScreenHookTypes = new LinkedList();
  182. private static final List afterCloseScreenHookTypes = new LinkedList();
  183. private PlayerBase[] beforeCloseScreenHooks;
  184. private PlayerBase[] overrideCloseScreenHooks;
  185. private PlayerBase[] afterCloseScreenHooks;
  186. public boolean isCloseScreenModded;
  187. private static final Map allBaseBeforeCloseScreenSuperiors = new Hashtable(0);
  188. private static final Map allBaseBeforeCloseScreenInferiors = new Hashtable(0);
  189. private static final Map allBaseOverrideCloseScreenSuperiors = new Hashtable(0);
  190. private static final Map allBaseOverrideCloseScreenInferiors = new Hashtable(0);
  191. private static final Map allBaseAfterCloseScreenSuperiors = new Hashtable(0);
  192. private static final Map allBaseAfterCloseScreenInferiors = new Hashtable(0);
  193. private static final List beforeDamageEntityHookTypes = new LinkedList();
  194. private static final List overrideDamageEntityHookTypes = new LinkedList();
  195. private static final List afterDamageEntityHookTypes = new LinkedList();
  196. private PlayerBase[] beforeDamageEntityHooks;
  197. private PlayerBase[] overrideDamageEntityHooks;
  198. private PlayerBase[] afterDamageEntityHooks;
  199. public boolean isDamageEntityModded;
  200. private static final Map allBaseBeforeDamageEntitySuperiors = new Hashtable(0);
  201. private static final Map allBaseBeforeDamageEntityInferiors = new Hashtable(0);
  202. private static final Map allBaseOverrideDamageEntitySuperiors = new Hashtable(0);
  203. private static final Map allBaseOverrideDamageEntityInferiors = new Hashtable(0);
  204. private static final Map allBaseAfterDamageEntitySuperiors = new Hashtable(0);
  205. private static final Map allBaseAfterDamageEntityInferiors = new Hashtable(0);
  206. private static final List beforeDisplayGUIBrewingStandHookTypes = new LinkedList();
  207. private static final List overrideDisplayGUIBrewingStandHookTypes = new LinkedList();
  208. private static final List afterDisplayGUIBrewingStandHookTypes = new LinkedList();
  209. private PlayerBase[] beforeDisplayGUIBrewingStandHooks;
  210. private PlayerBase[] overrideDisplayGUIBrewingStandHooks;
  211. private PlayerBase[] afterDisplayGUIBrewingStandHooks;
  212. public boolean isDisplayGUIBrewingStandModded;
  213. private static final Map allBaseBeforeDisplayGUIBrewingStandSuperiors = new Hashtable(0);
  214. private static final Map allBaseBeforeDisplayGUIBrewingStandInferiors = new Hashtable(0);
  215. private static final Map allBaseOverrideDisplayGUIBrewingStandSuperiors = new Hashtable(0);
  216. private static final Map allBaseOverrideDisplayGUIBrewingStandInferiors = new Hashtable(0);
  217. private static final Map allBaseAfterDisplayGUIBrewingStandSuperiors = new Hashtable(0);
  218. private static final Map allBaseAfterDisplayGUIBrewingStandInferiors = new Hashtable(0);
  219. private static final List beforeDisplayGUIChestHookTypes = new LinkedList();
  220. private static final List overrideDisplayGUIChestHookTypes = new LinkedList();
  221. private static final List afterDisplayGUIChestHookTypes = new LinkedList();
  222. private PlayerBase[] beforeDisplayGUIChestHooks;
  223. private PlayerBase[] overrideDisplayGUIChestHooks;
  224. private PlayerBase[] afterDisplayGUIChestHooks;
  225. public boolean isDisplayGUIChestModded;
  226. private static final Map allBaseBeforeDisplayGUIChestSuperiors = new Hashtable(0);
  227. private static final Map allBaseBeforeDisplayGUIChestInferiors = new Hashtable(0);
  228. private static final Map allBaseOverrideDisplayGUIChestSuperiors = new Hashtable(0);
  229. private static final Map allBaseOverrideDisplayGUIChestInferiors = new Hashtable(0);
  230. private static final Map allBaseAfterDisplayGUIChestSuperiors = new Hashtable(0);
  231. private static final Map allBaseAfterDisplayGUIChestInferiors = new Hashtable(0);
  232. private static final List beforeDisplayGUIDispenserHookTypes = new LinkedList();
  233. private static final List overrideDisplayGUIDispenserHookTypes = new LinkedList();
  234. private static final List afterDisplayGUIDispenserHookTypes = new LinkedList();
  235. private PlayerBase[] beforeDisplayGUIDispenserHooks;
  236. private PlayerBase[] overrideDisplayGUIDispenserHooks;
  237. private PlayerBase[] afterDisplayGUIDispenserHooks;
  238. public boolean isDisplayGUIDispenserModded;
  239. private static final Map allBaseBeforeDisplayGUIDispenserSuperiors = new Hashtable(0);
  240. private static final Map allBaseBeforeDisplayGUIDispenserInferiors = new Hashtable(0);
  241. private static final Map allBaseOverrideDisplayGUIDispenserSuperiors = new Hashtable(0);
  242. private static final Map allBaseOverrideDisplayGUIDispenserInferiors = new Hashtable(0);
  243. private static final Map allBaseAfterDisplayGUIDispenserSuperiors = new Hashtable(0);
  244. private static final Map allBaseAfterDisplayGUIDispenserInferiors = new Hashtable(0);
  245. private static final List beforeDisplayGUIEditSignHookTypes = new LinkedList();
  246. private static final List overrideDisplayGUIEditSignHookTypes = new LinkedList();
  247. private static final List afterDisplayGUIEditSignHookTypes = new LinkedList();
  248. private PlayerBase[] beforeDisplayGUIEditSignHooks;
  249. private PlayerBase[] overrideDisplayGUIEditSignHooks;
  250. private PlayerBase[] afterDisplayGUIEditSignHooks;
  251. public boolean isDisplayGUIEditSignModded;
  252. private static final Map allBaseBeforeDisplayGUIEditSignSuperiors = new Hashtable(0);
  253. private static final Map allBaseBeforeDisplayGUIEditSignInferiors = new Hashtable(0);
  254. private static final Map allBaseOverrideDisplayGUIEditSignSuperiors = new Hashtable(0);
  255. private static final Map allBaseOverrideDisplayGUIEditSignInferiors = new Hashtable(0);
  256. private static final Map allBaseAfterDisplayGUIEditSignSuperiors = new Hashtable(0);
  257. private static final Map allBaseAfterDisplayGUIEditSignInferiors = new Hashtable(0);
  258. private static final List beforeDisplayGUIEnchantmentHookTypes = new LinkedList();
  259. private static final List overrideDisplayGUIEnchantmentHookTypes = new LinkedList();
  260. private static final List afterDisplayGUIEnchantmentHookTypes = new LinkedList();
  261. private PlayerBase[] beforeDisplayGUIEnchantmentHooks;
  262. private PlayerBase[] overrideDisplayGUIEnchantmentHooks;
  263. private PlayerBase[] afterDisplayGUIEnchantmentHooks;
  264. public boolean isDisplayGUIEnchantmentModded;
  265. private static final Map allBaseBeforeDisplayGUIEnchantmentSuperiors = new Hashtable(0);
  266. private static final Map allBaseBeforeDisplayGUIEnchantmentInferiors = new Hashtable(0);
  267. private static final Map allBaseOverrideDisplayGUIEnchantmentSuperiors = new Hashtable(0);
  268. private static final Map allBaseOverrideDisplayGUIEnchantmentInferiors = new Hashtable(0);
  269. private static final Map allBaseAfterDisplayGUIEnchantmentSuperiors = new Hashtable(0);
  270. private static final Map allBaseAfterDisplayGUIEnchantmentInferiors = new Hashtable(0);
  271. private static final List beforeDisplayGUIFurnaceHookTypes = new LinkedList();
  272. private static final List overrideDisplayGUIFurnaceHookTypes = new LinkedList();
  273. private static final List afterDisplayGUIFurnaceHookTypes = new LinkedList();
  274. private PlayerBase[] beforeDisplayGUIFurnaceHooks;
  275. private PlayerBase[] overrideDisplayGUIFurnaceHooks;
  276. private PlayerBase[] afterDisplayGUIFurnaceHooks;
  277. public boolean isDisplayGUIFurnaceModded;
  278. private static final Map allBaseBeforeDisplayGUIFurnaceSuperiors = new Hashtable(0);
  279. private static final Map allBaseBeforeDisplayGUIFurnaceInferiors = new Hashtable(0);
  280. private static final Map allBaseOverrideDisplayGUIFurnaceSuperiors = new Hashtable(0);
  281. private static final Map allBaseOverrideDisplayGUIFurnaceInferiors = new Hashtable(0);
  282. private static final Map allBaseAfterDisplayGUIFurnaceSuperiors = new Hashtable(0);
  283. private static final Map allBaseAfterDisplayGUIFurnaceInferiors = new Hashtable(0);
  284. private static final List beforeDisplayGUIWorkbenchHookTypes = new LinkedList();
  285. private static final List overrideDisplayGUIWorkbenchHookTypes = new LinkedList();
  286. private static final List afterDisplayGUIWorkbenchHookTypes = new LinkedList();
  287. private PlayerBase[] beforeDisplayGUIWorkbenchHooks;
  288. private PlayerBase[] overrideDisplayGUIWorkbenchHooks;
  289. private PlayerBase[] afterDisplayGUIWorkbenchHooks;
  290. public boolean isDisplayGUIWorkbenchModded;
  291. private static final Map allBaseBeforeDisplayGUIWorkbenchSuperiors = new Hashtable(0);
  292. private static final Map allBaseBeforeDisplayGUIWorkbenchInferiors = new Hashtable(0);
  293. private static final Map allBaseOverrideDisplayGUIWorkbenchSuperiors = new Hashtable(0);
  294. private static final Map allBaseOverrideDisplayGUIWorkbenchInferiors = new Hashtable(0);
  295. private static final Map allBaseAfterDisplayGUIWorkbenchSuperiors = new Hashtable(0);
  296. private static final Map allBaseAfterDisplayGUIWorkbenchInferiors = new Hashtable(0);
  297. private static final List beforeDropOneItemHookTypes = new LinkedList();
  298. private static final List overrideDropOneItemHookTypes = new LinkedList();
  299. private static final List afterDropOneItemHookTypes = new LinkedList();
  300. private PlayerBase[] beforeDropOneItemHooks;
  301. private PlayerBase[] overrideDropOneItemHooks;
  302. private PlayerBase[] afterDropOneItemHooks;
  303. public boolean isDropOneItemModded;
  304. private static final Map allBaseBeforeDropOneItemSuperiors = new Hashtable(0);
  305. private static final Map allBaseBeforeDropOneItemInferiors = new Hashtable(0);
  306. private static final Map allBaseOverrideDropOneItemSuperiors = new Hashtable(0);
  307. private static final Map allBaseOverrideDropOneItemInferiors = new Hashtable(0);
  308. private static final Map allBaseAfterDropOneItemSuperiors = new Hashtable(0);
  309. private static final Map allBaseAfterDropOneItemInferiors = new Hashtable(0);
  310. private static final List beforeDropPlayerItemHookTypes = new LinkedList();
  311. private static final List overrideDropPlayerItemHookTypes = new LinkedList();
  312. private static final List afterDropPlayerItemHookTypes = new LinkedList();
  313. private PlayerBase[] beforeDropPlayerItemHooks;
  314. private PlayerBase[] overrideDropPlayerItemHooks;
  315. private PlayerBase[] afterDropPlayerItemHooks;
  316. public boolean isDropPlayerItemModded;
  317. private static final Map allBaseBeforeDropPlayerItemSuperiors = new Hashtable(0);
  318. private static final Map allBaseBeforeDropPlayerItemInferiors = new Hashtable(0);
  319. private static final Map allBaseOverrideDropPlayerItemSuperiors = new Hashtable(0);
  320. private static final Map allBaseOverrideDropPlayerItemInferiors = new Hashtable(0);
  321. private static final Map allBaseAfterDropPlayerItemSuperiors = new Hashtable(0);
  322. private static final Map allBaseAfterDropPlayerItemInferiors = new Hashtable(0);
  323. private static final List beforeDropPlayerItemWithRandomChoiceHookTypes = new LinkedList();
  324. private static final List overrideDropPlayerItemWithRandomChoiceHookTypes = new LinkedList();
  325. private static final List afterDropPlayerItemWithRandomChoiceHookTypes = new LinkedList();
  326. private PlayerBase[] beforeDropPlayerItemWithRandomChoiceHooks;
  327. private PlayerBase[] overrideDropPlayerItemWithRandomChoiceHooks;
  328. private PlayerBase[] afterDropPlayerItemWithRandomChoiceHooks;
  329. public boolean isDropPlayerItemWithRandomChoiceModded;
  330. private static final Map allBaseBeforeDropPlayerItemWithRandomChoiceSuperiors = new Hashtable(0);
  331. private static final Map allBaseBeforeDropPlayerItemWithRandomChoiceInferiors = new Hashtable(0);
  332. private static final Map allBaseOverrideDropPlayerItemWithRandomChoiceSuperiors = new Hashtable(0);
  333. private static final Map allBaseOverrideDropPlayerItemWithRandomChoiceInferiors = new Hashtable(0);
  334. private static final Map allBaseAfterDropPlayerItemWithRandomChoiceSuperiors = new Hashtable(0);
  335. private static final Map allBaseAfterDropPlayerItemWithRandomChoiceInferiors = new Hashtable(0);
  336. private static final List beforeFallHookTypes = new LinkedList();
  337. private static final List overrideFallHookTypes = new LinkedList();
  338. private static final List afterFallHookTypes = new LinkedList();
  339. private PlayerBase[] beforeFallHooks;
  340. private PlayerBase[] overrideFallHooks;
  341. private PlayerBase[] afterFallHooks;
  342. public boolean isFallModded;
  343. private static final Map allBaseBeforeFallSuperiors = new Hashtable(0);
  344. private static final Map allBaseBeforeFallInferiors = new Hashtable(0);
  345. private static final Map allBaseOverrideFallSuperiors = new Hashtable(0);
  346. private static final Map allBaseOverrideFallInferiors = new Hashtable(0);
  347. private static final Map allBaseAfterFallSuperiors = new Hashtable(0);
  348. private static final Map allBaseAfterFallInferiors = new Hashtable(0);
  349. private static final List beforeGetBrightnessHookTypes = new LinkedList();
  350. private static final List overrideGetBrightnessHookTypes = new LinkedList();
  351. private static final List afterGetBrightnessHookTypes = new LinkedList();
  352. private PlayerBase[] beforeGetBrightnessHooks;
  353. private PlayerBase[] overrideGetBrightnessHooks;
  354. private PlayerBase[] afterGetBrightnessHooks;
  355. public boolean isGetBrightnessModded;
  356. private static final Map allBaseBeforeGetBrightnessSuperiors = new Hashtable(0);
  357. private static final Map allBaseBeforeGetBrightnessInferiors = new Hashtable(0);
  358. private static final Map allBaseOverrideGetBrightnessSuperiors = new Hashtable(0);
  359. private static final Map allBaseOverrideGetBrightnessInferiors = new Hashtable(0);
  360. private static final Map allBaseAfterGetBrightnessSuperiors = new Hashtable(0);
  361. private static final Map allBaseAfterGetBrightnessInferiors = new Hashtable(0);
  362. private static final List beforeGetBrightnessForRenderHookTypes = new LinkedList();
  363. private static final List overrideGetBrightnessForRenderHookTypes = new LinkedList();
  364. private static final List afterGetBrightnessForRenderHookTypes = new LinkedList();
  365. private PlayerBase[] beforeGetBrightnessForRenderHooks;
  366. private PlayerBase[] overrideGetBrightnessForRenderHooks;
  367. private PlayerBase[] afterGetBrightnessForRenderHooks;
  368. public boolean isGetBrightnessForRenderModded;
  369. private static final Map allBaseBeforeGetBrightnessForRenderSuperiors = new Hashtable(0);
  370. private static final Map allBaseBeforeGetBrightnessForRenderInferiors = new Hashtable(0);
  371. private static final Map allBaseOverrideGetBrightnessForRenderSuperiors = new Hashtable(0);
  372. private static final Map allBaseOverrideGetBrightnessForRenderInferiors = new Hashtable(0);
  373. private static final Map allBaseAfterGetBrightnessForRenderSuperiors = new Hashtable(0);
  374. private static final Map allBaseAfterGetBrightnessForRenderInferiors = new Hashtable(0);
  375. private static final List beforeGetCurrentPlayerStrVsBlockHookTypes = new LinkedList();
  376. private static final List overrideGetCurrentPlayerStrVsBlockHookTypes = new LinkedList();
  377. private static final List afterGetCurrentPlayerStrVsBlockHookTypes = new LinkedList();
  378. private PlayerBase[] beforeGetCurrentPlayerStrVsBlockHooks;
  379. private PlayerBase[] overrideGetCurrentPlayerStrVsBlockHooks;
  380. private PlayerBase[] afterGetCurrentPlayerStrVsBlockHooks;
  381. public boolean isGetCurrentPlayerStrVsBlockModded;
  382. private static final Map allBaseBeforeGetCurrentPlayerStrVsBlockSuperiors = new Hashtable(0);
  383. private static final Map allBaseBeforeGetCurrentPlayerStrVsBlockInferiors = new Hashtable(0);
  384. private static final Map allBaseOverrideGetCurrentPlayerStrVsBlockSuperiors = new Hashtable(0);
  385. private static final Map allBaseOverrideGetCurrentPlayerStrVsBlockInferiors = new Hashtable(0);
  386. private static final Map allBaseAfterGetCurrentPlayerStrVsBlockSuperiors = new Hashtable(0);
  387. private static final Map allBaseAfterGetCurrentPlayerStrVsBlockInferiors = new Hashtable(0);
  388. private static final List beforeGetCurrentPlayerStrVsBlockForgeHookTypes = new LinkedList();
  389. private static final List overrideGetCurrentPlayerStrVsBlockForgeHookTypes = new LinkedList();
  390. private static final List afterGetCurrentPlayerStrVsBlockForgeHookTypes = new LinkedList();
  391. private PlayerBase[] beforeGetCurrentPlayerStrVsBlockForgeHooks;
  392. private PlayerBase[] overrideGetCurrentPlayerStrVsBlockForgeHooks;
  393. private PlayerBase[] afterGetCurrentPlayerStrVsBlockForgeHooks;
  394. public boolean isGetCurrentPlayerStrVsBlockForgeModded;
  395. private static final Map allBaseBeforeGetCurrentPlayerStrVsBlockForgeSuperiors = new Hashtable(0);
  396. private static final Map allBaseBeforeGetCurrentPlayerStrVsBlockForgeInferiors = new Hashtable(0);
  397. private static final Map allBaseOverrideGetCurrentPlayerStrVsBlockForgeSuperiors = new Hashtable(0);
  398. private static final Map allBaseOverrideGetCurrentPlayerStrVsBlockForgeInferiors = new Hashtable(0);
  399. private static final Map allBaseAfterGetCurrentPlayerStrVsBlockForgeSuperiors = new Hashtable(0);
  400. private static final Map allBaseAfterGetCurrentPlayerStrVsBlockForgeInferiors = new Hashtable(0);
  401. private static final List beforeGetDistanceSqHookTypes = new LinkedList();
  402. private static final List overrideGetDistanceSqHookTypes = new LinkedList();
  403. private static final List afterGetDistanceSqHookTypes = new LinkedList();
  404. private PlayerBase[] beforeGetDistanceSqHooks;
  405. private PlayerBase[] overrideGetDistanceSqHooks;
  406. private PlayerBase[] afterGetDistanceSqHooks;
  407. public boolean isGetDistanceSqModded;
  408. private static final Map allBaseBeforeGetDistanceSqSuperiors = new Hashtable(0);
  409. private static final Map allBaseBeforeGetDistanceSqInferiors = new Hashtable(0);
  410. private static final Map allBaseOverrideGetDistanceSqSuperiors = new Hashtable(0);
  411. private static final Map allBaseOverrideGetDistanceSqInferiors = new Hashtable(0);
  412. private static final Map allBaseAfterGetDistanceSqSuperiors = new Hashtable(0);
  413. private static final Map allBaseAfterGetDistanceSqInferiors = new Hashtable(0);
  414. private static final List beforeGetDistanceSqToEntityHookTypes = new LinkedList();
  415. private static final List overrideGetDistanceSqToEntityHookTypes = new LinkedList();
  416. private static final List afterGetDistanceSqToEntityHookTypes = new LinkedList();
  417. private PlayerBase[] beforeGetDistanceSqToEntityHooks;
  418. private PlayerBase[] overrideGetDistanceSqToEntityHooks;
  419. private PlayerBase[] afterGetDistanceSqToEntityHooks;
  420. public boolean isGetDistanceSqToEntityModded;
  421. private static final Map allBaseBeforeGetDistanceSqToEntitySuperiors = new Hashtable(0);
  422. private static final Map allBaseBeforeGetDistanceSqToEntityInferiors = new Hashtable(0);
  423. private static final Map allBaseOverrideGetDistanceSqToEntitySuperiors = new Hashtable(0);
  424. private static final Map allBaseOverrideGetDistanceSqToEntityInferiors = new Hashtable(0);
  425. private static final Map allBaseAfterGetDistanceSqToEntitySuperiors = new Hashtable(0);
  426. private static final Map allBaseAfterGetDistanceSqToEntityInferiors = new Hashtable(0);
  427. private static final List beforeGetFOVMultiplierHookTypes = new LinkedList();
  428. private static final List overrideGetFOVMultiplierHookTypes = new LinkedList();
  429. private static final List afterGetFOVMultiplierHookTypes = new LinkedList();
  430. private PlayerBase[] beforeGetFOVMultiplierHooks;
  431. private PlayerBase[] overrideGetFOVMultiplierHooks;
  432. private PlayerBase[] afterGetFOVMultiplierHooks;
  433. public boolean isGetFOVMultiplierModded;
  434. private static final Map allBaseBeforeGetFOVMultiplierSuperiors = new Hashtable(0);
  435. private static final Map allBaseBeforeGetFOVMultiplierInferiors = new Hashtable(0);
  436. private static final Map allBaseOverrideGetFOVMultiplierSuperiors = new Hashtable(0);
  437. private static final Map allBaseOverrideGetFOVMultiplierInferiors = new Hashtable(0);
  438. private static final Map allBaseAfterGetFOVMultiplierSuperiors = new Hashtable(0);
  439. private static final Map allBaseAfterGetFOVMultiplierInferiors = new Hashtable(0);
  440. private static final List beforeGetHurtSoundHookTypes = new LinkedList();
  441. private static final List overrideGetHurtSoundHookTypes = new LinkedList();
  442. private static final List afterGetHurtSoundHookTypes = new LinkedList();
  443. private PlayerBase[] beforeGetHurtSoundHooks;
  444. private PlayerBase[] overrideGetHurtSoundHooks;
  445. private PlayerBase[] afterGetHurtSoundHooks;
  446. public boolean isGetHurtSoundModded;
  447. private static final Map allBaseBeforeGetHurtSoundSuperiors = new Hashtable(0);
  448. private static final Map allBaseBeforeGetHurtSoundInferiors = new Hashtable(0);
  449. private static final Map allBaseOverrideGetHurtSoundSuperiors = new Hashtable(0);
  450. private static final Map allBaseOverrideGetHurtSoundInferiors = new Hashtable(0);
  451. private static final Map allBaseAfterGetHurtSoundSuperiors = new Hashtable(0);
  452. private static final Map allBaseAfterGetHurtSoundInferiors = new Hashtable(0);
  453. private static final List beforeGetItemIconHookTypes = new LinkedList();
  454. private static final List overrideGetItemIconHookTypes = new LinkedList();
  455. private static final List afterGetItemIconHookTypes = new LinkedList();
  456. private PlayerBase[] beforeGetItemIconHooks;
  457. private PlayerBase[] overrideGetItemIconHooks;
  458. private PlayerBase[] afterGetItemIconHooks;
  459. public boolean isGetItemIconModded;
  460. private static final Map allBaseBeforeGetItemIconSuperiors = new Hashtable(0);
  461. private static final Map allBaseBeforeGetItemIconInferiors = new Hashtable(0);
  462. private static final Map allBaseOverrideGetItemIconSuperiors = new Hashtable(0);
  463. private static final Map allBaseOverrideGetItemIconInferiors = new Hashtable(0);
  464. private static final Map allBaseAfterGetItemIconSuperiors = new Hashtable(0);
  465. private static final Map allBaseAfterGetItemIconInferiors = new Hashtable(0);
  466. private static final List beforeGetMaxHealthHookTypes = new LinkedList();
  467. private static final List overrideGetMaxHealthHookTypes = new LinkedList();
  468. private static final List afterGetMaxHealthHookTypes = new LinkedList();
  469. private PlayerBase[] beforeGetMaxHealthHooks;
  470. private PlayerBase[] overrideGetMaxHealthHooks;
  471. private PlayerBase[] afterGetMaxHealthHooks;
  472. public boolean isGetMaxHealthModded;
  473. private static final Map allBaseBeforeGetMaxHealthSuperiors = new Hashtable(0);
  474. private static final Map allBaseBeforeGetMaxHealthInferiors = new Hashtable(0);
  475. private static final Map allBaseOverrideGetMaxHealthSuperiors = new Hashtable(0);
  476. private static final Map allBaseOverrideGetMaxHealthInferiors = new Hashtable(0);
  477. private static final Map allBaseAfterGetMaxHealthSuperiors = new Hashtable(0);
  478. private static final Map allBaseAfterGetMaxHealthInferiors = new Hashtable(0);
  479. private static final List beforeGetSleepTimerHookTypes = new LinkedList();
  480. private static final List overrideGetSleepTimerHookTypes = new LinkedList();
  481. private static final List afterGetSleepTimerHookTypes = new LinkedList();
  482. private PlayerBase[] beforeGetSleepTimerHooks;
  483. private PlayerBase[] overrideGetSleepTimerHooks;
  484. private PlayerBase[] afterGetSleepTimerHooks;
  485. public boolean isGetSleepTimerModded;
  486. private static final Map allBaseBeforeGetSleepTimerSuperiors = new Hashtable(0);
  487. private static final Map allBaseBeforeGetSleepTimerInferiors = new Hashtable(0);
  488. private static final Map allBaseOverrideGetSleepTimerSuperiors = new Hashtable(0);
  489. private static final Map allBaseOverrideGetSleepTimerInferiors = new Hashtable(0);
  490. private static final Map allBaseAfterGetSleepTimerSuperiors = new Hashtable(0);
  491. private static final Map allBaseAfterGetSleepTimerInferiors = new Hashtable(0);
  492. private static final List beforeGetSpeedModifierHookTypes = new LinkedList();
  493. private static final List overrideGetSpeedModifierHookTypes = new LinkedList();
  494. private static final List afterGetSpeedModifierHookTypes = new LinkedList();
  495. private PlayerBase[] beforeGetSpeedModifierHooks;
  496. private PlayerBase[] overrideGetSpeedModifierHooks;
  497. private PlayerBase[] afterGetSpeedModifierHooks;
  498. public boolean isGetSpeedModifierModded;
  499. private static final Map allBaseBeforeGetSpeedModifierSuperiors = new Hashtable(0);
  500. private static final Map allBaseBeforeGetSpeedModifierInferiors = new Hashtable(0);
  501. private static final Map allBaseOverrideGetSpeedModifierSuperiors = new Hashtable(0);
  502. private static final Map allBaseOverrideGetSpeedModifierInferiors = new Hashtable(0);
  503. private static final Map allBaseAfterGetSpeedModifierSuperiors = new Hashtable(0);
  504. private static final Map allBaseAfterGetSpeedModifierInferiors = new Hashtable(0);
  505. private static final List beforeHandleLavaMovementHookTypes = new LinkedList();
  506. private static final List overrideHandleLavaMovementHookTypes = new LinkedList();
  507. private static final List afterHandleLavaMovementHookTypes = new LinkedList();
  508. private PlayerBase[] beforeHandleLavaMovementHooks;
  509. private PlayerBase[] overrideHandleLavaMovementHooks;
  510. private PlayerBase[] afterHandleLavaMovementHooks;
  511. public boolean isHandleLavaMovementModded;
  512. private static final Map allBaseBeforeHandleLavaMovementSuperiors = new Hashtable(0);
  513. private static final Map allBaseBeforeHandleLavaMovementInferiors = new Hashtable(0);
  514. private static final Map allBaseOverrideHandleLavaMovementSuperiors = new Hashtable(0);
  515. private static final Map allBaseOverrideHandleLavaMovementInferiors = new Hashtable(0);
  516. private static final Map allBaseAfterHandleLavaMovementSuperiors = new Hashtable(0);
  517. private static final Map allBaseAfterHandleLavaMovementInferiors = new Hashtable(0);
  518. private static final List beforeHandleWaterMovementHookTypes = new LinkedList();
  519. private static final List overrideHandleWaterMovementHookTypes = new LinkedList();
  520. private static final List afterHandleWaterMovementHookTypes = new LinkedList();
  521. private PlayerBase[] beforeHandleWaterMovementHooks;
  522. private PlayerBase[] overrideHandleWaterMovementHooks;
  523. private PlayerBase[] afterHandleWaterMovementHooks;
  524. public boolean isHandleWaterMovementModded;
  525. private static final Map allBaseBeforeHandleWaterMovementSuperiors = new Hashtable(0);
  526. private static final Map allBaseBeforeHandleWaterMovementInferiors = new Hashtable(0);
  527. private static final Map allBaseOverrideHandleWaterMovementSuperiors = new Hashtable(0);
  528. private static final Map allBaseOverrideHandleWaterMovementInferiors = new Hashtable(0);
  529. private static final Map allBaseAfterHandleWaterMovementSuperiors = new Hashtable(0);
  530. private static final Map allBaseAfterHandleWaterMovementInferiors = new Hashtable(0);
  531. private static final List beforeHealHookTypes = new LinkedList();
  532. private static final List overrideHealHookTypes = new LinkedList();
  533. private static final List afterHealHookTypes = new LinkedList();
  534. private PlayerBase[] beforeHealHooks;
  535. private PlayerBase[] overrideHealHooks;
  536. private PlayerBase[] afterHealHooks;
  537. public boolean isHealModded;
  538. private static final Map allBaseBeforeHealSuperiors = new Hashtable(0);
  539. private static final Map allBaseBeforeHealInferiors = new Hashtable(0);
  540. private static final Map allBaseOverrideHealSuperiors = new Hashtable(0);
  541. private static final Map allBaseOverrideHealInferiors = new Hashtable(0);
  542. private static final Map allBaseAfterHealSuperiors = new Hashtable(0);
  543. private static final Map allBaseAfterHealInferiors = new Hashtable(0);
  544. private static final List beforeInteractHookTypes = new LinkedList();
  545. private static final List overrideInteractHookTypes = new LinkedList();
  546. private static final List afterInteractHookTypes = new LinkedList();
  547. private PlayerBase[] beforeInteractHooks;
  548. private PlayerBase[] overrideInteractHooks;
  549. private PlayerBase[] afterInteractHooks;
  550. public boolean isInteractModded;
  551. private static final Map allBaseBeforeInteractSuperiors = new Hashtable(0);
  552. private static final Map allBaseBeforeInteractInferiors = new Hashtable(0);
  553. private static final Map allBaseOverrideInteractSuperiors = new Hashtable(0);
  554. private static final Map allBaseOverrideInteractInferiors = new Hashtable(0);
  555. private static final Map allBaseAfterInteractSuperiors = new Hashtable(0);
  556. private static final Map allBaseAfterInteractInferiors = new Hashtable(0);
  557. private static final List beforeIsEntityInsideOpaqueBlockHookTypes = new LinkedList();
  558. private static final List overrideIsEntityInsideOpaqueBlockHookTypes = new LinkedList();
  559. private static final List afterIsEntityInsideOpaqueBlockHookTypes = new LinkedList();
  560. private PlayerBase[] beforeIsEntityInsideOpaqueBlockHooks;
  561. private PlayerBase[] overrideIsEntityInsideOpaqueBlockHooks;
  562. private PlayerBase[] afterIsEntityInsideOpaqueBlockHooks;
  563. public boolean isIsEntityInsideOpaqueBlockModded;
  564. private static final Map allBaseBeforeIsEntityInsideOpaqueBlockSuperiors = new Hashtable(0);
  565. private static final Map allBaseBeforeIsEntityInsideOpaqueBlockInferiors = new Hashtable(0);
  566. private static final Map allBaseOverrideIsEntityInsideOpaqueBlockSuperiors = new Hashtable(0);
  567. private static final Map allBaseOverrideIsEntityInsideOpaqueBlockInferiors = new Hashtable(0);
  568. private static final Map allBaseAfterIsEntityInsideOpaqueBlockSuperiors = new Hashtable(0);
  569. private static final Map allBaseAfterIsEntityInsideOpaqueBlockInferiors = new Hashtable(0);
  570. private static final List beforeIsInWaterHookTypes = new LinkedList();
  571. private static final List overrideIsInWaterHookTypes = new LinkedList();
  572. private static final List afterIsInWaterHookTypes = new LinkedList();
  573. private PlayerBase[] beforeIsInWaterHooks;
  574. private PlayerBase[] overrideIsInWaterHooks;
  575. private PlayerBase[] afterIsInWaterHooks;
  576. public boolean isIsInWaterModded;
  577. private static final Map allBaseBeforeIsInWaterSuperiors = new Hashtable(0);
  578. private static final Map allBaseBeforeIsInWaterInferiors = new Hashtable(0);
  579. private static final Map allBaseOverrideIsInWaterSuperiors = new Hashtable(0);
  580. private static final Map allBaseOverrideIsInWaterInferiors = new Hashtable(0);
  581. private static final Map allBaseAfterIsInWaterSuperiors = new Hashtable(0);
  582. private static final Map allBaseAfterIsInWaterInferiors = new Hashtable(0);
  583. private static final List beforeIsInsideOfMaterialHookTypes = new LinkedList();
  584. private static final List overrideIsInsideOfMaterialHookTypes = new LinkedList();
  585. private static final List afterIsInsideOfMaterialHookTypes = new LinkedList();
  586. private PlayerBase[] beforeIsInsideOfMaterialHooks;
  587. private PlayerBase[] overrideIsInsideOfMaterialHooks;
  588. private PlayerBase[] afterIsInsideOfMaterialHooks;
  589. public boolean isIsInsideOfMaterialModded;
  590. private static final Map allBaseBeforeIsInsideOfMaterialSuperiors = new Hashtable(0);
  591. private static final Map allBaseBeforeIsInsideOfMaterialInferiors = new Hashtable(0);
  592. private static final Map allBaseOverrideIsInsideOfMaterialSuperiors = new Hashtable(0);
  593. private static final Map allBaseOverrideIsInsideOfMaterialInferiors = new Hashtable(0);
  594. private static final Map allBaseAfterIsInsideOfMaterialSuperiors = new Hashtable(0);
  595. private static final Map allBaseAfterIsInsideOfMaterialInferiors = new Hashtable(0);
  596. private static final List beforeIsOnLadderHookTypes = new LinkedList();
  597. private static final List overrideIsOnLadderHookTypes = new LinkedList();
  598. private static final List afterIsOnLadderHookTypes = new LinkedList();
  599. private PlayerBase[] beforeIsOnLadderHooks;
  600. private PlayerBase[] overrideIsOnLadderHooks;
  601. private PlayerBase[] afterIsOnLadderHooks;
  602. public boolean isIsOnLadderModded;
  603. private static final Map allBaseBeforeIsOnLadderSuperiors = new Hashtable(0);
  604. private static final Map allBaseBeforeIsOnLadderInferiors = new Hashtable(0);
  605. private static final Map allBaseOverrideIsOnLadderSuperiors = new Hashtable(0);
  606. private static final Map allBaseOverrideIsOnLadderInferiors = new Hashtable(0);
  607. private static final Map allBaseAfterIsOnLadderSuperiors = new Hashtable(0);
  608. private static final Map allBaseAfterIsOnLadderInferiors = new Hashtable(0);
  609. private static final List beforeIsPlayerSleepingHookTypes = new LinkedList();
  610. private static final List overrideIsPlayerSleepingHookTypes = new LinkedList();
  611. private static final List afterIsPlayerSleepingHookTypes = new LinkedList();
  612. private PlayerBase[] beforeIsPlayerSleepingHooks;
  613. private PlayerBase[] overrideIsPlayerSleepingHooks;
  614. private PlayerBase[] afterIsPlayerSleepingHooks;
  615. public boolean isIsPlayerSleepingModded;
  616. private static final Map allBaseBeforeIsPlayerSleepingSuperiors = new Hashtable(0);
  617. private static final Map allBaseBeforeIsPlayerSleepingInferiors = new Hashtable(0);
  618. private static final Map allBaseOverrideIsPlayerSleepingSuperiors = new Hashtable(0);
  619. private static final Map allBaseOverrideIsPlayerSleepingInferiors = new Hashtable(0);
  620. private static final Map allBaseAfterIsPlayerSleepingSuperiors = new Hashtable(0);
  621. private static final Map allBaseAfterIsPlayerSleepingInferiors = new Hashtable(0);
  622. private static final List beforeIsSneakingHookTypes = new LinkedList();
  623. private static final List overrideIsSneakingHookTypes = new LinkedList();
  624. private static final List afterIsSneakingHookTypes = new LinkedList();
  625. private PlayerBase[] beforeIsSneakingHooks;
  626. private PlayerBase[] overrideIsSneakingHooks;
  627. private PlayerBase[] afterIsSneakingHooks;
  628. public boolean isIsSneakingModded;
  629. private static final Map allBaseBeforeIsSneakingSuperiors = new Hashtable(0);
  630. private static final Map allBaseBeforeIsSneakingInferiors = new Hashtable(0);
  631. private static final Map allBaseOverrideIsSneakingSuperiors = new Hashtable(0);
  632. private static final Map allBaseOverrideIsSneakingInferiors = new Hashtable(0);
  633. private static final Map allBaseAfterIsSneakingSuperiors = new Hashtable(0);
  634. private static final Map allBaseAfterIsSneakingInferiors = new Hashtable(0);
  635. private static final List beforeIsSprintingHookTypes = new LinkedList();
  636. private static final List overrideIsSprintingHookTypes = new LinkedList();
  637. private static final List afterIsSprintingHookTypes = new LinkedList();
  638. private PlayerBase[] beforeIsSprintingHooks;
  639. private PlayerBase[] overrideIsSprintingHooks;
  640. private PlayerBase[] afterIsSprintingHooks;
  641. public boolean isIsSprintingModded;
  642. private static final Map allBaseBeforeIsSprintingSuperiors = new Hashtable(0);
  643. private static final Map allBaseBeforeIsSprintingInferiors = new Hashtable(0);
  644. private static final Map allBaseOverrideIsSprintingSuperiors = new Hashtable(0);
  645. private static final Map allBaseOverrideIsSprintingInferiors = new Hashtable(0);
  646. private static final Map allBaseAfterIsSprintingSuperiors = new Hashtable(0);
  647. private static final Map allBaseAfterIsSprintingInferiors = new Hashtable(0);
  648. private static final List beforeJumpHookTypes = new LinkedList();
  649. private static final List overrideJumpHookTypes = new LinkedList();
  650. private static final List afterJumpHookTypes = new LinkedList();
  651. private PlayerBase[] beforeJumpHooks;
  652. private PlayerBase[] overrideJumpHooks;
  653. private PlayerBase[] afterJumpHooks;
  654. public boolean isJumpModded;
  655. private static final Map allBaseBeforeJumpSuperiors = new Hashtable(0);
  656. private static final Map allBaseBeforeJumpInferiors = new Hashtable(0);
  657. private static final Map allBaseOverrideJumpSuperiors = new Hashtable(0);
  658. private static final Map allBaseOverrideJumpInferiors = new Hashtable(0);
  659. private static final Map allBaseAfterJumpSuperiors = new Hashtable(0);
  660. private static final Map allBaseAfterJumpInferiors = new Hashtable(0);
  661. private static final List beforeKnockBackHookTypes = new LinkedList();
  662. private static final List overrideKnockBackHookTypes = new LinkedList();
  663. private static final List afterKnockBackHookTypes = new LinkedList();
  664. private PlayerBase[] beforeKnockBackHooks;
  665. private PlayerBase[] overrideKnockBackHooks;
  666. private PlayerBase[] afterKnockBackHooks;
  667. public boolean isKnockBackModded;
  668. private static final Map allBaseBeforeKnockBackSuperiors = new Hashtable(0);
  669. private static final Map allBaseBeforeKnockBackInferiors = new Hashtable(0);
  670. private static final Map allBaseOverrideKnockBackSuperiors = new Hashtable(0);
  671. private static final Map allBaseOverrideKnockBackInferiors = new Hashtable(0);
  672. private static final Map allBaseAfterKnockBackSuperiors = new Hashtable(0);
  673. private static final Map allBaseAfterKnockBackInferiors = new Hashtable(0);
  674. private static final List beforeMoveEntityHookTypes = new LinkedList();
  675. private static final List overrideMoveEntityHookTypes = new LinkedList();
  676. private static final List afterMoveEntityHookTypes = new LinkedList();
  677. private PlayerBase[] beforeMoveEntityHooks;
  678. private PlayerBase[] overrideMoveEntityHooks;
  679. private PlayerBase[] afterMoveEntityHooks;
  680. public boolean isMoveEntityModded;
  681. private static final Map allBaseBeforeMoveEntitySuperiors = new Hashtable(0);
  682. private static final Map allBaseBeforeMoveEntityInferiors = new Hashtable(0);
  683. private static final Map allBaseOverrideMoveEntitySuperiors = new Hashtable(0);
  684. private static final Map allBaseOverrideMoveEntityInferiors = new Hashtable(0);
  685. private static final Map allBaseAfterMoveEntitySuperiors = new Hashtable(0);
  686. private static final Map allBaseAfterMoveEntityInferiors = new Hashtable(0);
  687. private static final List beforeMoveEntityWithHeadingHookTypes = new LinkedList();
  688. private static final List overrideMoveEntityWithH