java.lang.Object
io.github.thebusybiscuit.slimefun4.api.items.SlimefunItem
io.github.thebusybiscuit.slimefun4.implementation.items.electric.gadgets.Jetpack
All Implemented Interfaces:
ItemAttribute, Placeable, Rechargeable

public class Jetpack extends SlimefunItem implements Rechargeable
JetBoots allow you to fly up into the air. You can find the actual behaviour in the JetpackTask class.
Author:
TheBusyBiscuit
See Also:
  • Constructor Details

  • Method Details

    • getThrust

      public double getThrust()
    • getMaxItemCharge

      public float getMaxItemCharge(ItemStack item)
      Description copied from interface: Rechargeable
      This method returns the maximum charge the given ItemStack is capable of holding.
      Specified by:
      getMaxItemCharge in interface Rechargeable
      Parameters:
      item - The ItemStack for which to determine the maximum charge
      Returns:
      The maximum energy charge for this ItemStack