public abstract class AbstractBaseEntity
extends net.minecraft.entity.passive.horse.AbstractHorseEntity
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 |
---|
AbstractBaseEntity(net.minecraft.entity.EntityType<? extends AbstractBaseEntity> type,
net.minecraft.world.World par1World)
Initializes the Pokémon entity and its data watcher.
|
Modifier and Type | Method and Description |
---|---|
void |
addAdditionalSaveData(net.minecraft.nbt.CompoundNBT nbt) |
boolean |
belongsTo(net.minecraft.entity.player.PlayerEntity player)
Checks if the Pokémon is owned by a player.
|
boolean |
canBeLeashed(net.minecraft.entity.player.PlayerEntity player) |
protected boolean |
canRide(net.minecraft.entity.Entity entity) |
boolean |
causeFallDamage(float distance,
float damageMultiplier) |
net.minecraft.entity.Entity |
changeDimension(net.minecraft.world.server.ServerWorld p_241206_1_) |
protected <A> void |
define(DataSync<?,A> sync,
A value) |
protected void |
defineSynchedData() |
boolean |
fireImmune() |
int |
getAge() |
Aggression |
getAggression() |
protected net.minecraft.util.SoundEvent |
getAngrySound() |
BossTier |
getBossTier()
Gets the Pokémon's boss tier.
|
net.minecraft.entity.AgeableEntity |
getBreedOffspring(net.minecraft.world.server.ServerWorld world,
net.minecraft.entity.AgeableEntity mate) |
java.awt.Color |
getColor() |
protected net.minecraft.util.SoundEvent |
getDeathSound() |
net.minecraft.entity.EntitySize |
getDimensions(net.minecraft.entity.Pose p_213305_1_) |
protected net.minecraft.util.SoundEvent |
getEatingSound() |
java.lang.String |
getEscapedNickname()
Gets the Pokémon's nickname, with special regex characters escaped.
|
Stats |
getForm() |
GenderProperties |
getGenderProperties() |
protected net.minecraft.util.SoundEvent |
getHurtSound(net.minecraft.util.DamageSource p_184601_1_) |
java.lang.String |
getLocalizedName()
Gets the Pokémon's localized pokemon name.
|
net.minecraft.item.ItemStack |
getMainHandItem() |
net.minecraft.util.text.ITextComponent |
getName() |
java.lang.String |
getNickname()
Gets the Pokémon's nickname.
|
net.minecraft.entity.LivingEntity |
getOwner() |
java.util.UUID |
getOwnerUUID() |
PaletteProperties |
getPalette()
Gets the palette
|
float |
getPixelmonScale()
Gets the model scale of the Pokémon.
|
PlayerPartyStorage |
getPlayerParty() |
java.util.Optional<PlayerPartyStorage> |
getPlayerStorage() |
Pokemon |
getPokemon() |
java.lang.String |
getPokemonName()
Gets the Pokémon's unlocalized pokemon name.
|
SpawnLocationType |
getSpawnLocation()
Gets the Pokémon's spawn location.
|
Species |
getSpecies()
Gets the pokemon of the Pokémon.
|
PokemonStorage |
getStorage()
Gets the storage that contains the Pokémon.
|
boolean |
hasCustomName() |
boolean |
hasOwner()
Checks if the Pokémon has an owner.
|
boolean |
hasPalette()
Checks if the pokemon has a custom form
|
boolean |
hurt(net.minecraft.util.DamageSource source,
float amount) |
void |
initBaseEntity() |
boolean |
isBossPokemon()
Checks if the Pokémon is a boss Pokémon.
|
boolean |
isDisableNametag() |
boolean |
isDisableShadow() |
boolean |
isDisableTexture() |
boolean |
isFullbright() |
boolean |
isInWall() |
boolean |
isLeashed() |
boolean |
isLegendary() |
boolean |
isOverlay() |
boolean |
isOwnedBy(net.minecraft.entity.LivingEntity entity) |
boolean |
isPalette(java.lang.String paletteName)
Checks if the palette is equal to the name provided
|
boolean |
isPokemon(java.util.Optional<Species>... species)
Checks if the Pokémon is one of a list of Pokémon pokemon.
|
boolean |
isPokemon(RegistryValue<Species>... species)
Checks if the Pokémon is one of a list of Pokémon pokemon.
|
boolean |
isPokemon(Species... species)
Checks if the Pokémon is one of a list of Pokémon pokemon.
|
boolean |
isPushable() |
boolean |
isSaddleable() |
boolean |
isSaddled() |
boolean |
isTamed() |
void |
onSyncedDataUpdated(net.minecraft.network.datasync.DataParameter<?> key) |
void |
openInventory(net.minecraft.entity.player.PlayerEntity p_110199_1_) |
protected void |
playGallopSound(net.minecraft.block.SoundType p_190680_1_) |
protected void |
playJumpSound() |
protected void |
playStepSound(net.minecraft.util.math.BlockPos p_180429_1_,
net.minecraft.block.BlockState p_180429_2_) |
void |
readAdditionalSaveData(net.minecraft.nbt.CompoundNBT nbt) |
boolean |
removeWhenFarAway(double p_213397_1_) |
void |
resetAlterations(float scale) |
void |
resetDataWatchers() |
void |
setAggression(Aggression aggression) |
void |
setBossTier(BossTier tier)
Sets the Pokémon's boss tier.
|
void |
setColor(java.awt.Color color) |
void |
setDimensions(net.minecraft.entity.EntitySize dimensions) |
void |
setDisableNametag(boolean disableNametag) |
void |
setDisableShadow(boolean disableShadow) |
void |
setDisableTexture(boolean disableTexture) |
void |
setFullbright(boolean fullbright) |
void |
setOverlay(boolean overlay) |
void |
setOwnerUUID(java.util.UUID uuid) |
void |
setPixelmonScale(float scale)
Sets the model scale of the Pokémon.
|
void |
setPokemon(Pokemon pokemon) |
void |
setSpawnLocation(SpawnLocationType spawnLocation)
Sets the Pokémon's spawn location.
|
void |
setUUID(java.util.UUID uuid) |
void |
thunderHit(net.minecraft.world.server.ServerWorld world,
net.minecraft.entity.effect.LightningBoltEntity bolt) |
void |
update(EnumUpdateType... types)
Updates the Pokémon's attributes client-side.
|
addBehaviourGoals, aiStep, calculateFallDamage, canBeControlledByRider, canEatGrass, canJump, canMate, canParent, canWearArmor, containerChanged, createBaseHorseAttributes, createInventory, doPlayerRide, dropEquipment, equipSaddle, fedFood, finalizeSpawn, followMommy, generateRandomJumpStrength, generateRandomMaxHealth, generateRandomSpeed, getAmbientSound, getAmbientSoundInterval, getCapability, getControllingPassenger, getCustomJump, getDismountLocationForPassenger, getEatAnim, getFlag, getInventorySize, getMaxSpawnClusterSize, getMaxTemper, getMouthAnim, getSoundVolume, 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, tick, 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, baseTick, 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, jumpInLiquid, 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, 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, setPos, 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 DataSync<? extends AbstractBaseEntity,BossTier> SYNC_BOSS_MODE
public static final DataSync<? extends AbstractBaseEntity,java.lang.Integer> SYNC_MAX_HP
public static final DataSync<? extends AbstractBaseEntity,SpawnLocationType> SYNC_SPAWN_LOCATION
public static final DataSync<? extends AbstractBaseEntity,java.lang.Float> SYNC_SCALE
public static final DataSync<? extends AbstractBaseEntity,java.util.Optional<java.util.UUID>> SYNC_OWNER_UUID
public static final DataSync<? extends AbstractBaseEntity,java.lang.Boolean> SYNC_NAMETAG_DISABLE
public static final DataSync<? extends AbstractBaseEntity,java.lang.Boolean> SYNC_SHADOW_DISABLE
public static final DataSync<? extends AbstractBaseEntity,java.lang.Boolean> SYNC_OVERLAY
public static final DataSync<? extends AbstractBaseEntity,java.util.Optional<java.awt.Color>> SYNC_COLOR
public static final DataSync<? extends AbstractBaseEntity,java.lang.Boolean> SYNC_TEXTURE_DISABLE
public static final DataSync<? extends AbstractBaseEntity,java.lang.Boolean> SYNC_FULLBRIGHT
protected Pokemon pokemon
public PokeBallEntity hitByPokeball
public boolean canDespawn
public Aggression aggression
protected SpawnLocationType spawnLocation
protected BossTier bossTier
protected float scale
protected EntityDataSyncManager dataSyncManager
public AbstractBaseEntity(net.minecraft.entity.EntityType<? extends AbstractBaseEntity> type, net.minecraft.world.World par1World)
par1World
- The world the Pokémon is in.protected void defineSynchedData()
defineSynchedData
in class net.minecraft.entity.passive.horse.AbstractHorseEntity
protected <A> void define(DataSync<?,A> sync, A value)
public boolean isTamed()
isTamed
in class net.minecraft.entity.passive.horse.AbstractHorseEntity
public boolean isLeashed()
isLeashed
in class net.minecraft.entity.MobEntity
protected boolean canRide(net.minecraft.entity.Entity entity)
canRide
in class net.minecraft.entity.Entity
public boolean isSaddleable()
isSaddleable
in interface net.minecraft.entity.IEquipable
isSaddleable
in class net.minecraft.entity.passive.horse.AbstractHorseEntity
public boolean isSaddled()
isSaddled
in interface net.minecraft.entity.IEquipable
isSaddled
in class net.minecraft.entity.passive.horse.AbstractHorseEntity
public void openInventory(net.minecraft.entity.player.PlayerEntity p_110199_1_)
openInventory
in class net.minecraft.entity.passive.horse.AbstractHorseEntity
@Nullable protected net.minecraft.util.SoundEvent getEatingSound()
getEatingSound
in class net.minecraft.entity.passive.horse.AbstractHorseEntity
@Nullable protected net.minecraft.util.SoundEvent getDeathSound()
getDeathSound
in class net.minecraft.entity.passive.horse.AbstractHorseEntity
@Nullable protected net.minecraft.util.SoundEvent getHurtSound(net.minecraft.util.DamageSource p_184601_1_)
getHurtSound
in class net.minecraft.entity.passive.horse.AbstractHorseEntity
protected void playJumpSound()
playJumpSound
in class net.minecraft.entity.passive.horse.AbstractHorseEntity
@Nullable protected net.minecraft.util.SoundEvent getAngrySound()
getAngrySound
in class net.minecraft.entity.passive.horse.AbstractHorseEntity
protected void playStepSound(net.minecraft.util.math.BlockPos p_180429_1_, net.minecraft.block.BlockState p_180429_2_)
playStepSound
in class net.minecraft.entity.passive.horse.AbstractHorseEntity
protected void playGallopSound(net.minecraft.block.SoundType p_190680_1_)
playGallopSound
in class net.minecraft.entity.passive.horse.AbstractHorseEntity
public void resetDataWatchers()
public void setPokemon(Pokemon pokemon)
public void setUUID(java.util.UUID uuid)
setUUID
in class net.minecraft.entity.Entity
public void initBaseEntity()
public boolean fireImmune()
fireImmune
in class net.minecraft.entity.Entity
public void setDimensions(net.minecraft.entity.EntitySize dimensions)
public net.minecraft.entity.EntitySize getDimensions(net.minecraft.entity.Pose p_213305_1_)
getDimensions
in class net.minecraft.entity.LivingEntity
public boolean hasPalette()
public PaletteProperties getPalette()
public GenderProperties getGenderProperties()
public boolean isPalette(java.lang.String paletteName)
paletteName
- The name of the palettepublic Pokemon getPokemon()
public Stats getForm()
public Species getSpecies()
public boolean isPokemon(Species... species)
species
- The list of Pokémon that this Pokémon can be.@SafeVarargs public final boolean isPokemon(java.util.Optional<Species>... species)
species
- The list of Pokémon that this Pokémon can be.@SafeVarargs public final boolean isPokemon(RegistryValue<Species>... species)
species
- The list of Pokémon that this Pokémon can be.public BossTier getBossTier()
public void setBossTier(BossTier tier)
tier
- The Pokémon's boss tier.public boolean isBossPokemon()
public boolean isLegendary()
public Aggression getAggression()
public void setAggression(Aggression aggression)
public SpawnLocationType getSpawnLocation()
public void setSpawnLocation(SpawnLocationType spawnLocation)
spawnLocation
- The Pokémon's spawn location.public boolean hasOwner()
@Nullable public java.util.UUID getOwnerUUID()
getOwnerUUID
in class net.minecraft.entity.passive.horse.AbstractHorseEntity
public void setOwnerUUID(@Nullable java.util.UUID uuid)
setOwnerUUID
in class net.minecraft.entity.passive.horse.AbstractHorseEntity
@Nullable public net.minecraft.entity.LivingEntity getOwner()
public boolean isOwnedBy(net.minecraft.entity.LivingEntity entity)
public boolean belongsTo(net.minecraft.entity.player.PlayerEntity player)
player
- The player to check for owning the Pokémon.public void update(EnumUpdateType... types)
types
- The types of data to update.@Nullable public PokemonStorage getStorage()
@Nullable public PlayerPartyStorage getPlayerParty()
public java.util.Optional<PlayerPartyStorage> getPlayerStorage()
public net.minecraft.util.text.ITextComponent getName()
getName
in interface net.minecraft.util.INameable
getName
in class net.minecraft.entity.Entity
public boolean hasCustomName()
hasCustomName
in interface net.minecraft.util.INameable
hasCustomName
in class net.minecraft.entity.Entity
public java.lang.String getPokemonName()
public java.lang.String getLocalizedName()
public java.lang.String getNickname()
public float getPixelmonScale()
public void setPixelmonScale(float scale)
scale
- The model scale of the Pokémon.public void resetAlterations(float scale)
public java.lang.String getEscapedNickname()
public boolean isInWall()
isInWall
in class net.minecraft.entity.LivingEntity
public net.minecraft.item.ItemStack getMainHandItem()
getMainHandItem
in class net.minecraft.entity.LivingEntity
public boolean isPushable()
isPushable
in class net.minecraft.entity.passive.horse.AbstractHorseEntity
public int getAge()
getAge
in class net.minecraft.entity.AgeableEntity
public boolean removeWhenFarAway(double p_213397_1_)
removeWhenFarAway
in class net.minecraft.entity.passive.AnimalEntity
@Nullable public net.minecraft.entity.Entity changeDimension(net.minecraft.world.server.ServerWorld p_241206_1_)
changeDimension
in class net.minecraft.entity.Entity
@Nullable public net.minecraft.entity.AgeableEntity getBreedOffspring(net.minecraft.world.server.ServerWorld world, net.minecraft.entity.AgeableEntity mate)
getBreedOffspring
in class net.minecraft.entity.passive.horse.AbstractHorseEntity
public boolean canBeLeashed(net.minecraft.entity.player.PlayerEntity player)
canBeLeashed
in class net.minecraft.entity.MobEntity
public boolean hurt(net.minecraft.util.DamageSource source, float amount)
hurt
in class net.minecraft.entity.passive.AnimalEntity
public void thunderHit(net.minecraft.world.server.ServerWorld world, net.minecraft.entity.effect.LightningBoltEntity bolt)
thunderHit
in class net.minecraft.entity.Entity
public boolean causeFallDamage(float distance, float damageMultiplier)
causeFallDamage
in class net.minecraft.entity.passive.horse.AbstractHorseEntity
public void addAdditionalSaveData(net.minecraft.nbt.CompoundNBT nbt)
addAdditionalSaveData
in class net.minecraft.entity.passive.horse.AbstractHorseEntity
public void readAdditionalSaveData(net.minecraft.nbt.CompoundNBT nbt)
readAdditionalSaveData
in class net.minecraft.entity.passive.horse.AbstractHorseEntity
public void onSyncedDataUpdated(net.minecraft.network.datasync.DataParameter<?> key)
onSyncedDataUpdated
in class net.minecraft.entity.AgeableEntity
public boolean isDisableNametag()
public void setDisableNametag(boolean disableNametag)
public boolean isDisableShadow()
public void setDisableShadow(boolean disableShadow)
public boolean isOverlay()
public void setOverlay(boolean overlay)
public java.awt.Color getColor()
public void setColor(java.awt.Color color)
public boolean isDisableTexture()
public void setDisableTexture(boolean disableTexture)
public boolean isFullbright()
public void setFullbright(boolean fullbright)