HyCodeYourTale
classpublicPriority 1

ItemPrePhysicsSystem

com.hypixel.hytale.server.core.modules.entity.item.ItemPrePhysicsSystem

extends EntityTickingSystem

4

Methods

4

Public Methods

5

Fields

1

Constructors

Constants

NearestBlockUtil.IterationElement[]SEARCH_ELEMENTS= <complex>
doubleVERTICAL_CLIMB_SCALE= 7.0

Constructors

public
ItemPrePhysicsSystem(ComponentType<EntityStore, ItemComponent> itemComponentType, ComponentType<EntityStore, BoundingBox> boundingBoxComponentType, ComponentType<EntityStore, Velocity> velocityComponentType, ComponentType<EntityStore, TransformComponent> transformComponentType, ComponentType<EntityStore, PhysicsValues> physicsValuesComponentType)

Methods

Public Methods (4)

publicstatic
void applyGravity(float dt, Box boundingBox, PhysicsValues values, Vector3d position, Velocity velocity)
public
Query<EntityStore> getQuery()
@Nonnull@Override
public
boolean isParallel(int archetypeChunkSize, int taskCount)
@Override
publicstatic
void moveOutOfBlock(WorldChunk chunk, Vector3d position, Velocity velocityComponent, Box boundingBox)

Fields

Private/Package Fields (5)

privateComponentType<EntityStore, BoundingBox> boundingBoxComponentType
privateComponentType<EntityStore, PhysicsValues> physicsValuesComponentType
privateQuery<EntityStore> query
privateComponentType<EntityStore, TransformComponent> transformComponentType
privateComponentType<EntityStore, Velocity> velocityComponentType

Related Classes