Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package me.taylor.ASM.mod.mods;
- import me.taylor.ASM.ASMmain;
- import net.minecraft.client.Minecraft;
- import net.minecraft.client.entity.EntityPlayerSP;
- public class Mods {
- private String name;
- private int bind;
- private boolean isEnabled;
- public static Minecraft mc = Minecraft.getMinecraft();
- public Mods(String name, int bind) {
- this.name = name;
- this.bind = bind;
- }
- public Mods(String name, int bind) {
- this.name = name;
- this.bind = bind;
- }
- public Mods(String name) {
- this.name = name;
- this.bind = 0;
- }
- public Mods(ASMmain asm, int keyCode) {
- }
- public String getName() {
- return name;
- }
- public int getBind() {
- return bind;
- }
- public int getColor(){
- return color;
- }
- public boolean getState() {
- return isEnabled;
- }
- public void setState(boolean state) {
- this.onToggle();
- if (state) {
- this.onEnable();
- this.isEnabled = true;
- } else {
- this.onDisable();
- this.isEnabled = false;
- }
- }
- public void toggleModule() {
- this.setState(!this.getState());
- }
- public void onToggle() {
- }
- public void onEnable() {
- }
- public void onDisable() {
- }
- public void onUpdate() {
- }
- public void onRender() {
- }
- public void onTeleport() {
- }
- public void getPlayers() {
- }
- public void onDamage() {
- }
- public boolean isEnabled() {
- return false;
- }
- public void onLivingUpdate(EntityPlayerSP entity) {
- }
- public int getToggleKey() {
- return 0;
- }
- public void setEnabled(boolean b) {
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment