public abstract class AbstractClientEntity extends AbstractBaseEntity implements TexturedEntity
Modifier and Type | Field and Description |
---|---|
protected boolean |
animated |
int |
evoAnimTicks |
int |
evolvingVal |
protected EvolutionStage |
evoStage |
int |
fadeCount |
float |
heightDiff |
float |
lengthDiff |
protected int |
modelSlot |
protected net.minecraft.util.ResourceLocation |
overrideTexture |
static int |
parameterId |
static int |
parameterId2 |
static int |
parameterId3 |
protected boolean |
spriteModel |
static DataSync<AbstractClientEntity,java.lang.Boolean> |
SYNC_ANIMATED |
static DataSync<AbstractClientEntity,java.lang.Float> |
SYNC_DYNAMAX_SCALE |
static DataSync<AbstractClientEntity,EvolutionStage> |
SYNC_EVO_STAGE |
static DataSync<AbstractClientEntity,java.lang.Integer> |
SYNC_MODEL_SLOT |
static DataSync<AbstractClientEntity,net.minecraft.util.ResourceLocation> |
SYNC_OVERRIDE_TEXTURE |
static DataSync<AbstractClientEntity,java.lang.Boolean> |
SYNC_SPRITE_MODEL |
static DataSync<AbstractClientEntity,java.lang.Integer> |
SYNC_TRANSFORMATION |
static DataSync<AbstractClientEntity,java.lang.Boolean> |
SYNC_WIREFRAME |
PokemonBase |
transformed
The Pokémon this is transformed into.
|
PaletteParticles |
transformedParticles
The PaletteParticles of the Pokémon being transformed into.
|
net.minecraft.util.ResourceLocation |
transformedTexture
The file path for the texture the Pokémon is transformed into.
|
float |
widthDiff |
protected boolean |
wireFrame |
aggression, bossTier, canDespawn, dataSyncManager, hitByPokeball, pokemon, scale, spawnLocation, SYNC_BOSS_MODE, SYNC_COLOR, SYNC_FULLBRIGHT, SYNC_MAX_HP, SYNC_NAMETAG_DISABLE, SYNC_OVERLAY, SYNC_OWNER_UUID, SYNC_SCALE, SYNC_SHADOW_DISABLE, SYNC_SPAWN_LOCATION, SYNC_TEXTURE_DISABLE
canGallop, gallopSoundCounter, inventory, isJumping, playerJumpPendingScale, sprintCounter, tailCounter, temper
ambientSoundTime, armorDropChances, goalSelector, handDropChances, jumpControl, lookControl, moveControl, navigation, targetSelector, xpReward
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 |
---|
AbstractClientEntity(net.minecraft.entity.EntityType<? extends AbstractClientEntity> type,
net.minecraft.world.World par1World)
Initializes the Pokémon's models and animations.
|
Modifier and Type | Method and Description |
---|---|
void |
addAdditionalSaveData(net.minecraft.nbt.CompoundNBT nbt) |
void |
addDynamaxScale(float scale)
Adds to the Dynamax scale of the Pokémon.
|
void |
baseTick() |
void |
cancelTransform()
Cancels a transformation.
|
void |
checkAnimation()
Handles all the logic of which animation should be used.
|
protected void |
defineSynchedData() |
void |
evolve(PokemonSpecification evolveTo)
Evolves the Pokémon.
|
protected net.minecraft.util.SoundEvent |
getAmbientSound()
Returns the sound this mob makes while it's alive.
|
AnimationVariables |
getAnimationVariables()
Gets the variables used to animate the model.
|
AnimationType |
getCurrentAnimation() |
float |
getDynamaxScale()
Gets the Dynamax scale of the Pokémon.
|
EvolutionStage |
getEvoStage() |
float |
getEyeHeight(net.minecraft.entity.Pose pose) |
int |
getFlyingDelayCounter() |
net.minecraft.client.renderer.model.Model |
getModel()
Gets the Pokémon's active model.
|
int |
getModelSlot() |
Pokemon |
getPokemon() |
net.minecraft.util.ResourceLocation |
getRealTexture()
Gets the texture of the Pokémon, ignoring in-battle transformations.
|
float[] |
getRenderColor() |
float |
getScaleFactor()
Gets the scale multiplier for the Pokémon's model.
|
protected float |
getSoundVolume()
Returns the volume for the sounds this mob makes.
|
net.minecraft.util.ResourceLocation |
getSprite()
Gets the texture of the Pokémon sprite.
|
net.minecraft.util.ResourceLocation |
getTexture()
Gets the texture of the Pokémon.
|
net.minecraft.util.ResourceLocation |
getTextureNoCheck()
Gets the texture of the Pokémon.
|
int |
getTransformed()
Gets whether the Pokémon's model is transformed.
|
void |
initAnimation()
Ticks the Pokémon's animation one frame to get it out of a T-pose.
|
void |
initBaseEntity() |
boolean |
isAnimated() |
boolean |
isEvolving()
Checks if the Pokémon is evolving.
|
boolean |
isSpriteModel() |
boolean |
isWireFrame() |
protected void |
jumpInLiquid(net.minecraft.tags.ITag<net.minecraft.fluid.Fluid> p_180466_1_) |
void |
readAdditionalSaveData(net.minecraft.nbt.CompoundNBT nbt) |
void |
resetDataWatchers() |
void |
setAnimated(boolean animated) |
void |
setAnimation(AnimationType animation) |
void |
setDynamaxScale(float scale)
Sets the Dynamax scale of the Pokémon.
|
void |
setEvolutionAnimationStage(EvolutionStage stage) |
void |
setEvoStage(EvolutionStage evoStage) |
void |
setModelSlot(int modelSlot) |
void |
setOverrideTexture(net.minecraft.util.ResourceLocation overrideTexture) |
void |
setPos(double x,
double y,
double z) |
void |
setRenderColor(float... renderColor) |
void |
setSpriteModel(boolean spriteModel) |
void |
setWireFrame(boolean wireFrame) |
void |
tick() |
void |
transform(Species transformedModel,
java.lang.String transformedForm,
java.lang.String transformedTexture,
java.lang.String transformedParticles)
Transforms the Pokémon's model into another model.
|
void |
transformServer(Species transformedModel,
java.lang.String form,
java.lang.String texture,
java.lang.String particles)
Keeps track of a transformed Pokémon server-side.
|
void |
updateSize() |
void |
updateTransformed()
Updates all clients with the transformation of the Pokémon.
|
belongsTo, canBeLeashed, canRide, causeFallDamage, changeDimension, define, fireImmune, getAge, getAggression, getAngrySound, getBossTier, getBreedOffspring, getColor, getDeathSound, getDimensions, getEatingSound, getEscapedNickname, getForm, getGenderProperties, getHurtSound, getLocalizedName, getMainHandItem, getName, getNickname, getOwner, getOwnerUUID, getPalette, getPixelmonScale, getPlayerParty, getPlayerStorage, getPokemonName, getSpawnLocation, getSpecies, getStorage, hasCustomName, hasOwner, hasPalette, hurt, isBossPokemon, isDisableNametag, isDisableShadow, isDisableTexture, isFullbright, isInWall, isLeashed, isLegendary, isOverlay, isOwnedBy, isPalette, isPokemon, isPokemon, isPokemon, isPushable, isSaddleable, isSaddled, isTamed, onSyncedDataUpdated, openInventory, playGallopSound, playJumpSound, playStepSound, removeWhenFarAway, resetAlterations, setAggression, setBossTier, setColor, setDimensions, setDisableNametag, setDisableShadow, setDisableTexture, setFullbright, setOverlay, setOwnerUUID, setPixelmonScale, setPokemon, setSpawnLocation, setUUID, thunderHit, update
addBehaviourGoals, aiStep, calculateFallDamage, canBeControlledByRider, canEatGrass, canJump, canMate, canParent, canWearArmor, containerChanged, createBaseHorseAttributes, createInventory, doPlayerRide, dropEquipment, equipSaddle, fedFood, finalizeSpawn, followMommy, generateRandomJumpStrength, generateRandomMaxHealth, generateRandomSpeed, getAmbientSoundInterval, getCapability, getControllingPassenger, getCustomJump, getDismountLocationForPassenger, getEatAnim, getFlag, getInventorySize, getMaxSpawnClusterSize, getMaxTemper, getMouthAnim, getStandAnim, getStandingEyeHeight, getTemper, handleEating, handleEntityEvent, handleStartJump, handleStopJump, invalidateCaps, isArmor, isBred, isEating, isFood, isImmobile, isJumping, isStanding, isWearingArmor, makeMad, modifyTemper, onClimbable, onLeashDistance, onPlayerJump, positionRider, randomizeAttributes, registerGoals, setBred, setEating, setFlag, setIsJumping, setOffspringAttributes, setSlot, setStanding, setTamed, setTemper, spawnTamingParticles, tameWithName, travel, updateContainerEquipment
canFallInLove, checkAnimalSpawnRules, customServerAiStep, getExperienceReward, getInLoveTime, getLoveCause, getMyRidingOffset, getWalkTargetValue, isInLove, mobInteract, resetLove, setInLove, setInLoveTime, spawnChildFromBreeding, usePlayerItem
ageBoundaryReached, ageUp, ageUp, canBreed, isBaby, setAge, setBaby
checkSpawnRules, followLeashSpeed, getWalkTargetValue, isPathFinding, tickLeash
ate, canAttack, canAttackType, canCutCorner, canFireProjectileWeapon, canHoldItem, canPickUpLoot, canReplaceCurrentItem, canReplaceEqualItem, canTakeItem, checkAndHandleImportantInteractions, checkDespawn, checkMobSpawnRules, checkSpawnObstruction, convertTo, createBodyControl, createLootContext, createMobAttributes, createNavigation, doHurtTarget, dropCustomDeathLoot, dropFromLootTable, dropLeash, enchantSpawnedArmor, enchantSpawnedWeapon, equipItemIfPossible, getArmorSlots, getDefaultLootTable, getEquipmentDropChance, getEquipmentForSlot, getEquipmentSlotForItem, getHandSlots, getHeadRotSpeed, getItemBySlot, getJumpControl, getLeashHolder, getLookControl, getLootTable, getMainArm, getMaxFallDistance, getMaxHeadXRot, getMaxHeadYRot, getMoveControl, getNavigation, getPathfindingMalus, getRestrictCenter, getRestrictRadius, getSensing, getTarget, hasRestriction, interact, isAggressive, isControlledByLocalInstance, isEffectiveAi, isLeftHanded, isMaxGroupSizeReached, isNoAi, isPersistenceRequired, isSunBurnTick, isValidSlotForItem, isWithinRestriction, isWithinRestriction, lookAt, onOffspringSpawnedFromEgg, pickUpItem, playAmbientSound, playHurtSound, populateDefaultEquipmentEnchantments, populateDefaultEquipmentSlots, removeAfterChangingDimensions, requiresCustomPersistence, restrictTo, sendDebugPackets, serverAiStep, setAggressive, setCanPickUpLoot, setDelayedLeashHolderId, setDropChance, setGuaranteedDrop, setItemSlot, setItemSlotAndDropWhenKilled, setLeashedTo, setLeftHanded, setNoAi, setPathfindingMalus, setPersistenceRequired, setSpeed, setTarget, setXxa, setYya, setZza, shouldDespawnInPeaceful, shouldPassengersInheritMalus, spawnAnim, startRiding, tickHeadTurn, updateControlFlags, wantsToPickUp
actuallyHurt, addEffect, animateHurt, areAllEffectsAmbient, attackable, blockedByShield, blockUsingShield, brainProvider, broadcastBreakEvent, broadcastBreakEvent, calculateEntityAnimation, canAttack, canBeAffected, canBreatheUnderwater, canSee, canSpawnSoulSpeedParticle, canStandOnFluid, checkAutoSpinAttack, checkFallDamage, clearSleepingPos, completeUsingItem, createLivingAttributes, createWitherRose, curePotionEffects, decreaseAirSupply, die, doAutoAttackOnTouch, doPush, dropAllDeathLoot, dropExperience, eat, forceAddEffect, getAbsorptionAmount, getActiveEffects, getActiveEffectsMap, getAddEntityPacket, getArmorCoverPercentage, getArmorValue, getArrowCount, getAttackAnim, getAttribute, getAttributeBaseValue, getAttributes, getAttributeValue, getBedOrientation, getBlockSpeedFactor, getBoundingBoxForCulling, getBrain, getCombatTracker, getDamageAfterArmorAbsorb, getDamageAfterMagicAbsorb, getDismountPoses, getDrinkingSound, getEatingSound, getEffect, getEyeHeight, getFallDamageSound, getFallFlyingTicks, getFeetBlockState, getFluidFallingAdjustedMovement, getHealth, getItemInHand, getJumpPower, getKillCredit, getLastClimbablePos, getLastDamageSource, getLastHurtByMob, getLastHurtByMobTimestamp, getLastHurtMob, getLastHurtMobTimestamp, getLocalBoundsForPose, getMaxHealth, getMobType, getNoActionTime, getOffhandItem, getProjectile, getRandom, getRelativePortalPosition, getScale, getSleepingPos, getSpeed, getStingerCount, getSwimAmount, getTicksUsingItem, getUsedItemHand, getUseItem, getUseItemRemainingTicks, getViewYRot, getVisibilityPercent, getVoicePitch, getWaterSlowDown, getYHeadRot, goDownInWater, handleRelativeFrictionAndCalculateMovement, hasEffect, hasItemInSlot, heal, hurtArmor, hurtCurrentlyUsedShield, increaseAirSupply, isAffectedByFluids, isAffectedByPotions, isAlive, isAlwaysExperienceDropper, isAutoSpinAttack, isBlocking, isDeadOrDying, isFallFlying, isHolding, isHolding, isInvertedHealAndHarm, isPickable, isSensitiveToWater, isSleeping, isSuppressingSlidingDownLadder, isUsingItem, isVisuallySwimming, jumpFromGround, kill, knockback, lerpHeadTo, lerpTo, lookAt, makeBrain, markHurt, onChangedBlock, onEffectAdded, onEffectRemoved, onEffectUpdated, onEnterCombat, onItemPickup, onLeaveCombat, onSoulSpeedBlock, outOfWorld, playBlockFallSound, playEquipSound, push, pushEntities, randomTeleport, releaseUsingItem, removeAllEffects, removeEffect, removeEffectNoUpdate, removeEffectParticles, removeSoulSpeed, resetForwardDirectionOfRelativePortalPosition, rideableUnderWater, rideTick, setAbsorptionAmount, setArrowCount, setHealth, setItemInHand, setJumping, setLastHurtByMob, setLastHurtByPlayer, setLastHurtMob, setLivingEntityFlag, setNoActionTime, setOnGround, setRecordPlayingNearby, setSleepingPos, setSprinting, setStingerCount, setYBodyRot, setYHeadRot, shouldDropExperience, shouldDropLoot, shouldRemoveSoulSpeed, shouldRiderFaceForward, shouldShowName, spawnSoulSpeedParticle, startAutoSpinAttack, startSleeping, startUsingItem, stopRiding, stopSleeping, stopUsingItem, swing, swing, take, tickDeath, tickEffects, triggerItemUseEffects, tryAddSoulSpeed, updateEffectVisibility, updateFallFlying, updateInvisibilityStatus, updateSwingTime
absMoveTo, absMoveTo, acceptsFailure, acceptsSuccess, addPassenger, addTag, awardKillScore, blockPosition, broadcastToPlayer, calculateUpVector, calculateViewVector, canAddPassenger, canBeCollidedWith, canChangeDimensions, canCollideWith, canEnterPose, canSpawnSprintParticle, canTrample, canUpdate, canUpdate, captureDrops, captureDrops, changeDimension, checkAndResetForcedChunkAdditionFlag, checkAndResetUpdateChunkPos, checkInsideBlocks, clearFire, closerThan, collideBoundingBox, collideBoundingBoxHeuristically, collideBoundingBoxLegacy, copyPosition, createCommandSourceStack, createHoverEvent, displayFireAnimation, distanceTo, distanceToSqr, distanceToSqr, distanceToSqr, doEnchantDamageEffects, doWaterSplashEffect, ejectPassengers, equals, fillCrashReportCategory, findDimensionEntryPoint, getAirSupply, getAllSlots, getBbHeight, getBbWidth, getBlockExplosionResistance, getBlockJumpFactor, getBlockPosBelowThatAffectsMyMovement, getBlockStateOn, getBoundingBox, getBoundingBoxForPose, getBrightness, getCollisionHorizontalEscapeVector, getCommandSenderWorld, getCustomName, getDeltaMovement, getDimensionChangingDelay, getDirection, getDisplayName, getEncodeId, getEntityData, getExitPortal, getEyeHeight, getEyeHeightAccess, getEyePosition, getEyeY, getFireImmuneTicks, getFluidHeight, getFluidJumpThreshold, getForward, getHorizontalDistanceSqr, getId, getIndirectPassengers, getLeashOffset, getLightProbePosition, getLookAngle, getMaxAirSupply, getMotionDirection, getOnPos, getPacketCoordinates, getPassengers, getPassengersRidingOffset, getPermissionLevel, getPersistentData, getPickRadius, getPistonPushReaction, 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, hashCode, hasIndirectPassenger, hasOnePlayerPassenger, hasPassenger, hasPassenger, hasPermissions, ignoreExplosion, interactAt, is, isAddedToWorld, isAlliedTo, isAlliedTo, isAttackable, isColliding, isCrouching, isCustomNameVisible, isDescending, isDiscrete, isEyeInFluid, isFree, isGlowing, isIgnoringBlockTriggers, isInLava, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isInWater, isInWaterOrBubble, isInWaterOrRain, isInWaterRainOrBubble, isMovementNoisy, isNoGravity, isOnFire, isOnGround, isOnPortalCooldown, isPassenger, isPassengerOfSameVehicle, isPushedByFluid, isShiftKeyDown, isSilent, isSpectator, isSprinting, isSteppingCarefully, isSuppressingBounce, isSwimming, isUnderWater, isVehicle, isVisuallyCrawling, killed, lavaHurt, lerpMotion, limitPistonMovement, load, makeFlySound, makeStuckInBlock, maybeBackOffFromEdge, mirror, move, moveRelative, moveTo, moveTo, moveTo, moveTo, moveTowardsClosestSpace, newDoubleList, newFloatList, nextStep, onAboveBubbleCol, onAddedToWorld, onInsideBlock, onInsideBubbleColumn, onlyOpCanSetNbt, onPassengerTurned, onRemovedFromWorld, pick, playerTouch, playFlySound, playSound, playSwimSound, position, processPortalCooldown, push, reapplyPosition, refreshDimensions, remove, remove, removePassenger, removeTag, removeVehicle, repositionEntityAfterLoad, resetPos, restoreFrom, revive, rotate, save, saveAsPassenger, saveWithoutId, sendMessage, setAirSupply, setBoundingBox, setCustomName, setCustomNameVisible, setDeltaMovement, setDeltaMovement, setGlowing, setId, setInvisible, setInvulnerable, setLevel, setLocationFromBoundingbox, setNoGravity, setPacketCoordinates, setPacketCoordinates, setPortalCooldown, setPosAndOldPos, setPose, setPosRaw, setRemainingFireTicks, setRot, setSecondsOnFire, setSharedFlag, setShiftKeyDown, setSilent, setSwimming, setViewScale, shouldBlockExplode, shouldInformAdmins, shouldRender, shouldRenderAtSqrDistance, showVehicleHealth, skipAttackInteraction, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnSprintParticle, startRiding, startSeenByPlayer, stopSeenByPlayer, teleportTo, teleportToWithTicket, 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 parameterId
public static final int parameterId2
public static final int parameterId3
public static final DataSync<AbstractClientEntity,java.lang.Integer> SYNC_TRANSFORMATION
public static final DataSync<AbstractClientEntity,java.lang.Float> SYNC_DYNAMAX_SCALE
public static final DataSync<AbstractClientEntity,net.minecraft.util.ResourceLocation> SYNC_OVERRIDE_TEXTURE
public static final DataSync<AbstractClientEntity,java.lang.Boolean> SYNC_WIREFRAME
public static final DataSync<AbstractClientEntity,java.lang.Boolean> SYNC_ANIMATED
public static final DataSync<AbstractClientEntity,java.lang.Integer> SYNC_MODEL_SLOT
public static final DataSync<AbstractClientEntity,java.lang.Boolean> SYNC_SPRITE_MODEL
public static final DataSync<AbstractClientEntity,EvolutionStage> SYNC_EVO_STAGE
public PokemonBase transformed
public net.minecraft.util.ResourceLocation transformedTexture
public PaletteParticles transformedParticles
protected net.minecraft.util.ResourceLocation overrideTexture
protected EvolutionStage evoStage
protected boolean wireFrame
protected boolean animated
protected boolean spriteModel
protected int modelSlot
public int evolvingVal
public int evoAnimTicks
public int fadeCount
public float heightDiff
public float widthDiff
public float lengthDiff
public AbstractClientEntity(net.minecraft.entity.EntityType<? extends AbstractClientEntity> type, net.minecraft.world.World par1World)
par1World
- The world the Pokémon is in.protected void defineSynchedData()
defineSynchedData
in class AbstractBaseEntity
@Nonnull public net.minecraft.util.ResourceLocation getTexture()
getTexture
in interface TexturedEntity
public boolean isWireFrame()
public void setWireFrame(boolean wireFrame)
public boolean isAnimated()
public void setAnimated(boolean animated)
public void setOverrideTexture(net.minecraft.util.ResourceLocation overrideTexture)
public net.minecraft.util.ResourceLocation getTextureNoCheck()
public Pokemon getPokemon()
getPokemon
in class AbstractBaseEntity
public net.minecraft.util.ResourceLocation getRealTexture()
public net.minecraft.util.ResourceLocation getSprite()
public void evolve(PokemonSpecification evolveTo)
evolveTo
- The Pokémon to evolve into.public net.minecraft.client.renderer.model.Model getModel()
public void transform(Species transformedModel, java.lang.String transformedForm, java.lang.String transformedTexture, java.lang.String transformedParticles)
transformedModel
- The enum of the model to transform into.public void cancelTransform()
public void updateTransformed()
public void transformServer(Species transformedModel, java.lang.String form, java.lang.String texture, java.lang.String particles)
transformedModel
- The Pokémon to transform into.texture
- The texture to change the Pokémon to.public int getTransformed()
public float getScaleFactor()
public float getDynamaxScale()
public void setDynamaxScale(float scale)
scale
- The Dynamax scale of the Pokémon.public void addDynamaxScale(float scale)
scale
- The Dynamax scale to add to the Pokémon.public AnimationVariables getAnimationVariables()
public void initAnimation()
protected void jumpInLiquid(net.minecraft.tags.ITag<net.minecraft.fluid.Fluid> p_180466_1_)
jumpInLiquid
in class net.minecraft.entity.MobEntity
public void checkAnimation()
public void setAnimation(AnimationType animation)
public AnimationType getCurrentAnimation()
public void baseTick()
baseTick
in class net.minecraft.entity.MobEntity
public void tick()
tick
in class net.minecraft.entity.passive.horse.AbstractHorseEntity
public void setEvoStage(EvolutionStage evoStage)
public EvolutionStage getEvoStage()
public boolean isEvolving()
public void setEvolutionAnimationStage(EvolutionStage stage)
public void setPos(double x, double y, double z)
setPos
in class net.minecraft.entity.Entity
public float getEyeHeight(net.minecraft.entity.Pose pose)
getEyeHeight
in class net.minecraft.entity.Entity
public void initBaseEntity()
initBaseEntity
in class AbstractBaseEntity
public void updateSize()
protected net.minecraft.util.SoundEvent getAmbientSound()
getAmbientSound
in class net.minecraft.entity.passive.horse.AbstractHorseEntity
protected float getSoundVolume()
getSoundVolume
in class net.minecraft.entity.passive.horse.AbstractHorseEntity
public void addAdditionalSaveData(net.minecraft.nbt.CompoundNBT nbt)
addAdditionalSaveData
in class AbstractBaseEntity
public void readAdditionalSaveData(net.minecraft.nbt.CompoundNBT nbt)
readAdditionalSaveData
in class AbstractBaseEntity
public void setRenderColor(float... renderColor)
public float[] getRenderColor()
public int getModelSlot()
public void setModelSlot(int modelSlot)
public boolean isSpriteModel()
public void setSpriteModel(boolean spriteModel)
public void resetDataWatchers()
resetDataWatchers
in class AbstractBaseEntity
public int getFlyingDelayCounter()