Giter VIP home page Giter VIP logo

do-a-barrel-roll's Introduction

Mod Loader Enviroment Discord

Modrinth CurseForge

Do a Barrel Roll is a lightweight, fully clientside mod for Fabric that changes elytra flight to be more fun and semi-realistic. It achieves this by redesigning movement with a completely unlocked camera orientation in mind, allowing for full pitch, yaw and roll control in flight.

Some subtle and less subtle modifiers are also applied to the camera, including but not limited to smoothing and banking.

Controls

The default controls are as follows, but can be modified:

  • Mouse x axis to roll
  • Mouse y axis to pitch
  • strafe keys (normally A and D) to yaw

Configuration

The mod can be configured in-game using ModMenu and YACL. Once you install both of these, you can access the config screen by finding the mod in the mods list and pressing the config button.

A wide range of options are available, including custom mouse behavior, elytra activation restrictions and changing values of modifiers like banking, sensitivity and more.

Server-side features

Visual aspects of the mod (playermodel roll in particular) can be synced between clients by installing it on the server-side as well. Everything is still fully compatible with both vanilla clients and servers. All the following configurations are valid:

  • Server with mod, client with mod: visuals are synced
  • Server with mod, client without mod: client can join and play without issues, but can't see visuals
  • Server without mod, client with mod: client can join and play without issues, but can only see their own visuals
  • Server with mod, client 1 with mod, client 2 with mod, client 3 without mod: client 1 and 2 can see each other's visuals, client 3 cannot
  • Server without mod, client 1 with mod, client 2 with mod, client 3 without mod: client 1 and 2 can only see their own visuals

Disclaimers

The Forge version of this mod will no longer receive any updates. This has to do with my personal preferences and lack of knowledge about Forge, due to which, maintaining a port was severely limiting what I could do with the mod.

This mod does not actually modify the flight physics themselves, so in most cases it shouldn't trigger anticheat. However, doing things like loop de loops looks to the server like rapid camera movement and may get you flagged. Use at your own risk.

Versions prior to 2.8.3 may not be suitable for use on multiplayer servers due to lax server-side restrictions

Credits

Based on the Cool Elytra Roll mod by Jorbon, specifically it's "realistic mode".

Originally ported to Forge by MehVahdJukaar.

Mod icon by Mizeno.

For server owners

The mod includes a "thrusting" feature that is probably considered cheating by most servers, as it lets users accelerate without using fireworks. This is disabled by default on servers as of 2.8.3. If you want to allow players to use this feature on your server, you can either:

  • Install the mod on your server and set "allowThrusting" to true in config/do_a_barrel_roll-server.json
  • Send a custom packet to the client at login on the do_a_barrel_roll:config_sync channel with one string field containing the following JSON:
{
  "allowThrusting": true
}

The client will respond with a boolean on the same channel to indicate success.

This option will be respected by any clients using version 2.4.0 or later of the mod. The legacy Forge versions do not support thrusting, so they will not be affected by this option.

do-a-barrel-roll's People

Contributors

amibeskyfy16 avatar bawnorton avatar benonardo avatar derpderpling avatar enjarai avatar fitfc avatar isxander avatar jorbon avatar justletterv avatar kxmischesdomi avatar mehvahdjukaar avatar motschen avatar ozzykemp avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.