Package net.minecraft.entity.passive
Class SchoolableFishEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.LivingEntity
net.minecraft.entity.mob.MobEntity
net.minecraft.entity.PathAwareEntity
net.minecraft.entity.mob.WaterCreatureEntity
net.minecraft.entity.passive.FishEntity
net.minecraft.entity.passive.SchoolableFishEntity
- All Implemented Interfaces:
class_3893,EntityCategoryProvider,Nameable
- Direct Known Subclasses:
CodEntity,SalmonEntity,TropicalFishEntity
- Mappings:
Namespace Name official ajpintermediary net/minecraft/class_3479named net/minecraft/entity/passive/SchoolableFishEntity
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.entity.passive.FishEntity
FishEntity.class_3008, FishEntity.class_3478 -
Field Summary
FieldsFields inherited from class net.minecraft.entity.mob.MobEntity
ambientSoundChance, armorDropChances, attackGoals, entityMotionHelper, experiencePoints, field_14559, goals, jumpControl, lookControl, navigationFields inherited from class net.minecraft.entity.LivingEntity
attackingPlayer, bodyTrackingIncrements, bodyYaw, dead, deathTime, defaultMaxHealth, despawnCounter, distanceTravelled, field_14542, field_14543, field_14546, field_14547, field_14548, field_16513, field_16815, field_16816, field_16817, field_6748, field_6749, field_6750, field_6752, field_6753, field_6771, field_6776, field_6777, field_6778, field_6782, flyingSpeed, forwardSpeed, handSwinging, handSwingProgress, handSwingTicks, headYaw, hurtTime, jumping, knockbackVelocity, lastHandSwingProgress, mainHand, maxHurtTime, playerHitTimer, prevBodyYaw, prevDistanceTravelled, prevHeadYaw, prevStepBobbingAmount, randomLargeSeed, randomSmallSeed, serverPitch, serverY, serverYaw, serverZ, serxerX, sidewaysSpeed, stepBobbingAmountFields inherited from class net.minecraft.entity.Entity
changingDimension, chunkX, chunkY, chunkZ, colliding, dataTracker, distanceTraveled, fallDistance, field_16693, field_16694, field_16696, field_3223, firstUpdate, FLAGS, height, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inanimate, inLava, isFireImmune, isGlowing, lastPortalBlockPos, lastPortalVec3d, LOGGER_, 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbringFishTogether(Stream<SchoolableFishEntity> stream) booleanintintprivate voidbooleanbooleanprotected voidinitialize(LocalDifficulty difficulty, EntityData entityData, NbtCompound nbt) booleanprotected booleanjoinGroupOf(SchoolableFishEntity leaderFish) voidvoidprivate voidvoidtick()Methods inherited from class net.minecraft.entity.passive.FishEntity
canImmediatelyDespawn, createNavigation, getEyeHeight, initDataTracker, initializeAttributes, interactMob, isPersistent, method_12984, method_15652, method_15721, method_15724, method_15725, method_15726, method_2657, readCustomDataFromNbt, tickMovement, writeCustomDataToNbtMethods inherited from class net.minecraft.entity.mob.WaterCreatureEntity
baseTick, canBeLeashedBy, canFly, getMinAmbientSoundDelay, getXpToDrop, method_15653, method_15826, method_2607, method_2647Methods inherited from class net.minecraft.entity.PathAwareEntity
getPathfindingFavor, getPositionTarget, getPositionTargetRange, hasPositionTarget, isInWalkTargetRange, isInWalkTargetRange, method_13951, method_15657, method_6173, method_6175, setPositionTarget, shouldContinue, updateLeashMethods inherited from class net.minecraft.entity.mob.MobEntity
ambientSound, attachLeash, canAttackEntity, canBeControlledByRider, canMoveVoluntarily, canPickupItem, canPickUpLoot, checkDespawn, detachLeash, dropLoot, equip, equipStack, getArmorItems, getDefaultDrop, getDurability, getItemsHand, getJumpControl, getLookControl, getLookPitchSpeed, getLootTableId, getMotionHelper, getNavigation, getSafeFallDistance, getTarget, getVisibilityCache, handleStatus, hasNoAi, initEquipment, interact, isLeashed, lookAtEntity, loot, method_13003, method_13043, method_13044, method_13051, method_13075, method_13076, method_13077, method_13078, method_13080, method_13081, method_13082, method_13083, method_13084, method_13086, method_13088, method_15061, method_15645, method_15651, method_15654, method_15655, method_15656, method_2469, method_2638, method_4472, method_6162, mobTick, onEatingGrass, playAmbientSound, playSpawnEffects, setAiDisabled, setCanPickUpLoot, setForwardSpeed, setMovementSpeed, setPersistent, setTarget, startRiding, tickNewAi, tryAttack, turnHead, updateEnchantmentsMethods inherited from class net.minecraft.entity.LivingEntity
animateDamage, applyArmorDamage, applyDamage, applyEnchantmentsToDamage, canSee, collides, damage, damageArmor, deathSound, destroy, dropXp, endCombat, enterCombat, fall, getAbsorption, getArmorProtectionValue, getAttacker, getAttacking, getAttributeContainer, getDamageTracker, getEffectInstance, getHandSwingProgress, getHeadRotation, getHealth, getHurtSound, getJumpVelocity, getLandSound, getLastAttackTime, getLastHurtTimestamp, getMaxHealth, getMovementSpeed, getNextAirUnderwater, getOpponent, getRandom, getSoundPitch, getSoundVolume, getStackInHand, getStatusEffectInstances, getStatusEffects, getStuckArrows, handleFallDamage, hasStatusEffect, heal, initializeAttribute, isAffectedBySmite, isAlive, isBaby, isClimbing, isPushable, isSleeping, jump, kill, markEffectsDirty, method_10981, method_13038, method_13040, method_13041, method_13042, method_13045, method_13046, method_13050, method_13052, method_13053, method_13054, method_13055, method_13056, method_13057, method_13058, method_13059, method_13061, method_13062, method_13063, method_13064, method_13065, method_13066, method_13067, method_13069, method_13071, method_13072, method_13493, method_13494, method_13946, method_13947, method_13948, method_15058, method_15559, method_15563, method_15570, method_15591, method_15641, method_15642, method_15643, method_15644, method_15646, method_15647, method_15648, method_15650, method_2582, method_2610, method_2634, method_2649, method_2654, method_2658, method_3217, method_6108, method_6109, method_6111, method_6117, method_6119, method_6150, method_6152, onKilled, onTrackedDataSet, pushAway, scheduleVelocityUpdate, sendPickup, setAbsorption, setAttacker, setHeadYaw, setHealth, setJumping, setSprinting, setStuckArrows, setYaw, shouldAlwaysDropXp, shouldDropXp, shouldRenderName, stopRiding, tickCramming, tickHandSwing, tickRiding, tickStatusEffects, updatePotionVisibility, updateTrackedPositionAndAnglesMethods inherited from class net.minecraft.entity.Entity
addPassenger, addScoreboardTag, addVelocity, afterSpawn, applyMirror, applyRotation, attemptSprintingParticles, burn, canAddPassenger, canAvoidTraps, canClimb, canStartRiding, canUsePortals, checkBlockCollision, copyPortalInfo, copyPosition, dealDamage, distanceTo, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, entityDataRequiresOperator, equals, extinguish, fromNbt, getAir, getBoundingBox, getBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getDataTracker, getDefaultNetherPortalCooldown, getEntityId, getEntityName, getFlag, getHardCollisionBox, getHeightOffset, getHorizontalDirection, getHoverEvent, getItemsEquipped, getLastNetherPortalDirection, getLastNetherPortalDirectionVector, getLightmapCoordinates, getMaxNetherPortalTime, getMountedHeightOffset, getMovementDirection, getParts, getPassengerList, getPassengersDeep, getPistonBehavior, getPrimaryPassenger, getRenderDistanceMultiplier, getRootVehicle, getRotation, getRotationClient, getRotationVecClient, getRotationVector, getRotationVector, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getSoundCategory, getTargetingMargin, getUuid, getVehicle, getVisibilityBoundingBox, handleAttack, hasCustomName, hashCode, hasMount, hasNoGravity, hasPassenger, hasPassengerDeep, hasPassengers, interactAt, isAttackable, isConnectedThroughVehicle, isCustomNameVisible, isFireImmune, isGlowing, isImmuneToExplosion, isInsideWall, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isOnFire, isOutsideWorldborder, isPartOf, isSilent, isSneaking, isSpectatedBy, isSprinting, isTeammate, isTeamPlayer, isTouchingLava, isTouchingWater, method_10787, method_10931, method_10932, method_10933, method_10936, method_12265, method_12833, method_12985, method_12991, method_15051, method_15055, method_15540, method_15541, method_15557, method_15558, method_15560, method_15561, method_15562, method_15564, method_15566, method_15567, method_15569, method_15571, method_15572, method_15573, method_15574, method_15575, method_15576, method_15577, method_15578, method_15580, method_15581, method_15582, method_15583, method_15584, method_15585, method_15586, method_15588, method_15589, method_15590, method_15592, method_15593, method_15594, method_17412, method_17413, method_17414, method_2492, method_4086, method_5505, method_5506, method_6344, move, onBlockCollision, onKilledOther, onLightningStrike, onPassengerLookAround, onPlayerCollision, onStartedTrackingBy, onStoppedTrackingBy, onSwimmingStart, playSound, populateCrashReport, pushAwayFrom, pushOutOfBlocks, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, removeAllPassengers, removePassenger, removeScoreboardTag, ride, saveSelfToNbt, saveToNbt, setAir, setBoundingBox, setBounds, setCustomNameVisible, setEntityId, setFlag, setGlowing, setInLava, setInNetherPortal, setInvisible, setInvulnerable, setNoGravity, setOnFireFor, setOnFireFromLava, setOutsideWorldborder, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setUuid, setVelocityClient, setWorld, shouldRender, shouldRender, shouldSetPositionOnLoad, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredDistanceToCenter, teleportRequested, tickFire, tickNetherPortalCooldown, toListNbt, toListNbt, toNbt, toString, updateKilledAchievement, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSubmergedInWaterState, updateWaterState
-
Field Details
-
leader
- Mappings:
Namespace Name Mixin selector official aLajp;a:Lajp;intermediary field_16896Lnet/minecraft/class_3479;field_16896:Lnet/minecraft/class_3479;named leaderLnet/minecraft/entity/passive/SchoolableFishEntity;leader:Lnet/minecraft/entity/passive/SchoolableFishEntity;
-
groupSize
private int groupSize- Mappings:
Namespace Name Mixin selector official bLajp;b:Iintermediary field_16897Lnet/minecraft/class_3479;field_16897:Inamed groupSizeLnet/minecraft/entity/passive/SchoolableFishEntity;groupSize:I
-
-
Constructor Details
-
SchoolableFishEntity
- Mappings:
Namespace Name Mixin selector official <init>Laer;<init>(Laev;Laxy;)Vintermediary <init>Lnet/minecraft/class_864;<init>(Lnet/minecraft/class_3460;Lnet/minecraft/class_1150;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
-
-
Method Details
-
initGoals
protected void initGoals()- Overrides:
initGoalsin classFishEntity- Mappings:
Namespace Name Mixin selector official nLafb;n()Vintermediary method_13087Lnet/minecraft/class_871;method_13087()Vnamed initGoalsLnet/minecraft/entity/mob/MobEntity;initGoals()V
-
getLimitPerChunk
public int getLimitPerChunk()- Overrides:
getLimitPerChunkin classFishEntity- Mappings:
Namespace Name Mixin selector official dgLafb;dg()Iintermediary method_2639Lnet/minecraft/class_871;method_2639()Inamed getLimitPerChunkLnet/minecraft/entity/mob/MobEntity;getLimitPerChunk()I
-
getMaxGroupSize
public int getMaxGroupSize()- Mappings:
Namespace Name Mixin selector official dALajp;dA()Iintermediary method_15731Lnet/minecraft/class_3479;method_15731()Inamed getMaxGroupSizeLnet/minecraft/entity/passive/SchoolableFishEntity;getMaxGroupSize()I
-
isIndependent
protected boolean isIndependent()- Overrides:
isIndependentin classFishEntity- Mappings:
Namespace Name Mixin selector official dyLajn;dy()Zintermediary method_15723Lnet/minecraft/class_3477;method_15723()Znamed isIndependentLnet/minecraft/entity/passive/FishEntity;isIndependent()Z
-
hasLeader
public boolean hasLeader()- Mappings:
Namespace Name Mixin selector official dBLajp;dB()Zintermediary method_15732Lnet/minecraft/class_3479;method_15732()Znamed hasLeaderLnet/minecraft/entity/passive/SchoolableFishEntity;hasLeader()Z
-
joinGroupOf
- Mappings:
Namespace Name Mixin selector official aLajp;a(Lajp;)Lajp;intermediary method_15727Lnet/minecraft/class_3479;method_15727(Lnet/minecraft/class_3479;)Lnet/minecraft/class_3479;named joinGroupOfLnet/minecraft/entity/passive/SchoolableFishEntity;joinGroupOf(Lnet/minecraft/entity/passive/SchoolableFishEntity;)Lnet/minecraft/entity/passive/SchoolableFishEntity;
-
leaveGroup
public void leaveGroup()- Mappings:
Namespace Name Mixin selector official dCLajp;dC()Vintermediary method_15733Lnet/minecraft/class_3479;method_15733()Vnamed leaveGroupLnet/minecraft/entity/passive/SchoolableFishEntity;leaveGroup()V
-
growGroupSize
private void growGroupSize()- Mappings:
Namespace Name Mixin selector official dHLajp;dH()Vintermediary method_15738Lnet/minecraft/class_3479;method_15738()Vnamed growGroupSizeLnet/minecraft/entity/passive/SchoolableFishEntity;growGroupSize()V
-
shrinkGroupSize
private void shrinkGroupSize()- Mappings:
Namespace Name Mixin selector official dILajp;dI()Vintermediary method_15739Lnet/minecraft/class_3479;method_15739()Vnamed shrinkGroupSizeLnet/minecraft/entity/passive/SchoolableFishEntity;shrinkGroupSize()V
-
canFitMoreFishInGroup
public boolean canFitMoreFishInGroup()- Mappings:
Namespace Name Mixin selector official dDLajp;dD()Zintermediary method_15734Lnet/minecraft/class_3479;method_15734()Znamed canFitMoreFishInGroupLnet/minecraft/entity/passive/SchoolableFishEntity;canFitMoreFishInGroup()Z
-
tick
public void tick() -
hasOtherFishInGroup
public boolean hasOtherFishInGroup()- Mappings:
Namespace Name Mixin selector official dELajp;dE()Zintermediary method_15735Lnet/minecraft/class_3479;method_15735()Znamed hasOtherFishInGroupLnet/minecraft/entity/passive/SchoolableFishEntity;hasOtherFishInGroup()Z
-
isCloseEnoughToLeader
public boolean isCloseEnoughToLeader()- Mappings:
Namespace Name Mixin selector official dFLajp;dF()Zintermediary method_15736Lnet/minecraft/class_3479;method_15736()Znamed isCloseEnoughToLeaderLnet/minecraft/entity/passive/SchoolableFishEntity;isCloseEnoughToLeader()Z
-
moveToLeader
public void moveToLeader()- Mappings:
Namespace Name Mixin selector official dGLajp;dG()Vintermediary method_15737Lnet/minecraft/class_3479;method_15737()Vnamed moveToLeaderLnet/minecraft/entity/passive/SchoolableFishEntity;moveToLeader()V
-
bringFishTogether
- Mappings:
Namespace Name Mixin selector official aLajp;a(Ljava/util/stream/Stream;)Vintermediary method_15728Lnet/minecraft/class_3479;method_15728(Ljava/util/stream/Stream;)Vnamed bringFishTogetherLnet/minecraft/entity/passive/SchoolableFishEntity;bringFishTogether(Ljava/util/stream/Stream;)V
-
initialize
@Nullable public EntityData initialize(LocalDifficulty difficulty, @Nullable EntityData entityData, @Nullable NbtCompound nbt) - Overrides:
initializein classMobEntity- Mappings:
Namespace Name Mixin selector official aLafb;a(Ladj;Lafj;Lgy;)Lafj;intermediary method_6156Lnet/minecraft/class_871;method_6156(Lnet/minecraft/class_2607;Lnet/minecraft/class_1700;Lnet/minecraft/class_322;)Lnet/minecraft/class_1700;named initializeLnet/minecraft/entity/mob/MobEntity;initialize(Lnet/minecraft/world/LocalDifficulty;Lnet/minecraft/entity/EntityData;Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/entity/EntityData;
-