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:
EntityCategoryProvider
- Mappings:
Namespace Name official upintermediary net/minecraft/class_1402named net/minecraft/entity/passive/BatEntity
-
Field Summary
FieldsFields inherited from class net.minecraft.entity.mob.MobEntity
ambientSoundChance, armorDropChances, attackGoals, experiencePoints, field_3351, field_3353, goalsFields inherited from class net.minecraft.entity.LivingEntity
attackingPlayer, bodyTrackingIncrements, bodyYaw, dead, deathTime, defaultMaxHealth, despawnCounter, distanceTravelled, field_6745, field_6748, field_6749, field_6750, field_6752, field_6753, field_6771, field_6772, field_6776, field_6777, field_6778, field_6782, flyingSpeed, forwardSpeed, handSwinging, handSwingProgress, handSwingTicks, 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
boundingBox, changingDimension, chunkX, chunkY, chunkZ, colliding, dataTracker, dimension, distanceTraveled, fallDistance, field_3203, field_3214, field_3223, field_3232, fireResistance, height, heightOffset, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inanimate, inLava, isFireImmune, lastNetherPortalAxis, netherPortalCooldown, netherPortalTime, noClip, onGround, pitch, playerUuid, prevHorizontalSpeed, prevPitch, prevTickX, prevTickY, prevTickZ, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, removed, renderDistanceMultiplier, rider, stepHeight, teleporting, ticksAlive, touchingWater, trackedX, trackedY, trackedZ, updateNeeded, vehicle, velocityDirty, velocityModified, velocityX, velocityY, velocityZ, verticalCollision, width, world, x, y, yaw, z -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanprotected booleancanClimb()booleancanSpawn()booleandamage(DamageSource source, float amount) protected Stringprotected Stringprotected Stringprotected floatprotected floatprotected voidprotected voidbooleanbooleanprotected voidmethod_2489(double double2, boolean bool) protected voidmethod_2490(float float2) protected voidmobTick()protected voidvoidvoidsetRoosting(boolean bool) protected booleanvoidtick()protected voidvoidMethods inherited from class net.minecraft.entity.mob.AmbientEntity
canBeLeashedBy, isTameableMethods inherited from class net.minecraft.entity.mob.MobEntity
attachLeash, baseTick, canAttackEntity, canBeControlledByRider, canImmediatelyDespawn, canPickUpLoot, checkDespawn, detachLeash, dropLoot, getArmorStacks, getDefaultDrop, getJumpControl, getLimitPerChunk, getLookControl, getLookPitchSpeed, getMainSlot, getMinAmbientSoundDelay, getMotionHelper, getNavigation, getSafeFallDistance, getStackInHand, getTarget, getTranslationKey, getVisibilityCache, getXpToDrop, hasNoAi, isLeashed, isPersistent, lookAtEntity, method_2638, method_4470, method_4472, method_4473, method_4474, method_5388, method_5391, method_5392, method_5394, method_5397, method_6156, method_6162, method_6166, method_8374, onEatingGrass, openInventory, playAmbientSound, playSpawnEffects, setAiDisabled, setArmorSlot, setCanPickUpLoot, setForwardSpeed, setMovementSpeed, setPersistent, setTarget, tickMovement, tickNewAi, turnHead, updateLeashMethods inherited from class net.minecraft.entity.LivingEntity
addStatusEffect, animateDamage, applyArmorDamage, applyDamage, applyEnchantmentsToDamage, canMoveVoluntarily, canSee, clearStatusEffects, collides, damageArmor, destroy, dropXp, getAbsorption, getArmorProtectionValue, getAttacker, getAttacking, getAttributeContainer, getDamageTracker, getEffectInstance, getEyeHeight, getFallSound, getGroup, getHandSwingProgress, getHeadRotation, getHealth, getLastAttackTime, getLastHurtTimestamp, getMaxHealth, getMovementSpeed, getNextAirUnderwater, getOpponent, getRandom, getRotation, getScoreboardTeam, getStatusEffectInstances, getStuckArrows, handleStatus, hasStatusEffect, hasStatusEffect, heal, initializeAttribute, isAffectedBySmite, isAlive, isBaby, isClimbing, isInSameTeam, isInTeam, isSleeping, jump, method_2488, method_2577, method_2582, method_2607, method_2610, method_2630, method_2634, method_2649, method_2658, method_2672, method_6105, method_6108, method_6109, method_6111, method_6117, method_6146, method_6149, method_6150, method_6152, method_8372, onKilled, removeEffect, scheduleVelocityUpdate, sendPickup, setAbsorption, setAttacker, setHeadYaw, setHealth, setJumping, setSprinting, setStuckArrows, shouldAlwaysDropXp, shouldDropXp, swingHand, tickHandSwing, tickRiding, tickStatusEffects, travel, tryAttackMethods inherited from class net.minecraft.entity.Entity
addVelocity, afterSpawn, burn, canFly, checkBlockCollision, copyFrom, copyPosition, distanceTo, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropItem, enterNetherPortal, equals, extinguish, fromNbt, getAir, getBox, getBrightnessAtEyes, getDataTracker, getDefaultNetherPortalCooldown, getEntityId, getFlag, getHardCollisionBox, getHeightOffset, getLastNetherPortalAxis, getLightmapCoordinates, getMaxNetherPortalTime, getMountedHeightOffset, getParts, getSavedEntityId, getSplashSound, getSwimSound, getTargetingMargin, getUuid, handleAttack, hashCode, hasVehicle, increaseTransforms, isAttackable, isFireImmune, isInsideWall, isInvisible, isInvisibleTo, isOnFire, isPartOf, isSneaking, isSprinting, isSubmergedIn, isSwimming, isTouchingWater, method_2469, method_2475, method_2494, method_4444, method_4447, method_5379, method_6097, method_6344, method_8364, move, onKilledOther, onLightningStrike, onPlayerCollision, playSound, populateCrashReport, pushAwayFrom, pushOutOfBlocks, refreshPositionAndAngles, remove, saveSelfToNbt, saveToNbt, setAir, setBounds, setEntityId, setFlag, setInLava, setInvisible, setOnFireFor, setOnFireFromLava, setRotation, setSneaking, setSwimming, setVelocityClient, setWorld, shouldRender, shouldRender, shouldSetPositionOnLoad, squaredDistanceTo, squaredDistanceTo, startRiding, teleportToDimension, tickFire, toListNbt, toListNbt, toString, updateKilledAdvancementCriterion, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateVelocity, updateWaterState, writePlayerData
-
Field Details
-
field_5365
- Mappings:
Namespace Name Mixin selector official hLup;h:Lr;intermediary field_5365Lnet/minecraft/class_1402;field_5365:Lnet/minecraft/class_851;named field_5365Lnet/minecraft/entity/passive/BatEntity;field_5365:Lnet/minecraft/util/math/BlockPos;
-
-
Constructor Details
-
BatEntity
- Mappings:
Namespace Name Mixin selector official <init>Lqm;<init>(Lafm;)Vintermediary <init>Lnet/minecraft/class_864;<init>(Lnet/minecraft/class_1150;)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 cLqm;c()Vintermediary method_2484Lnet/minecraft/class_864;method_2484()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
getSoundVolume
protected float getSoundVolume()- Overrides:
getSoundVolumein classLivingEntity- Mappings:
Namespace Name Mixin selector official bfLrg;bf()Fintermediary method_2602Lnet/minecraft/class_1699;method_2602()Fnamed getSoundVolumeLnet/minecraft/entity/LivingEntity;getSoundVolume()F
-
getSoundPitch
protected float getSoundPitch()- Overrides:
getSoundPitchin classLivingEntity- Mappings:
Namespace Name Mixin selector official bgLrg;bg()Fintermediary method_2665Lnet/minecraft/class_1699;method_2665()Fnamed getSoundPitchLnet/minecraft/entity/LivingEntity;getSoundPitch()F
-
getAmbientSound
- Overrides:
getAmbientSoundin classMobEntity- Mappings:
Namespace Name Mixin selector official tLrh;t()Ljava/lang/String;intermediary method_2603Lnet/minecraft/class_871;method_2603()Ljava/lang/String;named getAmbientSoundLnet/minecraft/entity/mob/MobEntity;getAmbientSound()Ljava/lang/String;
-
getHurtSound
- Overrides:
getHurtSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector official aTLrg;aT()Ljava/lang/String;intermediary method_2604Lnet/minecraft/class_1699;method_2604()Ljava/lang/String;named getHurtSoundLnet/minecraft/entity/LivingEntity;getHurtSound()Ljava/lang/String;
-
getDeathSound
- Overrides:
getDeathSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector official aULrg;aU()Ljava/lang/String;intermediary method_2605Lnet/minecraft/class_1699;method_2605()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 SLqm;S()Zintermediary method_2472Lnet/minecraft/class_864;method_2472()Znamed isPushableLnet/minecraft/entity/Entity;isPushable()Z
-
pushAway
- Overrides:
pushAwayin classLivingEntity- Mappings:
Namespace Name Mixin selector official nLrg;n(Lqm;)Vintermediary method_4483Lnet/minecraft/class_1699;method_4483(Lnet/minecraft/class_864;)Vnamed pushAwayLnet/minecraft/entity/LivingEntity;pushAway(Lnet/minecraft/entity/Entity;)V
-
tickCramming
protected void tickCramming()- Overrides:
tickCrammingin classLivingEntity- Mappings:
Namespace Name Mixin selector official boLrg;bo()Vintermediary method_4478Lnet/minecraft/class_1699;method_4478()Vnamed tickCrammingLnet/minecraft/entity/LivingEntity;tickCramming()V
-
initializeAttributes
protected void initializeAttributes()- Overrides:
initializeAttributesin classMobEntity- Mappings:
Namespace Name Mixin selector official aDLrg;aD()Vintermediary method_6129Lnet/minecraft/class_1699;method_6129()Vnamed initializeAttributesLnet/minecraft/entity/LivingEntity;initializeAttributes()V
-
isRoosting
public boolean isRoosting()- Mappings:
Namespace Name Mixin selector official bNLup;bN()Zintermediary method_4515Lnet/minecraft/class_1402;method_4515()Znamed isRoostingLnet/minecraft/entity/passive/BatEntity;isRoosting()Z
-
setRoosting
public void setRoosting(boolean bool) - Mappings:
Namespace Name Mixin selector official aLup;a(Z)Vintermediary method_4514Lnet/minecraft/class_1402;method_4514(Z)Vnamed setRoostingLnet/minecraft/entity/passive/BatEntity;setRoosting(Z)V
-
shouldDropHead
protected boolean shouldDropHead()- Overrides:
shouldDropHeadin classMobEntity
-
tick
public void tick() -
mobTick
protected void mobTick() -
canClimb
protected boolean canClimb() -
method_2490
protected void method_2490(float float2) - Overrides:
method_2490in classLivingEntity- Mappings:
Namespace Name Mixin selector official bLqm;b(F)Vintermediary method_2490Lnet/minecraft/class_864;method_2490(F)Vnamed method_2490Lnet/minecraft/entity/Entity;method_2490(F)V
-
method_2489
protected void method_2489(double double2, boolean bool) - Overrides:
method_2489in classLivingEntity- Mappings:
Namespace Name Mixin selector official aLqm;a(DZ)Vintermediary method_2489Lnet/minecraft/class_864;method_2489(DZ)Vnamed method_2489Lnet/minecraft/entity/Entity;method_2489(DZ)V
-
canAvoidTraps
public boolean canAvoidTraps()- Overrides:
canAvoidTrapsin classEntity- Mappings:
Namespace Name Mixin selector official azLqm;az()Zintermediary method_4450Lnet/minecraft/class_864;method_4450()Znamed canAvoidTrapsLnet/minecraft/entity/Entity;canAvoidTraps()Z
-
damage
- Overrides:
damagein classLivingEntity- Mappings:
Namespace Name Mixin selector official aLqm;a(Lqa;F)Zintermediary method_2499Lnet/minecraft/class_864;method_2499(Lnet/minecraft/class_856;F)Znamed damageLnet/minecraft/entity/Entity;damage(Lnet/minecraft/entity/damage/DamageSource;F)Z
-
readCustomDataFromNbt
- Overrides:
readCustomDataFromNbtin classMobEntity- Mappings:
Namespace Name Mixin selector official aLqm;a(Ldg;)Vintermediary method_2498Lnet/minecraft/class_864;method_2498(Lnet/minecraft/class_322;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
writeCustomDataToNbt
- Overrides:
writeCustomDataToNbtin classMobEntity- Mappings:
Namespace Name Mixin selector official bLqm;b(Ldg;)Vintermediary method_2528Lnet/minecraft/class_864;method_2528(Lnet/minecraft/class_322;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
canSpawn
public boolean canSpawn()
-