Class DenEntity
java.lang.Object
net.neoforged.neoforge.attachment.AttachmentHolder
net.minecraft.world.entity.Entity
net.minecraft.world.entity.LivingEntity
com.pixelmonmod.pixelmon.entities.DenEntity
- All Implemented Interfaces:
net.minecraft.commands.CommandSource,net.minecraft.network.syncher.SyncedDataHolder,net.minecraft.world.entity.Attackable,net.minecraft.world.level.entity.EntityAccess,net.minecraft.world.Nameable,net.minecraft.world.scores.ScoreHolder,net.neoforged.neoforge.attachment.IAttachmentHolder,net.neoforged.neoforge.common.extensions.IEntityExtension,net.neoforged.neoforge.common.extensions.ILivingEntityExtension,net.neoforged.neoforge.common.util.INBTSerializable<net.minecraft.nbt.CompoundTag>
public class DenEntity
extends net.minecraft.world.entity.LivingEntity
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.entity.LivingEntity
net.minecraft.world.entity.LivingEntity.FallsoundsNested classes/interfaces inherited from class net.minecraft.world.entity.Entity
net.minecraft.world.entity.Entity.MoveFunction, net.minecraft.world.entity.Entity.MovementEmission, net.minecraft.world.entity.Entity.RemovalReasonNested classes/interfaces inherited from class net.neoforged.neoforge.attachment.AttachmentHolder
net.neoforged.neoforge.attachment.AttachmentHolder.AsField -
Field Summary
FieldsFields inherited from class net.minecraft.world.entity.LivingEntity
animStep, animStepO, appliedScale, ARMOR_SLOT_OFFSET, ARMOR_SLOTS, attackAnim, attackStrengthTicker, ATTRIBUTES_FIELD, autoSpinAttackDmg, autoSpinAttackItemStack, autoSpinAttackTicks, BASE_JUMP_POWER, BODY_ARMOR_OFFSET, brain, damageContainers, DATA_HEALTH_ID, DATA_LIVING_ENTITY_FLAGS, dead, DEATH_DURATION, deathScore, deathTime, DEFAULT_BABY_SCALE, DEFAULT_BASE_GRAVITY, EQUIPMENT_SLOT_OFFSET, EXTRA_RENDER_CULLING_SIZE_WITH_BIG_HAT, fallFlyTicks, HAND_SLOTS, hurtDuration, hurtTime, invulnerableDuration, jumping, lastHurt, lastHurtByPlayer, lastHurtByPlayerTime, lerpHeadSteps, lerpSteps, lerpX, lerpXRot, lerpY, lerpYHeadRot, lerpYRot, lerpZ, LIVING_ENTITY_FLAG_IS_USING, LIVING_ENTITY_FLAG_OFF_HAND, LIVING_ENTITY_FLAG_SPIN_ATTACK, MIN_MOVEMENT_DISTANCE, noActionTime, noJumpDelay, oAttackAnim, oRun, PLAYER_HURT_EXPERIENCE_TIME, removeArrowTime, removeStingerTime, rotA, rotOffs, run, SLEEPING_DIMENSIONS, SWING_DURATION, swinging, swingingArm, swingTime, timeOffs, USE_ITEM_INTERVAL, useItem, useItemRemaining, walkAnimation, xxa, yBodyRot, yBodyRotO, yHeadRot, yHeadRotO, yya, zzaFields inherited from class net.minecraft.world.entity.Entity
BASE_SAFE_FALL_DISTANCE, BASE_TICKS_REQUIRED_TO_FREEZE, blocksBuilding, BOARDING_COOLDOWN, boardingCooldown, CONTENTS_SLOT_INDEX, DATA_POSE, DATA_SHARED_FLAGS_ID, DEFAULT_BB_HEIGHT, DEFAULT_BB_WIDTH, DELTA_AFFECTED_BY_BLOCKS_BELOW_0_2, DELTA_AFFECTED_BY_BLOCKS_BELOW_0_5, DELTA_AFFECTED_BY_BLOCKS_BELOW_1_0, dimensions, ENTITY_COUNTER, entityData, eyeHeight, fallDistance, firstTick, FLAG_FALL_FLYING, FLAG_GLOWING, FLAG_ONFIRE, fluidHeight, flyDist, forgeFluidTypeHeight, FREEZE_HURT_FREQUENCY, hasImpulse, horizontalCollision, hurtMarked, ID_TAG, invulnerableTime, isInPowderSnow, level, mainSupportingBlockPos, MAX_ENTITY_TAG_COUNT, minorHorizontalCollision, moveDist, noCulling, noPhysics, onGround, PASSENGERS_TAG, portalProcess, random, stringUUID, stuckSpeedMultiplier, tickCount, TOTAL_AIR_SUPPLY, uuid, UUID_TAG, verticalCollision, verticalCollisionBelow, walkDist, walkDistO, wasEyeInWater, wasInPowderSnow, wasOnFire, wasTouchingWater, xo, xOld, xRot, xRotO, yo, yOld, yRot, yRotO, zo, zOldFields inherited from class net.neoforged.neoforge.attachment.AttachmentHolder
ATTACHMENTS_NBT_KEYFields inherited from interface net.minecraft.commands.CommandSource
NULLFields inherited from interface net.minecraft.world.scores.ScoreHolder
WILDCARD, WILDCARD_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAdditionalSaveData(net.minecraft.nbt.CompoundTag compound) booleanbooleanbooleanbooleancanCollideWith(net.minecraft.world.entity.Entity entity) voidprotected <A> voiddefine(net.minecraft.network.syncher.SynchedEntityData.Builder builder, DataSync<?, A> sync, A value) protected voiddefineSynchedData(net.minecraft.network.syncher.SynchedEntityData.Builder builder) booleanprotected voiddoPush(net.minecraft.world.entity.Entity entityIn) Iterable<net.minecraft.world.item.ItemStack> floatintgetBeams()floatnet.minecraft.world.phys.AABBnet.minecraft.world.phys.AABBgetData()protected net.minecraft.sounds.SoundEventnet.minecraft.sounds.SoundEventgetFallDamageSound(int heightIn) protected net.minecraft.sounds.SoundEventgetHurtSound(net.minecraft.world.damagesource.DamageSource damageSourceIn) net.minecraft.world.item.ItemStackgetItemBySlot(net.minecraft.world.entity.EquipmentSlot slotIn) net.minecraft.world.entity.HumanoidArmdoublenet.minecraft.world.item.ItemStackgetPickedResult(net.minecraft.world.phys.HitResult target) net.minecraft.world.level.material.PushReactionnet.minecraft.core.Rotationsprotected floatbytevoidhandleEntityEvent(byte id) booleanhurt(net.minecraft.world.damagesource.DamageSource source, float amount) booleannet.minecraft.world.InteractionResultinteractAt(net.minecraft.world.entity.player.Player player, net.minecraft.world.phys.Vec3 vec, net.minecraft.world.InteractionHand hand) booleanbooleanbooleanbooleanisBeamOn()booleanbooleanbooleanbooleanisOnFire()booleanbooleanbooleanvoidkill()voidknockback(double p_147241_, double p_147242_, double p_147243_) voidmove(net.minecraft.world.entity.MoverType type, net.minecraft.world.phys.Vec3 pos) voidonSyncedDataUpdated(net.minecraft.network.syncher.EntityDataAccessor<?> key) protected voidvoidreadAdditionalSaveData(net.minecraft.nbt.CompoundTag nbt) voidroll(int day) voidsetAnimate(boolean animate) voidsetBaseHidden(boolean hideBase) voidsetBeamLength(float beamLength) voidsetBeamOn(boolean beamOn) voidsetBeams(int beams) voidsetBeamTaper(boolean beamTaper) voidsetBeamWidth(float beamWidth) voidsetColorRGBA(int rgb) voidsetColorUIA(int rgb) voidsetColorUIB(int rgb) voidsetColorUIC(int rgb) voidvoidsetDecoration(boolean decoration) voidvoidsetInvisible(boolean invisible) voidsetItemSlot(net.minecraft.world.entity.EquipmentSlot slotIn, net.minecraft.world.item.ItemStack stack) voidsetLastRollDay(int lastRollDay) voidsetNoCollide(boolean noCollide) voidsetRotation(net.minecraft.core.Rotations vec) protected final voidsetSize(float width, float height) voidsetStatus(byte status) voidsetYBodyRot(float offset) voidsetYHeadRot(float rotation) booleanshouldRender(double x, double y, double z) booleanshouldRenderAtSqrDistance(double distance) booleanskipAttackInteraction(net.minecraft.world.entity.Entity entityIn) voidtick()protected floattickHeadTurn(float p_110146_1_, float p_110146_2_) protected voidMethods inherited from class net.minecraft.world.entity.LivingEntity
activeLocationDependentEnchantments, actuallyHurt, addEffect, addEffect, aiStep, animateHurt, areAllEffectsAmbient, baseTick, blockedByShield, blockUsingShield, brainProvider, calculateEntityAnimation, calculateFallDamage, canAttack, canAttack, canAttackType, canBeAffected, canBeSeenAsEnemy, canBeSeenByAnyone, canDisableShield, canFreeze, canStandOnFluid, canTakeItem, canUsePortal, canUseSlot, causeFallDamage, checkAutoSpinAttack, checkFallDamage, clearSleepingPos, completeUsingItem, createLivingAttributes, createWitherRose, decreaseAirSupply, die, doAutoAttackOnTouch, doesEmitEquipEvent, doHurtEquipment, doHurtTarget, dropAllDeathLoot, dropCustomDeathLoot, dropEquipment, dropExperience, dropFromLootTable, eat, eat, equipmentHasChanged, forceAddEffect, getAbsorptionAmount, getActiveEffects, getActiveEffectsMap, getAgeScale, getAllSlots, getArmorAndBodyArmorSlots, getArmorCoverPercentage, getArmorValue, getArrowCount, getAttackAnim, getAttribute, getAttributeBaseValue, getAttributes, getAttributeValue, getBaseExperienceReward, getBedOrientation, getBlockSpeedFactor, getBrain, getCombatTracker, getComfortableFallDistance, getCurrentSwingDuration, getDamageAfterArmorAbsorb, getDamageAfterMagicAbsorb, getDefaultDimensions, getDefaultGravity, getDimensions, getDismountPoses, getDrinkingSound, getEatingSound, getEffect, getEquipmentSlotForItem, getExperienceReward, getFallFlyingTicks, getFallSounds, getFluidFallingAdjustedMovement, getFlyingSpeed, getHandSlots, getHealth, getHitbox, getHurtDir, getItemInHand, getJumpBoostPower, getJumpPower, getJumpPower, getKillCredit, getKnockback, getLastAttacker, getLastClimbablePos, getLastDamageSource, getLastHurtByMob, getLastHurtByMobTimestamp, getLastHurtMob, getLastHurtMobTimestamp, getLocalBoundsForPose, getLootTable, getLootTableSeed, getMainHandItem, getMaxAbsorption, getMaxFallDistance, getMaxHeadRotationRelativeToBody, getMaxHealth, getNoActionTime, getOffhandItem, getPassengerRidingPosition, getPreciseBodyRotation, getProjectile, getRelativePortalPosition, getRiddenInput, getRiddenSpeed, getScale, getSleepingPos, getSlot, getSlotForHand, getSpeed, getStingerCount, getSwimAmount, getTicksUsingItem, getUsedItemHand, getUseItem, getUseItemRemainingTicks, getViewYRot, getVisibilityPercent, getVisualRotationYInDegrees, getVoicePitch, getWaterSlowDown, getWeaponItem, getYHeadRot, goDownInWater, handleDamageEvent, handleRelativeFrictionAndCalculateMovement, hasEffect, hasInfiniteMaterials, hasItemInSlot, hasLandedInLiquid, hasLineOfSight, heal, hurtArmor, hurtCurrentlyUsedShield, hurtHelmet, igniteForTicks, increaseAirSupply, indicateDamage, internalSetAbsorptionAmount, isAffectedByFluids, isAlive, isAlwaysExperienceDropper, isAutoSpinAttack, isBaby, isBlocking, isCurrentlyGlowing, isDamageSourceBlocked, isDeadOrDying, isFallFlying, isHolding, isHolding, isImmobile, isInvertedHealAndHarm, isInvulnerableTo, isInWall, isSensitiveToWater, isSleeping, isSuppressingSlidingDownLadder, isUsingItem, isVisuallySwimming, jumpFromGround, jumpInLiquid, lerpHeadRotationStep, lerpHeadTo, lerpTargetX, lerpTargetXRot, lerpTargetY, lerpTargetYRot, lerpTargetZ, lerpTo, lookAt, makeBrain, makeSound, maxUpStep, onBelowWorld, onChangedBlock, onClimbable, onEffectAdded, onEffectRemoved, onEffectUpdated, onEnterCombat, onEquipItem, onEquippedItemBroken, onItemPickup, onLeaveCombat, playBlockFallSound, playHurtSound, push, randomTeleport, recreateFromPacket, releaseUsingItem, remove, removeAllEffects, removeEffect, removeEffectNoUpdate, removeEffectParticles, removeEffectsCuredBy, removeFrost, resetForwardDirectionOfRelativePortalPosition, rideTick, sanitizeScale, sendEffectToPassengers, serverAiStep, setAbsorptionAmount, setArrowCount, setDiscardFriction, setHealth, setItemInHand, setJumping, setLastHurtByMob, setLastHurtByPlayer, setLastHurtMob, setLivingEntityFlag, setNoActionTime, setRecordPlayingNearby, setSleepingPos, setSpeed, setSprinting, setStingerCount, shouldDiscardFriction, shouldDropExperience, shouldDropLoot, shouldRiderFaceForward, shouldShowName, skipDropExperience, startSleeping, startUsingItem, stopRiding, stopSleeping, stopUsingItem, swing, swing, take, tickDeath, tickEffects, tickRidden, travel, travelRidden, triggerItemUseEffects, triggerOnDeathMobEffects, tryAddFrost, updateEffectVisibility, updateFallFlying, updateSwingTime, updateUsingItem, updateWalkAnimation, verifyEquippedItem, wasExperienceConsumed, wouldNotSuffocateAtTargetPoseMethods inherited from class net.minecraft.world.entity.Entity
absMoveTo, absMoveTo, absRotateTo, acceptsFailure, acceptsSuccess, addDeltaMovement, addPassenger, addTag, adjustSpawnLocation, applyGravity, awardKillScore, blockPosition, broadcastToPlayer, calculateUpVector, calculateViewVector, canAddPassenger, canBeHitByProjectile, canChangeDimensions, canControlVehicle, canRide, canSpawnSprintParticle, canSprint, canTrample, captureDrops, captureDrops, changeDimension, checkBelowWorld, checkDespawn, checkInsideBlocks, checkSlowFallDistance, checkSupportingBlock, chunkPosition, clearFire, closerThan, closerThan, collideBoundingBox, copyPosition, couldAcceptPassenger, countPlayerPassengers, createCommandSourceStack, createHoverEvent, damageSources, dampensVibrations, deflection, discard, dismountsUnderwater, dismountTo, distanceTo, distanceToSqr, distanceToSqr, distanceToSqr, doWaterSplashEffect, ejectPassengers, equals, extinguishFire, fillCrashReportCategory, fireImmune, fixupDimensions, fudgePositionAfterSizeChange, gameEvent, gameEvent, getAddEntityPacket, getAirSupply, getAttachments, getBbHeight, getBbWidth, getBlockExplosionResistance, getBlockJumpFactor, getBlockPosBelowThatAffectsMyMovement, getBlockStateOn, getBlockStateOnLegacy, getBlockX, getBlockY, getBlockZ, getBoundingBox, getCapability, getCapability, getCollisionHorizontalEscapeVector, getCommandSenderWorld, getControlledVehicle, getControllingPassenger, getCustomName, getDefaultPassengerAttachmentPoint, getDeltaMovement, getDimensionChangingDelay, getDirection, getDismountLocationForPassenger, getDisplayName, getEncodeId, getEntityData, getEyeHeight, getEyeHeight, getEyeInFluidType, getEyePosition, getEyePosition, getEyeY, getFireImmuneTicks, getFirstPassenger, getFluidHeight, getFluidJumpThreshold, getFluidTypeHeight, getForward, getGravity, getHandHoldingItemAngle, getId, getInBlockState, getIndirectPassengers, getKnownMovement, getLeashOffset, getLeashOffset, getLightLevelDependentMagicValue, getLightProbePosition, getLookAngle, getMaxAirSupply, getMaxHeightFluidType, getMotionDirection, getMovementEmission, getName, getNearestViewDirection, getOnPos, getOnPos, getOnPosLegacy, getPassengerAttachmentPoint, getPassengers, getPassengersAndSelf, getPercentFrozen, getPermissionLevel, getPersistentData, getPickRadius, getPickResult, getPortalCooldown, getPose, getPosition, getPositionCodec, getPrimaryStepSoundBlockPos, getRandom, getRandomX, getRandomY, getRandomZ, getRemainingFireTicks, getRemovalReason, getRootVehicle, getRopeHoldPosition, getRotationVector, getScoreboardName, getSelfAndPassengers, getServer, getSharedFlag, getSoundSource, getStringUUID, getSwimHighSpeedSplashSound, getSwimSound, getSwimSplashSound, getTags, getTeam, getTeamColor, getTicksFrozen, getTicksRequiredToFreeze, getType, getTypeName, getUpVector, getUUID, getVehicle, getVehicleAttachmentPoint, getViewScale, getViewVector, getViewXRot, getX, getX, getXRot, getY, getY, getYRot, getZ, getZ, handlePortal, hasControllingPassenger, hasCustomName, hasExactlyOnePlayerPassenger, hasGlowingTag, hashCode, hasIndirectPassenger, hasPassenger, hasPassenger, hasPermissions, hasPose, igniteForSeconds, ignoreExplosion, interact, is, isAddedToLevel, isAlliedTo, isAlliedTo, isAlwaysTicking, isAttackable, isColliding, isControlledByLocalInstance, isCrouching, isCustomNameVisible, isDescending, isDiscrete, isEffectiveAi, isEyeInFluid, isFlapping, isFree, isFreezing, isFullyFrozen, isHorizontalCollisionMinor, isIgnoringBlockTriggers, isInFluidType, isInFluidType, isInLava, isInLiquid, isInvisible, isInvisibleTo, isInvulnerable, isInWater, isInWaterOrBubble, isInWaterOrRain, isInWaterRainOrBubble, isNoGravity, isOnPortalCooldown, isOnRails, isPassenger, isPassengerOfSameVehicle, isRemoved, isShiftKeyDown, isSilent, isSpectator, isSprinting, isSteppingCarefully, isSupportedBy, isSuppressingBounce, isSwimming, isUnderWater, isVehicle, isVisuallyCrawling, killedEntity, lavaHurt, lerpMotion, lerpPositionAndRotationStep, level, limitPistonMovement, load, makeBoundingBox, makeStuckInBlock, markHurt, maybeBackOffFromEdge, mayInteract, mirror, moveRelative, moveTo, moveTo, moveTo, moveTo, moveTo, moveTowardsClosestSpace, newDoubleList, newFloatList, nextStep, onAboveBubbleCol, onAddedToLevel, onClientRemoval, onExplosionHit, onFlap, onGround, onInsideBlock, onInsideBubbleColumn, onlyOpCanSetNbt, onPassengerTurned, onRemovedFromLevel, onSyncedDataUpdated, pick, placePortalTicket, playCombinationStepSounds, playEntityOnFireExtinguishedSound, playerTouch, playMuffledStepSound, playSound, playSound, playStepSound, playSwimSound, position, positionRider, positionRider, processFlappingMovement, processPortalCooldown, push, push, reapplyPosition, refreshDimensions, registryAccess, removeAfterChangingDimensions, removePassenger, removeTag, removeVehicle, repositionEntityAfterLoad, resetFallDistance, restoreFrom, revive, rotate, save, saveAsPassenger, saveWithoutId, sendSystemMessage, setAirSupply, setAsInsidePortal, setBoundingBox, setCustomName, setCustomNameVisible, setData, setDeltaMovement, setDeltaMovement, setFluidTypeHeight, setGlowingTag, setId, setInvulnerable, setIsInPowderSnow, setLevel, setLevelCallback, setNoGravity, setOldPosAndRot, setOnGround, setOnGroundWithMovement, setPortalCooldown, setPortalCooldown, setPos, setPos, setPose, setPosRaw, setRemainingFireTicks, setRemoved, setRot, setSharedFlag, setSharedFlagOnFire, setShiftKeyDown, setSilent, setSwimming, setTicksFrozen, setUUID, setViewScale, setXRot, setYRot, shouldBeSaved, shouldBlockExplode, shouldInformAdmins, showVehicleHealth, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnSprintParticle, startRiding, startRiding, startSeenByPlayer, stopSeenByPlayer, syncPacketPositionCodec, teleportRelative, teleportTo, teleportTo, thunderHit, toString, touchingUnloadedChunk, trackingPosition, tryCheckInsideBlocks, turn, unRide, unsetRemoved, updateDynamicGameEventListener, updateFluidHeightAndDoFluidPushing, updateFluidHeightAndDoFluidPushing, updateInWaterStateAndDoFluidPushing, updateSwimming, waterSwimSoundMethods inherited from class net.neoforged.neoforge.attachment.AttachmentHolder
deserializeAttachments, getData, getExistingDataOrNull, hasAttachments, hasData, removeData, serializeAttachmentsMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.commands.CommandSource
alwaysAcceptsMethods inherited from interface net.neoforged.neoforge.attachment.IAttachmentHolder
getData, getExistingData, getExistingData, getExistingDataOrNull, hasData, removeData, setDataMethods inherited from interface net.neoforged.neoforge.common.extensions.IEntityExtension
canBeRiddenUnderFluidType, canFluidExtinguish, canHydrateInFluidType, canRiderInteract, canStartSwimming, canTrample, captureDrops, captureDrops, copyAttachmentsFrom, deserializeNBT, getClassification, getEyeInFluidType, getFluidFallDistanceModifier, getFluidMotionScale, getFluidTypeHeight, getMaxHeightFluidType, getParts, getPersistentData, getSoundFromFluidType, hasCustomOutlineRendering, isAddedToLevel, isEyeInFluidType, isInFluidType, isInFluidType, isInFluidType, isInFluidType, isInFluidType, isMultipartEntity, isPushedByFluid, onAddedToLevel, onRemovedFromLevel, revive, sendPairingData, serializeNBT, shouldRiderSitMethods inherited from interface net.neoforged.neoforge.common.extensions.ILivingEntityExtension
canDrownInFluidType, canSwimInFluidType, jumpInFluid, moveInFluid, onDamageTaken, self, sinkInFluidMethods inherited from interface net.minecraft.world.scores.ScoreHolder
getFeedbackDisplayName
-
Field Details
-
MAX_PLAYER_RANGE
public static final int MAX_PLAYER_RANGE- See Also:
-
SYNC_STATUS
-
SYNC_COLOR_RGBA
-
SYNC_COLOR_UI_A
-
SYNC_COLOR_UI_B
-
SYNC_COLOR_UI_C
-
SYNC_DECORATION
-
SYNC_BEAMS
-
SYNC_ANIMATE
-
SYNC_HIDE_BASE
-
SYNC_NO_COLLIDE
-
SYNC_BEAM_ON
-
SYNC_BEAM_TAPER
-
SYNC_BEAM_LENGTH
-
SYNC_BEAM_WIDTH
-
SYNC_ROTATION
-
SYNC_RAID_DATA
-
SYNC_LAST_ROLL_DAY
-
ticker
public int ticker -
display
-
dataSyncManager
-
-
Constructor Details
-
DenEntity
public DenEntity(net.minecraft.world.entity.EntityType<DenEntity> type, net.minecraft.world.level.Level world) -
DenEntity
public DenEntity(net.minecraft.world.level.Level worldIn) -
DenEntity
public DenEntity(net.minecraft.world.level.Level worldIn, double posX, double posY, double posZ)
-
-
Method Details
-
setSize
protected final void setSize(float width, float height) -
defineSynchedData
protected void defineSynchedData(net.minecraft.network.syncher.SynchedEntityData.Builder builder) - Overrides:
defineSynchedDatain classnet.minecraft.world.entity.LivingEntity
-
define
protected <A> void define(net.minecraft.network.syncher.SynchedEntityData.Builder builder, DataSync<?, A> sync, A value) -
addAdditionalSaveData
public void addAdditionalSaveData(net.minecraft.nbt.CompoundTag compound) - Overrides:
addAdditionalSaveDatain classnet.minecraft.world.entity.LivingEntity
-
readAdditionalSaveData
public void readAdditionalSaveData(net.minecraft.nbt.CompoundTag nbt) - Overrides:
readAdditionalSaveDatain classnet.minecraft.world.entity.LivingEntity
-
move
public void move(net.minecraft.world.entity.MoverType type, net.minecraft.world.phys.Vec3 pos) - Overrides:
movein classnet.minecraft.world.entity.Entity
-
isPushable
public boolean isPushable()- Overrides:
isPushablein classnet.minecraft.world.entity.LivingEntity
-
pushEntities
protected void pushEntities()- Overrides:
pushEntitiesin classnet.minecraft.world.entity.LivingEntity
-
doPush
protected void doPush(net.minecraft.world.entity.Entity entityIn) - Overrides:
doPushin classnet.minecraft.world.entity.LivingEntity
-
interactAt
public net.minecraft.world.InteractionResult interactAt(net.minecraft.world.entity.player.Player player, net.minecraft.world.phys.Vec3 vec, net.minecraft.world.InteractionHand hand) - Overrides:
interactAtin classnet.minecraft.world.entity.Entity
-
hurt
public boolean hurt(net.minecraft.world.damagesource.DamageSource source, float amount) - Overrides:
hurtin classnet.minecraft.world.entity.LivingEntity
-
setStatus
public void setStatus(byte status) -
getStatus
public byte getStatus() -
setData
-
setInUseRaidData
public void setInUseRaidData() -
getInUseRaidData
-
clearData
public void clearData() -
getServerData
-
getData
-
handleEntityEvent
public void handleEntityEvent(byte id) - Overrides:
handleEntityEventin classnet.minecraft.world.entity.LivingEntity
-
getArmorSlots
- Specified by:
getArmorSlotsin classnet.minecraft.world.entity.LivingEntity
-
getItemBySlot
public net.minecraft.world.item.ItemStack getItemBySlot(net.minecraft.world.entity.EquipmentSlot slotIn) - Specified by:
getItemBySlotin classnet.minecraft.world.entity.LivingEntity
-
setItemSlot
public void setItemSlot(net.minecraft.world.entity.EquipmentSlot slotIn, net.minecraft.world.item.ItemStack stack) - Specified by:
setItemSlotin classnet.minecraft.world.entity.LivingEntity
-
shouldRenderAtSqrDistance
public boolean shouldRenderAtSqrDistance(double distance) - Overrides:
shouldRenderAtSqrDistancein classnet.minecraft.world.entity.Entity
-
shouldRender
public boolean shouldRender(double x, double y, double z) - Overrides:
shouldRenderin classnet.minecraft.world.entity.Entity
-
tickHeadTurn
protected float tickHeadTurn(float p_110146_1_, float p_110146_2_) - Overrides:
tickHeadTurnin classnet.minecraft.world.entity.LivingEntity
-
getMyRidingOffset
public double getMyRidingOffset() -
setYBodyRot
public void setYBodyRot(float offset) - Overrides:
setYBodyRotin classnet.minecraft.world.entity.LivingEntity
-
getMainArm
public net.minecraft.world.entity.HumanoidArm getMainArm()- Specified by:
getMainArmin classnet.minecraft.world.entity.LivingEntity
-
setYHeadRot
public void setYHeadRot(float rotation) - Overrides:
setYHeadRotin classnet.minecraft.world.entity.LivingEntity
-
skipAttackInteraction
public boolean skipAttackInteraction(net.minecraft.world.entity.Entity entityIn) - Overrides:
skipAttackInteractionin classnet.minecraft.world.entity.Entity
-
canCollideWith
public boolean canCollideWith(net.minecraft.world.entity.Entity entity) - Overrides:
canCollideWithin classnet.minecraft.world.entity.Entity
-
tick
public void tick()- Overrides:
tickin classnet.minecraft.world.entity.LivingEntity
-
roll
public void roll(int day) -
updateInvisibilityStatus
protected void updateInvisibilityStatus()- Overrides:
updateInvisibilityStatusin classnet.minecraft.world.entity.LivingEntity
-
setInvisible
public void setInvisible(boolean invisible) - Overrides:
setInvisiblein classnet.minecraft.world.entity.Entity
-
kill
public void kill()- Overrides:
killin classnet.minecraft.world.entity.LivingEntity
-
ignoreExplosion
public boolean ignoreExplosion() -
getPistonPushReaction
public net.minecraft.world.level.material.PushReaction getPistonPushReaction()- Overrides:
getPistonPushReactionin classnet.minecraft.world.entity.Entity
-
isPushedByFluid
public boolean isPushedByFluid()- Overrides:
isPushedByFluidin classnet.minecraft.world.entity.Entity
-
setColorRGBA
public void setColorRGBA(int rgb) -
getColorRGBA
-
setColorUIA
public void setColorUIA(int rgb) -
getColorUIA
-
setColorUIB
public void setColorUIB(int rgb) -
getColorUIB
-
setColorUIC
public void setColorUIC(int rgb) -
getColorUIC
-
setDecoration
public void setDecoration(boolean decoration) -
isDecoration
public boolean isDecoration() -
setAnimate
public void setAnimate(boolean animate) -
isAnimating
public boolean isAnimating() -
setBeams
public void setBeams(int beams) -
getBeams
public int getBeams() -
setBaseHidden
public void setBaseHidden(boolean hideBase) -
isBaseHidden
public boolean isBaseHidden() -
setNoCollide
public void setNoCollide(boolean noCollide) -
isNoCollide
public boolean isNoCollide() -
setBeamOn
public void setBeamOn(boolean beamOn) -
isBeamOn
public boolean isBeamOn() -
setBeamTaper
public void setBeamTaper(boolean beamTaper) -
isBeamTaper
public boolean isBeamTaper() -
setBeamLength
public void setBeamLength(float beamLength) -
getBeamLength
public float getBeamLength() -
setBeamWidth
public void setBeamWidth(float beamWidth) -
getBeamWidth
public float getBeamWidth() -
setLastRollDay
public void setLastRollDay(int lastRollDay) -
getDisplay
-
setRotation
public void setRotation(net.minecraft.core.Rotations vec) -
getRotation
public net.minecraft.core.Rotations getRotation() -
isPickable
public boolean isPickable()- Overrides:
isPickablein classnet.minecraft.world.entity.LivingEntity
-
getFallDamageSound
public net.minecraft.sounds.SoundEvent getFallDamageSound(int heightIn) - Overrides:
getFallDamageSoundin classnet.minecraft.world.entity.LivingEntity
-
getHurtSound
@Nullable protected net.minecraft.sounds.SoundEvent getHurtSound(net.minecraft.world.damagesource.DamageSource damageSourceIn) - Overrides:
getHurtSoundin classnet.minecraft.world.entity.LivingEntity
-
getDeathSound
@Nullable protected net.minecraft.sounds.SoundEvent getDeathSound()- Overrides:
getDeathSoundin classnet.minecraft.world.entity.LivingEntity
-
getSoundVolume
protected float getSoundVolume()- Overrides:
getSoundVolumein classnet.minecraft.world.entity.LivingEntity
-
isAffectedByPotions
public boolean isAffectedByPotions()- Overrides:
isAffectedByPotionsin classnet.minecraft.world.entity.LivingEntity
-
onSyncedDataUpdated
public void onSyncedDataUpdated(net.minecraft.network.syncher.EntityDataAccessor<?> key) - Specified by:
onSyncedDataUpdatedin interfacenet.minecraft.network.syncher.SyncedDataHolder- Overrides:
onSyncedDataUpdatedin classnet.minecraft.world.entity.LivingEntity
-
attackable
public boolean attackable()- Overrides:
attackablein classnet.minecraft.world.entity.LivingEntity
-
getBoundingBoxForCulling
public net.minecraft.world.phys.AABB getBoundingBoxForCulling()- Overrides:
getBoundingBoxForCullingin classnet.minecraft.world.entity.LivingEntity
-
getCollisionBoundingBox
@Nullable public net.minecraft.world.phys.AABB getCollisionBoundingBox() -
canBeCollidedWith
public boolean canBeCollidedWith()- Overrides:
canBeCollidedWithin classnet.minecraft.world.entity.Entity
-
isOnFire
public boolean isOnFire()- Overrides:
isOnFirein classnet.minecraft.world.entity.Entity
-
displayFireAnimation
public boolean displayFireAnimation()- Overrides:
displayFireAnimationin classnet.minecraft.world.entity.Entity
-
getPickedResult
public net.minecraft.world.item.ItemStack getPickedResult(net.minecraft.world.phys.HitResult target) -
knockback
public void knockback(double p_147241_, double p_147242_, double p_147243_) - Overrides:
knockbackin classnet.minecraft.world.entity.LivingEntity
-
canBreatheUnderwater
public boolean canBreatheUnderwater()- Overrides:
canBreatheUnderwaterin classnet.minecraft.world.entity.LivingEntity
-