Flying event?

Published by xVoidZx on
Status
Fixed
Issue description

As the name suggests, perhaps you could add an event in the Events Editor that enables flying, as currently it is only possible through editing the code.

Issue comments

The issue author said he uses custom code and I asked if he could provide it as flying is a pretty wide scope ranging from just levitating like in creative mode to actual flying like with elytra.

To fly like you are in create you need to go to events, add custom code. Paste these as two different events. I've only used in on armor. 

{
if(world.isRemote)
entity.capabilities.allowFlying = true;
}

{
    entity.fallDistance = 0.0F;
}