NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

package argo.me.wolve189.eclipse.mods;

import argo.me.wolve189.eclipse.events.EventMovePlayer;
import argo.me.wolve189.eclipse.mods.base.ModBase;
import argo.me.wolve189.eclipse.util.TimeHelper;
import net.minecraft.client.Minecraft;
import net.minecraft.src.EntityClientPlayerMP;
import net.minecraft.src.GameSettings;
import net.minecraft.src.KeyBinding;
import net.minecraft.src.NetClientHandler;
import net.minecraft.src.Packet11PlayerPosition;
import net.minecraft.src.PlayerCapabilities;
import net.minecraft.src.Timer;

public class FlyNCP
extends ModBase
{
private Float motion;
private final TimeHelper time = new TimeHelper();
private final TimeHelper ground = new TimeHelper();
private boolean shouldCancelPacket;
private int ticks;
public static Minecraft mc = Minecraft.getMinecraft();

public FlyNCP()
{
super("FlyNCP", "0", true, ".t ncpfly");
setColor(65407);
setDescription("Glide on the air");
this.motion = Float.valueOf(1.0F);
this.shouldCancelPacket = false;
this.ticks = 0;
}

public void onEnable()
{
Minecraft _tmp = mc;
if (Minecraft.thePlayer != null)
{
this.time.reset();
Minecraft _tmp1 = mc;
if (Minecraft.thePlayer.onGround)
{
Minecraft _tmp2 = mc;
Minecraft.thePlayer.motionY += 0.20000000298023224D;
Minecraft _tmp3 = mc;
Minecraft.thePlayer.swingItem();
for (int i = 0; i < 70; i++)
{
Minecraft.thePlayer.sendQueue.addToSendQueue(new Packet11PlayerPosition(Minecraft.thePlayer.posX, Minecraft.thePlayer.posY + 0.0625D, Minecraft.thePlayer.posZ, false));
Minecraft.thePlayer.sendQueue.addToSendQueue(new Packet11PlayerPosition(Minecraft.thePlayer.posX, Minecraft.thePlayer.posY, Minecraft.thePlayer.posZ, false));
}
Minecraft.thePlayer.sendQueue.addToSendQueue(new Packet11PlayerPosition(Minecraft.thePlayer.posX, Minecraft.thePlayer.posY + 0.1125D, Minecraft.thePlayer.posZ, false));
}
for (int i = 0; i < 10; i++)
{
Minecraft.thePlayer.sendQueue.addToSendQueue(new Packet11PlayerPosition(Minecraft.thePlayer.posX, Minecraft.thePlayer.posY + 0.0625D, Minecraft.thePlayer.posZ, false));
Minecraft.thePlayer.sendQueue.addToSendQueue(new Packet11PlayerPosition(Minecraft.thePlayer.posX, Minecraft.thePlayer.posY, Minecraft.thePlayer.posZ, false));
Minecraft.thePlayer.sendQueue.addToSendQueue(new Packet11PlayerPosition(Minecraft.thePlayer.posX, Minecraft.thePlayer.posY + 0.1125D, Minecraft.thePlayer.posZ, false));
}
}
Minecraft _tmp4 = mc;
Minecraft.thePlayer.motionY -= 0.20000000298023224D;
}

public void onDisable()
{
Minecraft _tmp = mc;
if (Minecraft.thePlayer != null)
{
Timer _tmp1 = mc.timer;
Timer.timerSpeed = 1.0F;
}
}

public void postMotionUpdate()
{
Minecraft _tmp = mc;
Minecraft.thePlayer.onGround = false;
Minecraft _tmp1 = mc;
if (!Minecraft.thePlayer.capabilities.isFlying)
{
Minecraft _tmp2 = mc;
if (Minecraft.thePlayer.fallDistance > 0.0F)
{
Minecraft _tmp3 = mc;
if ((!Minecraft.thePlayer.isSneaking()) && (this.time.hasReached(300L)))
{
Minecraft _tmp4 = mc;
Minecraft.thePlayer.motionY = -0.0D;
}
}
}
if (mc.gameSettings.keyBindSneak.pressed)
{
Minecraft _tmp5 = mc;
Minecraft.thePlayer.motionY = -0.31D;
}
if (mc.gameSettings.keyBindJump.pressed)
{
Minecraft _tmp6 = mc;
Minecraft.thePlayer.motionY = 0.11D;
}
if (this.ground.hasReached(450L))
{
Minecraft _tmp7 = mc;
Minecraft.thePlayer.motionY += 0.10000000149011612D;
this.ground.reset();
}
}

public void onPlayerMove(EventMovePlayer event)
{
if (!mc.gameSettings.keyBindSneak.pressed) {
event.setY(event.getY() * this.motion.floatValue() / 2.0D);
}
}
}
     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.