Guest User

Untitled

a guest
May 27th, 2016
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.56 KB | None | 0 0
  1. package me.taylor.ASM.mod.mods;
  2.  
  3. import me.taylor.ASM.ASMmain;
  4. import net.minecraft.client.Minecraft;
  5. import net.minecraft.client.entity.EntityPlayerSP;
  6.  
  7. public class Mods {
  8.  
  9. private String name;
  10. private int bind;
  11. private boolean isEnabled;
  12.  
  13. public static Minecraft mc = Minecraft.getMinecraft();
  14.  
  15. public Mods(String name, int bind) {
  16. this.name = name;
  17. this.bind = bind;
  18.  
  19. }
  20.  
  21.  
  22. public Mods(String name, int bind) {
  23. this.name = name;
  24. this.bind = bind;
  25.  
  26. }
  27.  
  28.  
  29. public Mods(String name) {
  30. this.name = name;
  31. this.bind = 0;
  32. }
  33.  
  34. public Mods(ASMmain asm, int keyCode) {
  35. }
  36.  
  37.  
  38. public String getName() {
  39. return name;
  40. }
  41.  
  42. public int getBind() {
  43. return bind;
  44. }
  45.  
  46. public int getColor(){
  47. return color;
  48. }
  49.  
  50. public boolean getState() {
  51. return isEnabled;
  52. }
  53.  
  54. public void setState(boolean state) {
  55. this.onToggle();
  56. if (state) {
  57. this.onEnable();
  58. this.isEnabled = true;
  59. } else {
  60. this.onDisable();
  61. this.isEnabled = false;
  62. }
  63. }
  64.  
  65. public void toggleModule() {
  66. this.setState(!this.getState());
  67. }
  68.  
  69. public void onToggle() {
  70. }
  71.  
  72. public void onEnable() {
  73. }
  74.  
  75. public void onDisable() {
  76. }
  77.  
  78. public void onUpdate() {
  79. }
  80.  
  81. public void onRender() {
  82. }
  83.  
  84. public void onTeleport() {
  85. }
  86.  
  87.  
  88.  
  89. public void getPlayers() {
  90. }
  91.  
  92.  
  93. public void onDamage() {
  94. }
  95.  
  96.  
  97. public boolean isEnabled() {
  98. return false;
  99. }
  100.  
  101.  
  102. public void onLivingUpdate(EntityPlayerSP entity) {
  103.  
  104. }
  105.  
  106.  
  107. public int getToggleKey() {
  108. return 0;
  109. }
  110.  
  111.  
  112. public void setEnabled(boolean b) {
  113. }
  114.  
  115. }
Advertisement
Add Comment
Please, Sign In to add comment