public abstract class AbstractHoldsItemsEntity extends AbstractMovesEntity
lastFlyingState, lastSpeed, lastStrafe, lastStrafeUp, MAX_MOVE_MULTIPLIER, MIN_MOVE_MULTIPLIER, prevRotationRoll, rotationRoll, SYNC_FLYING, SYNC_HOVERING, takeOffTicks
battleController, groupId, relearnableEvolutionMoves, SYNC_GROUP_ID
aggressionTimer, aiHelper, initAir, interaction, isFlying, jumpTicks, mountBoost, numInteractions, ridingInitialised, ridingPlayerVertical, skillId, SYNC_INTERACTIONS, targetSide, targetX, targetY, targetZ
animated, evoAnimTicks, evolvingVal, evoStage, fadeCount, heightDiff, lengthDiff, modelSlot, overrideTexture, parameterId, parameterId2, parameterId3, 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, 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 |
---|
AbstractHoldsItemsEntity(net.minecraft.entity.EntityType<? extends AbstractHoldsItemsEntity> type,
net.minecraft.world.World par1World)
Initializes the Pokémon's interactions.
|
Modifier and Type | Method and Description |
---|---|
void |
die(net.minecraft.util.DamageSource cause) |
void |
dropBossItems(net.minecraft.entity.player.ServerPlayerEntity player)
Insert boss Pokémon loot into a player's inventory.
|
void |
dropNormalItems(net.minecraft.entity.player.ServerPlayerEntity player)
Drops items from non-boss Pokémon into a player's inventory.
|
baseTick, calcMoveSpeed, canBeControlledByRider, causeFallDamage, defineSynchedData, deserializeNBT, doJump, getCanFly, getFallRate, getFlyHeight, getFlyingDirection, getHoverRotationPitch, getJumpPower, getMovement, getMoveMultiplier, getStaysHorizontalInRender, getStrafeUpDown, getSwimDepth, getTargetPosition, getThermalPower, handleMovement, isFlying, isHovering, onLanding, positionRider, removePassenger, serializeNBT, setCanFly, setFlyHeight, setFlying, setHoverRotationPitch, setMovementTarget, setMoveMultiplier, setStrafeUpDown, setSwimDepth, setThermalPower, shouldRender, shouldRenderAtSqrDistance, takeOff, toggleHover
getAttacksAtLevel, getGroupId, getParticipant, getPartyPosition, getPixelmonWrapper, getTrainer, hurt, inGroup, isValidTarget, learnsAttackAtLevel, onEndBattle, removeWhenFarAway, setGroupId, setHealth, setPixelmonWrapper, startBattle, startBattle, startBattle
addAdditionalSaveData, addBehaviourGoals, canFly, canSurf, createNavigation, getAggressionTimer, getAIHelper, getControllingPassenger, getJumpTicks, getNumInteractions, getPassengersRidingOffset, getRidingPlayerVertical, getUsingRidingSpecialConditions, mobInteract, onSendout, readAdditionalSaveData, registerGoals, removeAfterChangingDimensions, resetAI, setAggressionTimer, setAttackTarget, setBlockTarget, setJumpTicks, setNumInteractions, setRidingPlayerVertical, setTarget, tick, unloadEntity, updateEntityActionStateAlt
canBreatheUnderwater, evolve, getDefaultSpawnLocation, getFlyingParameters, getForm, getFormIncludeTransformed, getLvl, getNumForms, getPokerus, getSwimmingParameters, setBossTier, setForm, setForm, updateHealth, updateStats
addDynamaxScale, cancelTransform, checkAnimation, getAmbientSound, getAnimationVariables, getCurrentAnimation, getDynamaxScale, getEvoStage, getEyeHeight, getFlyingDelayCounter, getModel, getModelSlot, getPokemon, getRealTexture, getRenderColor, getScaleFactor, getSoundVolume, getSprite, getTexture, getTextureNoCheck, getTransformed, initAnimation, initBaseEntity, isAnimated, isEvolving, isSpriteModel, isWireFrame, jumpInLiquid, resetDataWatchers, setAnimated, setAnimation, setDynamaxScale, setEvolutionAnimationStage, setEvoStage, setModelSlot, setOverrideTexture, setPos, setRenderColor, setSpriteModel, setWireFrame, transform, transformServer, updateSize, updateTransformed
belongsTo, canBeLeashed, canRide, changeDimension, define, fireImmune, getAge, getAggression, getAngrySound, getBossTier, getBreedOffspring, getColor, getDeathSound, getDimensions, getEatingSound, getEscapedNickname, getGenderProperties, getHurtSound, getLocalizedName, getMainHandItem, getName, getNickname, getOwner, getOwnerUUID, getPalette, getPixelmonScale, getPlayerParty, getPlayerStorage, getPokemonName, getSpawnLocation, getSpecies, getStorage, hasCustomName, hasOwner, hasPalette, isBossPokemon, isDisableNametag, isDisableShadow, isDisableTexture, isFullbright, isInWall, isLeashed, isLegendary, isOverlay, isOwnedBy, isPalette, isPokemon, isPokemon, isPokemon, isPushable, isSaddleable, isSaddled, isTamed, onSyncedDataUpdated, openInventory, playGallopSound, playJumpSound, playStepSound, resetAlterations, setAggression, setColor, setDimensions, setDisableNametag, setDisableShadow, setDisableTexture, setFullbright, setOverlay, setOwnerUUID, setPixelmonScale, setPokemon, setSpawnLocation, setUUID, thunderHit, update
aiStep, calculateFallDamage, canEatGrass, canJump, canMate, canParent, canWearArmor, containerChanged, createBaseHorseAttributes, createInventory, doPlayerRide, dropEquipment, equipSaddle, fedFood, finalizeSpawn, followMommy, generateRandomJumpStrength, generateRandomMaxHealth, generateRandomSpeed, getAmbientSoundInterval, getCapability, 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, randomizeAttributes, setBred, setEating, setFlag, setIsJumping, setOffspringAttributes, setSlot, setStanding, setTamed, setTemper, spawnTamingParticles, tameWithName, travel, updateContainerEquipment
canFallInLove, checkAnimalSpawnRules, customServerAiStep, getExperienceReward, getInLoveTime, getLoveCause, getMyRidingOffset, getWalkTargetValue, isInLove, 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, 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, requiresCustomPersistence, restrictTo, sendDebugPackets, serverAiStep, setAggressive, setCanPickUpLoot, setDelayedLeashHolderId, setDropChance, setGuaranteedDrop, setItemSlot, setItemSlotAndDropWhenKilled, setLeashedTo, setLeftHanded, setNoAi, setPathfindingMalus, setPersistenceRequired, setSpeed, setXxa, setYya, setZza, shouldDespawnInPeaceful, shouldPassengersInheritMalus, spawnAnim, startRiding, tickHeadTurn, updateControlFlags, wantsToPickUp
actuallyHurt, addEffect, animateHurt, areAllEffectsAmbient, attackable, blockedByShield, blockUsingShield, brainProvider, broadcastBreakEvent, broadcastBreakEvent, calculateEntityAnimation, canAttack, canBeAffected, canSee, canSpawnSoulSpeedParticle, canStandOnFluid, checkAutoSpinAttack, checkFallDamage, clearSleepingPos, completeUsingItem, createLivingAttributes, createWitherRose, curePotionEffects, decreaseAirSupply, 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, 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, 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, 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, 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, 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 AbstractHoldsItemsEntity(net.minecraft.entity.EntityType<? extends AbstractHoldsItemsEntity> type, net.minecraft.world.World par1World)
par1World
- The world the Pokémon is in.public void die(net.minecraft.util.DamageSource cause)
die
in class net.minecraft.entity.LivingEntity
public void dropNormalItems(net.minecraft.entity.player.ServerPlayerEntity player)
player
- The player to give the drops to.public void dropBossItems(net.minecraft.entity.player.ServerPlayerEntity player)
player
- The player to give the drops to.