public class DenEntity
extends net.minecraft.entity.LivingEntity
animationPosition, animationSpeed, animationSpeedOld, animStep, animStepO, attackAnim, attackStrengthTicker, autoSpinAttackTicks, brain, DATA_HEALTH_ID, DATA_LIVING_ENTITY_FLAGS, dead, deathScore, deathTime, fallFlyTicks, flyingSpeed, hurtDir, hurtDuration, hurtTime, invulnerableDuration, jumping, lastHurt, lastHurtByPlayer, lastHurtByPlayerTime, lerpHeadSteps, lerpSteps, lerpX, lerpXRot, lerpY, lerpYRot, lerpZ, lyHeadRot, noActionTime, noJumpDelay, oAttackAnim, oRun, removeArrowTime, removeStingerTime, rotA, rotOffs, run, SLEEPING_DIMENSIONS, swinging, swingingArm, swingTime, timeOffs, useItem, useItemRemaining, xxa, yBodyRot, yBodyRotO, yHeadRot, yHeadRotO, yya, zza
blocksBuilding, boardingCooldown, DATA_POSE, DATA_SHARED_FLAGS_ID, ENTITY_COUNTER, entityData, fallDistance, firstTick, fluidHeight, fluidOnEyes, forcedLoading, glowing, hasImpulse, horizontalCollision, hurtMarked, inChunk, invulnerableTime, isInsidePortal, level, LOGGER, maxUpStep, moveDist, noCulling, noPhysics, onGround, portalEntrancePos, portalTime, pushthrough, random, removed, stringUUID, stuckSpeedMultiplier, tickCount, type, uuid, verticalCollision, walkDist, walkDistO, wasEyeInWater, wasTouchingWater, xChunk, xo, xOld, xRot, xRotO, yChunk, yo, yOld, yRot, yRotO, zChunk, zo, zOld
Constructor and Description |
---|
DenEntity(net.minecraft.entity.EntityType<DenEntity> type,
net.minecraft.world.World world) |
DenEntity(net.minecraft.world.World worldIn) |
DenEntity(net.minecraft.world.World worldIn,
double posX,
double posY,
double posZ) |
Modifier and Type | Method and Description |
---|---|
void |
addAdditionalSaveData(net.minecraft.nbt.CompoundNBT compound) |
void |
aiStep() |
boolean |
attackable() |
boolean |
canBeCollidedWith() |
boolean |
canBreatheUnderwater() |
boolean |
canCollideWith(net.minecraft.entity.Entity entity) |
void |
clearData() |
protected <A> void |
define(DataSync<?,A> sync,
A value) |
protected void |
defineSynchedData() |
boolean |
displayFireAnimation() |
protected void |
doPush(net.minecraft.entity.Entity entityIn) |
java.lang.Iterable<net.minecraft.item.ItemStack> |
getArmorSlots() |
float |
getBeamLength() |
int |
getBeams() |
float |
getBeamWidth() |
net.minecraft.util.math.AxisAlignedBB |
getBoundingBoxForCulling() |
net.minecraft.util.math.AxisAlignedBB |
getCollisionBoundingBox() |
java.awt.Color |
getColorRGBA() |
java.awt.Color |
getColorUIA() |
java.awt.Color |
getColorUIB() |
java.awt.Color |
getColorUIC() |
java.util.Optional<RaidData> |
getData() |
protected net.minecraft.util.SoundEvent |
getDeathSound() |
java.util.Optional<PixelmonEntity> |
getDisplay() |
protected net.minecraft.util.SoundEvent |
getFallDamageSound(int heightIn) |
protected net.minecraft.util.SoundEvent |
getHurtSound(net.minecraft.util.DamageSource damageSourceIn) |
RaidData |
getInUseRaidData() |
net.minecraft.item.ItemStack |
getItemBySlot(net.minecraft.inventory.EquipmentSlotType slotIn) |
net.minecraft.util.HandSide |
getMainArm() |
double |
getMyRidingOffset() |
net.minecraft.item.ItemStack |
getPickedResult(net.minecraft.util.math.RayTraceResult target) |
net.minecraft.block.material.PushReaction |
getPistonPushReaction() |
net.minecraft.util.math.Rotations |
getRotation() |
RaidData |
getServerData() |
protected float |
getSoundVolume() |
byte |
getStatus() |
void |
handleEntityEvent(byte id) |
boolean |
hurt(net.minecraft.util.DamageSource source,
float amount) |
boolean |
ignoreExplosion() |
net.minecraft.util.ActionResultType |
interactAt(net.minecraft.entity.player.PlayerEntity player,
net.minecraft.util.math.vector.Vector3d vec,
net.minecraft.util.Hand hand) |
boolean |
isAffectedByPotions() |
boolean |
isAnimating() |
boolean |
isBaseHidden() |
boolean |
isBeamOn() |
boolean |
isBeamTaper() |
boolean |
isDecoration() |
boolean |
isNoCollide() |
boolean |
isOnFire() |
boolean |
isPickable() |
boolean |
isPushable() |
boolean |
isPushedByFluid() |
void |
kill() |
void |
knockback(float strength,
double ratioX,
double ratioZ) |
void |
move(net.minecraft.entity.MoverType type,
net.minecraft.util.math.vector.Vector3d pos) |
void |
onSyncedDataUpdated(net.minecraft.network.datasync.DataParameter<?> key) |
protected void |
pushEntities() |
void |
readAdditionalSaveData(net.minecraft.nbt.CompoundNBT 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 |
setData(RaidData data) |
void |
setDecoration(boolean decoration) |
void |
setDefaults() |
void |
setInUseRaidData() |
void |
setInvisible(boolean invisible) |
void |
setItemSlot(net.minecraft.inventory.EquipmentSlotType slotIn,
net.minecraft.item.ItemStack stack) |
void |
setLastRollDay(int lastRollDay) |
void |
setNoCollide(boolean noCollide) |
void |
setRotation(net.minecraft.util.math.Rotations vec) |
protected 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.entity.Entity entityIn) |
void |
tick() |
protected float |
tickHeadTurn(float p_110146_1_,
float p_110146_2_) |
void |
travel(net.minecraft.util.math.vector.Vector3d p_213352_1_) |
protected void |
updateInvisibilityStatus() |
actuallyHurt, addEffect, animateHurt, areAllEffectsAmbient, baseTick, blockedByShield, blockUsingShield, brainProvider, broadcastBreakEvent, broadcastBreakEvent, calculateEntityAnimation, calculateFallDamage, canAttack, canAttack, canAttackType, canBeAffected, canSee, canSpawnSoulSpeedParticle, canStandOnFluid, canTakeItem, causeFallDamage, checkAutoSpinAttack, checkFallDamage, clearSleepingPos, completeUsingItem, createLivingAttributes, createLootContext, createWitherRose, curePotionEffects, decreaseAirSupply, die, doAutoAttackOnTouch, doHurtTarget, dropAllDeathLoot, dropCustomDeathLoot, dropEquipment, dropExperience, dropFromLootTable, eat, forceAddEffect, getAbsorptionAmount, getActiveEffects, getActiveEffectsMap, getAddEntityPacket, getArmorCoverPercentage, getArmorValue, getArrowCount, getAttackAnim, getAttribute, getAttributeBaseValue, getAttributes, getAttributeValue, getBedOrientation, getBlockSpeedFactor, getBrain, getCapability, getCombatTracker, getDamageAfterArmorAbsorb, getDamageAfterMagicAbsorb, getDimensions, getDismountPoses, getDrinkingSound, getEatingSound, getEffect, getExperienceReward, getEyeHeight, getFallFlyingTicks, getFeetBlockState, getFluidFallingAdjustedMovement, getHealth, getItemInHand, getJumpPower, getKillCredit, getLastClimbablePos, getLastDamageSource, getLastHurtByMob, getLastHurtByMobTimestamp, getLastHurtMob, getLastHurtMobTimestamp, getLocalBoundsForPose, getLootTable, getMainHandItem, getMaxHealth, getMobType, getNoActionTime, getOffhandItem, getProjectile, getRandom, getRelativePortalPosition, getScale, getSleepingPos, getSpeed, getStandingEyeHeight, getStingerCount, getSwimAmount, getTicksUsingItem, getUsedItemHand, getUseItem, getUseItemRemainingTicks, getViewYRot, getVisibilityPercent, getVoicePitch, getWaterSlowDown, getYHeadRot, goDownInWater, handleRelativeFrictionAndCalculateMovement, hasEffect, hasItemInSlot, heal, hurtArmor, hurtCurrentlyUsedShield, increaseAirSupply, invalidateCaps, isAffectedByFluids, isAlive, isAlwaysExperienceDropper, isAutoSpinAttack, isBaby, isBlocking, isDeadOrDying, isEffectiveAi, isFallFlying, isHolding, isHolding, isImmobile, isInvertedHealAndHarm, isInWall, isSensitiveToWater, isSleeping, isSuppressingSlidingDownLadder, isUsingItem, isVisuallySwimming, jumpFromGround, jumpInLiquid, lerpHeadTo, lerpTo, lookAt, makeBrain, markHurt, onChangedBlock, onClimbable, onEffectAdded, onEffectRemoved, onEffectUpdated, onEnterCombat, onItemPickup, onLeaveCombat, onSoulSpeedBlock, outOfWorld, playBlockFallSound, playEquipSound, playHurtSound, push, randomTeleport, releaseUsingItem, removeAllEffects, removeEffect, removeEffectNoUpdate, removeEffectParticles, removeSoulSpeed, resetForwardDirectionOfRelativePortalPosition, rideableUnderWater, rideTick, serverAiStep, setAbsorptionAmount, setArrowCount, setHealth, setItemInHand, setJumping, setLastHurtByMob, setLastHurtByPlayer, setLastHurtMob, setLivingEntityFlag, setNoActionTime, setOnGround, setRecordPlayingNearby, setSleepingPos, setSpeed, setSprinting, setStingerCount, shouldDropExperience, shouldDropLoot, shouldRemoveSoulSpeed, shouldRiderFaceForward, shouldShowName, spawnSoulSpeedParticle, startAutoSpinAttack, startSleeping, startUsingItem, stopRiding, stopSleeping, stopUsingItem, swing, swing, take, tickDeath, tickEffects, triggerItemUseEffects, tryAddSoulSpeed, updateEffectVisibility, updateFallFlying, updateSwingTime
absMoveTo, absMoveTo, acceptsFailure, acceptsSuccess, addPassenger, addTag, awardKillScore, blockPosition, broadcastToPlayer, calculateUpVector, calculateViewVector, canAddPassenger, canChangeDimensions, canEnterPose, canRide, canSpawnSprintParticle, canTrample, canUpdate, canUpdate, captureDrops, captureDrops, changeDimension, changeDimension, checkAndResetForcedChunkAdditionFlag, checkAndResetUpdateChunkPos, checkDespawn, checkInsideBlocks, clearFire, closerThan, collideBoundingBox, collideBoundingBoxHeuristically, collideBoundingBoxLegacy, copyPosition, createCommandSourceStack, createHoverEvent, distanceTo, distanceToSqr, distanceToSqr, distanceToSqr, doEnchantDamageEffects, doWaterSplashEffect, ejectPassengers, equals, fillCrashReportCategory, findDimensionEntryPoint, fireImmune, getAirSupply, getAllSlots, getBbHeight, getBbWidth, getBlockExplosionResistance, getBlockJumpFactor, getBlockPosBelowThatAffectsMyMovement, getBlockStateOn, getBoundingBox, getBoundingBoxForPose, getBrightness, getCollisionHorizontalEscapeVector, getCommandSenderWorld, getControllingPassenger, getCustomName, getDeltaMovement, getDimensionChangingDelay, getDirection, getDismountLocationForPassenger, getDisplayName, getEncodeId, getEntityData, getExitPortal, getEyeHeight, getEyeHeight, getEyeHeightAccess, getEyePosition, getEyeY, getFireImmuneTicks, getFluidHeight, getFluidJumpThreshold, getForward, getHandSlots, getHorizontalDistanceSqr, getId, getIndirectPassengers, getLeashOffset, getLightProbePosition, getLookAngle, getMaxAirSupply, getMaxFallDistance, getMotionDirection, getName, getOnPos, getPacketCoordinates, getPassengers, getPassengersRidingOffset, getPermissionLevel, getPersistentData, getPickRadius, getPortalWaitTime, getPose, getPosition, getRandomX, getRandomY, getRandomZ, getRemainingFireTicks, getRootVehicle, getRopeHoldPosition, getRotationVector, getScoreboardName, getSelfAndPassengers, getServer, getSharedFlag, getSoundSource, getStringUUID, getSwimHighSpeedSplashSound, getSwimSound, getSwimSplashSound, getTags, getTeam, getTeamColor, getType, getTypeName, getUpVector, getUUID, getVehicle, getViewScale, getViewVector, getViewXRot, getX, getX, getY, getY, getZ, getZ, handleInsidePortal, handleNetherPortal, hasCustomName, hashCode, hasIndirectPassenger, hasOnePlayerPassenger, hasPassenger, hasPassenger, hasPermissions, interact, is, isAddedToWorld, isAlliedTo, isAlliedTo, isAttackable, isColliding, isControlledByLocalInstance, isCrouching, isCustomNameVisible, isDescending, isDiscrete, isEyeInFluid, isFree, isGlowing, isIgnoringBlockTriggers, isInLava, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isInWater, isInWaterOrBubble, isInWaterOrRain, isInWaterRainOrBubble, isMovementNoisy, isNoGravity, isOnGround, isOnPortalCooldown, isPassenger, isPassengerOfSameVehicle, isShiftKeyDown, isSilent, isSpectator, isSprinting, isSteppingCarefully, isSuppressingBounce, isSwimming, isUnderWater, isVehicle, isVisuallyCrawling, killed, lavaHurt, lerpMotion, limitPistonMovement, load, makeFlySound, makeStuckInBlock, maybeBackOffFromEdge, mirror, moveRelative, moveTo, moveTo, moveTo, moveTo, moveTowardsClosestSpace, newDoubleList, newFloatList, nextStep, onAboveBubbleCol, onAddedToWorld, onInsideBlock, onInsideBubbleColumn, onlyOpCanSetNbt, onPassengerTurned, onRemovedFromWorld, pick, playerTouch, playFlySound, playSound, playStepSound, playSwimSound, position, positionRider, processPortalCooldown, push, reapplyPosition, refreshDimensions, remove, remove, removeAfterChangingDimensions, removePassenger, removeTag, removeVehicle, repositionEntityAfterLoad, resetPos, restoreFrom, revive, rotate, save, saveAsPassenger, saveWithoutId, sendMessage, setAirSupply, setBoundingBox, setCustomName, setCustomNameVisible, setDeltaMovement, setDeltaMovement, setGlowing, setId, setInvulnerable, setLevel, setLocationFromBoundingbox, setNoGravity, setPacketCoordinates, setPacketCoordinates, setPortalCooldown, setPos, setPosAndOldPos, setPose, setPosRaw, setRemainingFireTicks, setRot, setSecondsOnFire, setSharedFlag, setShiftKeyDown, setSilent, setSlot, setSwimming, setUUID, setViewScale, shouldBlockExplode, shouldInformAdmins, showVehicleHealth, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnSprintParticle, startRiding, startRiding, startSeenByPlayer, stopSeenByPlayer, teleportTo, teleportToWithTicket, thunderHit, toString, turn, unRide, updateFluidHeightAndDoFluidPushing, updateInWaterStateAndDoFluidPushing, updateSwimming
areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, reviveCaps, serializeCaps
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int MAX_PLAYER_RANGE
public static final DataSync<DenEntity,net.minecraft.util.math.Rotations> SYNC_ROTATION
public int ticker
public PixelmonEntity display
protected EntityDataSyncManager dataSyncManager
public DenEntity(net.minecraft.entity.EntityType<DenEntity> type, net.minecraft.world.World world)
public DenEntity(net.minecraft.world.World worldIn)
public DenEntity(net.minecraft.world.World worldIn, double posX, double posY, double posZ)
public void setDefaults()
protected final void setSize(float width, float height)
protected void defineSynchedData()
defineSynchedData
in class net.minecraft.entity.LivingEntity
protected <A> void define(DataSync<?,A> sync, A value)
public void addAdditionalSaveData(net.minecraft.nbt.CompoundNBT compound)
addAdditionalSaveData
in class net.minecraft.entity.LivingEntity
public void readAdditionalSaveData(net.minecraft.nbt.CompoundNBT nbt)
readAdditionalSaveData
in class net.minecraft.entity.LivingEntity
public void move(net.minecraft.entity.MoverType type, net.minecraft.util.math.vector.Vector3d pos)
move
in class net.minecraft.entity.Entity
public boolean isPushable()
isPushable
in class net.minecraft.entity.LivingEntity
protected void pushEntities()
pushEntities
in class net.minecraft.entity.LivingEntity
protected void doPush(net.minecraft.entity.Entity entityIn)
doPush
in class net.minecraft.entity.LivingEntity
public net.minecraft.util.ActionResultType interactAt(net.minecraft.entity.player.PlayerEntity player, net.minecraft.util.math.vector.Vector3d vec, net.minecraft.util.Hand hand)
interactAt
in class net.minecraft.entity.Entity
public boolean hurt(net.minecraft.util.DamageSource source, float amount)
hurt
in class net.minecraft.entity.LivingEntity
public void setStatus(byte status)
public byte getStatus()
public void setData(RaidData data)
public void setInUseRaidData()
public RaidData getInUseRaidData()
public void clearData()
public RaidData getServerData()
public java.util.Optional<RaidData> getData()
public void handleEntityEvent(byte id)
handleEntityEvent
in class net.minecraft.entity.LivingEntity
public java.lang.Iterable<net.minecraft.item.ItemStack> getArmorSlots()
getArmorSlots
in class net.minecraft.entity.LivingEntity
public net.minecraft.item.ItemStack getItemBySlot(net.minecraft.inventory.EquipmentSlotType slotIn)
getItemBySlot
in class net.minecraft.entity.LivingEntity
public void setItemSlot(net.minecraft.inventory.EquipmentSlotType slotIn, net.minecraft.item.ItemStack stack)
setItemSlot
in class net.minecraft.entity.LivingEntity
public boolean shouldRenderAtSqrDistance(double distance)
shouldRenderAtSqrDistance
in class net.minecraft.entity.Entity
public boolean shouldRender(double x, double y, double z)
shouldRender
in class net.minecraft.entity.Entity
protected float tickHeadTurn(float p_110146_1_, float p_110146_2_)
tickHeadTurn
in class net.minecraft.entity.LivingEntity
public double getMyRidingOffset()
getMyRidingOffset
in class net.minecraft.entity.Entity
public void setYBodyRot(float offset)
setYBodyRot
in class net.minecraft.entity.LivingEntity
public net.minecraft.util.HandSide getMainArm()
getMainArm
in class net.minecraft.entity.LivingEntity
public void setYHeadRot(float rotation)
setYHeadRot
in class net.minecraft.entity.LivingEntity
public boolean skipAttackInteraction(net.minecraft.entity.Entity entityIn)
skipAttackInteraction
in class net.minecraft.entity.Entity
public boolean canCollideWith(net.minecraft.entity.Entity entity)
canCollideWith
in class net.minecraft.entity.Entity
public void tick()
tick
in class net.minecraft.entity.LivingEntity
public void aiStep()
aiStep
in class net.minecraft.entity.LivingEntity
public void travel(net.minecraft.util.math.vector.Vector3d p_213352_1_)
travel
in class net.minecraft.entity.LivingEntity
public void roll(int day)
protected void updateInvisibilityStatus()
updateInvisibilityStatus
in class net.minecraft.entity.LivingEntity
public void setInvisible(boolean invisible)
setInvisible
in class net.minecraft.entity.Entity
public void kill()
kill
in class net.minecraft.entity.LivingEntity
public boolean ignoreExplosion()
ignoreExplosion
in class net.minecraft.entity.Entity
public net.minecraft.block.material.PushReaction getPistonPushReaction()
getPistonPushReaction
in class net.minecraft.entity.Entity
public boolean isPushedByFluid()
isPushedByFluid
in class net.minecraft.entity.Entity
public void setColorRGBA(int rgb)
public java.awt.Color getColorRGBA()
public void setColorUIA(int rgb)
public java.awt.Color getColorUIA()
public void setColorUIB(int rgb)
public java.awt.Color getColorUIB()
public void setColorUIC(int rgb)
public java.awt.Color getColorUIC()
public void setDecoration(boolean decoration)
public boolean isDecoration()
public void setAnimate(boolean animate)
public boolean isAnimating()
public void setBeams(int beams)
public int getBeams()
public void setBaseHidden(boolean hideBase)
public boolean isBaseHidden()
public void setNoCollide(boolean noCollide)
public boolean isNoCollide()
public void setBeamOn(boolean beamOn)
public boolean isBeamOn()
public void setBeamTaper(boolean beamTaper)
public boolean isBeamTaper()
public void setBeamLength(float beamLength)
public float getBeamLength()
public void setBeamWidth(float beamWidth)
public float getBeamWidth()
public void setLastRollDay(int lastRollDay)
public java.util.Optional<PixelmonEntity> getDisplay()
public void setRotation(net.minecraft.util.math.Rotations vec)
public net.minecraft.util.math.Rotations getRotation()
public boolean isPickable()
isPickable
in class net.minecraft.entity.LivingEntity
protected net.minecraft.util.SoundEvent getFallDamageSound(int heightIn)
getFallDamageSound
in class net.minecraft.entity.LivingEntity
@Nullable protected net.minecraft.util.SoundEvent getHurtSound(net.minecraft.util.DamageSource damageSourceIn)
getHurtSound
in class net.minecraft.entity.LivingEntity
@Nullable protected net.minecraft.util.SoundEvent getDeathSound()
getDeathSound
in class net.minecraft.entity.LivingEntity
protected float getSoundVolume()
getSoundVolume
in class net.minecraft.entity.LivingEntity
public boolean isAffectedByPotions()
isAffectedByPotions
in class net.minecraft.entity.LivingEntity
public void onSyncedDataUpdated(net.minecraft.network.datasync.DataParameter<?> key)
onSyncedDataUpdated
in class net.minecraft.entity.LivingEntity
public boolean attackable()
attackable
in class net.minecraft.entity.LivingEntity
public net.minecraft.util.math.AxisAlignedBB getBoundingBoxForCulling()
getBoundingBoxForCulling
in class net.minecraft.entity.LivingEntity
@Nullable public net.minecraft.util.math.AxisAlignedBB getCollisionBoundingBox()
public boolean canBeCollidedWith()
canBeCollidedWith
in class net.minecraft.entity.Entity
public boolean isOnFire()
isOnFire
in class net.minecraft.entity.Entity
public boolean displayFireAnimation()
displayFireAnimation
in class net.minecraft.entity.Entity
public net.minecraft.item.ItemStack getPickedResult(net.minecraft.util.math.RayTraceResult target)
public void knockback(float strength, double ratioX, double ratioZ)
knockback
in class net.minecraft.entity.LivingEntity
public boolean canBreatheUnderwater()
canBreatheUnderwater
in class net.minecraft.entity.LivingEntity