Package net.minecraft.entity.mob
Class GhastEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.LivingEntity
net.minecraft.entity.FlyingEntity
net.minecraft.entity.mob.GhastEntity
- All Implemented Interfaces:
Monster,SpawnableEntity
- Mappings:
Namespace Name intermediary net/minecraft/class_364glue class_39server awclient bpnamed net/minecraft/entity/mob/GhastEntity
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intintintTime before the Ghast will pick a new target location to float tointprivate EntitydoubledoubledoubleFields inherited from class net.minecraft.entity.LivingEntity
attackCooldown, bodyTrackingIncrements, bodyYaw, damageAmount, damagedSwingDir, damagedTime, damagedTimer, dead, deathTicks, defaultPitch, despawnCounter, field_1010, field_1011, field_1016, field_1017, field_1018, field_1020, field_1023, field_1046, field_1047, forwardSpeed, health, interpolateOnly, jumping, lastBodyYaw, lastHealth, lastSwingAnimationProgress, lastWalkAnimationSpeed, lastWalkProgress, lerpPitch, lerpX, lerpY, lerpYaw, lerpZ, lookTimer, maxHealth, modelName, movementSpeed, prevHealth, prevTilt, rotationOffset, rotationSpeed, scoreAmount, sidewaysSpeed, swingAnimationProgress, texture, tilt, walkAnimationProgress, walkAnimationSpeed, walkProgressFields inherited from class net.minecraft.entity.Entity
age, air, blocksSameBlockSpawning, boundingBox, cameraOffset, capeUrl, chunkSlice, chunkX, chunkZ, dataTracker, fallDistance, fireImmune, fireImmunityTicks, fireTicks, hasCollided, hearts, height, horizontalCollision, horizontalSpeed, id, ignoreFrustumCull, isPersistent, keepVelocityOnCollision, lastTickX, lastTickY, lastTickZ, maxAir, minBrightness, noClip, onGround, passenger, pitch, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, renderDistanceMultiplier, skinUrl, slowed, standingEyeHeight, stepHeight, submergedInWater, trackedPosX, trackedPosY, trackedPosZ, vehicle, velocityModified, velocityX, velocityY, velocityZ, verticalCollision, width, world, x, y, yaw, z -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate booleancanReach(double x, double y, double z, double steps) booleancanSpawn()protected Stringprotected intprotected StringintThe size of a spawn group for this entity per chunk.protected Stringprotected floatprotected voidvoidtick()protected voidMethods inherited from class net.minecraft.entity.FlyingEntity
isOnLadder, onLanding, travelMethods inherited from class net.minecraft.entity.LivingEntity
animateHurt, animateSpawn, applyDamage, applyKnockback, baseTick, beforeRemove, canBreatheInWater, canDespawn, canSee, damage, dropItems, getEyeHeight, getHandSwingProgress, getHeldItem, getItemStackTextureId, getLookTarget, getLookVector, getLookVector, getMaxLookPitchChange, getMinAmbientSoundDelay, getPosition, getTexture, hasLookTarget, heal, isAlive, isCollidable, isImmobile, isPushable, isSleeping, jump, lookAt, makeSound, onKilledBy, processServerEntityStatus, raycast, readNbt, setBoundingBoxSpacing, setPositionAndAnglesAvoidEntities, tickInVoid, tickMovement, tickRiding, tryDespawn, writeNbtMethods inherited from class net.minecraft.entity.Entity
addVelocity, bypassesSteppingEffects, changeLookDirection, checkWaterCollisions, damage, dropItem, dropItem, dropItem, equals, fall, getBoundingBox, getBrightnessAtEyes, getCollisionAgainstShape, getDataTracker, getDistance, getDistance, getEntitiesInside, getEquipment, getFlag, getPassengerRidingHeight, getRegistryEntry, getShadowRadius, getSquaredDistance, getSquaredDistance, getStandingEyeHeight, getTargetingMargin, hashCode, hasVehicle, interact, isInFluid, isInsideWall, isOnFire, isSneaking, isSubmergedInWater, isTouchingLava, isWet, markDead, move, moveNonSolid, onCollision, onKilledOther, onPlayerInteraction, onStruckByLightning, pushOutOfBlock, read, saveSelfNbt, scheduleVelocityUpdate, setEquipmentStack, setFlag, setOnFire, setPosition, setPositionAndAngles, setPositionAndAnglesKeepPrevAngles, setRotation, setSneaking, setVehicle, setVelocityClient, setWorld, shouldRender, shouldRender, teleportTop, tickPortalCooldown, toNbtList, toNbtList, updateCapeUrl, updateKilledAchievement, updatePassengerPosition, write
-
Field Details
-
floatDuration
public int floatDurationTime before the Ghast will pick a new target location to float to- Mappings:
Namespace Name Mixin selector intermediary field_1376Lnet/minecraft/class_364;field_1376:Iglue field_52Lclass_39;field_52:Iserver aLaw;a:Iclient aLbp;a:Inamed floatDurationLnet/minecraft/entity/mob/GhastEntity;floatDuration:I
-
targetX
public double targetX- Mappings:
Namespace Name Mixin selector intermediary field_1377Lnet/minecraft/class_364;field_1377:Dglue field_53Lclass_39;field_53:Dserver bLaw;b:Dclient bLbp;b:Dnamed targetXLnet/minecraft/entity/mob/GhastEntity;targetX:D
-
targetY
public double targetY- Mappings:
Namespace Name Mixin selector intermediary field_1378Lnet/minecraft/class_364;field_1378:Dglue field_54Lclass_39;field_54:Dserver cLaw;c:Dclient cLbp;c:Dnamed targetYLnet/minecraft/entity/mob/GhastEntity;targetY:D
-
targetZ
public double targetZ- Mappings:
Namespace Name Mixin selector intermediary field_1379Lnet/minecraft/class_364;field_1379:Dglue field_55Lclass_39;field_55:Dserver dLaw;d:Dclient dLbp;d:Dnamed targetZLnet/minecraft/entity/mob/GhastEntity;targetZ:D
-
target
- Mappings:
Namespace Name Mixin selector intermediary field_1382Lnet/minecraft/class_364;field_1382:Lnet/minecraft/class_57;glue field_58Lclass_39;field_58:Lclass_450;server gLaw;g:Llq;client gLbp;g:Lsn;named targetLnet/minecraft/entity/mob/GhastEntity;target:Lnet/minecraft/entity/Entity;
-
angerCooldown
private int angerCooldown- Mappings:
Namespace Name Mixin selector intermediary field_1383Lnet/minecraft/class_364;field_1383:Iglue field_59Lclass_39;field_59:Iserver hLaw;h:Iclient hLbp;h:Inamed angerCooldownLnet/minecraft/entity/mob/GhastEntity;angerCooldown:I
-
lastChargeTime
public int lastChargeTime- Mappings:
Namespace Name Mixin selector intermediary field_1380Lnet/minecraft/class_364;field_1380:Iglue field_56Lclass_39;field_56:Iserver eLaw;e:Iclient eLbp;e:Inamed lastChargeTimeLnet/minecraft/entity/mob/GhastEntity;lastChargeTime:I
-
chargeTime
public int chargeTime- Mappings:
Namespace Name Mixin selector intermediary field_1381Lnet/minecraft/class_364;field_1381:Iglue field_57Lclass_39;field_57:Iserver fLaw;f:Iclient fLbp;f:Inamed chargeTimeLnet/minecraft/entity/mob/GhastEntity;chargeTime:I
-
-
Constructor Details
-
GhastEntity
- Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_57;<init>(Lnet/minecraft/class_18;)Vglue <init>Lclass_450;<init>(Lclass_129;)Vserver <init>Llq;<init>(Ldj;)Vclient <init>Lsn;<init>(Lfd;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/world/World;)V
-
-
Method Details
-
initDataTracker
protected void initDataTracker()- Overrides:
initDataTrackerin classLivingEntity- Mappings:
Namespace Name Mixin selector intermediary method_1310Lnet/minecraft/class_57;method_1310()Vglue method_108Lclass_450;method_108()Vserver bLlq;b()Vclient bLsn;b()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
tick
public void tick()- Overrides:
tickin classLivingEntity- Mappings:
Namespace Name Mixin selector intermediary method_1370Lnet/minecraft/class_57;method_1370()Vglue method_29Lclass_450;method_29()Vserver m_Llq;m_()Vclient w_Lsn;w_()Vnamed tickLnet/minecraft/entity/Entity;tick()V
-
tickLiving
protected void tickLiving()- Overrides:
tickLivingin classLivingEntity- Mappings:
Namespace Name Mixin selector intermediary method_910Lnet/minecraft/class_127;method_910()Vglue method_109Lclass_283;method_109()Vserver c_Lhl;c_()Vclient f_Lls;f_()Vnamed tickLivingLnet/minecraft/entity/LivingEntity;tickLiving()V
-
canReach
private boolean canReach(double x, double y, double z, double steps) - Returns:
- Returns true if the entity can reach destination without collision
- Mappings:
Namespace Name Mixin selector intermediary method_1190Lnet/minecraft/class_364;method_1190(DDDD)Zglue method_107Lclass_39;method_107(DDDD)Zserver aLaw;a(DDDD)Zclient aLbp;a(DDDD)Znamed canReachLnet/minecraft/entity/mob/GhastEntity;canReach(DDDD)Z
-
getRandomSound
- Overrides:
getRandomSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector intermediary method_911Lnet/minecraft/class_127;method_911()Ljava/lang/String;glue method_110Lclass_283;method_110()Ljava/lang/String;server gLhl;g()Ljava/lang/String;client gLls;g()Ljava/lang/String;named getRandomSoundLnet/minecraft/entity/LivingEntity;getRandomSound()Ljava/lang/String;
-
getHurtSound
- Overrides:
getHurtSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector intermediary method_912Lnet/minecraft/class_127;method_912()Ljava/lang/String;glue method_111Lclass_283;method_111()Ljava/lang/String;server hLhl;h()Ljava/lang/String;client j_Lls;j_()Ljava/lang/String;named getHurtSoundLnet/minecraft/entity/LivingEntity;getHurtSound()Ljava/lang/String;
-
getDeathSound
- Overrides:
getDeathSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector intermediary method_913Lnet/minecraft/class_127;method_913()Ljava/lang/String;glue method_112Lclass_283;method_112()Ljava/lang/String;server iLhl;i()Ljava/lang/String;client iLls;i()Ljava/lang/String;named getDeathSoundLnet/minecraft/entity/LivingEntity;getDeathSound()Ljava/lang/String;
-
getDroppedItemId
protected int getDroppedItemId()- Overrides:
getDroppedItemIdin classLivingEntity- Mappings:
Namespace Name Mixin selector intermediary method_914Lnet/minecraft/class_127;method_914()Iglue method_113Lclass_283;method_113()Iserver jLhl;j()Iclient jLls;j()Inamed getDroppedItemIdLnet/minecraft/entity/LivingEntity;getDroppedItemId()I
-
getSoundVolume
protected float getSoundVolume()- Overrides:
getSoundVolumein classLivingEntity- Mappings:
Namespace Name Mixin selector intermediary method_915Lnet/minecraft/class_127;method_915()Fglue method_114Lclass_283;method_114()Fserver kLhl;k()Fclient kLls;k()Fnamed getSoundVolumeLnet/minecraft/entity/LivingEntity;getSoundVolume()F
-
canSpawn
public boolean canSpawn()- Overrides:
canSpawnin classLivingEntity- Mappings:
Namespace Name Mixin selector intermediary method_935Lnet/minecraft/class_127;method_935()Zglue method_26Lclass_283;method_26()Zserver dLhl;d()Zclient dLls;d()Znamed canSpawnLnet/minecraft/entity/LivingEntity;canSpawn()Z
-
getLimitPerChunk
public int getLimitPerChunk()The size of a spawn group for this entity per chunk.- Overrides:
getLimitPerChunkin classLivingEntity- Mappings:
Namespace Name Mixin selector intermediary method_916Lnet/minecraft/class_127;method_916()Iglue method_115Lclass_283;method_115()Iserver lLhl;l()Iclient lLls;l()Inamed getLimitPerChunkLnet/minecraft/entity/LivingEntity;getLimitPerChunk()I
-