Class Jellyfish
java.lang.Object
net.minecraft.world.entity.Entity
net.minecraft.world.entity.LivingEntity
net.minecraft.world.entity.Mob
net.minecraft.world.entity.PathfinderMob
net.minecraft.world.entity.animal.WaterAnimal
net.minecraft.world.entity.animal.AbstractFish
net.frozenblock.lib.entity.api.NoFlopAbstractFish
net.frozenblock.wilderwild.entity.Jellyfish
- All Implemented Interfaces:
net.minecraft.network.syncher.SyncedDataHolder,net.minecraft.world.entity.animal.Bucketable,net.minecraft.world.entity.Attackable,net.minecraft.world.entity.EquipmentUser,net.minecraft.world.entity.Leashable,net.minecraft.world.entity.Targeting,net.minecraft.world.level.entity.EntityAccess,net.minecraft.world.Nameable,net.minecraft.world.scores.ScoreHolder
public class Jellyfish
extends net.frozenblock.lib.entity.api.NoFlopAbstractFish
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.world.entity.LivingEntity
net.minecraft.world.entity.LivingEntity.FallsoundsNested classes/interfaces inherited from class net.minecraft.world.entity.Entity
net.minecraft.world.entity.Entity.MoveFunction, net.minecraft.world.entity.Entity.MovementEmission, net.minecraft.world.entity.Entity.RemovalReasonNested classes/interfaces inherited from interface net.minecraft.world.entity.Leashable
net.minecraft.world.entity.Leashable.LeashData -
Field Summary
FieldsModifier and TypeFieldDescriptionintstatic final floatstatic final ArrayList<JellyfishVariant> intbooleanstatic final doublestatic final intstatic final intstatic final net.minecraft.world.entity.ai.attributes.AttributeModifierstatic final @NotNull net.minecraft.resources.ResourceLocationstatic final ArrayList<JellyfishVariant> static final intstatic final intfloatintfloatstatic final intstatic final intstatic final floatstatic final floatfinal net.minecraft.world.entity.ai.targeting.TargetingConditionsintbooleanfloatfloatfloatfloatfloatfloatfloatFields inherited from class net.minecraft.world.entity.animal.WaterAnimal
AMBIENT_SOUND_INTERVALFields inherited from class net.minecraft.world.entity.PathfinderMob
DEFAULT_WALK_TARGET_VALUEFields inherited from class net.minecraft.world.entity.Mob
ambientSoundTime, armorDropChances, bodyArmorDropChance, DEFAULT_EQUIPMENT_DROP_CHANCE, goalSelector, handDropChances, jumpControl, lookControl, MAX_ENCHANTED_ARMOR_CHANCE, MAX_ENCHANTED_WEAPON_CHANCE, MAX_PICKUP_LOOT_CHANCE, MAX_WEARING_ARMOR_CHANCE, moveControl, navigation, PICKUP_REACH, PRESERVE_ITEM_DROP_CHANCE, PRESERVE_ITEM_DROP_CHANCE_THRESHOLD, RANDOM_SPAWN_BONUS_ID, targetSelector, UPDATE_GOAL_SELECTOR_EVERY_N_TICKS, xpRewardFields inherited from class net.minecraft.world.entity.LivingEntity
animStep, animStepO, appliedScale, ARMOR_SLOT_OFFSET, ARMOR_SLOTS, attackAnim, attackStrengthTicker, ATTRIBUTES_FIELD, autoSpinAttackDmg, autoSpinAttackItemStack, autoSpinAttackTicks, BASE_JUMP_POWER, BODY_ARMOR_OFFSET, brain, DATA_LIVING_ENTITY_FLAGS, dead, DEATH_DURATION, deathScore, deathTime, DEFAULT_BABY_SCALE, DEFAULT_BASE_GRAVITY, elytraAnimationState, EQUIPMENT_SLOT_OFFSET, EXTRA_RENDER_CULLING_SIZE_WITH_BIG_HAT, fallFlyTicks, HAND_SLOTS, hurtDuration, hurtTime, invulnerableDuration, jumping, lastHurt, lastHurtByPlayer, lastHurtByPlayerTime, lerpHeadSteps, lerpSteps, lerpX, lerpXRot, lerpY, lerpYHeadRot, lerpYRot, lerpZ, LIVING_ENTITY_FLAG_IS_USING, LIVING_ENTITY_FLAG_OFF_HAND, LIVING_ENTITY_FLAG_SPIN_ATTACK, MIN_MOVEMENT_DISTANCE, noActionTime, oAttackAnim, oRun, PLAYER_HURT_EXPERIENCE_TIME, PLAYER_NOT_WEARING_DISGUISE_ITEM, removeArrowTime, removeStingerTime, rotA, rotOffs, run, SLEEPING_DIMENSIONS, SWING_DURATION, swinging, swingingArm, swingTime, timeOffs, useItem, useItemRemaining, walkAnimation, xxa, yBodyRot, yBodyRotO, yHeadRot, yHeadRotO, yya, zzaFields inherited from class net.minecraft.world.entity.Entity
BASE_SAFE_FALL_DISTANCE, BASE_TICKS_REQUIRED_TO_FREEZE, blocksBuilding, BOARDING_COOLDOWN, boardingCooldown, CONTENTS_SLOT_INDEX, DATA_POSE, DATA_SHARED_FLAGS_ID, DEFAULT_BB_HEIGHT, DEFAULT_BB_WIDTH, DELTA_AFFECTED_BY_BLOCKS_BELOW_0_2, DELTA_AFFECTED_BY_BLOCKS_BELOW_0_5, DELTA_AFFECTED_BY_BLOCKS_BELOW_1_0, entityData, fallDistance, firstTick, FLAG_FALL_FLYING, FLAG_GLOWING, FLAG_ONFIRE, fluidHeight, flyDist, FREEZE_HURT_FREQUENCY, hasImpulse, horizontalCollision, hurtMarked, ID_TAG, invulnerableTime, isInPowderSnow, mainSupportingBlockPos, MAX_ENTITY_TAG_COUNT, minorHorizontalCollision, moveDist, noPhysics, PASSENGERS_TAG, portalProcess, random, stringUUID, stuckSpeedMultiplier, tickCount, TOTAL_AIR_SUPPLY, uuid, UUID_TAG, verticalCollision, verticalCollisionBelow, wasEyeInWater, wasInPowderSnow, wasTouchingWater, xo, xOld, xRotO, yo, yOld, yRotO, zo, zOldFields inherited from interface net.minecraft.world.entity.Leashable
LEASH_ELASTIC_DIST, LEASH_TAG, LEASH_TOO_FAR_DISTFields inherited from interface net.minecraft.world.scores.ScoreHolder
WILDCARD, WILDCARD_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAdditionalSaveData(@NotNull net.minecraft.nbt.CompoundTag compound) voidvoidageUp(int amount) voidageUp(int amount, boolean forced) voidaiStep()net.minecraft.world.entity.ai.Brain.Provider<Jellyfish> booleanbooleanbooleancanTargetEntity(@Nullable net.minecraft.world.entity.Entity entity, net.minecraft.server.level.ServerLevel level) static booleancheckJellyfishSpawnRules(@NotNull net.minecraft.world.entity.EntityType<Jellyfish> type, @NotNull net.minecraft.world.level.ServerLevelAccessor level, @NotNull net.minecraft.world.entity.EntitySpawnReason spawnReason, @NotNull net.minecraft.core.BlockPos pos, @NotNull net.minecraft.util.RandomSource random) static voidstatic net.minecraft.world.entity.ai.attributes.AttributeSupplier.Builderprotected voidcustomServerAiStep(net.minecraft.server.level.ServerLevel level) protected voiddefineSynchedData(net.minecraft.network.syncher.SynchedEntityData.Builder builder) @Nullable net.minecraft.world.entity.SpawnGroupDatafinalizeSpawn(@NotNull net.minecraft.world.level.ServerLevelAccessor level, @NotNull net.minecraft.world.DifficultyInstance difficulty, @NotNull net.minecraft.world.entity.EntitySpawnReason reason, @Nullable net.minecraft.world.entity.SpawnGroupData spawnData) intgetAge()protected net.minecraft.sounds.SoundEvent@NotNull net.minecraft.world.entity.ai.Brain<Jellyfish> getBrain()@NotNull net.minecraft.world.item.ItemStackprotected net.minecraft.sounds.SoundEventprotected net.minecraft.sounds.SoundEventgetHurtSound(@NotNull net.minecraft.world.damagesource.DamageSource damageSource) static intgetJellyfishPerLevel(@NotNull net.minecraft.server.level.ServerLevel level, boolean pearlescent) @NotNull Optional<net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable>> @NotNull net.minecraft.sounds.SoundEventprotected floatstatic intgetSpeedUpSecondsWhenFeeding(int ticksUntilAdult) protected @NotNull net.minecraft.sounds.SoundEvent@Nullable net.minecraft.world.entity.LivingEntity@NotNull JellyfishVariantvoidhandleEntityEvent(byte id) booleanhurtServer(net.minecraft.server.level.ServerLevel level, @NotNull net.minecraft.world.damagesource.DamageSource source, float amount) booleanisBaby()booleanisRGB()voidloadFromBucketTag(@NotNull net.minecraft.nbt.CompoundTag tag) protected @NotNull net.minecraft.world.entity.ai.Brain<Jellyfish> makeBrain(@NotNull com.mojang.serialization.Dynamic<?> dynamic) @NotNull net.minecraft.world.InteractionResultmobInteract(@NotNull net.minecraft.world.entity.player.Player player, @NotNull net.minecraft.world.InteractionHand hand) voidmoveToAccurate(@NotNull net.minecraft.world.entity.Entity entity, double speed) protected voidonOffspringSpawnedFromEgg(@NotNull net.minecraft.world.entity.player.Player player, @NotNull net.minecraft.world.entity.Mob child) voidonSyncedDataUpdated(@NotNull net.minecraft.network.syncher.EntityDataAccessor<?> key) protected voidplaySwimSound(float volume) voidreadAdditionalSaveData(@NotNull net.minecraft.nbt.CompoundTag compound) protected voidvoidsaveToBucketTag(@NotNull net.minecraft.world.item.ItemStack stack) protected voidvoidsetAge(int age) voidsetAttackTarget(net.minecraft.world.entity.LivingEntity entity) voidsetBaby(boolean baby) voidsetCanReproduce(boolean bl) voidsetVariant(@NotNull JellyfishVariant variant) voidsetVariantFromPos(@NotNull net.minecraft.world.level.Level level, @NotNull net.minecraft.core.BlockPos pos) booleanvoidspawnChild(net.minecraft.server.level.ServerLevel level) static voidspawnFromChest(@NotNull net.minecraft.world.level.Level level, @NotNull net.minecraft.world.level.block.state.BlockState state, @NotNull net.minecraft.core.BlockPos pos, boolean checkConfig) voidMethods inherited from class net.frozenblock.lib.entity.api.NoFlopAbstractFish
canRandomSwim, getFlopSoundMethods inherited from class net.minecraft.world.entity.animal.AbstractFish
createNavigation, fromBucket, getMaxSpawnClusterSize, playStepSound, removeWhenFarAway, requiresCustomPersistence, setFromBucket, travelMethods inherited from class net.minecraft.world.entity.animal.WaterAnimal
baseTick, checkSpawnObstruction, checkSurfaceWaterAnimalSpawnRules, getAmbientSoundInterval, getBaseExperienceReward, handleAirSupply, isPushedByFluidMethods inherited from class net.minecraft.world.entity.PathfinderMob
checkSpawnRules, closeRangeLeashBehaviour, followLeashSpeed, getWalkTargetValue, getWalkTargetValue, handleLeashAtDistance, isPanicking, isPathFinding, shouldStayCloseToLeashHolderMethods inherited from class net.minecraft.world.entity.Mob
ate, canAttackType, canDispenserEquipIntoSlot, canFireProjectileWeapon, canHoldItem, canPickUpLoot, canReplaceCurrentItem, canReplaceEqualItem, canUseSlot, checkDespawn, checkMobSpawnRules, clampHeadRotationToBody, clearRestriction, convertTo, convertTo, createBodyControl, createMobAttributes, doHurtTarget, dropCustomDeathLoot, dropFromLootTable, dropLeash, dropPreservedEquipment, dropPreservedEquipment, enchantSpawnedArmor, enchantSpawnedWeapon, equip, equip, equipItemIfPossible, getArmorAndBodyArmorSlots, getArmorDropChances, getArmorSlots, getAttackBoundingBox, getBodyArmorItem, getControllingPassenger, getEquipmentDropChance, getEquipmentForSlot, getHandDropChances, getHandSlots, getHeadRotSpeed, getItemBySlot, getJumpControl, getLeashData, getLookControl, getLootTableSeed, getMainArm, getMaxFallDistance, getMaxHeadXRot, getMaxHeadYRot, getMoveControl, getNavigation, getPathfindingMalus, getPickResult, getPickupReach, getRestrictCenter, getRestrictRadius, getSensing, getTargetFromBrain, hasRestriction, interact, isAggressive, isEffectiveAi, isLeftHanded, isMaxGroupSizeReached, isNoAi, isPersistenceRequired, isSunBurnTick, isWearingBodyArmor, isWithinMeleeAttackRange, isWithinRestriction, isWithinRestriction, jumpInLiquid, leashTooFarBehaviour, lookAt, onAttributeUpdated, onPathfindingDone, onPathfindingStart, pickUpItem, playAmbientSound, playAttackSound, playHurtSound, populateDefaultEquipmentEnchantments, populateDefaultEquipmentSlots, removeAfterChangingDimensions, removeAllGoals, removeFreeWill, restrictTo, serverAiStep, setAggressive, setBodyArmorItem, setCanPickUpLoot, setDropChance, setGuaranteedDrop, setItemSlot, setItemSlotAndDropWhenKilled, setLeashData, setLeftHanded, setNoAi, setPathfindingMalus, setPersistenceRequired, setSpeed, setTarget, setXxa, setYya, setZza, shouldDespawnInPeaceful, shouldPassengersInheritMalus, spawnAnim, startRiding, stopInPlace, tick, tickHeadTurn, updateControlFlags, wantsToPickUpMethods inherited from class net.minecraft.world.entity.LivingEntity
activeLocationDependentEnchantments, actuallyHurt, addEffect, addEffect, animateHurt, areAllEffectsAmbient, attackable, blockedByShield, blockUsingShield, calculateEntityAnimation, calculateFallDamage, canAttack, canBeAffected, canBeSeenAsEnemy, canBeSeenByAnyone, canBreatheUnderwater, cancelLerp, canDisableShield, canEquipWithDispenser, canFreeze, canGlide, canGlideUsing, canStandOnFluid, canUsePortal, causeFallDamage, checkAutoSpinAttack, checkFallDamage, clearSleepingPos, completeUsingItem, createLivingAttributes, createWitherRose, decreaseAirSupply, die, doAutoAttackOnTouch, doesEmitEquipEvent, doHurtEquipment, doPush, dropAllDeathLoot, dropEquipment, dropExperience, dropFromGiftLootTable, dropFromLootTable, dropFromShearingLootTable, equipmentHasChanged, forceAddEffect, getAbsorptionAmount, getActiveEffects, getActiveEffectsMap, getAgeScale, getAllSlots, getArmorCoverPercentage, getArmorValue, getArrowCount, getAttackAnim, getAttribute, getAttributeBaseValue, getAttributes, getAttributeValue, getBedOrientation, getBlockSpeedFactor, getCombatTracker, getComfortableFallDistance, getDamageAfterArmorAbsorb, getDamageAfterMagicAbsorb, getDefaultDimensions, getDefaultGravity, getDimensions, getDismountPoses, getEffect, getEffectiveGravity, getEquipmentSlotForItem, getExperienceReward, getFallFlyingTicks, getFallSounds, getFluidFallingAdjustedMovement, getFlyingSpeed, getHealth, getHitbox, getHurtDir, getItemBlockingWith, getItemHeldByArm, getItemInHand, getJumpBoostPower, getJumpPower, getJumpPower, getKillCredit, getKnockback, getLastAttacker, getLastClimbablePos, getLastDamageSource, getLastHurtByMob, getLastHurtByMobTimestamp, getLastHurtByPlayerTime, getLastHurtMob, getLastHurtMobTimestamp, getLocalBoundsForPose, getMainHandItem, getMaxAbsorption, getMaxHeadRotationRelativeToBody, getMaxHealth, getNoActionTime, getOffhandItem, getPassengerRidingPosition, getPreciseBodyRotation, getProjectile, getRelativePortalPosition, getRiddenInput, getRiddenSpeed, getScale, getSleepingPos, getSlot, getSlotForHand, getSpeed, getStingerCount, getSwimAmount, getTicksUsingItem, getUsedItemHand, getUseItem, getUseItemRemainingTicks, getViewYRot, getVisibilityPercent, getVisualRotationYInDegrees, getVoicePitch, getWaterSlowDown, getWeaponItem, getYHeadRot, goDownInWater, handleDamageEvent, handleExtraItemsCreatedOnUse, hasEffect, hasInfiniteMaterials, hasItemInSlot, hasLandedInLiquid, hasLineOfSight, hasLineOfSight, heal, hurtArmor, hurtCurrentlyUsedShield, hurtHelmet, igniteForTicks, increaseAirSupply, indicateDamage, internalSetAbsorptionAmount, isAffectedByFluids, isAffectedByPotions, isAlive, isAlwaysExperienceDropper, isAutoSpinAttack, isBlocking, isCurrentlyGlowing, isDamageSourceBlocked, isDeadOrDying, isEquippableInSlot, isFallFlying, isHolding, isHolding, isImmobile, isInvertedHealAndHarm, isInvulnerableTo, isInWall, isLookingAtMe, isPickable, isPushable, isSensitiveToWater, isSleeping, isSuppressingSlidingDownLadder, isUsingItem, isVisuallySwimming, jumpFromGround, kill, knockback, lerpHeadRotationStep, lerpHeadTo, lerpTargetX, lerpTargetXRot, lerpTargetY, lerpTargetYRot, lerpTargetZ, lerpTo, lookAt, makePoofParticles, makeSound, maxUpStep, onBelowWorld, onChangedBlock, onClimbable, onEffectAdded, onEffectsRemoved, onEffectUpdated, onEnterCombat, onEquipItem, onEquippedItemBroken, onItemPickup, onLeaveCombat, playBlockFallSound, push, pushEntities, randomTeleport, recreateFromPacket, releaseUsingItem, remove, removeAllEffects, removeEffect, removeEffectNoUpdate, removeEffectParticles, removeFrost, resetForwardDirectionOfRelativePortalPosition, rideTick, sanitizeScale, sendEffectToPassengers, setAbsorptionAmount, setArrowCount, setDiscardFriction, setHealth, setItemInHand, setJumping, setLastHurtByMob, setLastHurtByPlayer, setLastHurtMob, setLivingEntityFlag, setNoActionTime, setRecordPlayingNearby, setSleepingPos, setSprinting, setStingerCount, setYBodyRot, setYHeadRot, shouldDiscardFriction, shouldDropExperience, shouldDropLoot, shouldShowName, skipDropExperience, spawnItemParticles, startSleeping, startUsingItem, stopRiding, stopSleeping, stopUsingItem, swing, swing, take, tickDeath, tickEffects, tickRidden, triggerOnDeathMobEffects, tryAddFrost, updateEffectVisibility, updateFallFlying, updateInvisibilityStatus, updateSwingTime, updateUsingItem, updateWalkAnimation, verifyEquippedItem, wasExperienceConsumed, wouldNotSuffocateAtTargetPoseMethods inherited from class net.minecraft.world.entity.Entity
absMoveTo, absMoveTo, absRotateTo, addDeltaMovement, addPassenger, addTag, adjustSpawnLocation, applyEffectsFromBlocks, applyEffectsFromBlocks, applyGravity, awardKillScore, blockPosition, broadcastToPlayer, calculateUpVector, calculateViewVector, canAddPassenger, canBeCollidedWith, canBeHitByProjectile, canCollideWith, canControlVehicle, canRide, canSpawnSprintParticle, canSprint, canTeleport, checkBelowWorld, checkSlowFallDistance, checkSupportingBlock, chunkPosition, clearFire, closerThan, closerThan, collideBoundingBox, considersEntityAsAlly, copyPosition, couldAcceptPassenger, countPlayerPassengers, createCommandSourceStackForNameResolution, createHoverEvent, damageSources, dampensVibrations, deflection, discard, dismountsUnderwater, dismountTo, displayFireAnimation, distanceTo, distanceToSqr, distanceToSqr, distanceToSqr, doWaterSplashEffect, ejectPassengers, equals, extinguishFire, fillCrashReportCategory, fireImmune, fixupDimensions, forceSetRotation, fudgePositionAfterSizeChange, gameEvent, gameEvent, getAddEntityPacket, getAirSupply, getAttachments, getBbHeight, getBbWidth, getBlockExplosionResistance, getBlockJumpFactor, getBlockPosBelowThatAffectsMyMovement, getBlockStateOn, getBlockStateOnLegacy, getBlockX, getBlockY, getBlockZ, getBoundingBox, getCollisionHorizontalEscapeVector, getCommandSenderWorld, getControlledVehicle, getCustomName, getDefaultPassengerAttachmentPoint, getDeltaMovement, getDimensionChangingDelay, getDirection, getDismountLocationForPassenger, getDisplayName, getEncodeId, getEntityData, getEyeHeight, getEyeHeight, getEyePosition, getEyePosition, getEyeY, getFireImmuneTicks, getFirstPassenger, getFluidHeight, getFluidJumpThreshold, getForward, getGravity, getHandHoldingItemAngle, getId, getInBlockState, getIndirectPassengers, getInputVector, getKnownMovement, getLeashOffset, getLeashOffset, getLightLevelDependentMagicValue, getLightProbePosition, getLookAngle, getMaxAirSupply, getMotionDirection, getMovementEmission, getName, getNearestViewDirection, getOnPos, getOnPos, getOnPosLegacy, getPassengerAttachmentPoint, getPassengers, getPassengersAndSelf, getPercentFrozen, getPickRadius, getPistonPushReaction, getPortalCooldown, getPose, getPosition, getPositionCodec, getPrimaryStepSoundBlockPos, getRandom, getRandomX, getRandomY, getRandomZ, getRemainingFireTicks, getRemovalReason, getRootVehicle, getRopeHoldPosition, getRotationVector, getScoreboardName, getSelfAndPassengers, getServer, getSharedFlag, getSoundSource, getStringUUID, getSwimHighSpeedSplashSound, getSwimSplashSound, getTags, getTeam, getTeamColor, getTicksFrozen, getTicksRequiredToFreeze, getType, getTypeName, getUpVector, getUUID, getVehicle, getVehicleAttachmentPoint, getViewScale, getViewVector, getViewXRot, getX, getX, getXRot, getXRot, getY, getY, getYRot, getYRot, getZ, getZ, handlePortal, hasControllingPassenger, hasCustomName, hasExactlyOnePlayerPassenger, hasGlowingTag, hashCode, hasIndirectPassenger, hasPassenger, hasPassenger, hasPose, hurt, hurtClient, hurtOrSimulate, igniteForSeconds, ignoreExplosion, interactAt, is, isAffectedByBlocks, isAlliedTo, isAlliedTo, isAlwaysTicking, isAttackable, isColliding, isControlledByClient, isControlledByLocalInstance, isControlledByOrIsLocalPlayer, isCrouching, isCustomNameVisible, isDescending, isDiscrete, isEyeInFluid, isFlapping, isFree, isFreezing, isFullyFrozen, isHorizontalCollisionMinor, isIgnoringBlockTriggers, isInLava, isInLiquid, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableToBase, isInWater, isInWaterOrBubble, isInWaterOrRain, isInWaterRainOrBubble, isNoGravity, isOnFire, isOnPortalCooldown, isOnRails, isPassenger, isPassengerOfSameVehicle, isRemoved, isShiftKeyDown, isSilent, isSpectator, isSprinting, isSteppingCarefully, isSupportedBy, isSuppressingBounce, isSwimming, isUnderWater, isVehicle, isVisuallyCrawling, killedEntity, lavaHurt, lerpMotion, lerpPositionAndRotationStep, level, limitPistonMovement, load, makeBoundingBox, makeStuckInBlock, markHurt, maybeBackOffFromEdge, mayInteract, mirror, move, moveRelative, moveTo, moveTo, moveTo, moveTo, moveTo, moveTowardsClosestSpace, newDoubleList, newFloatList, nextStep, oldPosition, onAboveBubbleCol, onClientRemoval, onExplosionHit, onFlap, onGround, onInsideBlock, onInsideBubbleColumn, onlyOpCanSetNbt, onPassengerTurned, onRemoval, onSyncedDataUpdated, pick, placePortalTicket, playCombinationStepSounds, playEntityOnFireExtinguishedSound, playerTouch, playMuffledStepSound, playSound, playSound, position, positionRider, positionRider, processFlappingMovement, processPortalCooldown, push, push, reapplyPosition, recordMovementThroughBlocks, refreshDimensions, registryAccess, removePassenger, removeTag, removeVehicle, repositionEntityAfterLoad, resetFallDistance, restoreFrom, rotate, save, saveAsPassenger, saveWithoutId, setAirSupply, setAsInsidePortal, setBoundingBox, setCustomName, setCustomNameVisible, setDeltaMovement, setDeltaMovement, setGlowingTag, setId, setInvisible, setInvulnerable, setIsInPowderSnow, setLevel, setLevelCallback, setNoGravity, setOldPos, setOldPosAndRot, setOldPosAndRot, setOldRot, setOnGround, setOnGroundWithMovement, setPortalCooldown, setPortalCooldown, setPos, setPos, setPose, setPosRaw, setRemainingFireTicks, setRemoved, setRot, setSharedFlag, setSharedFlagOnFire, setShiftKeyDown, setSilent, setSwimming, setTicksFrozen, setUUID, setViewScale, setXRot, setYRot, shouldBeSaved, shouldBlockExplode, shouldPlayLavaHurtSound, shouldRender, shouldRenderAtSqrDistance, showVehicleHealth, skipAttackInteraction, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnSprintParticle, startRiding, startSeenByPlayer, stopSeenByPlayer, syncPacketPositionCodec, teleport, teleportRelative, teleportSetPosition, teleportTo, teleportTo, thunderHit, toString, touchingUnloadedChunk, trackingPosition, turn, unRide, unsetRemoved, updateDynamicGameEventListener, updateFluidHeightAndDoFluidPushing, updateInWaterStateAndDoFluidPushing, updateInWaterStateAndDoWaterCurrentPushing, updateSwimming, waterSwimSoundMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.world.entity.EquipmentUser
equip, equip, equip, resolveSlotMethods inherited from interface net.minecraft.world.entity.Leashable
canHaveALeashAttachedToIt, elasticRangeLeashBehaviour, getLeashHolder, isLeashed, mayBeLeashed, readLeashData, setDelayedLeashHolderId, setLeashedTo, writeLeashDataMethods inherited from interface net.minecraft.world.scores.ScoreHolder
getFeedbackDisplayName
-
Field Details
-
POISON_DURATION_IN_SECONDS_BABY
public static final int POISON_DURATION_IN_SECONDS_BABY- See Also:
-
POISON_DURATION_IN_SECONDS
public static final int POISON_DURATION_IN_SECONDS- See Also:
-
STING_PITCH
public static final float STING_PITCH- See Also:
-
STING_PITCH_BABY
public static final float STING_PITCH_BABY- See Also:
-
SPAWN_CHANCE
public static final int SPAWN_CHANCE- See Also:
-
SPAWN_HEIGHT_NORMAL_SEA_OFFSET
public static final int SPAWN_HEIGHT_NORMAL_SEA_OFFSET- See Also:
-
BUBBLE_SPAWN_CHANCE
public static final float BUBBLE_SPAWN_CHANCE- See Also:
-
HIDABLE_PLAYER_DISTANCE
public static final double HIDABLE_PLAYER_DISTANCE- See Also:
-
HIDABLE_TICKS_SINCE_SPAWN
public static final int HIDABLE_TICKS_SINCE_SPAWN- See Also:
-
HIDING_CHANCE
public static final int HIDING_CHANCE- See Also:
-
JELLYFISH_MOVEMENT_SPEED_MODIFIER_BABY_UUID
@NotNull public static final @NotNull net.minecraft.resources.ResourceLocation JELLYFISH_MOVEMENT_SPEED_MODIFIER_BABY_UUID -
JELLYFISH_MOVEMENT_SPEED_MODIFIER_BABY
public static final net.minecraft.world.entity.ai.attributes.AttributeModifier JELLYFISH_MOVEMENT_SPEED_MODIFIER_BABY -
COLORED_VARIANTS
-
PEARLESCENT_VARIANTS
-
targetingConditions
public final net.minecraft.world.entity.ai.targeting.TargetingConditions targetingConditions -
xBodyRot
public float xBodyRot -
xRot1
public float xRot1 -
xRot2
public float xRot2 -
xRot3
public float xRot3 -
xRot4
public float xRot4 -
xRot5
public float xRot5 -
xRot6
public float xRot6 -
vanishing
public boolean vanishing -
growing
public boolean growing -
prevScale
public float prevScale -
scale
public float scale -
ticksSinceSpawn
public int ticksSinceSpawn -
age
public int age -
fullness
public int fullness -
reproductionCooldown
public int reproductionCooldown
-
-
Constructor Details
-
Jellyfish
public Jellyfish(@NotNull @NotNull net.minecraft.world.entity.EntityType<? extends Jellyfish> entityType, @NotNull @NotNull net.minecraft.world.level.Level level)
-
-
Method Details
-
getJellyfishPerLevel
public static int getJellyfishPerLevel(@NotNull @NotNull net.minecraft.server.level.ServerLevel level, boolean pearlescent) -
clearLevelToNonPearlescentCount
public static void clearLevelToNonPearlescentCount() -
checkJellyfishSpawnRules
public static boolean checkJellyfishSpawnRules(@NotNull @NotNull net.minecraft.world.entity.EntityType<Jellyfish> type, @NotNull @NotNull net.minecraft.world.level.ServerLevelAccessor level, @NotNull @NotNull net.minecraft.world.entity.EntitySpawnReason spawnReason, @NotNull @NotNull net.minecraft.core.BlockPos pos, @NotNull @NotNull net.minecraft.util.RandomSource random) -
defineSynchedData
protected void defineSynchedData(net.minecraft.network.syncher.SynchedEntityData.Builder builder) - Overrides:
defineSynchedDatain classnet.minecraft.world.entity.animal.AbstractFish
-
createAttributes
@NotNull public static net.minecraft.world.entity.ai.attributes.AttributeSupplier.Builder createAttributes() -
spawnFromChest
public static void spawnFromChest(@NotNull @NotNull net.minecraft.world.level.Level level, @NotNull @NotNull net.minecraft.world.level.block.state.BlockState state, @NotNull @NotNull net.minecraft.core.BlockPos pos, boolean checkConfig) -
getSpeedUpSecondsWhenFeeding
public static int getSpeedUpSecondsWhenFeeding(int ticksUntilAdult) -
registerGoals
protected void registerGoals()- Overrides:
registerGoalsin classnet.minecraft.world.entity.animal.AbstractFish
-
finalizeSpawn
@Nullable public @Nullable net.minecraft.world.entity.SpawnGroupData finalizeSpawn(@NotNull @NotNull net.minecraft.world.level.ServerLevelAccessor level, @NotNull @NotNull net.minecraft.world.DifficultyInstance difficulty, @NotNull @NotNull net.minecraft.world.entity.EntitySpawnReason reason, @Nullable @Nullable net.minecraft.world.entity.SpawnGroupData spawnData) - Overrides:
finalizeSpawnin classnet.minecraft.world.entity.Mob
-
setVariantFromPos
public void setVariantFromPos(@NotNull @NotNull net.minecraft.world.level.Level level, @NotNull @NotNull net.minecraft.core.BlockPos pos) -
onSyncedDataUpdated
public void onSyncedDataUpdated(@NotNull @NotNull net.minecraft.network.syncher.EntityDataAccessor<?> key) - Specified by:
onSyncedDataUpdatedin interfacenet.minecraft.network.syncher.SyncedDataHolder- Overrides:
onSyncedDataUpdatedin classnet.minecraft.world.entity.LivingEntity
-
getAmbientSound
protected net.minecraft.sounds.SoundEvent getAmbientSound()- Overrides:
getAmbientSoundin classnet.minecraft.world.entity.Mob
-
getSwimSound
@NotNull protected @NotNull net.minecraft.sounds.SoundEvent getSwimSound()- Overrides:
getSwimSoundin classnet.minecraft.world.entity.animal.AbstractFish
-
playSwimSound
protected void playSwimSound(float volume) - Overrides:
playSwimSoundin classnet.minecraft.world.entity.Entity
-
getHurtSound
protected net.minecraft.sounds.SoundEvent getHurtSound(@NotNull @NotNull net.minecraft.world.damagesource.DamageSource damageSource) - Overrides:
getHurtSoundin classnet.minecraft.world.entity.LivingEntity
-
getDeathSound
protected net.minecraft.sounds.SoundEvent getDeathSound()- Overrides:
getDeathSoundin classnet.minecraft.world.entity.LivingEntity
-
canBeLeashed
public boolean canBeLeashed()- Specified by:
canBeLeashedin interfacenet.minecraft.world.entity.Leashable- Overrides:
canBeLeashedin classnet.minecraft.world.entity.animal.WaterAnimal
-
getSoundVolume
protected float getSoundVolume()- Overrides:
getSoundVolumein classnet.minecraft.world.entity.LivingEntity
-
brainProvider
- Overrides:
brainProviderin classnet.minecraft.world.entity.LivingEntity
-
makeBrain
@NotNull protected @NotNull net.minecraft.world.entity.ai.Brain<Jellyfish> makeBrain(@NotNull @NotNull com.mojang.serialization.Dynamic<?> dynamic) - Overrides:
makeBrainin classnet.minecraft.world.entity.LivingEntity
-
getBrain
- Overrides:
getBrainin classnet.minecraft.world.entity.LivingEntity
-
sendDebugPackets
protected void sendDebugPackets()- Overrides:
sendDebugPacketsin classnet.minecraft.world.entity.Mob
-
getTarget
@Nullable public @Nullable net.minecraft.world.entity.LivingEntity getTarget()- Specified by:
getTargetin interfacenet.minecraft.world.entity.Targeting- Overrides:
getTargetin classnet.minecraft.world.entity.Mob
-
setAttackTarget
public void setAttackTarget(net.minecraft.world.entity.LivingEntity entity) -
aiStep
public void aiStep()- Overrides:
aiStepin classnet.minecraft.world.entity.animal.AbstractFish
-
handleEntityEvent
public void handleEntityEvent(byte id) - Overrides:
handleEntityEventin classnet.minecraft.world.entity.Mob
-
stingEntities
public void stingEntities() -
onOffspringSpawnedFromEgg
protected void onOffspringSpawnedFromEgg(@NotNull @NotNull net.minecraft.world.entity.player.Player player, @NotNull @NotNull net.minecraft.world.entity.Mob child) - Overrides:
onOffspringSpawnedFromEggin classnet.minecraft.world.entity.Mob
-
moveToAccurate
public void moveToAccurate(@NotNull @NotNull net.minecraft.world.entity.Entity entity, double speed) -
canTargetEntity
@Contract("null->false") public boolean canTargetEntity(@Nullable @Nullable net.minecraft.world.entity.Entity entity, net.minecraft.server.level.ServerLevel level) -
customServerAiStep
protected void customServerAiStep(net.minecraft.server.level.ServerLevel level) - Overrides:
customServerAiStepin classnet.minecraft.world.entity.Mob
-
shouldHide
public boolean shouldHide() -
getPickupSound
@NotNull public @NotNull net.minecraft.sounds.SoundEvent getPickupSound()- Specified by:
getPickupSoundin interfacenet.minecraft.world.entity.animal.Bucketable- Overrides:
getPickupSoundin classnet.minecraft.world.entity.animal.AbstractFish
-
mobInteract
@NotNull public @NotNull net.minecraft.world.InteractionResult mobInteract(@NotNull @NotNull net.minecraft.world.entity.player.Player player, @NotNull @NotNull net.minecraft.world.InteractionHand hand) - Overrides:
mobInteractin classnet.minecraft.world.entity.animal.AbstractFish
-
spawnChild
public void spawnChild(net.minecraft.server.level.ServerLevel level) -
hurtServer
public boolean hurtServer(net.minecraft.server.level.ServerLevel level, @NotNull @NotNull net.minecraft.world.damagesource.DamageSource source, float amount) - Overrides:
hurtServerin classnet.minecraft.world.entity.LivingEntity
-
getBucketItemStack
@NotNull public @NotNull net.minecraft.world.item.ItemStack getBucketItemStack() -
getVariant
-
setVariant
-
canReproduce
public boolean canReproduce() -
setCanReproduce
public void setCanReproduce(boolean bl) -
isRGB
public boolean isRGB() -
ageUp
public void ageUp(int amount, boolean forced) -
ageUp
public void ageUp(int amount) -
getAge
public int getAge() -
setAge
public void setAge(int age) -
ageBoundaryReached
public void ageBoundaryReached() -
isBaby
public boolean isBaby()- Overrides:
isBabyin classnet.minecraft.world.entity.LivingEntity
-
setBaby
public void setBaby(boolean baby) - Overrides:
setBabyin classnet.minecraft.world.entity.Mob
-
getLootTable
@NotNull public @NotNull Optional<net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable>> getLootTable()- Overrides:
getLootTablein classnet.minecraft.world.entity.Mob
-
saveToBucketTag
public void saveToBucketTag(@NotNull @NotNull net.minecraft.world.item.ItemStack stack) - Specified by:
saveToBucketTagin interfacenet.minecraft.world.entity.animal.Bucketable- Overrides:
saveToBucketTagin classnet.minecraft.world.entity.animal.AbstractFish
-
loadFromBucketTag
public void loadFromBucketTag(@NotNull @NotNull net.minecraft.nbt.CompoundTag tag) - Specified by:
loadFromBucketTagin interfacenet.minecraft.world.entity.animal.Bucketable- Overrides:
loadFromBucketTagin classnet.minecraft.world.entity.animal.AbstractFish
-
addAdditionalSaveData
public void addAdditionalSaveData(@NotNull @NotNull net.minecraft.nbt.CompoundTag compound) - Overrides:
addAdditionalSaveDatain classnet.minecraft.world.entity.animal.AbstractFish
-
readAdditionalSaveData
public void readAdditionalSaveData(@NotNull @NotNull net.minecraft.nbt.CompoundTag compound) - Overrides:
readAdditionalSaveDatain classnet.minecraft.world.entity.animal.AbstractFish
-