public abstract class MixinEntityBoat extends MixinEntity implements org.spongepowered.api.entity.vehicle.Boat
dataWatcher, fallDistance, fire, fireResistance, height, hurtResistantTime, inWater, isDead, motionX, motionY, motionZ, onGround, posX, posY, posZ, prevPosX, prevPosY, prevPosZ, rand, riddenByEntity, ridingEntity, rotationPitch, rotationYaw, width, worldObj
Constructor and Description |
---|
MixinEntityBoat() |
Modifier and Type | Method and Description |
---|---|
void |
afterLimitSpeed(org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci) |
void |
beforeLimitSpeed(org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci) |
void |
beforeModifyMotion(org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci) |
boolean |
canMoveOnLand() |
double |
getMaxSpeed() |
double |
getOccupiedDeceleration() |
double |
getUnoccupiedDeceleration() |
void |
implementCustomDeceleration(org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci) |
void |
implementLandBoats(org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci) |
boolean |
isInWater() |
void |
readFromNbt(net.minecraft.nbt.NBTTagCompound compound)
Read extra data (SpongeData) from the entity's NBT tag.
|
void |
setMaxSpeed(double maxSpeed) |
void |
setMoveOnLand(boolean moveOnLand) |
void |
setOccupiedDeceleration(double occupiedDeceleration) |
void |
setUnoccupiedDeceleration(double unoccupiedDeceleration) |
void |
writeToNbt(net.minecraft.nbt.NBTTagCompound compound)
Write extra data (SpongeData) to the entity's NBT tag.
|
getAir, getAlwaysRenderNameTag, getBaseVehicle, getContainers, getCustomNameTag, getEyeHeight, getFlag, getLocation, getPosition, getRotation, getScale, getTeleportVehicle, getTransform, getType, getUniqueId, getUniqueID, getVelocity, getWorld, isLoaded, isOnGround, isRemoved, isTeleporting, mountEntity, onGetEyeHeight, onMoveEntity, onReadFromNBT, onSetSize, onWriteToNBT, remove, setAir, setAlwaysRenderNameTag, setCustomNameTag, setDead, setEyeHeight, setFlag, setIsTeleporting, setLocation, setLocation, setLocationAndRotation, setLocationAndRotation, setLocationAndRotation, setLocationAndRotationSafely, setLocationAndRotationSafely, setLocationSafely, setPassenger, setPosition, setRawData, setRotation, setScale, setTeleportVehicle, setTransform, setVehicle, setVelocity, shadow$setRotation, teleportEntity, toContainer, transferToWorld, transferToWorld, validateRawData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createSnapshot, damage, getLocation, getRotation, getScale, getTransform, getType, getWorld, isLoaded, isOnGround, isRemoved, remove, setLocation, setLocationAndRotation, setLocationAndRotation, setLocationAndRotationSafely, setLocationAndRotationSafely, setLocationSafely, setRotation, setScale, setTransform, transferToWorld, transferToWorld
getProperties, getProperty, setRawData, validateRawData
copyFrom, copyFrom, get, getContainers, getOrCreate, offer, offer, offer, offer, offer, offer, remove, remove, remove, supports, transform, undo
copy, get, getKeys, getOrElse, getOrNull, getValue, getValues, supports, supports
getActivatedTick, getActivationType, getDefaultActivationState, getSpongeData, inactiveTick, setActivatedTick
public void implementLandBoats(org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)
public void beforeModifyMotion(org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)
public void beforeLimitSpeed(org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)
public void afterLimitSpeed(org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)
public void implementCustomDeceleration(org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)
public boolean isInWater()
isInWater
in interface org.spongepowered.api.entity.vehicle.Boat
public double getMaxSpeed()
getMaxSpeed
in interface org.spongepowered.api.entity.vehicle.Boat
public void setMaxSpeed(double maxSpeed)
setMaxSpeed
in interface org.spongepowered.api.entity.vehicle.Boat
public boolean canMoveOnLand()
canMoveOnLand
in interface org.spongepowered.api.entity.vehicle.Boat
public void setMoveOnLand(boolean moveOnLand)
setMoveOnLand
in interface org.spongepowered.api.entity.vehicle.Boat
public double getOccupiedDeceleration()
getOccupiedDeceleration
in interface org.spongepowered.api.entity.vehicle.Boat
public void setOccupiedDeceleration(double occupiedDeceleration)
setOccupiedDeceleration
in interface org.spongepowered.api.entity.vehicle.Boat
public double getUnoccupiedDeceleration()
getUnoccupiedDeceleration
in interface org.spongepowered.api.entity.vehicle.Boat
public void setUnoccupiedDeceleration(double unoccupiedDeceleration)
setUnoccupiedDeceleration
in interface org.spongepowered.api.entity.vehicle.Boat
public void readFromNbt(net.minecraft.nbt.NBTTagCompound compound)
MixinEntity
readFromNbt
in interface IMixinEntity
readFromNbt
in class MixinEntity
compound
- The SpongeData compound to read frompublic void writeToNbt(net.minecraft.nbt.NBTTagCompound compound)
MixinEntity
writeToNbt
in interface IMixinEntity
writeToNbt
in class MixinEntity
compound
- The SpongeData compound to write to