public class StatueEntity extends AbstractClientEntity implements TexturedEntity
| Modifier and Type | Field and Description |
|---|---|
static int |
parameterId |
static int |
parameterId2 |
static DataSync<StatueEntity,AnimationType> |
SYNC_ANIMATION |
static DataSync<StatueEntity,java.lang.Integer> |
SYNC_ANIMATION_FRAME |
static DataSync<StatueEntity,EnumBoundingBoxMode> |
SYNC_BOUND_MODE |
static DataSync<StatueEntity,java.lang.Boolean> |
SYNC_CAN_MOVE |
static DataSync<StatueEntity,java.lang.Boolean> |
SYNC_IS_FLYING |
static DataSync<StatueEntity,java.lang.String> |
SYNC_LABEL |
static DataSync<StatueEntity,EnumStatueTextureType> |
SYNC_TEXTURES |
animated, evoAnimTicks, evolvingVal, evoStage, fadeCount, heightDiff, lengthDiff, modelSlot, overrideTexture, spriteModel, SYNC_ANIMATED, SYNC_DYNAMAX_SCALE, SYNC_EVO_STAGE, SYNC_MODEL_SLOT, SYNC_OVERRIDE_TEXTURE, SYNC_SPRITE_MODEL, SYNC_TRANSFORMATION, SYNC_WIREFRAME, transformed, transformedParticles, transformedTexture, widthDiff, wireFrameaggression, 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_DISABLEcanGallop, gallopSoundCounter, inventory, isJumping, playerJumpPendingScale, sprintCounter, tailCounter, temperambientSoundTime, armorDropChances, goalSelector, handDropChances, jumpControl, lookControl, moveControl, navigation, targetSelector, xpRewardanimationPosition, 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, zzablocksBuilding, 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 |
|---|
StatueEntity(net.minecraft.entity.EntityType<StatueEntity> type,
net.minecraft.world.World world) |
StatueEntity(net.minecraft.world.World world)
Spawns a statue.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAdditionalSaveData(net.minecraft.nbt.CompoundNBT nbt) |
void |
aiStep() |
void |
baseTick() |
boolean |
canBeCollidedWith() |
boolean |
canBreatheUnderwater() |
boolean |
canMove() |
boolean |
causeFallDamage(float p_225503_1_,
float p_225503_2_) |
protected void |
customServerAiStep() |
protected void |
defineSynchedData() |
java.util.List<AnimationType> |
getAllAnimations()
Gets a list of all animations that the Pokémon has.
|
AnimationType |
getAnimation()
Gets the animation type of the statue.
|
int |
getAnimationFrame()
Gets the animation frame of the statue.
|
AnimationVariables |
getAnimationVariables()
Gets the variables used to animate the model.
|
Stats |
getBaseStats() |
EnumBoundingBoxMode |
getBoundingMode() |
java.awt.Color |
getColor() |
AnimationType |
getCurrentAnimation() |
net.minecraft.util.text.ITextComponent |
getDisplayName() |
float |
getEyeHeight(net.minecraft.entity.Pose p_213307_1_) |
Stats |
getForm()
Gets the index of the form of the Pokémon.
|
int |
getFrameCount()
Gets the number of frames for the statue's animation.
|
Gender |
getGender() |
EnumGrowth |
getGrowth() |
boolean |
getIsFlying()
Checks if the statue is in a standing position.
|
java.lang.String |
getLabel()
Gets the statue's display label.
|
net.minecraft.client.renderer.model.Model |
getModel()
Gets the Pokémon's active model.
|
net.minecraft.item.ItemStack |
getPickedResult(net.minecraft.util.math.RayTraceResult target) |
float |
getPixelmonScale()
Gets the model scale of the Pokémon.
|
PokemonBase |
getPokemonBase() |
float |
getScaleFactor()
Gets the scale multiplier for the Pokémon's model.
|
Species |
getSpecies()
Gets the pokemon of the Pokémon.
|
Stats |
getStats()
Gets the enum of the form of the Pokémon.
|
net.minecraft.util.ResourceLocation |
getTexture()
Gets the texture of the Pokémon.
|
EnumStatueTextureType |
getTextureType()
Gets the statue's texture.
|
boolean |
hurt(net.minecraft.util.DamageSource source,
float amount) |
void |
initAnimation()
Ticks the Pokémon's animation one frame to get it out of a T-pose.
|
boolean |
isEffectiveAi() |
boolean |
isNoAi() |
boolean |
isPathFinding() |
boolean |
isPushable() |
boolean |
isSmd()
Checks if the model is in SMD format.
|
net.minecraft.util.ActionResultType |
mobInteract(net.minecraft.entity.player.PlayerEntity player,
net.minecraft.util.Hand hand) |
AnimationType |
nextAnimation()
Gets the next animation type for the statue in order.
|
void |
readAdditionalSaveData(net.minecraft.nbt.CompoundNBT nbt) |
boolean |
removeWhenFarAway(double p_213397_1_) |
void |
resetDataWatchers() |
void |
setAnimation(AnimationType animationType)
Sets the animation type of the statue.
|
void |
setAnimationFrame(int animationFrame)
Sets the animation frame of the statue.
|
void |
setBoundingMode(EnumBoundingBoxMode boundingMode) |
void |
setCanMove(boolean canMove) |
void |
setForm(Stats form) |
void |
setGender(Gender gender) |
void |
setGrowth(EnumGrowth growth) |
void |
setIsFlying(boolean isFlying)
Sets whether the statue is in a standing position.
|
void |
setLabel(java.lang.String label)
Sets the statue's display label.
|
void |
setPalette(java.lang.String palette) |
void |
setPixelmonScale(float scale)
Sets the model scale of the Pokémon.
|
void |
setPokemon(Pokemon pokemon) |
protected void |
setPokemon(PokemonBase pokemon)
Sets the pokemon this statue displays.
|
void |
setPos(double x,
double y,
double z)
Sets the x,y,z of the entity from the given parameters.
|
void |
setSpecies(RegistryValue<Species> species)
Sets the pokemon this statue displays.
|
void |
setSpecies(Species species)
Sets the pokemon this statue displays.
|
void |
setTextureType(EnumStatueTextureType type)
Sets the statue's texture.
|
void |
tick() |
void |
updateSize() |
addDynamaxScale, cancelTransform, checkAnimation, evolve, getAmbientSound, getDynamaxScale, getEvoStage, getFlyingDelayCounter, getModelSlot, getPokemon, getRealTexture, getRenderColor, getSoundVolume, getSprite, getTextureNoCheck, getTransformed, initBaseEntity, isAnimated, isEvolving, isSpriteModel, isWireFrame, jumpInLiquid, setAnimated, setDynamaxScale, setEvolutionAnimationStage, setEvoStage, setModelSlot, setOverrideTexture, setRenderColor, setSpriteModel, setWireFrame, transform, transformServer, updateTransformedbelongsTo, canBeLeashed, canRide, changeDimension, define, fireImmune, getAge, getAggression, getAngrySound, getBossTier, getBreedOffspring, getDeathSound, getDimensions, getEatingSound, getEscapedNickname, getGenderProperties, getHurtSound, getLocalizedName, getMainHandItem, getName, getNickname, getOwner, getOwnerUUID, getPalette, getPlayerParty, getPlayerStorage, getPokemonName, getSpawnLocation, getStorage, hasCustomName, hasOwner, hasPalette, isBossPokemon, isDisableNametag, isDisableShadow, isDisableTexture, isFullbright, isInWall, isLeashed, isLegendary, isOverlay, isOwnedBy, isPalette, isPokemon, isPokemon, isPokemon, isSaddleable, isSaddled, isTamed, onSyncedDataUpdated, openInventory, playGallopSound, playJumpSound, playStepSound, resetAlterations, setAggression, setBossTier, setColor, setDimensions, setDisableNametag, setDisableShadow, setDisableTexture, setFullbright, setOverlay, setOwnerUUID, setSpawnLocation, setUUID, thunderHit, updateaddBehaviourGoals, 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, updateContainerEquipmentcanFallInLove, checkAnimalSpawnRules, getExperienceReward, getInLoveTime, getLoveCause, getMyRidingOffset, getWalkTargetValue, isInLove, resetLove, setInLove, setInLoveTime, spawnChildFromBreeding, usePlayerItemageBoundaryReached, ageUp, ageUp, canBreed, isBaby, setAge, setBabycheckSpawnRules, followLeashSpeed, getWalkTargetValue, tickLeashate, 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, isLeftHanded, isMaxGroupSizeReached, 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, wantsToPickUpactuallyHurt, addEffect, animateHurt, areAllEffectsAmbient, attackable, blockedByShield, blockUsingShield, brainProvider, broadcastBreakEvent, broadcastBreakEvent, calculateEntityAnimation, canAttack, canBeAffected, 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, updateSwingTimeabsMoveTo, absMoveTo, acceptsFailure, acceptsSuccess, addPassenger, addTag, awardKillScore, blockPosition, broadcastToPlayer, calculateUpVector, calculateViewVector, canAddPassenger, 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, 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, updateSwimmingareCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, reviveCaps, serializeCapsclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int parameterId
public static final int parameterId2
public static final DataSync<StatueEntity,EnumBoundingBoxMode> SYNC_BOUND_MODE
public static final DataSync<StatueEntity,java.lang.String> SYNC_LABEL
public static final DataSync<StatueEntity,EnumStatueTextureType> SYNC_TEXTURES
public static final DataSync<StatueEntity,AnimationType> SYNC_ANIMATION
public static final DataSync<StatueEntity,java.lang.Integer> SYNC_ANIMATION_FRAME
public static final DataSync<StatueEntity,java.lang.Boolean> SYNC_IS_FLYING
public static final DataSync<StatueEntity,java.lang.Boolean> SYNC_CAN_MOVE
public StatueEntity(net.minecraft.entity.EntityType<StatueEntity> type, net.minecraft.world.World world)
public StatueEntity(net.minecraft.world.World world)
world - The world to spawn the statue in.protected void defineSynchedData()
defineSynchedData in class AbstractClientEntitypublic void aiStep()
aiStep in class net.minecraft.entity.passive.horse.AbstractHorseEntitypublic boolean isPathFinding()
isPathFinding in class net.minecraft.entity.CreatureEntitypublic boolean isNoAi()
isNoAi in class net.minecraft.entity.MobEntityprotected void customServerAiStep()
customServerAiStep in class net.minecraft.entity.passive.AnimalEntitypublic boolean isEffectiveAi()
isEffectiveAi in class net.minecraft.entity.MobEntitypublic void setPokemon(Pokemon pokemon)
setPokemon in class AbstractBaseEntitypublic void setPalette(java.lang.String palette)
protected void setPokemon(PokemonBase pokemon)
pokemon - The pokemon info this statue displayspublic void setBoundingMode(EnumBoundingBoxMode boundingMode)
public EnumBoundingBoxMode getBoundingMode()
public void setCanMove(boolean canMove)
public boolean canMove()
public PokemonBase getPokemonBase()
public void setSpecies(Species species)
species - The species.public void setSpecies(RegistryValue<Species> species)
species - The species registry value.public void resetDataWatchers()
resetDataWatchers in class AbstractClientEntitypublic Species getSpecies()
AbstractBaseEntitygetSpecies in class AbstractBaseEntitypublic void setForm(Stats form)
public Stats getForm()
getForm in class AbstractBaseEntitypublic void setGender(Gender gender)
public Gender getGender()
public Stats getStats()
public void setGrowth(EnumGrowth growth)
public EnumGrowth getGrowth()
public void setPixelmonScale(float scale)
setPixelmonScale in class AbstractBaseEntityscale - The model scale of the Pokémon.public float getPixelmonScale()
getPixelmonScale in class AbstractBaseEntitypublic void setLabel(java.lang.String label)
label - The display label to set for the statue.public java.lang.String getLabel()
public void setTextureType(EnumStatueTextureType type)
type - The texture to set the statue to.public EnumStatueTextureType getTextureType()
public void setAnimation(AnimationType animationType)
setAnimation in class AbstractClientEntityanimationType - The new animation type of the status.public AnimationType getAnimation()
public void setAnimationFrame(int animationFrame)
animationFrame - The new animation frame of the statue.public int getAnimationFrame()
public Stats getBaseStats()
public java.awt.Color getColor()
getColor in class AbstractBaseEntitypublic void tick()
tick in class AbstractClientEntitypublic void baseTick()
baseTick in class AbstractClientEntitypublic net.minecraft.util.ActionResultType mobInteract(net.minecraft.entity.player.PlayerEntity player,
net.minecraft.util.Hand hand)
mobInteract in class net.minecraft.entity.passive.AnimalEntitypublic void addAdditionalSaveData(net.minecraft.nbt.CompoundNBT nbt)
addAdditionalSaveData in class AbstractClientEntitypublic void readAdditionalSaveData(net.minecraft.nbt.CompoundNBT nbt)
readAdditionalSaveData in class AbstractClientEntitypublic net.minecraft.util.text.ITextComponent getDisplayName()
getDisplayName in interface net.minecraft.util.INameablegetDisplayName in class net.minecraft.entity.Entitypublic boolean removeWhenFarAway(double p_213397_1_)
removeWhenFarAway in class AbstractBaseEntitypublic boolean causeFallDamage(float p_225503_1_,
float p_225503_2_)
causeFallDamage in class AbstractBaseEntitypublic boolean canBreatheUnderwater()
canBreatheUnderwater in class net.minecraft.entity.LivingEntitypublic boolean canBeCollidedWith()
canBeCollidedWith in class net.minecraft.entity.Entitypublic boolean isPushable()
isPushable in class AbstractBaseEntitypublic boolean hurt(net.minecraft.util.DamageSource source,
float amount)
hurt in class AbstractBaseEntitypublic net.minecraft.item.ItemStack getPickedResult(net.minecraft.util.math.RayTraceResult target)
getPickedResult in interface net.minecraftforge.common.extensions.IForgeEntitypublic void setPos(double x,
double y,
double z)
setPos in class AbstractClientEntitypublic float getEyeHeight(net.minecraft.entity.Pose p_213307_1_)
getEyeHeight in class AbstractClientEntitypublic void updateSize()
updateSize in class AbstractClientEntitypublic float getScaleFactor()
getScaleFactor in class AbstractClientEntitypublic net.minecraft.util.ResourceLocation getTexture()
AbstractClientEntitygetTexture in interface TexturedEntitygetTexture in class AbstractClientEntitypublic boolean isSmd()
public AnimationType getCurrentAnimation()
getCurrentAnimation in class AbstractClientEntitypublic void initAnimation()
initAnimation in class AbstractClientEntitypublic int getFrameCount()
public AnimationType nextAnimation()
public java.util.List<AnimationType> getAllAnimations()
public AnimationVariables getAnimationVariables()
getAnimationVariables in class AbstractClientEntitypublic net.minecraft.client.renderer.model.Model getModel()
getModel in class AbstractClientEntitypublic void setIsFlying(boolean isFlying)
isFlying - Whether the statue is in a standing position.public boolean getIsFlying()