Package net.minecraft.entity.passive
Class BatEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.LivingEntity
net.minecraft.entity.mob.MobEntity
net.minecraft.entity.mob.AmbientEntity
net.minecraft.entity.passive.BatEntity
- All Implemented Interfaces:
CommandSource,EntityCategoryProvider
public class BatEntity extends AmbientEntity
- Mappings:
Namespace Name official tkintermediary net/minecraft/class_1846named net/minecraft/entity/passive/BatEntity
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.mob.MobEntity
MobEntity.Location -
Field Summary
Fields Modifier and Type Field Description private BlockPosfield_7882Fields inherited from class net.minecraft.entity.mob.MobEntity
ambientSoundChance, armorDropChances, attackGoals, entityMotionHelper, experiencePoints, goals, jumpControl, navigationFields inherited from class net.minecraft.entity.LivingEntity
attackingPlayer, bodyTrackingIncrements, bodyYaw, dead, deathTime, defaultMaxHealth, despawnCounter, distanceTravelled, field_7434, field_7435, field_7436, field_7438, field_7439, field_7456, field_7457, field_7458, field_7462, field_7463, field_7472, flyingSpeed, forwardSpeed, handSwinging, handSwingProgress, headYaw, hurtTime, jumping, knockbackVelocity, lastHandSwingProgress, maxHurtTime, playerHitTimer, prevBodyYaw, prevDistanceTravelled, prevHeadYaw, prevStepBobbingAmount, randomLargeSeed, randomSmallSeed, serverPitch, serverY, serverYaw, serverZ, serxerX, sidewaysSpeed, stepBobbingAmountFields inherited from class net.minecraft.entity.Entity
changingDimension, colliding, dataTracker, dimension, distanceTraveled, fallDistance, field_7357, field_7362, field_7363, field_7364, field_7365, field_7370, field_7390, fireResistance, firstUpdate, height, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inLava, isFireImmune, lastPortalBlockPos, lastPortalVec3d, netherPortalCooldown, noClip, onGround, pitch, playerUuid, prevHorizontalSpeed, prevPitch, prevTickX, prevTickY, prevTickZ, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, removed, renderDistanceMultiplier, rider, stepHeight, teleportDirection, teleporting, ticksAlive, touchingWater, trackedX, trackedY, trackedZ, vehicle, velocityDirty, velocityModified, velocityX, velocityY, velocityZ, verticalCollision, width, world, x, y, yaw, z -
Constructor Summary
-
Method Summary
Modifier and Type Method Description booleancanAvoidTraps()protected booleancanClimb()booleandamage(DamageSource source, float amount)voiddeserialize(CompoundTag tag)protected voidfall(double heightDifference, boolean onGround, Block landedBlock, BlockPos landedPosition)protected StringgetAmbientSound()protected StringgetDeathSound()floatgetEyeHeight()protected StringgetHurtSound()voidhandleFallDamage(float float2, float float3)protected voidinitDataTracker()protected voidinitializeAttributes()booleanisPushable()booleanisRoosting()protected floatmethod_7108()protected floatmethod_7109()protected voidmethod_7118()booleanmethod_7202()private booleanmethod_7509(Calendar calendar)protected voidmobTick()protected voidpushAway(Entity entity)voidserialize(CompoundTag tag)voidsetRoosting(boolean bool)voidtick()Methods inherited from class net.minecraft.entity.mob.AmbientEntity
isTameable, method_7195Methods inherited from class net.minecraft.entity.mob.MobEntity
attachLeash, baseTick, canAttackEntity, canMoveVoluntarily, canPickupItem, canPickUpLoot, checkDespawn, detachLeash, equip, getArmorStacks, getAttackTarget, getDefaultDrop, getJumpControl, getLimitPerChunk, getLookControl, getLookPitchSpeed, getMainSlot, getMinAmbientSoundDelay, getMotionHelper, getNavigation, getSafeFallDistance, getStackInHand, getVisibilityCache, handleStatus, hasNoAi, hasPositionTarget, initEquipment, isPersistent, lookAtEntity, loot, method_7096, method_7104, method_7106, method_7156, method_7164, method_7177, method_7184, method_7187, method_7188, method_7191, method_7203, method_7204, method_7206, method_7210, method_7214, newNavigation, onEatingGrass, openInventory, playAmbientSound, playSpawnEffects, setAiDisabled, setArmorSlot, setAttackTarget, setCanPickUpLoot, setForwardSpeed, setPersistent, tickMovement, tickNewAi, updateEnchantments, updateLeashMethods inherited from class net.minecraft.entity.LivingEntity
addStatusEffect, animateDamage, applyDamage, canSee, clearStatusEffects, collides, damageArmor, destroy, endCombat, enterCombat, getAbsorption, getArmorProtectionValue, getAttributeContainer, getDamageEnchantmentTarget, getDamageTracker, getEffectInstance, getFallSound, getHandSwingProgress, getHeadRotation, getHealth, getLastHurtTimestamp, getMaxHealth, getRandom, getRotationVector, getScoreboardTeam, getStuckArrows, hasStatusEffect, hasStatusEffect, heal, initializeAttribute, isAffectedBySmite, isAlive, isBaby, isInSameTeam, isInTeam, isSleeping, jump, kill, markEffectsDirty, method_6985, method_7087, method_7091, method_7092, method_7093, method_7098, method_7099, method_7100, method_7102, method_7105, method_7110, method_7111, method_7113, method_7114, method_7115, method_7123, method_7124, method_7126, method_7128, method_7129, method_7130, method_7132, method_7134, method_7139, method_7142, method_7146, method_7149, method_7153, method_7154, method_7162, method_7166, method_7171, method_7176, method_7178, method_7179, onKilled, removeEffect, scheduleVelocityUpdate, sendPickup, setAbsorption, setAttacker, setHeadYaw, setHealth, setJumping, setSprinting, setStuckArrows, setYaw, shouldRenderName, startRiding, swingHand, tickRiding, tickStatusEffects, updateTrackedPositionAndAnglesMethods inherited from class net.minecraft.entity.Entity
addVelocity, afterSpawn, attemptSprintingParticles, burn, canFly, canUseCommand, checkBlockCollision, copyPortalInfo, copyPosition, doesNotCollide, doesRenderOnFire, equals, extinguish, fromClientTag, fromTag, getAir, getBlastResistance, getBlockPos, getBoundingBox, getBox, getCameraPosVec, getCommandStats, getCustomName, getDataTracker, getDefaultNetherPortalCooldown, getDistanceTo, getEntity, getEntityId, getFlag, getHardCollisionBox, getHeightOffset, getHorizontalDirection, getHoverEvent, getLastNetherPortalDirection, getLastNetherPortalDirectionVector, getMaxNetherPortalTime, getMountedHeightOffset, getName, getPos, getRotationVector, getSavedEntityId, getSplashSound, getSwimSound, getTranslationKey, getUuid, getWorld, handleAttack, hasCustomName, hashCode, hasVehicle, increaseTransforms, interactAt, isAttackable, isCustomNameVisible, isFireImmune, isImmuneToExplosion, isInsideWall, isInvisible, isInvisibleTo, isInvulnerableTo, isOnFire, isOutsideWorldborder, isPartOf, isSilent, isSneaking, isSpectatedBy, isSprinting, isSubmergedIn, isTouchingWater, method_6912, method_6924, method_6926, method_6939, method_6940, method_6943, method_6944, method_6945, method_6948, method_6949, method_6968, method_6971, method_6977, method_6981, method_6984, method_6994, method_6998, method_7008, method_7020, method_7049, method_7051, method_7058, move, onLightningStrike, onPlayerCollision, onSwimmingStart, playSound, playStepSound, populateCrashReport, pushAwayFrom, rayTrace, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, saveSelfToTag, sendCommandFeedback, sendMessage, setAir, setBoundingBox, setBounds, setCustomName, setCustomNameVisible, setEntityId, setFlag, setInNetherPortal, setInvisible, setOnFireFor, setOnFireFromLava, setOutsideWorldborder, setRotation, setSilent, setSneaking, setStat, setSwimming, setVelocityClient, setWorld, shouldRender, shouldRender, shouldSetPositionOnLoad, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredDistanceToCenter, squaredDistanceToEntity, teleportToDimension, tickFire, toListTag, toListTag, toString, updateKilledAdvancementCriterion, updatePosition, updatePositionAndAngles, writePlayerData
-
Field Details
-
field_7882
- Mappings:
Namespace Name Mixin selector official aLtk;a:Lcj;intermediary field_7882Lnet/minecraft/class_1846;field_7882:Lnet/minecraft/class_1372;named field_7882Lnet/minecraft/entity/passive/BatEntity;field_7882:Lnet/minecraft/util/math/BlockPos;
-
-
Constructor Details
-
BatEntity
- Mappings:
Namespace Name Mixin selector official <init>Lpk;<init>(Ladm;)Vintermediary <init>Lnet/minecraft/class_1745;<init>(Lnet/minecraft/class_99;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/world/World;)V
-
-
Method Details
-
initDataTracker
protected void initDataTracker()- Overrides:
initDataTrackerin classMobEntity- Mappings:
Namespace Name Mixin selector official hLpk;h()Vintermediary method_7043Lnet/minecraft/class_1745;method_7043()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
method_7108
protected float method_7108()- Overrides:
method_7108in classLivingEntity- Mappings:
Namespace Name Mixin selector official bBLpr;bB()Fintermediary method_7108Lnet/minecraft/class_1752;method_7108()Fnamed method_7108Lnet/minecraft/entity/LivingEntity;method_7108()F
-
method_7109
protected float method_7109()- Overrides:
method_7109in classLivingEntity- Mappings:
Namespace Name Mixin selector official bCLpr;bC()Fintermediary method_7109Lnet/minecraft/class_1752;method_7109()Fnamed method_7109Lnet/minecraft/entity/LivingEntity;method_7109()F
-
getAmbientSound
- Overrides:
getAmbientSoundin classMobEntity- Mappings:
Namespace Name Mixin selector official zLps;z()Ljava/lang/String;intermediary method_7231Lnet/minecraft/class_1753;method_7231()Ljava/lang/String;named getAmbientSoundLnet/minecraft/entity/mob/MobEntity;getAmbientSound()Ljava/lang/String;
-
getHurtSound
- Overrides:
getHurtSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector official boLpr;bo()Ljava/lang/String;intermediary method_7137Lnet/minecraft/class_1752;method_7137()Ljava/lang/String;named getHurtSoundLnet/minecraft/entity/LivingEntity;getHurtSound()Ljava/lang/String;
-
getDeathSound
- Overrides:
getDeathSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector official bpLpr;bp()Ljava/lang/String;intermediary method_7138Lnet/minecraft/class_1752;method_7138()Ljava/lang/String;named getDeathSoundLnet/minecraft/entity/LivingEntity;getDeathSound()Ljava/lang/String;
-
isPushable
public boolean isPushable()- Overrides:
isPushablein classLivingEntity- Mappings:
Namespace Name Mixin selector official aeLpk;ae()Zintermediary method_6974Lnet/minecraft/class_1745;method_6974()Znamed isPushableLnet/minecraft/entity/Entity;isPushable()Z
-
pushAway
- Overrides:
pushAwayin classLivingEntity- Mappings:
Namespace Name Mixin selector official sLpr;s(Lpk;)Vintermediary method_7180Lnet/minecraft/class_1752;method_7180(Lnet/minecraft/class_1745;)Vnamed pushAwayLnet/minecraft/entity/LivingEntity;pushAway(Lnet/minecraft/entity/Entity;)V
-
method_7118
protected void method_7118()- Overrides:
method_7118in classLivingEntity- Mappings:
Namespace Name Mixin selector official bLLpr;bL()Vintermediary method_7118Lnet/minecraft/class_1752;method_7118()Vnamed method_7118Lnet/minecraft/entity/LivingEntity;method_7118()V
-
initializeAttributes
protected void initializeAttributes()- Overrides:
initializeAttributesin classMobEntity- Mappings:
Namespace Name Mixin selector official aXLpr;aX()Vintermediary method_7097Lnet/minecraft/class_1752;method_7097()Vnamed initializeAttributesLnet/minecraft/entity/LivingEntity;initializeAttributes()V
-
isRoosting
public boolean isRoosting()- Mappings:
Namespace Name Mixin selector official nLtk;n()Zintermediary method_7511Lnet/minecraft/class_1846;method_7511()Znamed isRoostingLnet/minecraft/entity/passive/BatEntity;isRoosting()Z
-
setRoosting
public void setRoosting(boolean bool)- Mappings:
Namespace Name Mixin selector official aLtk;a(Z)Vintermediary method_7510Lnet/minecraft/class_1846;method_7510(Z)Vnamed setRoostingLnet/minecraft/entity/passive/BatEntity;setRoosting(Z)V
-
tick
public void tick() -
mobTick
protected void mobTick() -
canClimb
protected boolean canClimb() -
handleFallDamage
public void handleFallDamage(float float2, float float3)- Overrides:
handleFallDamagein classLivingEntity- Mappings:
Namespace Name Mixin selector official eLpk;e(FF)Vintermediary method_7025Lnet/minecraft/class_1745;method_7025(FF)Vnamed handleFallDamageLnet/minecraft/entity/Entity;handleFallDamage(FF)V
-
fall
protected void fall(double heightDifference, boolean onGround, Block landedBlock, BlockPos landedPosition)- Overrides:
fallin classLivingEntity- Mappings:
Namespace Name Mixin selector official aLpk;a(DZLafh;Lcj;)Vintermediary method_6922Lnet/minecraft/class_1745;method_6922(DZLnet/minecraft/class_160;Lnet/minecraft/class_1372;)Vnamed fallLnet/minecraft/entity/Entity;fall(DZLnet/minecraft/block/Block;Lnet/minecraft/util/math/BlockPos;)V
-
canAvoidTraps
public boolean canAvoidTraps()- Overrides:
canAvoidTrapsin classEntity- Mappings:
Namespace Name Mixin selector official aILpk;aI()Zintermediary method_6955Lnet/minecraft/class_1745;method_6955()Znamed canAvoidTrapsLnet/minecraft/entity/Entity;canAvoidTraps()Z
-
damage
- Overrides:
damagein classLivingEntity- Mappings:
Namespace Name Mixin selector official aLpk;a(Low;F)Zintermediary method_6937Lnet/minecraft/class_1745;method_6937(Lnet/minecraft/class_1733;F)Znamed damageLnet/minecraft/entity/Entity;damage(Lnet/minecraft/entity/damage/DamageSource;F)Z
-
deserialize
- Overrides:
deserializein classMobEntity- Mappings:
Namespace Name Mixin selector official aLpk;a(Ldn;)Vintermediary method_6933Lnet/minecraft/class_1745;method_6933(Lnet/minecraft/class_1405;)Vnamed deserializeLnet/minecraft/entity/Entity;deserialize(Lnet/minecraft/nbt/CompoundTag;)V
-
serialize
-
method_7202
public boolean method_7202()- Overrides:
method_7202in classMobEntity- Mappings:
Namespace Name Mixin selector official bRLps;bR()Zintermediary method_7202Lnet/minecraft/class_1753;method_7202()Znamed method_7202Lnet/minecraft/entity/mob/MobEntity;method_7202()Z
-
method_7509
- Mappings:
Namespace Name Mixin selector official aLtk;a(Ljava/util/Calendar;)Zintermediary method_7509Lnet/minecraft/class_1846;method_7509(Ljava/util/Calendar;)Znamed method_7509Lnet/minecraft/entity/passive/BatEntity;method_7509(Ljava/util/Calendar;)Z
-
getEyeHeight
public float getEyeHeight()- Overrides:
getEyeHeightin classEntity- Mappings:
Namespace Name Mixin selector official aSLpk;aS()Fintermediary method_6965Lnet/minecraft/class_1745;method_6965()Fnamed getEyeHeightLnet/minecraft/entity/Entity;getEyeHeight()F
-