public class OccupiedPokeBallEntity extends PokeBallEntity
canCatch, clientRotation, dataSyncManager, dropItem, endRotationYaw, inc, initialScale, lastAnim, openAngle, pixelmon, SCALE, slot, SYNC_ANIMATION, SYNC_CRITICAL, SYNC_ID, SYNC_INITIAL_PITCH, SYNC_INITIAL_YAW, SYNC_IS_ON_GROUND, SYNC_IS_WAITING, SYNC_MODE, SYNC_OWNER, SYNC_PAIRED_ENTITY, SYNC_POKE_UUID, SYNC_POKEBALL_TYPE, SYNC_SLOT, thrower, ticksPerShake, waitTimerblocksBuilding, 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, 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 |
|---|
OccupiedPokeBallEntity(net.minecraft.entity.EntityType<OccupiedPokeBallEntity> type,
net.minecraft.world.World world) |
OccupiedPokeBallEntity(net.minecraft.world.World world)
Required constructor for client side creation.
|
OccupiedPokeBallEntity(net.minecraft.world.World world,
net.minecraft.entity.LivingEntity entityliving,
int slot,
PokeBall type)
Initializes a Poké Ball entity.
|
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.util.text.ITextComponent |
getName() |
java.util.Optional<Species> |
getPokemon() |
java.lang.String |
getPokeNameUnlocalized() |
protected void |
onHit(net.minecraft.util.math.RayTraceResult traceResult) |
void |
spawnRedBeam() |
void |
tick() |
baseTick, define, defineSynchedData, doCaptureCalc, getAddEntityPacket, getAnimation, getBallType, getComponentItems, getCritical, getInitialPitch, getInitialYaw, getIsOnGround, getIsWaiting, getMode, getModel, getOwnerId, getPairedEntity, getPokeballID, getPokeUUID, getShakeCount, getWaitTimer, moveCloser, onCaptureAttemptEffect, onSyncedDataUpdated, premierFlash, releaseEffect, setAnimation, setCritical, setInitialPitch, setInitialYaw, setIsOnGround, setIsWaiting, setModel, setOwnerId, setPairedEntity, setPokeballID, setPokeUUID, successfulCaptureEffectgetGravity, shouldRenderAtSqrDistanceaddAdditionalSaveData, canHitEntity, getOwner, lerpMotion, lerpRotation, onHitBlock, onHitEntity, readAdditionalSaveData, setOwner, shoot, shootFromRotation, updateRotationabsMoveTo, absMoveTo, acceptsFailure, acceptsSuccess, addPassenger, addTag, animateHurt, awardKillScore, blockPosition, broadcastToPlayer, calculateUpVector, calculateViewVector, canAddPassenger, canBeCollidedWith, canChangeDimensions, canCollideWith, canEnterPose, canRide, canSpawnSprintParticle, canTrample, canUpdate, canUpdate, captureDrops, captureDrops, causeFallDamage, changeDimension, changeDimension, checkAndResetForcedChunkAdditionFlag, checkAndResetUpdateChunkPos, checkDespawn, checkFallDamage, checkInsideBlocks, clearFire, closerThan, collideBoundingBox, collideBoundingBoxHeuristically, collideBoundingBoxLegacy, copyPosition, createCommandSourceStack, createHoverEvent, displayFireAnimation, distanceTo, distanceToSqr, distanceToSqr, distanceToSqr, doEnchantDamageEffects, doWaterSplashEffect, ejectPassengers, equals, fillCrashReportCategory, findDimensionEntryPoint, fireImmune, getAirSupply, getAllSlots, getArmorSlots, getBbHeight, getBbWidth, getBlockExplosionResistance, getBlockJumpFactor, getBlockPosBelowThatAffectsMyMovement, getBlockSpeedFactor, getBlockStateOn, getBoundingBox, getBoundingBoxForCulling, getBoundingBoxForPose, getBrightness, getCollisionHorizontalEscapeVector, getCommandSenderWorld, getControllingPassenger, getCustomName, getDeltaMovement, getDimensionChangingDelay, getDimensions, getDirection, getDismountLocationForPassenger, getDisplayName, getEncodeId, getEntityData, getExitPortal, getEyeHeight, getEyeHeight, getEyeHeight, getEyeHeightAccess, getEyePosition, getEyeY, getFireImmuneTicks, getFluidHeight, getFluidJumpThreshold, getForward, getHandSlots, getHorizontalDistanceSqr, getId, getIndirectPassengers, getLeashOffset, getLightProbePosition, getLookAngle, getMaxAirSupply, getMaxFallDistance, getMotionDirection, getMyRidingOffset, getOnPos, getPacketCoordinates, getPassengers, getPassengersRidingOffset, getPermissionLevel, getPersistentData, getPickRadius, getPistonPushReaction, getPortalWaitTime, getPose, getPosition, getRandomX, getRandomY, getRandomZ, getRelativePortalPosition, getRemainingFireTicks, getRootVehicle, getRopeHoldPosition, getRotationVector, getScoreboardName, getSelfAndPassengers, getServer, getSharedFlag, getSoundSource, getStringUUID, getSwimHighSpeedSplashSound, getSwimSound, getSwimSplashSound, getTags, getTeam, getTeamColor, getType, getTypeName, getUpVector, getUUID, getVehicle, getViewScale, getViewVector, getViewXRot, getViewYRot, getX, getX, getY, getY, getYHeadRot, getZ, getZ, handleEntityEvent, handleInsidePortal, handleNetherPortal, hasCustomName, hashCode, hasIndirectPassenger, hasOnePlayerPassenger, hasPassenger, hasPassenger, hasPermissions, hurt, ignoreExplosion, interact, interactAt, is, isAddedToWorld, isAlive, isAlliedTo, isAlliedTo, isAttackable, isColliding, isControlledByLocalInstance, isCrouching, isCustomNameVisible, isDescending, isDiscrete, isEyeInFluid, isFree, isGlowing, isIgnoringBlockTriggers, isInLava, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isInWall, isInWater, isInWaterOrBubble, isInWaterOrRain, isInWaterRainOrBubble, isMovementNoisy, isNoGravity, isOnFire, isOnGround, isOnPortalCooldown, isPassenger, isPassengerOfSameVehicle, isPickable, isPushable, isPushedByFluid, isShiftKeyDown, isSilent, isSpectator, isSprinting, isSteppingCarefully, isSuppressingBounce, isSwimming, isUnderWater, isVehicle, isVisuallyCrawling, isVisuallySwimming, kill, killed, lavaHurt, lerpHeadTo, lerpTo, limitPistonMovement, load, lookAt, makeFlySound, makeStuckInBlock, markHurt, maybeBackOffFromEdge, mirror, move, moveRelative, moveTo, moveTo, moveTo, moveTo, moveTowardsClosestSpace, newDoubleList, newFloatList, nextStep, onAboveBubbleCol, onAddedToWorld, onInsideBlock, onInsideBubbleColumn, onlyOpCanSetNbt, onPassengerTurned, onRemovedFromWorld, outOfWorld, pick, playerTouch, playFlySound, playSound, playStepSound, playSwimSound, position, positionRider, processPortalCooldown, push, push, reapplyPosition, refreshDimensions, remove, remove, removeAfterChangingDimensions, removePassenger, removeTag, removeVehicle, repositionEntityAfterLoad, resetPos, restoreFrom, revive, rideableUnderWater, rideTick, rotate, save, saveAsPassenger, saveWithoutId, sendMessage, setAirSupply, setBoundingBox, setCustomName, setCustomNameVisible, setDeltaMovement, setDeltaMovement, setGlowing, setId, setInvisible, setInvulnerable, setItemSlot, setLevel, setLocationFromBoundingbox, setNoGravity, setOnGround, setPacketCoordinates, setPacketCoordinates, setPortalCooldown, setPos, setPosAndOldPos, setPose, setPosRaw, setRemainingFireTicks, setRot, setSecondsOnFire, setSharedFlag, setShiftKeyDown, setSilent, setSlot, setSprinting, setSwimming, setUUID, setViewScale, setYBodyRot, setYHeadRot, shouldBlockExplode, shouldInformAdmins, shouldRender, shouldShowName, showVehicleHealth, skipAttackInteraction, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnSprintParticle, startRiding, startRiding, startSeenByPlayer, stopRiding, stopSeenByPlayer, teleportTo, teleportToWithTicket, thunderHit, toString, turn, unRide, updateFluidHeightAndDoFluidPushing, updateInWaterStateAndDoFluidPushing, updateSwimmingareCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCapsclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic OccupiedPokeBallEntity(net.minecraft.entity.EntityType<OccupiedPokeBallEntity> type, net.minecraft.world.World world)
public OccupiedPokeBallEntity(net.minecraft.world.World world)
world - The world the Poké Ball is in.public OccupiedPokeBallEntity(net.minecraft.world.World world,
net.minecraft.entity.LivingEntity entityliving,
int slot,
PokeBall type)
world - The world to spawn the Poké Ball in.entityliving - The player who threw the Poké Ball.slot - The slot of the Pokémon inside the Poké Ball.type - The type of Poké Ball.public void spawnRedBeam()
spawnRedBeam in class PokeBallEntitypublic java.lang.String getPokeNameUnlocalized()
public java.util.Optional<Species> getPokemon()
public void tick()
tick in class PokeBallEntitypublic net.minecraft.util.text.ITextComponent getName()
getName in interface net.minecraft.util.INameablegetName in class PokeBallEntityprotected void onHit(net.minecraft.util.math.RayTraceResult traceResult)
onHit in class PokeBallEntity