b eter
This commit is contained in:
parent
e313e98f66
commit
2431bdda9e
File diff suppressed because it is too large
Load Diff
|
@ -79,7 +79,8 @@ public class GuiScreenModules extends GuiScreen {
|
|||
}else if(par1GuiButton.id == 3){
|
||||
NoteblockPlayer.legit=!NoteblockPlayer.legit;
|
||||
}else if(par1GuiButton.id == 4){
|
||||
mc.thePlayer.capabilities.isFlying=!mc.thePlayer.capabilities.isFlying;
|
||||
NoteblockPlayer.flying=!NoteblockPlayer.flying;
|
||||
if(!NoteblockPlayer.flying)mc.thePlayer.capabilities.isFlying=false;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -21,11 +21,14 @@ public class NoteblockPlayer {
|
|||
private static Minecraft mc=Minecraft.getMinecraft();
|
||||
public static boolean legit=false;
|
||||
|
||||
public static boolean flying=false;
|
||||
|
||||
private static boolean playingSong=false;
|
||||
private static String[] songLiness=null;
|
||||
private static HashMap<Integer,HashMap<Integer,Vec3>> instrNoteToBlocks=null;
|
||||
private static int tickPassed=0;
|
||||
public static void tick(){
|
||||
if(flying)mc.thePlayer.capabilities.isFlying=true;
|
||||
if(playing&&playingSong){
|
||||
int linesPlayed=0;
|
||||
for (String songLine : songLiness) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user