FlyingTub

I really love the CartJump plugin, and wanted to make some changes/improvements, but the author has not open-sourced it. So I re-implemented the basic features, but with some modernization and improvements, also implementing the functionality of the companion mod CartArmor at the same time.

Links

Features

  • Configurable using newer config.yml setup
  • Has optional fall damage prevention while in a minecart
  • Highly performance tuned (uses no additional CPU while flying)
  • Change gravity values without a reload using ingame /flyingtub command

How it Works

When a cart rides down a track and off an edge (there's no solid blocks at the same height) it will begin free-fall. In the default Minecraft server, the cart falls very quickly and loses speed very quickly. What this plugin does is let you change how quickly you lose speed and the fall rate, so you can have a cart continue along at full speed if you want, and fall much slower, to implement launchers, rollercoasters, or even long-distance travel over oceans

Configuration

Run the server once to let config.yml be generated.

The velocity mod is configured via the horizontal and vertical parameters, these control the rate of slowdown and the rate of fall.

Horizontal:

  • Setting the horizontal to 1 will keep the velocity roughly the same as when you launched during your flight.
  • Setting the horizontal to 1.1 (or higher) will keep speeding up the cart (multiplying it by 1.1 every tick) until it reaches the 8m/s limit.
  • Setting the horizontal to 0.999999 (or lower) will gradually slow down the cart.

Vertical:

  • Setting the vertical to 0.95 maintains roughly the same fall rate as default minecraft (needs testing)
  • A vertical of greater than 0.95 allows for very fast fall rate. I don't know why you'd want this, unless you're a masochist.
  • A vertical of between 0.4 and 0.95 is a nice setup for rollercoasters, the cart will fall less, but not so much as to seem ridiculous.
  • A vertical of 0 to 0.4 is great for long-distance travel and low gravity worlds
  • A vertical of -1 to 0 is a super-low gravity setup, but not as well tested as the other values.
  • Using less than -1 will cause the cart to oscillate violently and behave erratically, not recommended.

Some concrete examples

  • horizontal: 0.95, vertical: 0.95 emulates the default behavior of minecraft. Carts will slow down very quickly and go down quickly as well. In 4 blocks of fall, goes forward 2.4 blocks or so, and won't go much further over a longer fall because the cart slows down.
  • horizontal: 1.1, vertical: 0.8 Lets you go slightly farther then the default minecraft. Will go forward 7 blocks in 4 blocks of fall, and keep going at the same rate.
  • horzontal: 1.1, vertical: 0.5 is a decent launcher setup. The cart will keep going at full speed, and will go forward 20 blocks for every 4 blocks of fall.
  • horizontal: 1.1, vertical: 0 is a very low-gravity setup. The cart will keep going at full speed, and will go forward 40 blocks for every 4 blocks of fall.
  • horizontal: 1.1, vertical: -1 Is an EXTREMELY low gravity setup, mostly for giggles. No, the cart will not go upwards, but it will fall very very slowly, expect runaway carts galore. This is a great way if launched from a tower to quickly explore thousands of blocks though. Cart will travel 80 blocks for every 4 blocks of fall.

Example images:


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    38362
  • Created
    Apr 6, 2012
  • Last Released File
    Oct 31, 2012
  • Total Downloads
    5,544
  • License

Categories

Members

Recent Files