Package net.minecraft.entity.projectile
Class FishingBobberEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.projectile.FishingBobberEntity
- All Implemented Interfaces:
CommandSource
- Mappings:
Namespace Name official acfintermediary net/minecraft/class_993named net/minecraft/entity/projectile/FishingBobberEntity
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate floatprivate intprivate static final TrackedData<Integer>private intprivate booleanprivate intprivate intprivate intprivate FishingBobberEntity.Stateprivate PlayerEntityprivate intFields inherited from class net.minecraft.entity.Entity
changingDimension, chunkX, chunkY, chunkZ, colliding, dataTracker, dimension, distanceTraveled, fallDistance, field_3223, firstUpdate, FLAGS, height, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inanimate, inLava, isFireImmune, isGlowing, lastPortalBlockPos, lastPortalVec3d, netherPortalCooldown, netherPortalTime, noClip, onGround, pitch, playerUuid, prevHorizontalSpeed, prevPitch, prevTickX, prevTickY, prevTickZ, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, removed, ridingCooldown, stepHeight, teleportDirection, teleporting, ticksAlive, touchingWater, tracedX, tracedY, tracedZ, updateNeeded, uuidString, velocityDirty, velocityModified, velocityX, velocityY, velocityZ, verticalCollision, width, world, x, y, yaw, z -
Constructor Summary
ConstructorsConstructorDescriptionFishingBobberEntity(World world, PlayerEntity player) FishingBobberEntity(World world, PlayerEntity thrower, double x, double y, double z) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancanClimb()protected booleanprivate voidvoidhandleStatus(byte status) protected voidprivate voidprivate voidvoidonTrackedDataSet(TrackedData<?> data) protected voidvoidvoidremove()private booleanintretract()voidsetLuckOfTheSea(int level) voidsetLure(int level) private voidsetThrower(PlayerEntity thrower) booleanshouldRender(double distance) voidtick()private voidtickFishingLogic(BlockPos pos) private voidvoidupdateTrackedPositionAndAngles(double x, double y, double z, float yaw, float pitch, int interpolationSteps, boolean interpolate) voidMethods inherited from class net.minecraft.entity.Entity
addPassenger, addScoreboardTag, addVelocity, afterSpawn, animateDamage, applyMirror, applyRotation, attemptSprintingParticles, baseTick, burn, canAddPassenger, canAvoidTraps, canExplosionDestroyBlock, canFly, canStartRiding, canUseCommand, canUsePortals, changeDimension, checkBlockCollision, collides, copyPosition, damage, dealDamage, destroy, distanceTo, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropItem, entityDataRequiresOperator, equals, equip, equipStack, extinguish, fall, fromNbt, getAir, getArmorItems, getBlastResistance, getBlockPos, getBoundingBox, getBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getCommandStats, getCustomName, getDataTracker, getDefaultNetherPortalCooldown, getEntity, getEntityId, getEntityName, getEyeHeight, getFlag, getHardCollisionBox, getHeadRotation, getHeightOffset, getHorizontalDirection, getHoverEvent, getItemsEquipped, getItemsHand, getLastNetherPortalDirection, getLastNetherPortalDirectionVector, getLightmapCoordinates, getMaxNetherPortalTime, getMinecraftServer, getMountedHeightOffset, getMovementDirection, getParts, getPassengerList, getPassengersDeep, getPassengersDeep, getPistonBehavior, getPos, getPrimaryPassenger, getRenderDistanceMultiplier, getRootVehicle, getRotation, getRotationClient, getRotationVecClient, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getSoundCategory, getTargetingMargin, getTranslatedName, getUuid, getVehicle, getVisibilityBoundingBox, getWorld, handleAttack, handleFallDamage, hasCustomName, hashCode, hasMount, hasNoGravity, hasPassenger, hasPassengerDeep, hasPassengers, increaseTransforms, interact, interactAt, isAlive, isAttackable, isConnectedThroughVehicle, isCustomNameVisible, isFireImmune, isGlowing, isImmuneToExplosion, isInsideWall, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isOnFire, isOutsideWorldborder, isPartOf, isPushable, isSilent, isSneaking, isSpectatedBy, isSprinting, isSubmergedIn, isTeammate, isTeamPlayer, isTouchingLava, isTouchingWater, kill, method_10965, method_12984, method_12985, method_12991, method_13003, method_13932, method_15051, method_15052, method_15055, method_2492, method_6344, move, onBlockCollision, onKilledOther, onLightningStrike, onPassengerLookAround, onPlayerCollision, onStartedTrackingBy, onStoppedTrackingBy, onSwimmingStart, playSound, playStepSound, populateCrashReport, pushAwayFrom, pushOutOfBlocks, rayTrace, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, removeAllPassengers, removePassenger, removeScoreboardTag, ride, saveSelfToNbt, saveToNbt, scheduleVelocityUpdate, sendCommandFeedback, sendMessage, setAir, setBoundingBox, setBounds, setCustomName, setCustomNameVisible, setEntityId, setFlag, setGlowing, setHeadYaw, setInLava, setInNetherPortal, setInvisible, setInvulnerable, setNoGravity, setOnFireFor, setOnFireFromLava, setOutsideWorldborder, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSprinting, setStat, setUuid, setVelocityClient, setWorld, setYaw, shouldRender, shouldRenderName, shouldSetPositionOnLoad, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredDistanceToCenter, startRiding, stopRiding, teleportRequested, tickFire, tickNetherPortalCooldown, tickRiding, toListNbt, toListNbt, toNbt, toString, updateKilledAchievement, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSubmergedInWaterState, updateWaterState
-
Field Details
-
HOOK_ENTITY_ID
- Mappings:
Namespace Name Mixin selector official bLacf;b:Lmy;intermediary field_14739Lnet/minecraft/class_993;field_14739:Lnet/minecraft/class_2921;named HOOK_ENTITY_IDLnet/minecraft/entity/projectile/FishingBobberEntity;HOOK_ENTITY_ID:Lnet/minecraft/entity/data/TrackedData;
-
inGround
private boolean inGround- Mappings:
Namespace Name Mixin selector official cLacf;c:Zintermediary field_4068Lnet/minecraft/class_993;field_4068:Znamed inGroundLnet/minecraft/entity/projectile/FishingBobberEntity;inGround:Z
-
removalTimer
private int removalTimer- Mappings:
Namespace Name Mixin selector official dLacf;d:Iintermediary field_4069Lnet/minecraft/class_993;field_4069:Inamed removalTimerLnet/minecraft/entity/projectile/FishingBobberEntity;removalTimer:I
-
thrower
- Mappings:
Namespace Name Mixin selector official eLacf;e:Laed;intermediary field_4062Lnet/minecraft/class_993;field_4062:Lnet/minecraft/class_988;named throwerLnet/minecraft/entity/projectile/FishingBobberEntity;thrower:Lnet/minecraft/entity/player/PlayerEntity;
-
field_4070
private int field_4070- Mappings:
Namespace Name Mixin selector official fLacf;f:Iintermediary field_4070Lnet/minecraft/class_993;field_4070:Inamed field_4070Lnet/minecraft/entity/projectile/FishingBobberEntity;field_4070:I
-
hookCountdown
private int hookCountdown- Mappings:
Namespace Name Mixin selector official gLacf;g:Iintermediary field_9110Lnet/minecraft/class_993;field_9110:Inamed hookCountdownLnet/minecraft/entity/projectile/FishingBobberEntity;hookCountdown:I
-
waitCountdown
private int waitCountdown- Mappings:
Namespace Name Mixin selector official hLacf;h:Iintermediary field_9111Lnet/minecraft/class_993;field_9111:Inamed waitCountdownLnet/minecraft/entity/projectile/FishingBobberEntity;waitCountdown:I
-
fishTravelCountdown
private int fishTravelCountdown- Mappings:
Namespace Name Mixin selector official atLacf;at:Iintermediary field_9112Lnet/minecraft/class_993;field_9112:Inamed fishTravelCountdownLnet/minecraft/entity/projectile/FishingBobberEntity;fishTravelCountdown:I
-
fishAngle
private float fishAngle- Mappings:
Namespace Name Mixin selector official auLacf;au:Fintermediary field_9108Lnet/minecraft/class_993;field_9108:Fnamed fishAngleLnet/minecraft/entity/projectile/FishingBobberEntity;fishAngle:F
-
caughtEntity
- Mappings:
Namespace Name Mixin selector official aLacf;a:Lvg;intermediary field_4063Lnet/minecraft/class_993;field_4063:Lnet/minecraft/class_864;named caughtEntityLnet/minecraft/entity/projectile/FishingBobberEntity;caughtEntity:Lnet/minecraft/entity/Entity;
-
state
- Mappings:
Namespace Name Mixin selector official avLacf;av:Lacf$a;intermediary field_15524Lnet/minecraft/class_993;field_15524:Lnet/minecraft/class_993$class_3145;named stateLnet/minecraft/entity/projectile/FishingBobberEntity;state:Lnet/minecraft/entity/projectile/FishingBobberEntity$State;
-
luckOfTheSeaLevel
private int luckOfTheSeaLevel- Mappings:
Namespace Name Mixin selector official awLacf;aw:Iintermediary field_15525Lnet/minecraft/class_993;field_15525:Inamed luckOfTheSeaLevelLnet/minecraft/entity/projectile/FishingBobberEntity;luckOfTheSeaLevel:I
-
lureLevel
private int lureLevel- Mappings:
Namespace Name Mixin selector official axLacf;ax:Iintermediary field_15526Lnet/minecraft/class_993;field_15526:Inamed lureLevelLnet/minecraft/entity/projectile/FishingBobberEntity;lureLevel:I
-
-
Constructor Details
-
FishingBobberEntity
@Environment(CLIENT) public FishingBobberEntity(World world, PlayerEntity thrower, double x, double y, double z) - Mappings:
Namespace Name Mixin selector official <init>Lacf;<init>(Lamu;Laed;DDD)Vintermediary <init>Lnet/minecraft/class_993;<init>(Lnet/minecraft/class_1150;Lnet/minecraft/class_988;DDD)Vnamed <init>Lnet/minecraft/entity/projectile/FishingBobberEntity;<init>(Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;DDD)V
-
FishingBobberEntity
- Mappings:
Namespace Name Mixin selector official <init>Lacf;<init>(Lamu;Laed;)Vintermediary <init>Lnet/minecraft/class_993;<init>(Lnet/minecraft/class_1150;Lnet/minecraft/class_988;)Vnamed <init>Lnet/minecraft/entity/projectile/FishingBobberEntity;<init>(Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;)V
-
-
Method Details
-
setThrower
- Mappings:
Namespace Name Mixin selector official aLacf;a(Laed;)Vintermediary method_14047Lnet/minecraft/class_993;method_14047(Lnet/minecraft/class_988;)Vnamed setThrowerLnet/minecraft/entity/projectile/FishingBobberEntity;setThrower(Lnet/minecraft/entity/player/PlayerEntity;)V
-
setLure
public void setLure(int level) - Mappings:
Namespace Name Mixin selector official aLacf;a(I)Vintermediary method_14046Lnet/minecraft/class_993;method_14046(I)Vnamed setLureLnet/minecraft/entity/projectile/FishingBobberEntity;setLure(I)V
-
setLuckOfTheSea
public void setLuckOfTheSea(int level) - Mappings:
Namespace Name Mixin selector official cLacf;c(I)Vintermediary method_14049Lnet/minecraft/class_993;method_14049(I)Vnamed setLuckOfTheSeaLnet/minecraft/entity/projectile/FishingBobberEntity;setLuckOfTheSea(I)V
-
initVelocity
private void initVelocity()- Mappings:
Namespace Name Mixin selector official nLacf;n()Vintermediary method_14051Lnet/minecraft/class_993;method_14051()Vnamed initVelocityLnet/minecraft/entity/projectile/FishingBobberEntity;initVelocity()V
-
initDataTracker
protected void initDataTracker()- Specified by:
initDataTrackerin classEntity- Mappings:
Namespace Name Mixin selector official iLvg;i()Vintermediary method_2484Lnet/minecraft/class_864;method_2484()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
onTrackedDataSet
- Overrides:
onTrackedDataSetin classEntity- Mappings:
Namespace Name Mixin selector official aLvg;a(Lmy;)Vintermediary method_12974Lnet/minecraft/class_864;method_12974(Lnet/minecraft/class_2921;)Vnamed onTrackedDataSetLnet/minecraft/entity/Entity;onTrackedDataSet(Lnet/minecraft/entity/data/TrackedData;)V
-
shouldRender
- Overrides:
shouldRenderin classEntity- Mappings:
Namespace Name Mixin selector official aLvg;a(D)Zintermediary method_2486Lnet/minecraft/class_864;method_2486(D)Znamed shouldRenderLnet/minecraft/entity/Entity;shouldRender(D)Z
-
updateTrackedPositionAndAngles
@Environment(CLIENT) public void updateTrackedPositionAndAngles(double x, double y, double z, float yaw, float pitch, int interpolationSteps, boolean interpolate) - Overrides:
updateTrackedPositionAndAnglesin classEntity- Mappings:
Namespace Name Mixin selector official aLvg;a(DDDFFIZ)Vintermediary method_2488Lnet/minecraft/class_864;method_2488(DDDFFIZ)Vnamed updateTrackedPositionAndAnglesLnet/minecraft/entity/Entity;updateTrackedPositionAndAngles(DDDFFIZ)V
-
tick
public void tick() -
removeIfInvalid
private boolean removeIfInvalid()- Mappings:
Namespace Name Mixin selector official pLacf;p()Zintermediary method_14052Lnet/minecraft/class_993;method_14052()Znamed removeIfInvalidLnet/minecraft/entity/projectile/FishingBobberEntity;removeIfInvalid()Z
-
method_14053
private void method_14053()- Mappings:
Namespace Name Mixin selector official qLacf;q()Vintermediary method_14053Lnet/minecraft/class_993;method_14053()Vnamed method_14053Lnet/minecraft/entity/projectile/FishingBobberEntity;method_14053()V
-
checkForCollision
private void checkForCollision()- Mappings:
Namespace Name Mixin selector official rLacf;r()Vintermediary method_14054Lnet/minecraft/class_993;method_14054()Vnamed checkForCollisionLnet/minecraft/entity/projectile/FishingBobberEntity;checkForCollision()V
-
updateHookedEntityId
private void updateHookedEntityId()- Mappings:
Namespace Name Mixin selector official sLacf;s()Vintermediary method_14055Lnet/minecraft/class_993;method_14055()Vnamed updateHookedEntityIdLnet/minecraft/entity/projectile/FishingBobberEntity;updateHookedEntityId()V
-
tickFishingLogic
- Mappings:
Namespace Name Mixin selector official aLacf;a(Let;)Vintermediary method_14048Lnet/minecraft/class_993;method_14048(Lnet/minecraft/class_2552;)Vnamed tickFishingLogicLnet/minecraft/entity/projectile/FishingBobberEntity;tickFishingLogic(Lnet/minecraft/util/math/BlockPos;)V
-
canHit
- Mappings:
Namespace Name Mixin selector official aLacf;a(Lvg;)Zintermediary method_13520Lnet/minecraft/class_993;method_13520(Lnet/minecraft/class_864;)Znamed canHitLnet/minecraft/entity/projectile/FishingBobberEntity;canHit(Lnet/minecraft/entity/Entity;)Z
-
writeCustomDataToNbt
- Specified by:
writeCustomDataToNbtin classEntity- Mappings:
Namespace Name Mixin selector official bLvg;b(Lfy;)Vintermediary method_2528Lnet/minecraft/class_864;method_2528(Lnet/minecraft/class_322;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
readCustomDataFromNbt
- Specified by:
readCustomDataFromNbtin classEntity- Mappings:
Namespace Name Mixin selector official aLvg;a(Lfy;)Vintermediary method_2498Lnet/minecraft/class_864;method_2498(Lnet/minecraft/class_322;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
retract
public int retract()- Mappings:
Namespace Name Mixin selector official jLacf;j()Iintermediary method_3231Lnet/minecraft/class_993;method_3231()Inamed retractLnet/minecraft/entity/projectile/FishingBobberEntity;retract()I
-
handleStatus
- Overrides:
handleStatusin classEntity- Mappings:
Namespace Name Mixin selector official aLvg;a(B)Vintermediary method_2485Lnet/minecraft/class_864;method_2485(B)Vnamed handleStatusLnet/minecraft/entity/Entity;handleStatus(B)V
-
pullHookedEntity
protected void pullHookedEntity()- Mappings:
Namespace Name Mixin selector official kLacf;k()Vintermediary method_13211Lnet/minecraft/class_993;method_13211()Vnamed pullHookedEntityLnet/minecraft/entity/projectile/FishingBobberEntity;pullHookedEntity()V
-
canClimb
protected boolean canClimb() -
remove
public void remove() -
getThrower
- Mappings:
Namespace Name Mixin selector official lLacf;l()Laed;intermediary method_14050Lnet/minecraft/class_993;method_14050()Lnet/minecraft/class_988;named getThrowerLnet/minecraft/entity/projectile/FishingBobberEntity;getThrower()Lnet/minecraft/entity/player/PlayerEntity;
-