Class FishingBobberEntity
- All Implemented Interfaces:
- Ownable,- CommandOutput,- Nameable,- EntityLike
- Mappings:
- Namespace - Name - official - bzc- intermediary - net/minecraft/class_1536- named - net/minecraft/entity/projectile/FishingBobberEntity
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionprivate static enumprivate static enumNested classes/interfaces inherited from class net.minecraft.entity.EntityEntity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final TrackedData<Boolean>private booleanprivate static final intprivate floatprivate intprivate static final TrackedData<Integer>private intprivate booleanprivate static final Loggerprivate final intprivate final intprivate intprivate intprivate FishingBobberEntity.Stateprivate final Randomprivate intFields inherited from class net.minecraft.entity.Entityage, collidedSoftly, dataTracker, DEFAULT_FRICTION, DEFAULT_MIN_FREEZE_DAMAGE_TICKS, DEFAULT_PORTAL_COOLDOWN, distanceTraveled, FALL_FLYING_FLAG_INDEX, fallDistance, field_29991, field_44870, field_44871, field_44872, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLOWING_FLAG_INDEX, groundCollision, horizontalCollision, horizontalSpeed, ID_KEY, ignoreCameraFrustum, inNetherPortal, inPowderSnow, intersectionChecked, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, MAX_COMMAND_TAGS, MAX_RIDING_COOLDOWN, MIN_RISING_BUBBLE_COLUMN_SPEED, movementMultiplier, netherPortalTime, noClip, ON_FIRE_FLAG_INDEX, PASSENGERS_KEY, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, speed, submergedInWater, supportingBlockPos, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, wasOnFireFields inherited from interface net.minecraft.server.command.CommandOutputDUMMY
- 
Constructor SummaryConstructorsModifierConstructorDescriptionFishingBobberEntity(EntityType<? extends FishingBobberEntity> type, World world) privateFishingBobberEntity(EntityType<? extends FishingBobberEntity> type, World world, int luckOfTheSeaLevel, int lureLevel) FishingBobberEntity(PlayerEntity thrower, World world, int luckOfTheSeaLevel, int lureLevel) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected booleanbooleanReturns whether the entity can use nether portals and end portals.private voidReturns a packet to notify the clients of the entity's spawning.protected Entity.MoveEffectReturns the possible effect(s) of an entity moving.private FishingBobberEntity.PositionTypegetPositionType(BlockPos pos) private FishingBobberEntity.PositionTypegetPositionType(BlockPos start, BlockPos end) voidhandleStatus(byte status) Called on the client when the entity receives an entity status from the server.protected voidInitializes data tracker.booleanprivate booleanprotected voidonBlockHit(BlockHitResult blockHitResult) protected voidonEntityHit(EntityHitResult entityHitResult) voidCalled on the client side when the entity is removed.voidonSpawnPacket(EntitySpawnS2CPacket packet) Called on the client when the entity receives a spawn packet.voidonTrackedDataSet(TrackedData<?> data) Called on the client when the tracked data is set.protected voidpullHookedEntity(Entity entity) voidReads custom data fromnbt.voidremove(Entity.RemovalReason reason) Removes the entity.private booleanremoveIfInvalid(PlayerEntity player) voidprivate voidsetPlayerFishHook(@Nullable FishingBobberEntity fishingBobber) booleanshouldRender(double distance) voidtick()Ticks this entity.private voidtickFishingLogic(BlockPos pos) private voidupdateHookedEntityId(@Nullable Entity entity) voidupdateTrackedPositionAndAngles(double x, double y, double z, float yaw, float pitch, int interpolationSteps, boolean interpolate) intvoidWrites custom data tonbt.Methods inherited from class net.minecraft.entity.projectile.ProjectileEntitycanModifyAt, getEffectCause, getOwner, isOwner, onCollision, setVelocity, setVelocity, setVelocityClient, updateRotation, updateRotationMethods inherited from class net.minecraft.entity.EntityaddAirTravelEffects, addCommandTag, addFlapEffects, addPassenger, addVelocity, addVelocity, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, animateDamage, applyDamageEffects, applyMirror, applyRotation, attemptTickInVoid, baseTick, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateBoundsForPose, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeHitByProjectile, canBeSpectated, canExplosionDestroyBlock, canFreeze, canHit, canMoveVoluntarily, canSprintAsVehicle, canStartRiding, changeLookDirection, checkBlockCollision, checkDespawn, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, couldAcceptPassenger, damage, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, equipStack, extinguish, extinguishWithSound, fall, getAir, getArmorItems, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBodyYaw, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCommandTags, getControllingPassenger, getControllingVehicle, getCustomName, getDamageSources, getDataTracker, getDefaultName, getDefaultPortalCooldown, getDimensions, getDisplayName, getEffectiveExplosionResistance, getEntityName, getEntityWorld, getEyeHeight, getEyeHeight, getEyePos, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHandItems, getHandPosOffset, getHeadYaw, getHeight, getHeightOffset, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getItemsEquipped, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLeashOffset, getLeashOffset, getLeashPos, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMinFreezeDamageTicks, getMountedHeightOffset, getMovementDirection, getName, getNameLabelHeight, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPickBlockStack, getPistonBehavior, getPitch, getPitch, getPortalCooldown, getPortalRect, getPos, getPose, getPosWithYOffset, getRandomBodyY, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getScoreboardTeam, getServer, getSoundCategory, getSplashSound, getStackReference, getStandingEyeHeight, getStepHeight, getSteppingBlockState, getSteppingPos, getStepSoundPos, getSwimHeight, getSwimSound, getSyncedPos, getTargetingMargin, getTeamColorValue, getTeleportTarget, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVelocity, getVelocityAffectingPos, getVelocityMultiplier, getVisibilityBoundingBox, getWidth, getWorld, getX, getY, getYaw, getYaw, getZ, handleAttack, handleFallDamage, hasCollidedSoftly, hasControllingPassenger, hasCustomName, hashCode, hasNoGravity, hasPassenger, hasPassenger, hasPassengerDeep, hasPassengers, hasPermissionLevel, hasPlayerRider, hasPortalCooldown, hasVehicle, interact, interactAt, isAlive, isAttackable, isCollidable, isConnectedThroughVehicle, isCrawling, isCustomNameVisible, isDescending, isFireImmune, isFlappingWings, isFrozen, isGlowing, isGlowingLocal, isImmuneToExplosion, isInLava, isInPose, isInRange, isInRange, isInsideWall, isInsideWaterOrBubbleColumn, isInSneakingPose, isInSwimmingPose, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isOnRail, isPartOf, isPlayer, isPushable, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSupportedBy, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, kill, limitFallDistance, lookAt, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onDamaged, onDataTrackerUpdate, onKilledOther, onLanding, onPassengerLookAround, onPlayerCollision, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, playCombinationStepSounds, playExtinguishSound, playSecondaryStepSound, playSound, playSoundIfNotSilent, playStepSound, playSwimSound, playSwimSound, populateCrashReport, positionInPortal, pushAwayFrom, pushOutOfBlocks, raycast, readNbt, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, reinitDimensions, removeAllPassengers, removeFromDimension, removePassenger, removeScoreboardTag, requestTeleport, requestTeleportAndDismount, requestTeleportOffset, resetPortalCooldown, resetPosition, saveNbt, saveSelfNbt, scheduleVelocityUpdate, sendMessage, setAir, setBodyYaw, setBoundingBox, setChangeListener, setCustomName, setCustomNameVisible, setFireTicks, setFlag, setFrozenTicks, setGlowing, setHeadYaw, setId, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setOnGround, setOnGround, setPitch, setPortalCooldown, setPos, setPose, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSprinting, setStepHeight, setSwimming, setUuid, setVelocity, setVelocity, setWorld, setYaw, shouldBroadcastConsoleToOps, shouldDismountUnderwater, shouldEscapePowderSnow, shouldReceiveFeedback, shouldRender, shouldRenderName, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, startRiding, stopRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, teleport, tickInVoid, tickPortal, tickPortalCooldown, tickRiding, toNbtList, toNbtList, toString, tryCheckBlockCollision, unsetRemoved, updateEventHandler, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSupportingBlockPos, updateSwimming, updateTrackedHeadRotation, updateTrackedPosition, updateVelocity, updateWaterState, wouldPoseNotCollide, writeNbtMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.server.command.CommandOutputcannotBeSilenced
- 
Field Details- 
LOGGER- Mappings:
- Namespace - Name - Mixin selector - official - b- Lbzc;b:Lorg/slf4j/Logger;- intermediary - field_36336- Lnet/minecraft/class_1536;field_36336:Lorg/slf4j/Logger;- named - LOGGER- Lnet/minecraft/entity/projectile/FishingBobberEntity;LOGGER:Lorg/slf4j/Logger;
 
- 
field_30665private static final int field_30665- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - f- Lbzc;f:I- intermediary - field_30665- Lnet/minecraft/class_1536;field_30665:I- named - field_30665- Lnet/minecraft/entity/projectile/FishingBobberEntity;field_30665:I
 
- 
HOOK_ENTITY_ID- Mappings:
- Namespace - Name - Mixin selector - official - g- Lbzc;g:Laby;- intermediary - field_7170- Lnet/minecraft/class_1536;field_7170:Lnet/minecraft/class_2940;- named - HOOK_ENTITY_ID- Lnet/minecraft/entity/projectile/FishingBobberEntity;HOOK_ENTITY_ID:Lnet/minecraft/entity/data/TrackedData;
 
- 
CAUGHT_FISH- Mappings:
- Namespace - Name - Mixin selector - official - h- Lbzc;h:Laby;- intermediary - field_23234- Lnet/minecraft/class_1536;field_23234:Lnet/minecraft/class_2940;- named - CAUGHT_FISH- Lnet/minecraft/entity/projectile/FishingBobberEntity;CAUGHT_FISH:Lnet/minecraft/entity/data/TrackedData;
 
- 
velocityRandom- Mappings:
- Namespace - Name - Mixin selector - official - c- Lbzc;c:Lapf;- intermediary - field_23231- Lnet/minecraft/class_1536;field_23231:Lnet/minecraft/class_5819;- named - velocityRandom- Lnet/minecraft/entity/projectile/FishingBobberEntity;velocityRandom:Lnet/minecraft/util/math/random/Random;
 
- 
caughtFishprivate boolean caughtFish- Mappings:
- Namespace - Name - Mixin selector - official - d- Lbzc;d:Z- intermediary - field_23232- Lnet/minecraft/class_1536;field_23232:Z- named - caughtFish- Lnet/minecraft/entity/projectile/FishingBobberEntity;caughtFish:Z
 
- 
outOfOpenWaterTicksprivate int outOfOpenWaterTicks- Mappings:
- Namespace - Name - Mixin selector - official - e- Lbzc;e:I- intermediary - field_23233- Lnet/minecraft/class_1536;field_23233:I- named - outOfOpenWaterTicks- Lnet/minecraft/entity/projectile/FishingBobberEntity;outOfOpenWaterTicks:I
 
- 
removalTimerprivate int removalTimer- Mappings:
- Namespace - Name - Mixin selector - official - i- Lbzc;i:I- intermediary - field_7167- Lnet/minecraft/class_1536;field_7167:I- named - removalTimer- Lnet/minecraft/entity/projectile/FishingBobberEntity;removalTimer:I
 
- 
hookCountdownprivate int hookCountdown- Mappings:
- Namespace - Name - Mixin selector - official - j- Lbzc;j:I- intermediary - field_7173- Lnet/minecraft/class_1536;field_7173:I- named - hookCountdown- Lnet/minecraft/entity/projectile/FishingBobberEntity;hookCountdown:I
 
- 
waitCountdownprivate int waitCountdown- Mappings:
- Namespace - Name - Mixin selector - official - k- Lbzc;k:I- intermediary - field_7174- Lnet/minecraft/class_1536;field_7174:I- named - waitCountdown- Lnet/minecraft/entity/projectile/FishingBobberEntity;waitCountdown:I
 
- 
fishTravelCountdownprivate int fishTravelCountdown- Mappings:
- Namespace - Name - Mixin selector - official - l- Lbzc;l:I- intermediary - field_7172- Lnet/minecraft/class_1536;field_7172:I- named - fishTravelCountdown- Lnet/minecraft/entity/projectile/FishingBobberEntity;fishTravelCountdown:I
 
- 
fishAngleprivate float fishAngle- Mappings:
- Namespace - Name - Mixin selector - official - m- Lbzc;m:F- intermediary - field_7169- Lnet/minecraft/class_1536;field_7169:F- named - fishAngle- Lnet/minecraft/entity/projectile/FishingBobberEntity;fishAngle:F
 
- 
inOpenWaterprivate boolean inOpenWater- Mappings:
- Namespace - Name - Mixin selector - official - n- Lbzc;n:Z- intermediary - field_23134- Lnet/minecraft/class_1536;field_23134:Z- named - inOpenWater- Lnet/minecraft/entity/projectile/FishingBobberEntity;inOpenWater:Z
 
- 
hookedEntity- Mappings:
- Namespace - Name - Mixin selector - official - o- Lbzc;o:Lbfj;- intermediary - field_7165- Lnet/minecraft/class_1536;field_7165:Lnet/minecraft/class_1297;- named - hookedEntity- Lnet/minecraft/entity/projectile/FishingBobberEntity;hookedEntity:Lnet/minecraft/entity/Entity;
 
- 
state- Mappings:
- Namespace - Name - Mixin selector - official - p- Lbzc;p:Lbzc$a;- intermediary - field_7175- Lnet/minecraft/class_1536;field_7175:Lnet/minecraft/class_1536$class_1537;- named - state- Lnet/minecraft/entity/projectile/FishingBobberEntity;state:Lnet/minecraft/entity/projectile/FishingBobberEntity$State;
 
- 
luckOfTheSeaLevelprivate final int luckOfTheSeaLevel- Mappings:
- Namespace - Name - Mixin selector - official - q- Lbzc;q:I- intermediary - field_7171- Lnet/minecraft/class_1536;field_7171:I- named - luckOfTheSeaLevel- Lnet/minecraft/entity/projectile/FishingBobberEntity;luckOfTheSeaLevel:I
 
- 
lureLevelprivate final int lureLevel- Mappings:
- Namespace - Name - Mixin selector - official - r- Lbzc;r:I- intermediary - field_7168- Lnet/minecraft/class_1536;field_7168:I- named - lureLevel- Lnet/minecraft/entity/projectile/FishingBobberEntity;lureLevel:I
 
 
- 
- 
Constructor Details- 
FishingBobberEntityprivate FishingBobberEntity(EntityType<? extends FishingBobberEntity> type, World world, int luckOfTheSeaLevel, int lureLevel) - Mappings:
- Namespace - Name - Mixin selector - official - <init>- Lbzc;<init>(Lbfn;Lcmm;II)V- intermediary - <init>- Lnet/minecraft/class_1536;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;II)V- named - <init>- Lnet/minecraft/entity/projectile/FishingBobberEntity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;II)V
 
- 
FishingBobberEntity- Mappings:
- Namespace - Name - Mixin selector - official - <init>- Lbfj;<init>(Lbfn;Lcmm;)V- intermediary - <init>- Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V- named - <init>- Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
 
- 
FishingBobberEntity- Mappings:
- Namespace - Name - Mixin selector - official - <init>- Lbzc;<init>(Lbyo;Lcmm;II)V- intermediary - <init>- Lnet/minecraft/class_1536;<init>(Lnet/minecraft/class_1657;Lnet/minecraft/class_1937;II)V- named - <init>- Lnet/minecraft/entity/projectile/FishingBobberEntity;<init>(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/world/World;II)V
 
 
- 
- 
Method Details- 
initDataTrackerprotected void initDataTracker()Initializes data tracker.- Specified by:
- initDataTrackerin class- Entity
- Mappings:
- Namespace - Name - Mixin selector - official - a_- Lbfj;a_()V- intermediary - method_5693- Lnet/minecraft/class_1297;method_5693()V- named - initDataTracker- Lnet/minecraft/entity/Entity;initDataTracker()V
 
- 
onTrackedDataSetCalled on the client when the tracked data is set.This can be overridden to refresh other fields when the tracked data is set or changed. - Overrides:
- onTrackedDataSetin class- Entity
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbfj;a(Laby;)V- intermediary - method_5674- Lnet/minecraft/class_1297;method_5674(Lnet/minecraft/class_2940;)V- named - onTrackedDataSet- Lnet/minecraft/entity/Entity;onTrackedDataSet(Lnet/minecraft/entity/data/TrackedData;)V
 
- 
shouldRenderpublic boolean shouldRender(double distance) - Overrides:
- shouldRenderin class- Entity
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbfj;a(D)Z- intermediary - method_5640- Lnet/minecraft/class_1297;method_5640(D)Z- named - shouldRender- Lnet/minecraft/entity/Entity;shouldRender(D)Z
 
- 
updateTrackedPositionAndAnglespublic void updateTrackedPositionAndAngles(double x, double y, double z, float yaw, float pitch, int interpolationSteps, boolean interpolate) - Overrides:
- updateTrackedPositionAndAnglesin class- Entity
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbfj;a(DDDFFIZ)V- intermediary - method_5759- Lnet/minecraft/class_1297;method_5759(DDDFFIZ)V- named - updateTrackedPositionAndAngles- Lnet/minecraft/entity/Entity;updateTrackedPositionAndAngles(DDDFFIZ)V
 
- 
tickpublic void tick()Ticks this entity.- Overrides:
- tickin class- ProjectileEntity
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - l- Lbfj;l()V- intermediary - method_5773- Lnet/minecraft/class_1297;method_5773()V- named - tick- Lnet/minecraft/entity/Entity;tick()V
 
- 
removeIfInvalid- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbzc;a(Lbyo;)Z- intermediary - method_6959- Lnet/minecraft/class_1536;method_6959(Lnet/minecraft/class_1657;)Z- named - removeIfInvalid- Lnet/minecraft/entity/projectile/FishingBobberEntity;removeIfInvalid(Lnet/minecraft/entity/player/PlayerEntity;)Z
 
- 
checkForCollisionprivate void checkForCollision()- Mappings:
- Namespace - Name - Mixin selector - official - p- Lbzc;p()V- intermediary - method_6958- Lnet/minecraft/class_1536;method_6958()V- named - checkForCollision- Lnet/minecraft/entity/projectile/FishingBobberEntity;checkForCollision()V
 
- 
canHit- Overrides:
- canHitin class- ProjectileEntity
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbzg;a(Lbfj;)Z- intermediary - method_26958- Lnet/minecraft/class_1676;method_26958(Lnet/minecraft/class_1297;)Z- named - canHit- Lnet/minecraft/entity/projectile/ProjectileEntity;canHit(Lnet/minecraft/entity/Entity;)Z
 
- 
onEntityHit- Overrides:
- onEntityHitin class- ProjectileEntity
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbzg;a(Leef;)V- intermediary - method_7454- Lnet/minecraft/class_1676;method_7454(Lnet/minecraft/class_3966;)V- named - onEntityHit- Lnet/minecraft/entity/projectile/ProjectileEntity;onEntityHit(Lnet/minecraft/util/hit/EntityHitResult;)V
 
- 
onBlockHit- Overrides:
- onBlockHitin class- ProjectileEntity
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbzg;a(Leee;)V- intermediary - method_24920- Lnet/minecraft/class_1676;method_24920(Lnet/minecraft/class_3965;)V- named - onBlockHit- Lnet/minecraft/entity/projectile/ProjectileEntity;onBlockHit(Lnet/minecraft/util/hit/BlockHitResult;)V
 
- 
updateHookedEntityId- Mappings:
- Namespace - Name - Mixin selector - official - x- Lbzc;x(Lbfj;)V- intermediary - method_6951- Lnet/minecraft/class_1536;method_6951(Lnet/minecraft/class_1297;)V- named - updateHookedEntityId- Lnet/minecraft/entity/projectile/FishingBobberEntity;updateHookedEntityId(Lnet/minecraft/entity/Entity;)V
 
- 
tickFishingLogic- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbzc;a(Lgu;)V- intermediary - method_6949- Lnet/minecraft/class_1536;method_6949(Lnet/minecraft/class_2338;)V- named - tickFishingLogic- Lnet/minecraft/entity/projectile/FishingBobberEntity;tickFishingLogic(Lnet/minecraft/util/math/BlockPos;)V
 
- 
isOpenOrWaterAround- Mappings:
- Namespace - Name - Mixin selector - official - b- Lbzc;b(Lgu;)Z- intermediary - method_26086- Lnet/minecraft/class_1536;method_26086(Lnet/minecraft/class_2338;)Z- named - isOpenOrWaterAround- Lnet/minecraft/entity/projectile/FishingBobberEntity;isOpenOrWaterAround(Lnet/minecraft/util/math/BlockPos;)Z
 
- 
getPositionType- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbzc;a(Lgu;Lgu;)Lbzc$b;- intermediary - method_26341- Lnet/minecraft/class_1536;method_26341(Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;)Lnet/minecraft/class_1536$class_4984;- named - getPositionType- Lnet/minecraft/entity/projectile/FishingBobberEntity;getPositionType(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/entity/projectile/FishingBobberEntity$PositionType;
 
- 
getPositionType- Mappings:
- Namespace - Name - Mixin selector - official - c- Lbzc;c(Lgu;)Lbzc$b;- intermediary - method_26342- Lnet/minecraft/class_1536;method_26342(Lnet/minecraft/class_2338;)Lnet/minecraft/class_1536$class_4984;- named - getPositionType- Lnet/minecraft/entity/projectile/FishingBobberEntity;getPositionType(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/entity/projectile/FishingBobberEntity$PositionType;
 
- 
isInOpenWaterpublic boolean isInOpenWater()- Mappings:
- Namespace - Name - Mixin selector - official - j- Lbzc;j()Z- intermediary - method_26088- Lnet/minecraft/class_1536;method_26088()Z- named - isInOpenWater- Lnet/minecraft/entity/projectile/FishingBobberEntity;isInOpenWater()Z
 
- 
writeCustomDataToNbtWrites custom data tonbt. Subclasses has to implement this.NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity. - Overrides:
- writeCustomDataToNbtin class- ProjectileEntity
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - b- Lbfj;b(Lqr;)V- intermediary - method_5652- Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V- named - writeCustomDataToNbt- Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
 
- 
readCustomDataFromNbtReads custom data fromnbt. Subclasses has to implement this.NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity. nbtmight not have all expected keys, or might have a key whose value does not meet the requirement (such as the type or the range). This method should fall back to a reasonable default value instead of throwing an exception.- Overrides:
- readCustomDataFromNbtin class- ProjectileEntity
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbfj;a(Lqr;)V- intermediary - method_5749- Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V- named - readCustomDataFromNbt- Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
 
- 
use- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbzc;a(Lcfz;)I- intermediary - method_6957- Lnet/minecraft/class_1536;method_6957(Lnet/minecraft/class_1799;)I- named - use- Lnet/minecraft/entity/projectile/FishingBobberEntity;use(Lnet/minecraft/item/ItemStack;)I
 
- 
handleStatuspublic void handleStatus(byte status) Called on the client when the entity receives an entity status from the server. They are often used to spawn particles or play sounds. Subclasses can override this method to handle custom entity status.- Overrides:
- handleStatusin class- Entity
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - b- Lbfj;b(B)V- intermediary - method_5711- Lnet/minecraft/class_1297;method_5711(B)V- named - handleStatus- Lnet/minecraft/entity/Entity;handleStatus(B)V
 
- 
pullHookedEntity- Mappings:
- Namespace - Name - Mixin selector - official - c- Lbzc;c(Lbfj;)V- intermediary - method_6954- Lnet/minecraft/class_1536;method_6954(Lnet/minecraft/class_1297;)V- named - pullHookedEntity- Lnet/minecraft/entity/projectile/FishingBobberEntity;pullHookedEntity(Lnet/minecraft/entity/Entity;)V
 
- 
getMoveEffectReturns the possible effect(s) of an entity moving.- Overrides:
- getMoveEffectin class- Entity
- Mappings:
- Namespace - Name - Mixin selector - official - aS- Lbfj;aS()Lbfj$b;- intermediary - method_33570- Lnet/minecraft/class_1297;method_33570()Lnet/minecraft/class_1297$class_5799;- named - getMoveEffect- Lnet/minecraft/entity/Entity;getMoveEffect()Lnet/minecraft/entity/Entity$MoveEffect;
 
- 
removeRemoves the entity.- Overrides:
- removein class- Entity
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbfj;a(Lbfj$c;)V- intermediary - method_5650- Lnet/minecraft/class_1297;method_5650(Lnet/minecraft/class_1297$class_5529;)V- named - remove- Lnet/minecraft/entity/Entity;remove(Lnet/minecraft/entity/Entity$RemovalReason;)V
 
- 
onRemovedpublic void onRemoved()Called on the client side when the entity is removed.
- 
setOwner- Overrides:
- setOwnerin class- ProjectileEntity
- Mappings:
- Namespace - Name - Mixin selector - official - b- Lbzg;b(Lbfj;)V- intermediary - method_7432- Lnet/minecraft/class_1676;method_7432(Lnet/minecraft/class_1297;)V- named - setOwner- Lnet/minecraft/entity/projectile/ProjectileEntity;setOwner(Lnet/minecraft/entity/Entity;)V
 
- 
setPlayerFishHook- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbzc;a(Lbzc;)V- intermediary - method_36210- Lnet/minecraft/class_1536;method_36210(Lnet/minecraft/class_1536;)V- named - setPlayerFishHook- Lnet/minecraft/entity/projectile/FishingBobberEntity;setPlayerFishHook(Lnet/minecraft/entity/projectile/FishingBobberEntity;)V
 
- 
getPlayerOwner- Mappings:
- Namespace - Name - Mixin selector - official - k- Lbzc;k()Lbyo;- intermediary - method_6947- Lnet/minecraft/class_1536;method_6947()Lnet/minecraft/class_1657;- named - getPlayerOwner- Lnet/minecraft/entity/projectile/FishingBobberEntity;getPlayerOwner()Lnet/minecraft/entity/player/PlayerEntity;
 
- 
getHookedEntity- Mappings:
- Namespace - Name - Mixin selector - official - o- Lbzc;o()Lbfj;- intermediary - method_26957- Lnet/minecraft/class_1536;method_26957()Lnet/minecraft/class_1297;- named - getHookedEntity- Lnet/minecraft/entity/projectile/FishingBobberEntity;getHookedEntity()Lnet/minecraft/entity/Entity;
 
- 
canUsePortalspublic boolean canUsePortals()Returns whether the entity can use nether portals and end portals.EnderDragonEntity,WitherEntity, andFishingBobberEntitycannot use portals.- Overrides:
- canUsePortalsin class- Entity
- Returns:
- whether the entity can use nether portals and end portals
- Mappings:
- Namespace - Name - Mixin selector - official - cq- Lbfj;cq()Z- intermediary - method_5822- Lnet/minecraft/class_1297;method_5822()Z- named - canUsePortals- Lnet/minecraft/entity/Entity;canUsePortals()Z
 
- 
createSpawnPacketReturns a packet to notify the clients of the entity's spawning.- Overrides:
- createSpawnPacketin class- ProjectileEntity
- Returns:
- a packet to notify the clients of the entity's spawning
- Mappings:
- Namespace - Name - Mixin selector - official - S- Lbfj;S()Luo;- intermediary - method_18002- Lnet/minecraft/class_1297;method_18002()Lnet/minecraft/class_2596;- named - createSpawnPacket- Lnet/minecraft/entity/Entity;createSpawnPacket()Lnet/minecraft/network/packet/Packet;
 
- 
onSpawnPacketCalled on the client when the entity receives a spawn packet.This sets the entity's position, angles, ID, and UUID. Subclasses can override this to initialize additional fields. - Overrides:
- onSpawnPacketin class- ProjectileEntity
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbfj;a(Lus;)V- intermediary - method_31471- Lnet/minecraft/class_1297;method_31471(Lnet/minecraft/class_2604;)V- named - onSpawnPacket- Lnet/minecraft/entity/Entity;onSpawnPacket(Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;)V
 
 
-