public class EntityNoMob
extends net.minecraft.entity.CreatureEntity
IMob interface.experienceValue, goalSelector, inventoryArmorDropChances, inventoryHandsDropChances, jumpController, livingSoundTime, lookController, moveController, navigator, targetSelectoractiveItemStack, activeItemStackUseCount, arrowHitTimer, attackedAtYaw, attackingPlayer, beeStingRemovalCooldown, brain, dead, deathTime, hurtTime, idleTime, interpTargetHeadYaw, interpTargetPitch, interpTargetX, interpTargetY, interpTargetYaw, interpTargetZ, interpTicksHead, isJumping, isSwingInProgress, jumpMovementFactor, lastDamage, limbSwing, limbSwingAmount, LIVING_FLAGS, maxHurtResistantTime, maxHurtTime, movedDistance, moveForward, moveStrafing, moveVertical, newPosRotationIncrements, onGroundSpeedFactor, prevLimbSwingAmount, prevMovedDistance, prevOnGroundSpeedFactor, prevRenderYawOffset, prevRotationYawHead, prevSwingProgress, randomUnused1, randomUnused2, recentlyHit, renderYawOffset, rotationYawHead, scoreValue, SLEEPING_SIZE, spinAttackDuration, swingingHand, swingProgress, swingProgressInt, ticksElytraFlying, ticksSinceLastSwing, unused180addedToChunk, cachedUniqueIdString, chunkCoordX, chunkCoordY, chunkCoordZ, collidedHorizontally, collidedVertically, dataManager, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, entityUniqueID, eyesFluidLevel, eyesInWater, fallDistance, field_241335_O_, field_242271_ac, firstUpdate, FLAGS, forceSpawn, glowing, hurtResistantTime, ignoreFrustumCheck, inPortal, inWater, isAirBorne, lastTickPosX, lastTickPosY, lastTickPosZ, LOGGER, motionMultiplier, noClip, onGround, portalCounter, POSE, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, removed, rideCooldown, rotationPitch, rotationYaw, stepHeight, ticksExisted, velocityChanged, world| Constructor and Description |
|---|
EntityNoMob(net.minecraft.entity.EntityType<? extends EntityNoMob> type,
net.minecraft.world.World world) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
attackEntityFrom(net.minecraft.util.DamageSource source,
float amount) |
protected boolean |
canDropLoot() |
static boolean |
canMonsterSpawn(net.minecraft.entity.EntityType<? extends net.minecraft.entity.monster.MonsterEntity> type,
net.minecraft.world.IWorld worldIn,
net.minecraft.entity.SpawnReason reason,
net.minecraft.util.math.BlockPos pos,
java.util.Random randomIn) |
static boolean |
canMonsterSpawnInLight(net.minecraft.entity.EntityType<? extends net.minecraft.entity.monster.MonsterEntity> type,
net.minecraft.world.IServerWorld worldIn,
net.minecraft.entity.SpawnReason reason,
net.minecraft.util.math.BlockPos pos,
java.util.Random randomIn) |
net.minecraft.item.ItemStack |
findAmmo(net.minecraft.item.ItemStack shootable) |
protected boolean |
func_230282_cS_() |
boolean |
func_230292_f_(net.minecraft.entity.player.PlayerEntity p_230292_1_) |
static net.minecraft.entity.ai.attributes.AttributeModifierMap.MutableAttribute |
func_234295_eP_() |
float |
getBlockPathWeight(net.minecraft.util.math.BlockPos pos,
net.minecraft.world.IWorldReader worldIn) |
net.minecraft.util.SoundEvent |
getDeathSound() |
protected net.minecraft.util.SoundEvent |
getFallSound(int heightIn) |
protected net.minecraft.util.SoundEvent |
getHurtSound(net.minecraft.util.DamageSource damageSourceIn) |
net.minecraft.util.SoundCategory |
getSoundCategory() |
protected net.minecraft.util.SoundEvent |
getSplashSound() |
protected net.minecraft.util.SoundEvent |
getSwimSound() |
protected void |
idle() |
protected boolean |
isDespawnPeaceful() |
static boolean |
isValidLightLevel(net.minecraft.world.IServerWorld worldIn,
net.minecraft.util.math.BlockPos pos,
java.util.Random randomIn) |
void |
livingTick() |
canSpawn, followLeashSpeed, getBlockPathWeight, hasPath, onLeashDistance, updateLeashedStateattackEntityAsMob, baseTick, canAttack, canAttack, canBeLeashedTo, canBeSteered, canDespawn, canEquipItem, canPassengerSteer, canPickUpItem, canPickUpLoot, canSpawnOn, checkDespawn, clearLeashed, createBodyController, createNavigator, detachHome, dropLoot, dropSpecialItems, eatGrassBonus, enablePersistence, faceEntity, func_230254_b_, func_230280_a_, func_230286_q_, func_230293_i_, func_233656_b_, func_233657_b_, func_233659_b_, func_233660_b_, func_233663_d_, func_233665_g_, func_233666_p_, func_241844_w, func_242289_a, getAmbientSound, getArmorByChance, getArmorInventoryList, getAttackTarget, getDropChance, getEntitySenses, getExperiencePoints, getFaceRotSpeed, getHeldEquipment, getHomePosition, getHorizontalFaceSpeed, getItemStackFromSlot, getJumpController, getLeashed, getLeashHolder, getLookController, getLootContextBuilder, getLootTable, getLootTableResourceLocation, getMaxFallHeight, getMaximumHomeDistance, getMaxSpawnedInChunk, getMoveHelper, getNavigator, getPathPriority, getPrimaryHand, getSlotForItemStack, getTalkInterval, getVerticalFaceSpeed, handleFluidJump, handleStatusUpdate, isAggressive, isAIDisabled, isInDaylight, isItemStackInSlot, isLeftHanded, isMaxGroupSize, isNoDespawnRequired, isNotColliding, isServerWorld, isWithinHomeDistanceCurrentPosition, isWithinHomeDistanceFromPosition, onChildSpawnFromEgg, onInitialSpawn, playAmbientSound, playHurtSound, preventDespawn, processInitialInteract, readAdditional, registerData, registerGoals, replaceItemInInventory, sendDebugPackets, setAggroed, setAIMoveSpeed, setAttackTarget, setCanPickUpLoot, setChild, setDead, setDropChance, setEnchantmentBasedOnDifficulty, setEquipmentBasedOnDifficulty, setHomePosAndDistance, setItemStackToSlot, setLeashHolder, setLeftHanded, setMoveForward, setMoveStrafing, setMoveVertical, setNoAI, setPathPriority, setVehicleEntityId, shouldExchangeEquipment, spawnExplosionParticle, startRiding, tick, updateAITasks, updateDistance, updateEntityActionState, updateEquipmentIfNeeded, updateMovementGoalFlags, writeAdditionaladdPotionEffect, addSprintingEffect, applyArmorCalculations, applyEntityCollision, applyKnockback, applyPotionDamageCalculations, areAllPotionsAmbient, attackable, attemptTeleport, blockUsingShield, calculateFallDamage, canAttack, canBeCollidedWith, canBeHitWithPotion, canBePushed, canBeRiddenInWater, canBreatheUnderwater, canEntityBeSeen, canEquip, clearActivePotions, clearBedPosition, collideWithEntity, collideWithNearbyEntities, constructKnockBackVector, createBrain, createSpawnPacket, createWitherRose, curePotionEffects, damageArmor, damageEntity, damageShield, decreaseAirSupply, determineNextAir, dropExperience, dropInventory, frostWalk, func_230246_e_, func_230285_a_, func_230295_b_, func_230296_cM_, func_233626_a_, func_233629_a_, func_233633_a_, func_233634_a_, func_233641_cN_, func_233642_cO_, func_233644_dn_, func_233646_e_, func_241208_cS_, func_241839_a, func_242288_h, getAbsorptionAmount, getActiveHand, getActiveItemStack, getActivePotionEffect, getActivePotionEffects, getActivePotionMap, getAIMoveSpeed, getAlwaysRenderNameTagForRender, getArmorCoverPercentage, getArrowCountInEntity, getAttackingEntity, getAttribute, getAttributeManager, getAttributeValue, getAvailablePoses, getBaseAttributeValue, getBedDirection, getBedPosition, getBeeStingCount, getBlockState, getBrain, getBrainCodec, getCapability, getCombatTracker, getCreatureAttribute, getDrinkSound, getEatSound, getEyeHeight, getHealth, getHeldItem, getHeldItemMainhand, getHeldItemOffhand, getIdleTime, getItemInUseCount, getItemInUseMaxCount, getJumpUpwardsMotion, getLastAttackedEntity, getLastAttackedEntityTime, getLastDamageSource, getMaxHealth, getMovementSpeed, getPoseAABB, getRenderBoundingBox, getRenderScale, getRevengeTarget, getRevengeTimer, getRNG, getRotationYawHead, getShouldBeDead, getSize, getSoundPitch, getSoundVolume, getSpeedFactor, getStandingEyeHeight, getSwimAnimation, getSwingProgress, getTicksElytraFlying, getTotalArmorValue, getVisibilityMultiplier, getWaterSlowDown, getYaw, handleFluidSneak, hasItemInSlot, hasStoppedClimbing, heal, invalidateCaps, isActiveItemStackBlocking, isActualySwimming, isAlive, isChild, isElytraFlying, isEntityInsideOpaqueBlock, isEntityUndead, isHandActive, isMovementBlocked, isOnLadder, isPlayer, isPotionActive, isPotionApplicable, isSleeping, isSpinAttacking, isWaterSensitive, jump, lookAt, markPotionsDirty, markVelocityChanged, notifyDataManagerChange, onChangedPotionEffect, onDeath, onDeathUpdate, onFinishedPotionEffect, onFoodEaten, onItemPickup, onItemUseFinish, onKillCommand, onLivingFall, onNewPotionEffect, outOfWorld, performHurtAnimation, playEquipSound, playFallSound, registerAttributes, removeActivePotionEffect, removePotionEffect, resetActiveHand, resetPotionEffectMetadata, sendBreakAnimation, sendBreakAnimation, sendEndCombat, sendEnterCombat, setAbsorptionAmount, setActiveHand, setArrowCountInEntity, setBedPosition, setBeeStingCount, setHeadRotation, setHealth, setHeldItem, setIdleTime, setJumping, setLastAttackedEntity, setLivingFlag, setOnGround, setPartying, setPositionAndRotationDirect, setRenderYawOffset, setRevengeTarget, setRotationYawHead, setSprinting, shouldRiderFaceForward, spawnDrops, spinAttack, startSleeping, startSpinAttack, stopActiveHand, stopRiding, swing, swingArm, travel, triggerItemPickupTrigger, triggerItemUseEffects, updateArmSwingProgress, updateFallState, updatePotionEffects, updatePotionMetadata, updateRidden, updateSpinAttack, wakeUpaddPassenger, addTag, addTrackingPlayer, addVelocity, allowLogging, applyEnchantments, applyOrientationToEntity, applyPlayerInteraction, areEyesInFluid, awardKillScore, calculateUpVector, canBeAttackedWithItem, canBeRidden, canCollide, canExplosionDestroyBlock, canFitPassenger, canRenderOnFire, canSwim, canTrample, canTriggerWalking, canUpdate, canUpdate, captureDrops, captureDrops, changeDimension, changeDimension, collideBoundingBox, collideBoundingBoxHeuristically, copyDataFromOld, copyLocationAndAnglesFrom, decrementTimeUntilPortal, detach, determineNextStepDistance, dismount, doBlockCollisions, doesEntityNotTriggerPressurePlate, doWaterSplashEffect, entityDropItem, entityDropItem, entityDropItem, entityDropItem, equals, extinguish, fillCrashReport, forceFireTicks, forceSetPosition, func_230268_c_, func_233559_a_, func_233566_aG_, func_233571_b_, func_233577_ch_, func_233578_ci_, func_233579_cu_, func_241205_ce_, func_241829_a, func_241830_a, func_241841_a, func_241842_k, func_241845_aY, func_241847_a, func_242274_V, func_242277_a, func_242278_a, func_242279_ag, func_242280_ah, func_242281_f, func_242282_l, getAdjustedHorizontalFacing, getAir, getAllowedMovement, getBoundingBox, getBoundingBox, getBrightness, getCachedUniqueIdString, getCollisionBorderSize, getCommandSource, getControllingPassenger, getCustomName, getDataManager, getDisplayName, getDistance, getDistanceSq, getDistanceSq, getDistanceSq, getEntityId, getEntityString, getEntityWorld, getEquipmentAndArmor, getExplosionResistance, getEyeHeight, getEyeHeight, getEyePosition, getFireImmuneTicks, getFireTimer, getFlag, getForward, getHeight, getHighspeedSplashSound, getHorizontalFacing, getHoverEvent, getJumpFactor, getLeashPosition, getLook, getLookVec, getLowestRidingEntity, getMaxAir, getMaxInPortalTime, getMirroredYaw, getMotion, getMountedYOffset, getName, getOnPosition, getPassengers, getPermissionLevel, getPersistentData, getPitch, getPitchYaw, getPortalCooldown, getPose, getPosition, getPositionUnderneath, getPositionVec, getPosX, getPosXRandom, getPosXWidth, getPosY, getPosYEye, getPosYHeight, getPosYRandom, getPosZ, getPosZRandom, getPosZWidth, getProfessionName, getPushReaction, getRecursivePassengers, getRenderDistanceWeight, getRidingEntity, getRotatedYaw, getScoreboardName, getSelfAndPassengers, getServer, getStateBelow, getTags, getTeam, getTeamColor, getType, getUniqueID, getUpVector, getVectorForRotation, getWidth, getYOffset, handleFluidAcceleration, handlePistonMovement, handleRunningEffect, hasCustomName, hashCode, hasNoGravity, hasPermissionLevel, hitByEntity, horizontalMag, ignoreItemEntityData, isAddedToWorld, isBeingRidden, isBurning, isCrouching, isCustomNameVisible, isDescending, isDiscrete, isEntityEqual, isEntityInRange, isGlowing, isImmuneToExplosions, isImmuneToFire, isInLava, isInRangeToRender3d, isInRangeToRenderDist, isInvisible, isInvisibleToPlayer, isInvulnerable, isInvulnerableTo, isInWater, isInWaterOrBubbleColumn, isInWaterRainOrBubbleColumn, isLiving, isNonBoss, isOffsetPositionInLiquid, isOnePlayerRiding, isOnGround, isOnSameTeam, isOnScoreboardTeam, isPassenger, isPassenger, isPassenger, isPoseClear, isPushedByWater, isRidingOrBeingRiddenBy, isRidingSameEntity, isSilent, isSneaking, isSpectatedByPlayer, isSpectator, isSprinting, isSteppingCarefully, isSuppressingBounce, isSwimming, isVisuallySwimming, isWet, makeFlySound, maybeBackOffFromEdge, move, moveForced, moveForced, moveRelative, moveToBlockPosAndAngles, newDoubleNBTList, newFloatNBTList, onAddedToWorld, onCollideWithPlayer, onEnterBubbleColumn, onEnterBubbleColumnWithAirAbove, onInsideBlock, onRemovedFromWorld, pick, playFlySound, playSound, playStepSound, playSwimSound, preparePlayerToSpawn, pushOutOfBlocks, read, recalculateSize, recenterBoundingBox, remove, remove, removePassenger, removePassengers, removeTag, removeTrackingPlayer, resetPositionToBB, revive, rotateTowards, sendMessage, setAir, setBoundingBox, setCustomName, setCustomNameVisible, setEntityId, setFire, setFlag, setGlowing, setInvisible, setInvulnerable, setLocationAndAngles, setMotion, setMotion, setMotionMultiplier, setNoGravity, setOnFireFromLava, setPacketCoordinates, setPortal, setPose, setPosition, setPositionAndRotation, setPositionAndUpdate, setRawPosition, setRenderDistanceWeight, setRotation, setSilent, setSneaking, setSwimming, setUniqueId, setVelocity, setWorld, shouldReceiveErrors, shouldReceiveFeedback, shouldSetPosAfterLoading, shouldSpawnRunningEffects, startRiding, teleportKeepLoaded, toString, updatePassenger, updatePortal, updateSwimming, writeUnlessPassenger, writeUnlessRemoved, writeWithoutTypeIdareCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, getCapabilities, reviveCaps, serializeCapsclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic EntityNoMob(net.minecraft.entity.EntityType<? extends EntityNoMob> type, net.minecraft.world.World world)
public net.minecraft.util.SoundCategory getSoundCategory()
getSoundCategory in class net.minecraft.entity.Entitypublic void livingTick()
livingTick in class net.minecraft.entity.MobEntityprotected void idle()
protected boolean isDespawnPeaceful()
isDespawnPeaceful in class net.minecraft.entity.MobEntityprotected net.minecraft.util.SoundEvent getSwimSound()
getSwimSound in class net.minecraft.entity.Entityprotected net.minecraft.util.SoundEvent getSplashSound()
getSplashSound in class net.minecraft.entity.Entitypublic boolean attackEntityFrom(net.minecraft.util.DamageSource source,
float amount)
attackEntityFrom in class net.minecraft.entity.LivingEntityprotected net.minecraft.util.SoundEvent getHurtSound(net.minecraft.util.DamageSource damageSourceIn)
getHurtSound in class net.minecraft.entity.LivingEntitypublic net.minecraft.util.SoundEvent getDeathSound()
getDeathSound in class net.minecraft.entity.LivingEntityprotected net.minecraft.util.SoundEvent getFallSound(int heightIn)
getFallSound in class net.minecraft.entity.LivingEntitypublic float getBlockPathWeight(net.minecraft.util.math.BlockPos pos,
net.minecraft.world.IWorldReader worldIn)
getBlockPathWeight in class net.minecraft.entity.CreatureEntitypublic static boolean isValidLightLevel(net.minecraft.world.IServerWorld worldIn,
net.minecraft.util.math.BlockPos pos,
java.util.Random randomIn)
public static boolean canMonsterSpawnInLight(net.minecraft.entity.EntityType<? extends net.minecraft.entity.monster.MonsterEntity> type,
net.minecraft.world.IServerWorld worldIn,
net.minecraft.entity.SpawnReason reason,
net.minecraft.util.math.BlockPos pos,
java.util.Random randomIn)
public static boolean canMonsterSpawn(net.minecraft.entity.EntityType<? extends net.minecraft.entity.monster.MonsterEntity> type,
net.minecraft.world.IWorld worldIn,
net.minecraft.entity.SpawnReason reason,
net.minecraft.util.math.BlockPos pos,
java.util.Random randomIn)
public static net.minecraft.entity.ai.attributes.AttributeModifierMap.MutableAttribute func_234295_eP_()
protected boolean canDropLoot()
canDropLoot in class net.minecraft.entity.LivingEntityprotected boolean func_230282_cS_()
func_230282_cS_ in class net.minecraft.entity.LivingEntitypublic boolean func_230292_f_(net.minecraft.entity.player.PlayerEntity p_230292_1_)
public net.minecraft.item.ItemStack findAmmo(net.minecraft.item.ItemStack shootable)
findAmmo in class net.minecraft.entity.LivingEntity