Class PhysObject

java.lang.Object
ua.mcchickenstudio.opencreative.coding.blocks.actions.worldactions.world.phys.data.PhysObject

public class PhysObject extends Object
  • Field Details

    • speed

      public double speed
    • weight

      public double weight
    • speedAccel

      public final double speedAccel
    • speedLimit

      public final double speedLimit
    • weightAccel

      public final double weightAccel
    • weightLimit

      public final double weightLimit
    • damage

      public final double damage
    • explosion

      public final double explosion
    • shockwaveRadius

      public final double shockwaveRadius
    • shockwavePower

      public final double shockwavePower
    • timeExist

      public int timeExist
  • Constructor Details

    • PhysObject

      public PhysObject(org.bukkit.World world, List<?> visual, List<?> motion, List<?> settings)
  • Method Details

    • tick

      public void tick()
    • getWorld

      public org.bukkit.World getWorld()
    • isLiving

      public boolean isLiving()
    • applyMotion

      public void applyMotion()
    • checkEntityCollision

      public boolean checkEntityCollision(org.bukkit.Location from)
    • checkBlockCollision

      public boolean checkBlockCollision(org.bukkit.Location from)
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object