Assorted Gravity
Assorted Tech

Assorted Gravity

Adds attractors, repulsors and gravitors that move things around and gravity boots that keep you still.

Also included in Assorted Tech.

A gravitor lifting a sheep, a pig, a chicken and some items once it gets power.
A gravitor lifting a sheep, a pig, a chicken and some items once it gets power.

Have you wanted to control the movement of entities in a range. Then you can with these blocks below! All gravity blocks can be Right-Clicked to adjust the range that it has. If you would like to see the current range you can Right-Click on them with a Redstone Torch in your hand to toggle the bounds.

An attractor, a gravitor and a repulsor with their ranges showing. Right click changes the range and a redstone torch shows it.
An attractor, a gravitor and a repulsor with their ranges showing. Right click changes the range and a redstone torch shows it.

Attractor

The Attractor as the name suggests pulls entities towards it when provided with a redstone signal. The directional variant only pulls entities in the range in the direction the block is placed.

Shaped craftingCrafting Table

Shaped crafting recipe made in a Crafting Table. Row 1: any iron ingots (tag #c:ingots/iron, 1 item), any redstone dusts (tag #c:dusts/redstone, 1 item), any iron ingots (tag #c:ingots/iron, 1 item). Row 2: any redstone dusts (tag #c:dusts/redstone, 1 item), Compass, any redstone dusts (tag #c:dusts/redstone, 1 item). Row 3: any iron ingots (tag #c:ingots/iron, 1 item), any ender pearls (tag #c:ender_pearls, 1 item), any iron ingots (tag #c:ingots/iron, 1 item). Makes Attractor.

Shaped craftingCrafting Table

Shaped crafting recipe made in a Crafting Table. Row 1: any iron ingots (tag #c:ingots/iron, 1 item), any redstone dusts (tag #c:dusts/redstone, 1 item), any iron ingots (tag #c:ingots/iron, 1 item). Row 2: any redstone dusts (tag #c:dusts/redstone, 1 item), Compass, any redstone dusts (tag #c:dusts/redstone, 1 item). Row 3: empty, any ender pearls (tag #c:ender_pearls, 1 item), empty. Makes Directional Attractor.

Repulsor

The Repulsor as the name suggests pushes entities away from it when provided with a redstone signal. The directional variant only pushes entities in the range in the direction the block is placed.

Shaped craftingCrafting Table

Shaped crafting recipe made in a Crafting Table. Row 1: any redstone dusts (tag #c:dusts/redstone, 1 item), any iron ingots (tag #c:ingots/iron, 1 item), any redstone dusts (tag #c:dusts/redstone, 1 item). Row 2: any iron ingots (tag #c:ingots/iron, 1 item), Compass, any iron ingots (tag #c:ingots/iron, 1 item). Row 3: any redstone dusts (tag #c:dusts/redstone, 1 item), any ender pearls (tag #c:ender_pearls, 1 item), any redstone dusts (tag #c:dusts/redstone, 1 item). Makes Repulsor.

Shaped craftingCrafting Table

Shaped crafting recipe made in a Crafting Table. Row 1: any redstone dusts (tag #c:dusts/redstone, 1 item), any iron ingots (tag #c:ingots/iron, 1 item), any redstone dusts (tag #c:dusts/redstone, 1 item). Row 2: any iron ingots (tag #c:ingots/iron, 1 item), Compass, any iron ingots (tag #c:ingots/iron, 1 item). Row 3: empty, any ender pearls (tag #c:ender_pearls, 1 item), empty. Makes Directional Repulsor.

Gravitor

The Gravitor is a block that when powered makes entities float inside the range. The directional variant only floats entities in the range in the direction the block is placed.

A powered gravitor holding a sheep, a pig, a chicken and some items up against the ceiling. The green box is its range.
A powered gravitor holding a sheep, a pig, a chicken and some items up against the ceiling. The green box is its range.
Shaped craftingCrafting Table

Shaped crafting recipe made in a Crafting Table. Row 1: any iron ingots (tag #c:ingots/iron, 1 item), any redstone dusts (tag #c:dusts/redstone, 1 item), any iron ingots (tag #c:ingots/iron, 1 item). Row 2: empty, Compass, empty. Row 3: any iron ingots (tag #c:ingots/iron, 1 item), any ender pearls (tag #c:ender_pearls, 1 item), any iron ingots (tag #c:ingots/iron, 1 item). Makes Gravitor.

Shaped craftingCrafting Table

Shaped crafting recipe made in a Crafting Table. Row 1: empty, any redstone dusts (tag #c:dusts/redstone, 1 item), empty. Row 2: any iron ingots (tag #c:ingots/iron, 1 item), Compass, any iron ingots (tag #c:ingots/iron, 1 item). Row 3: empty, any ender pearls (tag #c:ender_pearls, 1 item), empty. Makes Directional Gravitor.

Gravity Boots

Gravity Boots if they are on a player will stop the effects of all of the gravity blocks from doing anything to the player. They also will negate the Gravity Lift from Bridges .

Shaped craftingCrafting Table

Shaped crafting recipe made in a Crafting Table. Row 1: any iron ingots (tag #c:ingots/iron, 1 item), empty, any iron ingots (tag #c:ingots/iron, 1 item). Row 2: Attractor, empty, Attractor. Makes Gravity Boots.

Config

These are in the assortedgravity-common config file.

  • gravity.attractRepulseSpeed is how fast the attractor and repulsor move things. 0.13 by default.
  • gravity.attractRepulseModSpeed is the extra speed they get the higher their range is set. 0.065 by default.
  • gravity.gravitorSpeed is how fast the gravitor lifts things up. 0.1 by default.
  • gravity.gravityMaxRange is the highest range the gravity blocks can be set to. 15 blocks by default.