Class PhysObject
java.lang.Object
ua.mcchickenstudio.opencreative.coding.blocks.actions.worldactions.world.phys.data.PhysObject
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal doublefinal doublefinal doublefinal doubledoublefinal doublefinal doubleintdoublefinal doublefinal double -
Constructor Summary
ConstructorsConstructorDescriptionPhysObject(org.bukkit.World world, List<?> visual, List<?> motion, List<?> settings) -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleancheckBlockCollision(org.bukkit.Location from) booleancheckEntityCollision(org.bukkit.Location from) booleanorg.bukkit.WorldgetWorld()inthashCode()booleanisLiving()voidtick()
-
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
-
-
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
-
hashCode
-