Package emu.grasscutter.game.entity
Class EntityVehicle
java.lang.Object
emu.grasscutter.game.entity.GameEntity
emu.grasscutter.game.entity.EntityBaseGadget
emu.grasscutter.game.entity.EntityVehicle
-
Field Summary
Fields inherited from class emu.grasscutter.game.entity.EntityBaseGadget
position, rotationFields inherited from class emu.grasscutter.game.entity.GameEntity
id -
Constructor Summary
ConstructorsConstructorDescriptionEntityVehicle(Scene scene, Player player, int gadgetId, int pointId, Position pos, Position rot) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidfillFightProps(ConfigGadget configGadget) floatit.unimi.dsi.fastutil.ints.Int2FloatMapintgetOwner()intvoidsetCurStamina(float curStamina) toProto()Methods inherited from class emu.grasscutter.game.entity.EntityBaseGadget
getPosition, getRotation, onDeathMethods inherited from class emu.grasscutter.game.entity.GameEntity
addAllFightPropsToEntityInfo, addFightProperty, damage, damage, getBlockId, getConfigId, getEntityType, getFightProperty, getGroupId, getId, getLastMoveReliableSeq, getLastMoveSceneTimeMs, getLifeState, getMetaModifiers, getMetaOverrideMap, getMotionInfo, getMotionState, getScene, getSpawnEntry, getWorld, hasFightProperty, heal, isAlive, isLockHP, move, onCreate, onInteract, onRemoved, setBlockId, setConfigId, setFightProperty, setFightProperty, setGroupId, setLastMoveReliableSeq, setLastMoveSceneTimeMs, setLockHP, setMotionState, setSpawnEntry
-
Constructor Details
-
EntityVehicle
-
-
Method Details
-
fillFightProps
- Overrides:
fillFightPropsin classEntityBaseGadget
-
toProto
- Specified by:
toProtoin classGameEntity
-
getOwner
-
getFightProperties
public it.unimi.dsi.fastutil.ints.Int2FloatMap getFightProperties()- Specified by:
getFightPropertiesin classGameEntity
-
getPointId
public int getPointId() -
getGadgetId
public int getGadgetId()- Specified by:
getGadgetIdin classEntityBaseGadget
-
getCurStamina
public float getCurStamina() -
setCurStamina
public void setCurStamina(float curStamina) -
getVehicleMembers
-
getConfigGadget
-