Class DenEntity
java.lang.Object
net.minecraftforge.common.capabilities.CapabilityProvider<net.minecraft.world.entity.Entity>
net.minecraft.world.entity.Entity
net.minecraft.world.entity.LivingEntity
com.pixelmonmod.pixelmon.entities.DenEntity
- All Implemented Interfaces:
net.minecraft.commands.CommandSource
,net.minecraft.world.entity.Attackable
,net.minecraft.world.level.entity.EntityAccess
,net.minecraft.world.Nameable
,net.minecraftforge.common.capabilities.ICapabilityProvider
,net.minecraftforge.common.capabilities.ICapabilityProviderImpl<net.minecraft.world.entity.Entity>
,net.minecraftforge.common.capabilities.ICapabilitySerializable<net.minecraft.nbt.CompoundTag>
,net.minecraftforge.common.extensions.IForgeEntity
,net.minecraftforge.common.extensions.IForgeLivingEntity
,net.minecraftforge.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.Fallsounds
Nested 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.RemovalReason
Nested classes/interfaces inherited from class net.minecraftforge.common.capabilities.CapabilityProvider
net.minecraftforge.common.capabilities.CapabilityProvider.AsField<B extends net.minecraftforge.common.capabilities.ICapabilityProviderImpl<B>>
-
Field Summary
Fields inherited from class net.minecraft.world.entity.LivingEntity
animStep, animStepO, ARMOR_SLOT_OFFSET, ARMOR_SLOTS, attackAnim, attackStrengthTicker, autoSpinAttackTicks, brain, DATA_HEALTH_ID, DATA_LIVING_ENTITY_FLAGS, dead, DEATH_DURATION, deathScore, deathTime, DEFAULT_BASE_GRAVITY, DEFAULT_EYE_HEIGHT, 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, zza
Fields inherited from class net.minecraft.world.entity.Entity
BASE_TICKS_REQUIRED_TO_FREEZE, blocksBuilding, BOARDING_COOLDOWN, boardingCooldown, BREATHING_DISTANCE_BELOW_EYES, 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, isInsidePortal, level, mainSupportingBlockPos, MAX_ENTITY_TAG_COUNT, minorHorizontalCollision, moveDist, noCulling, noPhysics, onGround, PASSENGERS_TAG, portalEntrancePos, portalTime, 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, zOld
Fields inherited from interface net.minecraft.commands.CommandSource
NULL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAdditionalSaveData
(net.minecraft.nbt.CompoundTag compound) boolean
boolean
boolean
boolean
canCollideWith
(net.minecraft.world.entity.Entity entity) void
protected <A> void
protected void
boolean
protected void
doPush
(net.minecraft.world.entity.Entity entityIn) Iterable<net.minecraft.world.item.ItemStack>
float
int
getBeams()
float
net.minecraft.world.phys.AABB
net.minecraft.world.phys.AABB
getData()
protected net.minecraft.sounds.SoundEvent
net.minecraft.sounds.SoundEvent
getFallDamageSound
(int heightIn) protected net.minecraft.sounds.SoundEvent
getHurtSound
(net.minecraft.world.damagesource.DamageSource damageSourceIn) net.minecraft.world.item.ItemStack
getItemBySlot
(net.minecraft.world.entity.EquipmentSlot slotIn) net.minecraft.world.entity.HumanoidArm
double
net.minecraft.world.item.ItemStack
getPickedResult
(net.minecraft.world.phys.HitResult target) net.minecraft.world.level.material.PushReaction
net.minecraft.core.Rotations
protected float
byte
void
handleEntityEvent
(byte id) boolean
hurt
(net.minecraft.world.damagesource.DamageSource source, float amount) boolean
net.minecraft.world.InteractionResult
interactAt
(net.minecraft.world.entity.player.Player player, net.minecraft.world.phys.Vec3 vec, net.minecraft.world.InteractionHand hand) boolean
boolean
boolean
boolean
isBeamOn()
boolean
boolean
boolean
boolean
isOnFire()
boolean
boolean
boolean
void
kill()
void
knockback
(double p_147241_, double p_147242_, double p_147243_) void
move
(net.minecraft.world.entity.MoverType type, net.minecraft.world.phys.Vec3 pos) void
onSyncedDataUpdated
(net.minecraft.network.syncher.EntityDataAccessor<?> key) protected void
void
readAdditionalSaveData
(net.minecraft.nbt.CompoundTag nbt) void
roll
(int day) void
setAnimate
(boolean animate) void
setBaseHidden
(boolean hideBase) void
setBeamLength
(float beamLength) void
setBeamOn
(boolean beamOn) void
setBeams
(int beams) void
setBeamTaper
(boolean beamTaper) void
setBeamWidth
(float beamWidth) void
setColorRGBA
(int rgb) void
setColorUIA
(int rgb) void
setColorUIB
(int rgb) void
setColorUIC
(int rgb) void
void
setDecoration
(boolean decoration) void
void
void
setInvisible
(boolean invisible) void
setItemSlot
(net.minecraft.world.entity.EquipmentSlot slotIn, net.minecraft.world.item.ItemStack stack) void
setLastRollDay
(int lastRollDay) void
setNoCollide
(boolean noCollide) void
setRotation
(net.minecraft.core.Rotations vec) protected final void
setSize
(float width, float height) void
setStatus
(byte status) void
setYBodyRot
(float offset) void
setYHeadRot
(float rotation) boolean
shouldRender
(double x, double y, double z) boolean
shouldRenderAtSqrDistance
(double distance) boolean
skipAttackInteraction
(net.minecraft.world.entity.Entity entityIn) void
tick()
protected float
tickHeadTurn
(float p_110146_1_, float p_110146_2_) protected void
Methods inherited from class net.minecraft.world.entity.LivingEntity
actuallyHurt, addEffect, addEffect, aiStep, animateHurt, areAllEffectsAmbient, baseTick, blockedByShield, blockUsingShield, brainProvider, broadcastBreakEvent, broadcastBreakEvent, calculateEntityAnimation, calculateFallDamage, canAttack, canAttack, canAttackType, canBeAffected, canBeSeenAsEnemy, canBeSeenByAnyone, canChangeDimensions, canDisableShield, canFreeze, canSpawnSoulSpeedParticle, canStandOnFluid, canTakeItem, causeFallDamage, checkAutoSpinAttack, checkFallDamage, clearSleepingPos, completeUsingItem, createLivingAttributes, createWitherRose, curePotionEffects, decreaseAirSupply, die, doAutoAttackOnTouch, doesEmitEquipEvent, doHurtTarget, dropAllDeathLoot, dropCustomDeathLoot, dropEquipment, dropExperience, dropFromLootTable, eat, equipmentHasChanged, forceAddEffect, getAbsorptionAmount, getActiveEffects, getActiveEffectsMap, getArmorCoverPercentage, getArmorValue, getArrowCount, getAttackAnim, getAttribute, getAttributeBaseValue, getAttributeBaseValue, getAttributes, getAttributeValue, getAttributeValue, getBedOrientation, getBlockSpeedFactor, getBrain, getCapability, getCombatTracker, getDamageAfterArmorAbsorb, getDamageAfterMagicAbsorb, getDimensions, getDismountPoses, getDrinkingSound, getEatingSound, getEffect, getEquipmentSlotForItem, getExperienceReward, getEyeHeight, getFallFlyingTicks, getFallSounds, getFluidFallingAdjustedMovement, getFlyingSpeed, getHealth, getHitbox, getHurtDir, getItemInHand, getJumpBoostPower, getJumpPower, getKillCredit, getLastAttacker, getLastClimbablePos, getLastDamageSource, getLastHurtByMob, getLastHurtByMobTimestamp, getLastHurtMob, getLastHurtMobTimestamp, getLocalBoundsForPose, getLootTable, getLootTableSeed, getMainHandItem, getMaxAbsorption, getMaxHealth, getMobType, getMyRidingOffset, getNoActionTime, getOffhandItem, getPassengerRidingPosition, getProjectile, getRandom, getRelativePortalPosition, getRiddenInput, getRiddenSpeed, getScale, getSleepingPos, getSlot, getSpeed, getStandingEyeHeight, getStingerCount, getSwimAmount, getTicksUsingItem, getUsedItemHand, getUseItem, getUseItemRemainingTicks, getViewYRot, getVisibilityPercent, getVisualRotationYInDegrees, getVoicePitch, getWaterSlowDown, getYHeadRot, goDownInWater, handleDamageEvent, handleRelativeFrictionAndCalculateMovement, hasEffect, hasItemInSlot, hasLineOfSight, heal, hurtArmor, hurtCurrentlyUsedShield, hurtHelmet, increaseAirSupply, indicateDamage, internalSetAbsorptionAmount, invalidateCaps, isAffectedByFluids, isAlive, isAlwaysExperienceDropper, isAutoSpinAttack, isBaby, isBlocking, isCurrentlyGlowing, isDamageSourceBlocked, isDeadOrDying, isFallFlying, isHolding, isHolding, isImmobile, isInvertedHealAndHarm, isInWall, isSensitiveToWater, isSleeping, isSuppressingSlidingDownLadder, isUsingItem, isVisuallySwimming, jumpFromGround, jumpInLiquid, lerpHeadRotationStep, lerpHeadTo, lerpTargetX, lerpTargetXRot, lerpTargetY, lerpTargetYRot, lerpTargetZ, lerpTo, lookAt, makeBrain, maxUpStep, onBelowWorld, onChangedBlock, onClimbable, onEffectAdded, onEffectRemoved, onEffectUpdated, onEnterCombat, onEquipItem, onItemPickup, onLeaveCombat, onSoulSpeedBlock, playBlockFallSound, playHurtSound, push, randomTeleport, recreateFromPacket, releaseUsingItem, remove, removeAllEffects, removeEffect, removeEffectNoUpdate, removeEffectParticles, removeFrost, removeSoulSpeed, resetForwardDirectionOfRelativePortalPosition, reviveCaps, rideTick, sendEffectToPassengers, serverAiStep, setAbsorptionAmount, setArrowCount, setDiscardFriction, setHealth, setItemInHand, setJumping, setLastHurtByMob, setLastHurtByPlayer, setLastHurtMob, setLivingEntityFlag, setNoActionTime, setRecordPlayingNearby, setSleepingPos, setSpeed, setSprinting, setStingerCount, shouldDiscardFriction, shouldDropExperience, shouldDropLoot, shouldRemoveSoulSpeed, shouldRiderFaceForward, shouldShowName, skipDropExperience, spawnSoulSpeedParticle, startSleeping, startUsingItem, stopRiding, stopSleeping, stopUsingItem, swing, swing, take, tickDeath, tickEffects, tickRidden, travel, travelRidden, triggerItemUseEffects, tryAddFrost, tryAddSoulSpeed, updateEffectVisibility, updateFallFlying, updateSwingTime, updateUsingItem, updateWalkAnimation, verifyEquippedItem, wasExperienceConsumed, wouldNotSuffocateAtTargetPose
Methods inherited from class net.minecraft.world.entity.Entity
absMoveTo, absMoveTo, acceptsFailure, acceptsSuccess, addDeltaMovement, addPassenger, addTag, awardKillScore, blockPosition, broadcastToPlayer, calculateUpVector, calculateViewVector, canAddPassenger, canBeHitByProjectile, canControlVehicle, canRide, canSpawnSprintParticle, canSprint, canTrample, canUpdate, canUpdate, captureDrops, captureDrops, changeDimension, changeDimension, checkBelowWorld, checkDespawn, checkInsideBlocks, checkSlowFallDistance, checkSupportingBlock, chunkPosition, clearFire, closerThan, closerThan, collideBoundingBox, copyPosition, couldAcceptPassenger, createCommandSourceStack, createHoverEvent, damageSources, dampensVibrations, discard, dismountsUnderwater, dismountTo, distanceTo, distanceToSqr, distanceToSqr, distanceToSqr, doEnchantDamageEffects, doWaterSplashEffect, ejectPassengers, equals, extinguishFire, fillCrashReportCategory, findDimensionEntryPoint, fireImmune, fixupDimensions, gameEvent, gameEvent, getAddEntityPacket, getAirSupply, getAllSlots, getBbHeight, getBbWidth, getBlockExplosionResistance, getBlockJumpFactor, getBlockPosBelowThatAffectsMyMovement, getBlockStateOn, getBlockStateOnLegacy, getBlockX, getBlockY, getBlockZ, getBoundingBox, getCollisionHorizontalEscapeVector, getCommandSenderWorld, getControlledVehicle, getControllingPassenger, getCustomName, getDeltaMovement, getDimensionChangingDelay, getDimensionsForge, getDirection, getDismountLocationForPassenger, getDisplayName, getEncodeId, getEntityData, getExitPortal, getEyeHeight, getEyeHeight, getEyeHeightAccess, getEyeInFluidType, getEyePosition, getEyePosition, getEyeY, getFeetBlockState, getFireImmuneTicks, getFirstPassenger, getFluidHeight, getFluidJumpThreshold, getFluidTypeHeight, getForward, getHandHoldingItemAngle, getHandSlots, getId, getIndirectPassengers, getLeashOffset, getLeashOffset, getLightLevelDependentMagicValue, getLightProbePosition, getLookAngle, getMaxAirSupply, getMaxFallDistance, getMaxHeightFluidType, getMotionDirection, getMovementEmission, getName, getNameTagOffsetY, getOnPos, getOnPos, getOnPosLegacy, getPassengerAttachmentPoint, getPassengers, getPassengersAndSelf, getPercentFrozen, getPermissionLevel, getPersistentData, getPickRadius, getPickResult, getPortalCooldown, getPortalWaitTime, getPose, getPosition, getPositionCodec, getPrimaryStepSoundBlockPos, 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, getViewScale, getViewVector, getViewXRot, getX, getX, getXRot, getY, getY, getYRot, getZ, getZ, handleInsidePortal, handleNetherPortal, hasControllingPassenger, hasCustomName, hasExactlyOnePlayerPassenger, hasGlowingTag, hashCode, hasIndirectPassenger, hasPassenger, hasPassenger, hasPermissions, hasPose, interact, is, isAddedToWorld, 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, isInvulnerableTo, 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, moveTowardsClosestSpace, newDoubleList, newFloatList, nextStep, onAboveBubbleCol, onAddedToWorld, onClientRemoval, onFlap, onGround, onInsideBlock, onInsideBubbleColumn, onlyOpCanSetNbt, onPassengerTurned, onRemovedFromWorld, onSyncedDataUpdated, pick, playCombinationStepSounds, playEntityOnFireExtinguishedSound, playerTouch, playMuffledStepSound, playSound, playSound, playStepSound, playSwimSound, position, positionRider, positionRider, processFlappingMovement, processPortalCooldown, push, reapplyPosition, refreshDimensions, removeAfterChangingDimensions, removePassenger, removeTag, removeVehicle, repositionEntityAfterLoad, resetFallDistance, restoreFrom, revive, ridingOffset, rotate, save, saveAsPassenger, saveWithoutId, sendSystemMessage, setAirSupply, setBoundingBox, setCustomName, setCustomNameVisible, setDeltaMovement, setDeltaMovement, setFluidTypeHeight, setGlowingTag, setId, setInvulnerable, setIsInPowderSnow, setLevel, setLevelCallback, setMaxUpStep, setNoGravity, setOldPosAndRot, setOnGround, setOnGroundWithKnownMovement, setPortalCooldown, setPortalCooldown, setPos, setPos, setPose, setPosRaw, setRemainingFireTicks, setRemoved, setRot, setSecondsOnFire, 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, teleportToWithTicket, thunderHit, toString, touchingUnloadedChunk, trackingPosition, tryCheckInsideBlocks, turn, unRide, unsetRemoved, updateDynamicGameEventListener, updateFluidHeightAndDoFluidPushing, updateFluidHeightAndDoFluidPushing, updateFluidHeightAndDoFluidPushing, updateInWaterStateAndDoFluidPushing, updateSwimming, waterSwimSound
Methods inherited from class net.minecraftforge.common.capabilities.CapabilityProvider
areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, serializeCaps
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.commands.CommandSource
alwaysAccepts
Methods inherited from interface net.minecraftforge.common.capabilities.ICapabilityProvider
getCapability
Methods inherited from interface net.minecraftforge.common.extensions.IForgeEntity
canBeRiddenUnderFluidType, canFluidExtinguish, canHydrateInFluidType, canRiderInteract, canStartSwimming, canTrample, canUpdate, canUpdate, captureDrops, captureDrops, deserializeNBT, getClassification, getEyeHeightForge, getEyeInFluidType, getFluidFallDistanceModifier, getFluidMotionScale, getFluidTypeHeight, getMaxHeightFluidType, getParts, getPersistentData, getSoundFromFluidType, getStepHeight, hasCustomOutlineRendering, isAddedToWorld, isEyeInFluidType, isInFluidType, isInFluidType, isInFluidType, isInFluidType, isInFluidType, isMultipartEntity, isPushedByFluid, onAddedToWorld, onRemovedFromWorld, revive, serializeNBT, shouldRiderSit, shouldUpdateFluidWhileBoating
Methods inherited from interface net.minecraftforge.common.extensions.IForgeLivingEntity
canDrownInFluidType, canSwimInFluidType, jumpInFluid, moveInFluid, self, sinkInFluid
-
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
-
setDefaults
public void setDefaults() -
setSize
protected final void setSize(float width, float height) -
defineSynchedData
protected void defineSynchedData()- Overrides:
defineSynchedData
in classnet.minecraft.world.entity.LivingEntity
-
define
-
addAdditionalSaveData
public void addAdditionalSaveData(net.minecraft.nbt.CompoundTag compound) - Overrides:
addAdditionalSaveData
in classnet.minecraft.world.entity.LivingEntity
-
readAdditionalSaveData
public void readAdditionalSaveData(net.minecraft.nbt.CompoundTag nbt) - Overrides:
readAdditionalSaveData
in classnet.minecraft.world.entity.LivingEntity
-
move
public void move(net.minecraft.world.entity.MoverType type, net.minecraft.world.phys.Vec3 pos) - Overrides:
move
in classnet.minecraft.world.entity.Entity
-
isPushable
public boolean isPushable()- Overrides:
isPushable
in classnet.minecraft.world.entity.LivingEntity
-
pushEntities
protected void pushEntities()- Overrides:
pushEntities
in classnet.minecraft.world.entity.LivingEntity
-
doPush
protected void doPush(net.minecraft.world.entity.Entity entityIn) - Overrides:
doPush
in 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:
interactAt
in classnet.minecraft.world.entity.Entity
-
hurt
public boolean hurt(net.minecraft.world.damagesource.DamageSource source, float amount) - Overrides:
hurt
in 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:
handleEntityEvent
in classnet.minecraft.world.entity.LivingEntity
-
getArmorSlots
- Specified by:
getArmorSlots
in classnet.minecraft.world.entity.LivingEntity
-
getItemBySlot
public net.minecraft.world.item.ItemStack getItemBySlot(net.minecraft.world.entity.EquipmentSlot slotIn) - Specified by:
getItemBySlot
in classnet.minecraft.world.entity.LivingEntity
-
setItemSlot
public void setItemSlot(net.minecraft.world.entity.EquipmentSlot slotIn, net.minecraft.world.item.ItemStack stack) - Specified by:
setItemSlot
in classnet.minecraft.world.entity.LivingEntity
-
shouldRenderAtSqrDistance
public boolean shouldRenderAtSqrDistance(double distance) - Overrides:
shouldRenderAtSqrDistance
in classnet.minecraft.world.entity.Entity
-
shouldRender
public boolean shouldRender(double x, double y, double z) - Overrides:
shouldRender
in classnet.minecraft.world.entity.Entity
-
tickHeadTurn
protected float tickHeadTurn(float p_110146_1_, float p_110146_2_) - Overrides:
tickHeadTurn
in classnet.minecraft.world.entity.LivingEntity
-
getMyRidingOffset
public double getMyRidingOffset() -
setYBodyRot
public void setYBodyRot(float offset) - Overrides:
setYBodyRot
in classnet.minecraft.world.entity.LivingEntity
-
getMainArm
public net.minecraft.world.entity.HumanoidArm getMainArm()- Specified by:
getMainArm
in classnet.minecraft.world.entity.LivingEntity
-
setYHeadRot
public void setYHeadRot(float rotation) - Overrides:
setYHeadRot
in classnet.minecraft.world.entity.LivingEntity
-
skipAttackInteraction
public boolean skipAttackInteraction(net.minecraft.world.entity.Entity entityIn) - Overrides:
skipAttackInteraction
in classnet.minecraft.world.entity.Entity
-
canCollideWith
public boolean canCollideWith(net.minecraft.world.entity.Entity entity) - Overrides:
canCollideWith
in classnet.minecraft.world.entity.Entity
-
tick
public void tick()- Overrides:
tick
in classnet.minecraft.world.entity.LivingEntity
-
roll
public void roll(int day) -
updateInvisibilityStatus
protected void updateInvisibilityStatus()- Overrides:
updateInvisibilityStatus
in classnet.minecraft.world.entity.LivingEntity
-
setInvisible
public void setInvisible(boolean invisible) - Overrides:
setInvisible
in classnet.minecraft.world.entity.Entity
-
kill
public void kill()- Overrides:
kill
in classnet.minecraft.world.entity.LivingEntity
-
ignoreExplosion
public boolean ignoreExplosion()- Overrides:
ignoreExplosion
in classnet.minecraft.world.entity.Entity
-
getPistonPushReaction
public net.minecraft.world.level.material.PushReaction getPistonPushReaction()- Overrides:
getPistonPushReaction
in classnet.minecraft.world.entity.Entity
-
isPushedByFluid
public boolean isPushedByFluid()- Overrides:
isPushedByFluid
in 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:
isPickable
in classnet.minecraft.world.entity.LivingEntity
-
getFallDamageSound
public net.minecraft.sounds.SoundEvent getFallDamageSound(int heightIn) - Overrides:
getFallDamageSound
in classnet.minecraft.world.entity.LivingEntity
-
getHurtSound
@Nullable protected net.minecraft.sounds.SoundEvent getHurtSound(net.minecraft.world.damagesource.DamageSource damageSourceIn) - Overrides:
getHurtSound
in classnet.minecraft.world.entity.LivingEntity
-
getDeathSound
@Nullable protected net.minecraft.sounds.SoundEvent getDeathSound()- Overrides:
getDeathSound
in classnet.minecraft.world.entity.LivingEntity
-
getSoundVolume
protected float getSoundVolume()- Overrides:
getSoundVolume
in classnet.minecraft.world.entity.LivingEntity
-
isAffectedByPotions
public boolean isAffectedByPotions()- Overrides:
isAffectedByPotions
in classnet.minecraft.world.entity.LivingEntity
-
onSyncedDataUpdated
public void onSyncedDataUpdated(net.minecraft.network.syncher.EntityDataAccessor<?> key) - Overrides:
onSyncedDataUpdated
in classnet.minecraft.world.entity.LivingEntity
-
attackable
public boolean attackable()- Overrides:
attackable
in classnet.minecraft.world.entity.LivingEntity
-
getBoundingBoxForCulling
public net.minecraft.world.phys.AABB getBoundingBoxForCulling()- Overrides:
getBoundingBoxForCulling
in classnet.minecraft.world.entity.LivingEntity
-
getCollisionBoundingBox
@Nullable public net.minecraft.world.phys.AABB getCollisionBoundingBox() -
canBeCollidedWith
public boolean canBeCollidedWith()- Overrides:
canBeCollidedWith
in classnet.minecraft.world.entity.Entity
-
isOnFire
public boolean isOnFire()- Overrides:
isOnFire
in classnet.minecraft.world.entity.Entity
-
displayFireAnimation
public boolean displayFireAnimation()- Overrides:
displayFireAnimation
in 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:
knockback
in classnet.minecraft.world.entity.LivingEntity
-
canBreatheUnderwater
public boolean canBreatheUnderwater()- Overrides:
canBreatheUnderwater
in classnet.minecraft.world.entity.LivingEntity
-