Class StatueEntity

java.lang.Object
net.minecraftforge.common.capabilities.CapabilityProvider<net.minecraft.world.entity.Entity>
net.minecraft.world.entity.Entity
net.minecraft.world.entity.LivingEntity
net.minecraft.world.entity.Mob
net.minecraft.world.entity.PathfinderMob
net.minecraft.world.entity.AgeableMob
net.minecraft.world.entity.animal.Animal
net.minecraft.world.entity.animal.horse.AbstractHorse
All Implemented Interfaces:
RenderableEntity, net.minecraft.commands.CommandSource, net.minecraft.world.ContainerListener, net.minecraft.world.entity.Attackable, net.minecraft.world.entity.HasCustomInventoryScreen, net.minecraft.world.entity.OwnableEntity, net.minecraft.world.entity.PlayerRideable, net.minecraft.world.entity.PlayerRideableJumping, net.minecraft.world.entity.Saddleable, net.minecraft.world.entity.Targeting, 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 StatueEntity extends AbstractClientEntity
A static statue of a Pokémon.
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.minecraft.world.entity.AgeableMob

    net.minecraft.world.entity.AgeableMob.AgeableMobGroupData

    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

    Fields inherited from class net.minecraft.world.entity.animal.horse.AbstractHorse

    allowStandSliding, BREEDING_CROSS_FACTOR, canGallop, CHEST_SLOT_OFFSET, EQUIPMENT_SLOT_OFFSET, gallopSoundCounter, INV_BASE_COUNT, INV_SLOT_ARMOR, INV_SLOT_SADDLE, inventory, INVENTORY_SLOT_OFFSET, isJumping, playerJumpPendingScale, sprintCounter, tailCounter, temper

    Fields inherited from class net.minecraft.world.entity.animal.Animal

    PARENT_AGE_AFTER_BREEDING

    Fields inherited from class net.minecraft.world.entity.AgeableMob

    age, BABY_START_AGE, forcedAge, forcedAgeTimer

    Fields inherited from class net.minecraft.world.entity.PathfinderMob

    DEFAULT_WALK_TARGET_VALUE

    Fields inherited from class net.minecraft.world.entity.Mob

    ambientSoundTime, armorDropChances, DEFAULT_EQUIPMENT_DROP_CHANCE, goalSelector, handDropChances, jumpControl, LEASH_TAG, lookControl, MAX_ENCHANTED_ARMOR_CHANCE, MAX_ENCHANTED_WEAPON_CHANCE, MAX_PICKUP_LOOT_CHANCE, MAX_WEARING_ARMOR_CHANCE, moveControl, navigation, PICKUP_REACH, PRESERVE_ITEM_DROP_CHANCE, targetSelector, UPDATE_GOAL_SELECTOR_EVERY_N_TICKS, xpReward

    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, 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

    Constructors
    Constructor
    Description
    StatueEntity(net.minecraft.world.entity.EntityType<StatueEntity> type, net.minecraft.world.level.Level world)
     
    StatueEntity(net.minecraft.world.level.Level world)
    Spawns a statue.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addAdditionalSaveData(net.minecraft.nbt.CompoundTag nbt)
     
    void
     
    void
     
    boolean
     
    boolean
     
    boolean
     
    boolean
    causeFallDamage(float distance, float damageMultiplier, net.minecraft.world.damagesource.DamageSource source)
     
    protected void
     
    protected void
     
    Gets a list of all animations that the Pokémon has.
    Gets the animation type of the statue.
    int
    Gets the animation frame of the statue.
    Gets the variables used to animate the model.
     
     
     
     
    net.minecraft.network.chat.Component
     
    float
    getEyeHeight(net.minecraft.world.entity.Pose p_213307_1_)
     
    Gets the index of the form of the Pokémon.
    int
    Gets the number of frames for the statue's animation.
     
     
    boolean
    Checks if the statue is in a standing position.
    Gets the statue's display label.
    Gets the Pokémon's active model.
    net.minecraft.world.item.ItemStack
    getPickedResult(net.minecraft.world.phys.HitResult target)
     
    float
    Gets the model scale of the Pokémon.
     
    float[]
     
    float
    Gets the scale multiplier for the Pokémon's model.
    Checks if this entity is transformed and gets the species of the Pokémon this entity appears to be.
    Gets the enum of the form of the Pokémon.
    Gets the statue's texture.
    boolean
    hurt(net.minecraft.world.damagesource.DamageSource source, float amount)
     
    void
    Ticks the Pokémon's animation one frame to get it out of a T-pose.
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    net.minecraft.world.InteractionResult
    mobInteract(net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand)
     
    Gets the next animation type for the statue in order.
    void
    readAdditionalSaveData(net.minecraft.nbt.CompoundTag nbt)
     
    boolean
    removeWhenFarAway(double p_213397_1_)
     
    void
     
    void
    setAnimation(AnimationType animationType)
    Sets the animation type of the statue.
    void
    setAnimationFrame(int animationFrame)
    Sets the animation frame of the statue.
    void
     
    void
    setCanMove(boolean canMove)
     
    void
    setForm(Stats form)
     
    void
    setGender(Gender gender)
     
    void
     
    void
    setIsFlying(boolean isFlying)
    Sets whether the statue is in a standing position.
    void
    Sets the statue's display label.
    void
    setPalette(String palette)
     
    void
    setPixelmonScale(float scale)
    Sets the model scale of the Pokémon.
    void
     
    protected void
    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
    Sets the pokemon this statue displays.
    void
    Sets the pokemon this statue displays.
    void
    Sets the statue's texture.
    void
     
    void
     

    Methods inherited from class net.minecraft.world.entity.animal.horse.AbstractHorse

    addBehaviourGoals, calculateFallDamage, canEatGrass, canJump, canMate, canParent, canPerformRearing, canWearArmor, containerChanged, createBaseHorseAttributes, createInventory, doPlayerRide, dropEquipment, equipArmor, equipSaddle, executeRidersJump, fedFood, finalizeSpawn, followMommy, generateJumpStrength, generateMaxHealth, generateSpeed, getAmbientSoundInterval, getAmbientStandInterval, getAmbientStandSound, getCapability, getControllingPassenger, getCustomJump, getDismountLocationForPassenger, getEatAnim, getFlag, getInventorySize, getMaxSpawnClusterSize, getMaxTemper, getMouthAnim, getPassengerAttachmentPoint, getPassengersRidingOffsetY, getRiddenInput, getRiddenRotation, getRiddenSpeed, getSlot, getStandAnim, getStandingEyeHeight, getTemper, handleEating, handleEntityEvent, handleStartJump, handleStopJump, hasInventoryChanged, invalidateCaps, isArmor, isBred, isEating, isFood, isImmobile, isJumping, isStanding, isWearingArmor, makeMad, modifyTemper, onClimbable, onLeashDistance, onPlayerJump, positionRider, randomizeAttributes, registerGoals, setBred, setEating, setFlag, setIsJumping, setOffspringAttributes, setStanding, setTamed, setTemper, spawnTamingParticles, standIfPossible, tameWithName, tickRidden, updateContainerEquipment

    Methods inherited from class net.minecraft.world.entity.animal.Animal

    canFallInLove, checkAnimalSpawnRules, finalizeSpawnChildFromBreeding, getExperienceReward, getInLoveTime, getLoveCause, getWalkTargetValue, isBrightEnoughToSpawn, isInLove, resetLove, setInLove, setInLoveTime, spawnChildFromBreeding, usePlayerItem

    Methods inherited from class net.minecraft.world.entity.AgeableMob

    ageBoundaryReached, ageUp, ageUp, canBreed, getSpeedUpSecondsWhenFeeding, isBaby, setAge, setBaby

    Methods inherited from class net.minecraft.world.entity.PathfinderMob

    checkSpawnRules, followLeashSpeed, getWalkTargetValue, isPanicking, shouldStayCloseToLeashHolder, tickLeash

    Methods inherited from class net.minecraft.world.entity.Mob

    ate, canAttackType, canFireProjectileWeapon, canHoldItem, canPickUpLoot, canReplaceCurrentItem, canReplaceEqualItem, canTakeItem, checkAndHandleImportantInteractions, checkDespawn, checkMobSpawnRules, checkSpawnObstruction, clearRestriction, convertTo, createBodyControl, createMobAttributes, createNavigation, doHurtTarget, dropCustomDeathLoot, dropFromLootTable, dropLeash, enchantSpawnedArmor, enchantSpawnedWeapon, equipItemIfPossible, getArmorSlots, getAttackBoundingBox, getDefaultLootTable, getEquipmentDropChance, getEquipmentForSlot, getHandSlots, getHeadRotSpeed, getItemBySlot, getJumpControl, getLeashHolder, getLookControl, getLootTable, getLootTableSeed, getMainArm, getMaxFallDistance, getMaxHeadXRot, getMaxHeadYRot, getMoveControl, getNavigation, getPathfindingMalus, getPickResult, getPickupReach, getRestrictCenter, getRestrictRadius, getSensing, getSpawnType, getTarget, hasRestriction, interact, isAggressive, isLeftHanded, isMaxGroupSizeReached, isPersistenceRequired, isSpawnCancelled, isSunBurnTick, isWithinMeleeAttackRange, isWithinRestriction, isWithinRestriction, jumpInFluid, lookAt, onOffspringSpawnedFromEgg, onPathfindingDone, onPathfindingStart, pickUpItem, playAmbientSound, playHurtSound, populateDefaultEquipmentEnchantments, populateDefaultEquipmentSlots, removeAfterChangingDimensions, removeAllGoals, removeFreeWill, requiresCustomPersistence, restrictTo, sendDebugPackets, serverAiStep, setAggressive, setCanPickUpLoot, setDelayedLeashHolderId, setDropChance, setGuaranteedDrop, setItemSlot, setItemSlotAndDropWhenKilled, setLeashedTo, setLeftHanded, setNoAi, setPathfindingMalus, setPersistenceRequired, setSpawnCancelled, setSpeed, setTarget, setXxa, setYya, setZza, shouldDespawnInPeaceful, shouldPassengersInheritMalus, spawnAnim, startRiding, tickHeadTurn, updateControlFlags, wantsToPickUp

    Methods inherited from class net.minecraft.world.entity.LivingEntity

    actuallyHurt, addEffect, addEffect, animateHurt, areAllEffectsAmbient, attackable, blockedByShield, blockUsingShield, brainProvider, broadcastBreakEvent, broadcastBreakEvent, calculateEntityAnimation, canAttack, canAttack, canBeAffected, canBeSeenAsEnemy, canBeSeenByAnyone, canChangeDimensions, canDisableShield, canFreeze, canSpawnSoulSpeedParticle, canStandOnFluid, checkAutoSpinAttack, checkFallDamage, clearSleepingPos, completeUsingItem, createLivingAttributes, createWitherRose, curePotionEffects, decreaseAirSupply, die, doAutoAttackOnTouch, doesEmitEquipEvent, doPush, dropAllDeathLoot, dropExperience, eat, equipmentHasChanged, forceAddEffect, getAbsorptionAmount, getActiveEffects, getActiveEffectsMap, getArmorCoverPercentage, getArmorValue, getArrowCount, getAttackAnim, getAttribute, getAttributeBaseValue, getAttributeBaseValue, getAttributes, getAttributeValue, getAttributeValue, getBedOrientation, getBlockSpeedFactor, getBoundingBoxForCulling, getBrain, getCombatTracker, getDamageAfterArmorAbsorb, getDamageAfterMagicAbsorb, getDismountPoses, getDrinkingSound, getEatingSound, getEffect, getEquipmentSlotForItem, getEyeHeight, getFallDamageSound, getFallFlyingTicks, getFallSounds, getFluidFallingAdjustedMovement, getFlyingSpeed, getHealth, getHitbox, getHurtDir, getItemInHand, getJumpBoostPower, getJumpPower, getKillCredit, getLastAttacker, getLastClimbablePos, getLastDamageSource, getLastHurtByMob, getLastHurtByMobTimestamp, getLastHurtMob, getLastHurtMobTimestamp, getLocalBoundsForPose, getMaxAbsorption, getMaxHealth, getMobType, getMyRidingOffset, getNoActionTime, getOffhandItem, getPassengerRidingPosition, getProjectile, getRandom, getRelativePortalPosition, getScale, getSleepingPos, getSpeed, 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, isAffectedByFluids, isAffectedByPotions, isAlive, isAlwaysExperienceDropper, isAutoSpinAttack, isBlocking, isCurrentlyGlowing, isDamageSourceBlocked, isDeadOrDying, isFallFlying, isHolding, isHolding, isInvertedHealAndHarm, isPickable, isSensitiveToWater, isSleeping, isSuppressingSlidingDownLadder, isUsingItem, isVisuallySwimming, jumpFromGround, kill, knockback, lerpHeadRotationStep, lerpHeadTo, lerpTargetX, lerpTargetXRot, lerpTargetY, lerpTargetYRot, lerpTargetZ, lerpTo, lookAt, makeBrain, maxUpStep, onBelowWorld, onChangedBlock, onEffectAdded, onEffectRemoved, onEffectUpdated, onEnterCombat, onEquipItem, onItemPickup, onLeaveCombat, onSoulSpeedBlock, playBlockFallSound, push, pushEntities, randomTeleport, recreateFromPacket, releaseUsingItem, remove, removeAllEffects, removeEffect, removeEffectNoUpdate, removeEffectParticles, removeFrost, removeSoulSpeed, resetForwardDirectionOfRelativePortalPosition, reviveCaps, rideTick, sendEffectToPassengers, setAbsorptionAmount, setArrowCount, setDiscardFriction, setHealth, setItemInHand, setJumping, setLastHurtByMob, setLastHurtByPlayer, setLastHurtMob, setLivingEntityFlag, setNoActionTime, setRecordPlayingNearby, setSleepingPos, setSprinting, setStingerCount, setYBodyRot, setYHeadRot, shouldDiscardFriction, shouldDropExperience, shouldDropLoot, shouldRemoveSoulSpeed, shouldRiderFaceForward, shouldShowName, skipDropExperience, spawnSoulSpeedParticle, startSleeping, startUsingItem, stopRiding, stopSleeping, stopUsingItem, swing, swing, take, tickDeath, tickEffects, travel, travelRidden, triggerItemUseEffects, tryAddFrost, tryAddSoulSpeed, updateEffectVisibility, updateFallFlying, updateInvisibilityStatus, 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, canCollideWith, canControlVehicle, canSpawnSprintParticle, canSprint, canTrample, canUpdate, canUpdate, captureDrops, captureDrops, changeDimension, checkBelowWorld, checkInsideBlocks, checkSlowFallDistance, checkSupportingBlock, chunkPosition, clearFire, closerThan, closerThan, collideBoundingBox, copyPosition, couldAcceptPassenger, createCommandSourceStack, createHoverEvent, damageSources, dampensVibrations, discard, dismountsUnderwater, dismountTo, displayFireAnimation, distanceTo, distanceToSqr, distanceToSqr, distanceToSqr, doEnchantDamageEffects, doWaterSplashEffect, ejectPassengers, equals, extinguishFire, fillCrashReportCategory, findDimensionEntryPoint, fixupDimensions, gameEvent, gameEvent, getAddEntityPacket, getAirSupply, getAllSlots, getBbHeight, getBbWidth, getBlockExplosionResistance, getBlockJumpFactor, getBlockPosBelowThatAffectsMyMovement, getBlockStateOn, getBlockStateOnLegacy, getBlockX, getBlockY, getBlockZ, getBoundingBox, getCollisionHorizontalEscapeVector, getCommandSenderWorld, getControlledVehicle, getCustomName, getDeltaMovement, getDimensionChangingDelay, getDimensionsForge, getDirection, getEncodeId, getEntityData, getExitPortal, getEyeHeight, getEyeHeightAccess, getEyeInFluidType, getEyePosition, getEyePosition, getEyeY, getFeetBlockState, getFireImmuneTicks, getFirstPassenger, getFluidHeight, getFluidJumpThreshold, getFluidTypeHeight, getForward, getHandHoldingItemAngle, getId, getIndirectPassengers, getLeashOffset, getLeashOffset, getLightLevelDependentMagicValue, getLightProbePosition, getLookAngle, getMaxAirSupply, getMaxHeightFluidType, getMotionDirection, getMovementEmission, getNameTagOffsetY, getOnPos, getOnPos, getOnPosLegacy, getPassengers, getPassengersAndSelf, getPercentFrozen, getPermissionLevel, getPersistentData, getPickRadius, getPistonPushReaction, 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, hasExactlyOnePlayerPassenger, hasGlowingTag, hashCode, hasIndirectPassenger, hasPassenger, hasPassenger, hasPermissions, hasPose, ignoreExplosion, interactAt, is, isAddedToWorld, isAlliedTo, isAlliedTo, isAlwaysTicking, isAttackable, isColliding, isControlledByLocalInstance, isCrouching, isCustomNameVisible, isDescending, isDiscrete, isEyeInFluid, isFlapping, isFree, isFreezing, isFullyFrozen, isHorizontalCollisionMinor, isIgnoringBlockTriggers, isInFluidType, isInFluidType, isInLava, isInLiquid, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isInWater, isInWaterOrBubble, isInWaterOrRain, isInWaterRainOrBubble, isNoGravity, isOnFire, isOnPortalCooldown, isOnRails, isPassenger, isPassengerOfSameVehicle, isPushedByFluid, 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, move, 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, playSwimSound, position, positionRider, processFlappingMovement, processPortalCooldown, push, reapplyPosition, refreshDimensions, removePassenger, removeTag, removeVehicle, repositionEntityAfterLoad, resetFallDistance, restoreFrom, revive, ridingOffset, rotate, save, saveAsPassenger, saveWithoutId, sendSystemMessage, setAirSupply, setBoundingBox, setCustomName, setCustomNameVisible, setDeltaMovement, setDeltaMovement, setFluidTypeHeight, setGlowingTag, setId, setInvisible, setInvulnerable, setIsInPowderSnow, setLevel, setLevelCallback, setMaxUpStep, setNoGravity, setOldPosAndRot, setOnGround, setOnGroundWithKnownMovement, setPortalCooldown, setPortalCooldown, setPos, setPose, setPosRaw, setRemainingFireTicks, setRemoved, setRot, setSecondsOnFire, setSharedFlag, setSharedFlagOnFire, setShiftKeyDown, setSilent, setSwimming, setTicksFrozen, setViewScale, setXRot, setYRot, shouldBeSaved, shouldBlockExplode, shouldInformAdmins, shouldRender, shouldRenderAtSqrDistance, showVehicleHealth, skipAttackInteraction, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnSprintParticle, startRiding, startSeenByPlayer, stopSeenByPlayer, syncPacketPositionCodec, teleportRelative, teleportTo, teleportTo, teleportToWithTicket, 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, moveInFluid, self, sinkInFluid

    Methods inherited from interface net.minecraft.world.entity.OwnableEntity

    level

    Methods inherited from interface net.minecraft.world.entity.PlayerRideableJumping

    getJumpCooldown

    Methods inherited from interface com.pixelmonmod.pixelmon.client.render.entity.renderers.smd.RenderableEntity

    isDisableTexture, isFullbright, isOverlay

    Methods inherited from interface net.minecraft.world.entity.Saddleable

    getSaddleSoundEvent
  • Field Details

  • Constructor Details

    • StatueEntity

      public StatueEntity(net.minecraft.world.entity.EntityType<StatueEntity> type, net.minecraft.world.level.Level world)
    • StatueEntity

      public StatueEntity(net.minecraft.world.level.Level world)
      Spawns a statue.
      Parameters:
      world - The world to spawn the statue in.
  • Method Details

    • defineSynchedData

      protected void defineSynchedData()
      Overrides:
      defineSynchedData in class AbstractClientEntity
    • aiStep

      public void aiStep()
      Overrides:
      aiStep in class net.minecraft.world.entity.animal.horse.AbstractHorse
    • isPathFinding

      public boolean isPathFinding()
      Overrides:
      isPathFinding in class net.minecraft.world.entity.PathfinderMob
    • isNoAi

      public boolean isNoAi()
      Overrides:
      isNoAi in class net.minecraft.world.entity.Mob
    • customServerAiStep

      protected void customServerAiStep()
      Overrides:
      customServerAiStep in class net.minecraft.world.entity.animal.Animal
    • isEffectiveAi

      public boolean isEffectiveAi()
      Overrides:
      isEffectiveAi in class net.minecraft.world.entity.Mob
    • setPokemon

      public void setPokemon(Pokemon pokemon)
      Overrides:
      setPokemon in class AbstractBaseEntity
    • setPalette

      public void setPalette(String palette)
    • setPokemon

      protected void setPokemon(PokemonBase pokemon)
      Sets the pokemon this statue displays.
      Parameters:
      pokemon - The pokemon info this statue displays
    • setBoundingMode

      public void setBoundingMode(EnumBoundingBoxMode boundingMode)
    • getBoundingMode

      public EnumBoundingBoxMode getBoundingMode()
    • setCanMove

      public void setCanMove(boolean canMove)
    • canMove

      public boolean canMove()
    • getPokemonBase

      public PokemonBase getPokemonBase()
    • setSpecies

      public void setSpecies(Species species)
      Sets the pokemon this statue displays.
      Parameters:
      species - The species.
    • setSpecies

      public void setSpecies(RegistryValue<Species> species)
      Sets the pokemon this statue displays.
      Parameters:
      species - The species registry value.
    • resetDataWatchers

      public void resetDataWatchers()
      Overrides:
      resetDataWatchers in class AbstractClientEntity
    • getSpecies

      public Species getSpecies()
      Description copied from class: AbstractClientEntity
      Checks if this entity is transformed and gets the species of the Pokémon this entity appears to be.
      Overrides:
      getSpecies in class AbstractClientEntity
      Returns:
      The species Species of the Pokémon.
    • setForm

      public void setForm(Stats form)
    • getForm

      public Stats getForm()
      Gets the index of the form of the Pokémon.
      Overrides:
      getForm in class AbstractClientEntity
      Returns:
      The index of the form of the Pokémon.
    • setGender

      public void setGender(Gender gender)
    • getGender

      public Gender getGender()
    • getStats

      public Stats getStats()
      Gets the enum of the form of the Pokémon.
      Returns:
      The form of the Pokémon.
    • setGrowth

      public void setGrowth(EnumGrowth growth)
    • getGrowth

      public EnumGrowth getGrowth()
    • setPixelmonScale

      public void setPixelmonScale(float scale)
      Sets the model scale of the Pokémon.
      Overrides:
      setPixelmonScale in class AbstractBaseEntity
      Parameters:
      scale - The model scale of the Pokémon.
    • getPixelmonScale

      public float getPixelmonScale()
      Gets the model scale of the Pokémon.
      Overrides:
      getPixelmonScale in class AbstractBaseEntity
      Returns:
      The model scale of the Pokémon.
    • setLabel

      public void setLabel(String label)
      Sets the statue's display label.
      Parameters:
      label - The display label to set for the statue.
    • getLabel

      public String getLabel()
      Gets the statue's display label.
      Returns:
      The statue's display label.
    • setTextureType

      public void setTextureType(EnumStatueTextureType type)
      Sets the statue's texture.
      Parameters:
      type - The texture to set the statue to.
    • getTextureType

      public EnumStatueTextureType getTextureType()
      Gets the statue's texture.
      Returns:
      The statue's texture.
    • setAnimation

      public void setAnimation(AnimationType animationType)
      Sets the animation type of the statue.
      Overrides:
      setAnimation in class AbstractClientEntity
      Parameters:
      animationType - The new animation type of the status.
    • getAnimation

      public AnimationType getAnimation()
      Gets the animation type of the statue.
      Returns:
      The animation type of the statue.
    • setAnimationFrame

      public void setAnimationFrame(int animationFrame)
      Sets the animation frame of the statue.
      Parameters:
      animationFrame - The new animation frame of the statue.
    • getAnimationFrame

      public int getAnimationFrame()
      Gets the animation frame of the statue.
      Returns:
      The animation frame of the statue.
    • getBaseStats

      public Stats getBaseStats()
    • getColor

      public Color getColor()
      Overrides:
      getColor in class AbstractBaseEntity
    • getRenderColor

      public float[] getRenderColor()
      Overrides:
      getRenderColor in class AbstractClientEntity
    • tick

      public void tick()
      Overrides:
      tick in class AbstractClientEntity
    • baseTick

      public void baseTick()
      Overrides:
      baseTick in class AbstractClientEntity
    • mobInteract

      public net.minecraft.world.InteractionResult mobInteract(net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand)
      Overrides:
      mobInteract in class net.minecraft.world.entity.animal.horse.AbstractHorse
    • addAdditionalSaveData

      public void addAdditionalSaveData(net.minecraft.nbt.CompoundTag nbt)
      Overrides:
      addAdditionalSaveData in class AbstractClientEntity
    • readAdditionalSaveData

      public void readAdditionalSaveData(net.minecraft.nbt.CompoundTag nbt)
      Overrides:
      readAdditionalSaveData in class AbstractClientEntity
    • getDisplayName

      public net.minecraft.network.chat.Component getDisplayName()
      Specified by:
      getDisplayName in interface net.minecraft.world.Nameable
      Overrides:
      getDisplayName in class net.minecraft.world.entity.Entity
    • removeWhenFarAway

      public boolean removeWhenFarAway(double p_213397_1_)
      Overrides:
      removeWhenFarAway in class AbstractBaseEntity
    • causeFallDamage

      public boolean causeFallDamage(float distance, float damageMultiplier, net.minecraft.world.damagesource.DamageSource source)
      Overrides:
      causeFallDamage in class AbstractBaseEntity
    • canBreatheUnderwater

      public boolean canBreatheUnderwater()
      Overrides:
      canBreatheUnderwater in class net.minecraft.world.entity.LivingEntity
    • canBeCollidedWith

      public boolean canBeCollidedWith()
      Overrides:
      canBeCollidedWith in class net.minecraft.world.entity.Entity
    • isPushable

      public boolean isPushable()
      Overrides:
      isPushable in class AbstractBaseEntity
    • hurt

      public boolean hurt(net.minecraft.world.damagesource.DamageSource source, float amount)
      Overrides:
      hurt in class AbstractBaseEntity
    • getPickedResult

      public net.minecraft.world.item.ItemStack getPickedResult(net.minecraft.world.phys.HitResult target)
    • setPos

      public void setPos(double x, double y, double z)
      Sets the x,y,z of the entity from the given parameters. Also seems to set up a bounding box.
      Overrides:
      setPos in class AbstractClientEntity
    • getEyeHeight

      public float getEyeHeight(net.minecraft.world.entity.Pose p_213307_1_)
      Overrides:
      getEyeHeight in class AbstractClientEntity
    • updateSize

      public void updateSize()
      Overrides:
      updateSize in class AbstractClientEntity
    • getScaleFactor

      public float getScaleFactor()
      Gets the scale multiplier for the Pokémon's model.
      Overrides:
      getScaleFactor in class AbstractClientEntity
      Returns:
      The scale multiplier for the Pokémon's model.
    • getCurrentAnimation

      public AnimationType getCurrentAnimation()
      Specified by:
      getCurrentAnimation in interface RenderableEntity
      Overrides:
      getCurrentAnimation in class AbstractClientEntity
    • initAnimation

      public void initAnimation()
      Ticks the Pokémon's animation one frame to get it out of a T-pose.
      Overrides:
      initAnimation in class AbstractClientEntity
    • getFrameCount

      public int getFrameCount()
      Gets the number of frames for the statue's animation.
      Returns:
      The number of frames for the statue's animation.
    • nextAnimation

      public AnimationType nextAnimation()
      Gets the next animation type for the statue in order.
      Returns:
      The next animation type for the statue in order.
    • getAllAnimations

      public List<AnimationType> getAllAnimations()
      Gets a list of all animations that the Pokémon has.
      Returns:
      A list of all animations that the Pokémon has.
    • getAnimationVariables

      public AnimationVariables getAnimationVariables()
      Gets the variables used to animate the model.
      Overrides:
      getAnimationVariables in class AbstractClientEntity
      Returns:
      The variables used to animate the model.
    • getModel

      public ModelData[] getModel()
      Gets the Pokémon's active model. Initializes it if not initialized.
      Overrides:
      getModel in class AbstractClientEntity
      Returns:
      The Pokémon's active model.
    • setIsFlying

      public void setIsFlying(boolean isFlying)
      Sets whether the statue is in a standing position.
      Parameters:
      isFlying - Whether the statue is in a standing position.
    • getIsFlying

      public boolean getIsFlying()
      Checks if the statue is in a standing position.
      Returns:
      Whether the statue is in a standing position.