public class HelicopterEntity extends VehicleEntity
VehicleEntity.Seat, VehicleEntity.Speed, VehicleEntity.WheelData| Modifier and Type | Field and Description |
|---|---|
float |
gearLift |
InterpValue |
interpRotationPitch |
InterpValue |
interpRotationRoll |
boolean |
isFlying |
float |
pitch |
float |
roll |
double |
rotAmount |
float |
rotorRotationAmount |
boolean |
shouldGearLift |
allWheels, backLeftWheel, backRightWheel, backValue, estimatedSpeed, frontLeftWheel, frontRightWheel, frontValue, interpProgress, interpTargetY, interpTargetYaw, interpTargetZ, leftValue, MAX_HEALTH, prevWheelRotateAmount, RECORD_ITEM, rightValue, rotationDelta, seats, sound, speedModifier, steerAmount, wasOnGroundLastTick, WATCHER_HEALTH, WATCHER_SEATS, WATCHER_SPEED, WATCHER_STATE, wheeldata, wheelDataList, wheelRotateAmount, wheelRotationaddedToChunk, cachedUniqueIdString, capturedDrops, captureDrops, chunkCoordX, chunkCoordY, chunkCoordZ, collided, collidedHorizontally, collidedVertically, dataManager, dimension, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, entityUniqueID, fallDistance, firstUpdate, FLAGS, forceSpawn, glowing, height, hurtResistantTime, ignoreFrustumCheck, inPortal, inWater, isAirBorne, isDead, isImmuneToFire, isInWeb, lastPortalPos, lastPortalVec, lastTickPosX, lastTickPosY, lastTickPosZ, motionX, motionY, motionZ, noClip, onGround, portalCounter, posX, posY, posZ, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, rideCooldown, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, stepHeight, teleportDirection, ticksExisted, timeUntilPortal, updateBlocked, velocityChanged, width, world| Constructor and Description |
|---|
HelicopterEntity(net.minecraft.world.World worldIn) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
applyMovement() |
protected VehicleEntity.Seat[] |
createSeats() |
protected VehicleEntity.WheelData |
createWheels() |
protected void |
doBlockCollisions() |
boolean |
downward() |
void |
downward(boolean downward) |
void |
dropItems() |
void |
fall(float distance,
float damageMultiplier) |
net.minecraft.util.EnumFacing |
getAdjustedHorizontalFacing() |
float |
getCollisionBorderSize() |
float |
getSoundVolume() |
protected void |
handleControl() |
void |
onEntityUpdate() |
void |
onUpdate() |
boolean |
processInitialInteract(net.minecraft.entity.player.EntityPlayer player,
net.minecraft.util.EnumHand hand) |
protected void |
readEntityFromNBT(net.minecraft.nbt.NBTTagCompound compound) |
protected void |
removePassenger(net.minecraft.entity.Entity passenger) |
void |
setDead() |
protected boolean |
shouldStopUpdates() |
protected boolean |
shouldTyresRender() |
void |
startSound() |
void |
updatePassenger(net.minecraft.entity.Entity passenger) |
boolean |
upward() |
void |
upward(boolean upward) |
protected void |
writeEntityToNBT(net.minecraft.nbt.NBTTagCompound compound) |
addPassenger, attackEntityFrom, backward, backward, calculateWheelHeight, canBeCollidedWith, canFitPassenger, canRunoverEntity, canTriggerWalking, createWheelParticles, createWheelParticles, entityInit, forward, forward, getBackWheelRotationPoint, getCarDimensions, getControllingPassenger, getControlState, getEntityInSeat, getHealth, getIfExists, getItem, getPreviousState, getSeat, getSeatForEntity, getSpeed, getStateBit, isInRangeToRenderDist, left, left, processWheel, right, right, runOverEntity, setControlState, setHealth, setPositionAndRotationDirect, setPreviousState, setSpeed, setStateBit, tryPutInSeataddEntityCrashInfo, addTag, addTrackingPlayer, addVelocity, applyEnchantments, applyEntityCollision, applyOrientationToEntity, applyPlayerInteraction, awardKillScore, canBeAttackedWithItem, canBePushed, canBeRidden, canExplosionDestroyBlock, canPassengerSteer, canRenderOnFire, canRiderInteract, canTrample, canUseCommand, changeDimension, changeDimension, copyLocationAndAnglesFrom, createRunningParticles, dealFireDamage, decrementTimeUntilPortal, deserializeNBT, dismountRidingEntity, doesEntityNotTriggerPressurePlate, doWaterSplashEffect, dropItem, dropItemWithOffset, entityDropItem, equals, extinguish, getAir, getAlwaysRenderNameTag, getAlwaysRenderNameTagForRender, getArmorInventoryList, getBrightness, getBrightnessForRender, getCachedUniqueIdString, getCapability, getCollisionBoundingBox, getCollisionBox, getCommandSenderEntity, getCommandStats, getCustomNameTag, getDataManager, getDisplayName, getDistance, getDistance, getDistanceSq, getDistanceSq, getDistanceSq, getDistanceSqToCenter, getEntityBoundingBox, getEntityData, getEntityId, getEntityString, getEntityWorld, getEquipmentAndArmor, getExplosionResistance, getEyeHeight, getFireImmuneTicks, getFlag, getForward, getHeldEquipment, getHorizontalFacing, getHoverEvent, getIsInvulnerable, getLastPortalVec, getLook, getLookVec, getLowestRidingEntity, getMaxFallHeight, getMaxInPortalTime, getMirroredYaw, getMountedYOffset, getName, getParts, getPassengers, getPersistentID, getPickedResult, getPitchYaw, getPortalCooldown, getPosition, getPositionEyes, getPositionVector, getPushReaction, getRecursivePassengers, getRecursivePassengersByType, getRenderBoundingBox, getRenderDistanceWeight, getRidingEntity, getRotatedYaw, getRotationYawHead, getServer, getSoundCategory, getSplashSound, getSwimSound, getTags, getTeam, getTeleportDirection, getUniqueID, getVectorForRotation, getYOffset, handleStatusUpdate, handleWaterMovement, hasCapability, hasCustomName, hashCode, hasNoGravity, hitByEntity, ignoreItemEntityData, isBeingRidden, isBurning, isCreatureType, isEntityAlive, isEntityEqual, isEntityInsideOpaqueBlock, isEntityInvulnerable, isGlowing, isImmuneToExplosions, isImmuneToFire, isInLava, isInRangeToRender3d, isInsideOfMaterial, isInvisible, isInvisibleToPlayer, isInWater, isNonBoss, isOffsetPositionInLiquid, isOnSameTeam, isOnScoreboardTeam, isOutsideBorder, isOverWater, isPassenger, isPushedByWater, isRiding, isRidingOrBeingRiddenBy, isRidingSameEntity, isSilent, isSneaking, isSpectatedByPlayer, isSprinting, isWet, makeFlySound, markVelocityChanged, move, moveRelative, moveToBlockPosAndAngles, newDoubleNBTList, newFloatNBTList, notifyDataManagerChange, onCollideWithPlayer, onInsideBlock, onKillCommand, onKillEntity, onStruckByLightning, outOfWorld, performHurtAnimation, playFlySound, playSound, playStepSound, preparePlayerToSpawn, pushOutOfBlocks, rayTrace, readFromNBT, registerFixes, removePassengers, removeTag, removeTrackingPlayer, replaceItemInInventory, resetEntityId, resetPositionToBB, sendCommandFeedback, sendMessage, serializeNBT, setAir, setAlwaysRenderNameTag, setCommandStat, setCommandStats, setCustomNameTag, setDropItemsWhenDead, setEntityBoundingBox, setEntityId, setEntityInvulnerable, setFire, setFlag, setGlowing, setInvisible, setInWeb, setItemStackToSlot, setLocationAndAngles, setNoGravity, setOnFireFromLava, setOutsideBorder, setPortal, setPosition, setPositionAndRotation, setPositionAndUpdate, setPositionNonDirty, setRenderDistanceWeight, setRenderYawOffset, setRotation, setRotationYawHead, setSilent, setSize, setSneaking, setSprinting, setUniqueId, setVelocity, setWorld, shouldDismountInWater, shouldRenderInPass, shouldRiderSit, shouldSetPosAfterLoading, spawnRunningParticles, startRiding, startRiding, toString, turn, updateFallState, updateRidden, writeToNBT, writeToNBTAtomically, writeToNBTOptionalpublic float gearLift
public boolean shouldGearLift
public boolean isFlying
public float rotorRotationAmount
public final InterpValue interpRotationPitch
public final InterpValue interpRotationRoll
public float pitch
public float roll
public double rotAmount
public boolean upward()
public boolean downward()
public void startSound()
startSound in class VehicleEntitypublic void upward(boolean upward)
public void downward(boolean downward)
public void dropItems()
dropItems in class VehicleEntityprotected VehicleEntity.Seat[] createSeats()
createSeats in class VehicleEntityprotected boolean shouldStopUpdates()
shouldStopUpdates in class VehicleEntitypublic void onUpdate()
onUpdate in class VehicleEntityprotected void doBlockCollisions()
doBlockCollisions in class net.minecraft.entity.Entitypublic boolean processInitialInteract(net.minecraft.entity.player.EntityPlayer player,
net.minecraft.util.EnumHand hand)
processInitialInteract in class VehicleEntityprotected void handleControl()
handleControl in class VehicleEntitypublic void fall(float distance,
float damageMultiplier)
fall in class VehicleEntityprotected void removePassenger(net.minecraft.entity.Entity passenger)
removePassenger in class VehicleEntitypublic void onEntityUpdate()
onEntityUpdate in class VehicleEntityprotected void applyMovement()
applyMovement in class VehicleEntityprotected void writeEntityToNBT(net.minecraft.nbt.NBTTagCompound compound)
writeEntityToNBT in class VehicleEntityprotected void readEntityFromNBT(net.minecraft.nbt.NBTTagCompound compound)
readEntityFromNBT in class VehicleEntitypublic float getSoundVolume()
getSoundVolume in class VehicleEntity@Nonnull public net.minecraft.util.EnumFacing getAdjustedHorizontalFacing()
getAdjustedHorizontalFacing in class net.minecraft.entity.Entityprotected VehicleEntity.WheelData createWheels()
createWheels in class VehicleEntityprotected boolean shouldTyresRender()
shouldTyresRender in class VehicleEntitypublic void updatePassenger(net.minecraft.entity.Entity passenger)
updatePassenger in class VehicleEntitypublic void setDead()
setDead in class VehicleEntitypublic float getCollisionBorderSize()
getCollisionBorderSize in class net.minecraft.entity.Entity