Class Tumbleweed

java.lang.Object
net.minecraft.world.entity.Entity
net.minecraft.world.entity.LivingEntity
net.minecraft.world.entity.Mob
net.frozenblock.wilderwild.entity.Tumbleweed
All Implemented Interfaces:
net.frozenblock.lib.entity.impl.EntityStepOnBlockInterface, net.minecraft.commands.CommandSource, net.minecraft.world.entity.Attackable, net.minecraft.world.entity.Targeting, net.minecraft.world.level.entity.EntityAccess, net.minecraft.world.Nameable

public class Tumbleweed extends net.minecraft.world.entity.Mob implements net.frozenblock.lib.entity.impl.EntityStepOnBlockInterface
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.minecraft.world.entity.LivingEntity

    net.minecraft.world.entity.LivingEntity.Fallsounds

    Nested 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.RemovalReason
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final double
     
    net.minecraft.core.NonNullList<net.minecraft.world.item.ItemStack>
     
    boolean
     
    boolean
     
    boolean
     
    float
     
    float
     
    static final int
     
    float
     
    float
     
    float
     
    float
     
    float
     
    static final int
     
    boolean
     
    int
     
    float
     
    static final int
     

    Fields inherited from class net.minecraft.world.entity.Mob

    ambientSoundTime, armorDropChances, DEFAULT_EQUIPMENT_DROP_CHANCE, goalSelector, handDropChances, jumpControl, LEASH_TAG, 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, targetSelector, UPDATE_GOAL_SELECTOR_EVERY_N_TICKS, xpReward

    Fields inherited from class net.minecraft.world.entity.LivingEntity

    animStep, animStepO, ARMOR_SLOT_OFFSET, ARMOR_SLOTS, attackAnim, attackStrengthTicker, autoSpinAttackTicks, brain, DATA_LIVING_ENTITY_FLAGS, dead, DEATH_DURATION, deathScore, deathTime, DEFAULT_BASE_GRAVITY, DEFAULT_EYE_HEIGHT, 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, lerpYRot, lerpZ, LIVING_ENTITY_FLAG_IS_USING, LIVING_ENTITY_FLAG_OFF_HAND, LIVING_ENTITY_FLAG_SPIN_ATTACK, lyHeadRot, MIN_MOVEMENT_DISTANCE, noActionTime, oAttackAnim, oRun, PLAYER_HURT_EXPERIENCE_TIME, removeArrowTime, removeStingerTime, rotA, rotOffs, run, SLEEPING_DIMENSIONS, SWING_DURATION, swinging, swingingArm, swingTime, timeOffs, USE_ITEM_INTERVAL, useItem, useItemRemaining, walkAnimation, xxa, yBodyRot, yBodyRotO, yHeadRot, yHeadRotO, yya, zza

    Fields inherited from class net.minecraft.world.entity.Entity

    BASE_TICKS_REQUIRED_TO_FREEZE, blocksBuilding, BOARDING_COOLDOWN, boardingCooldown, BREATHING_DISTANCE_BELOW_EYES, 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, isInsidePortal, mainSupportingBlockPos, MAX_ENTITY_TAG_COUNT, minorHorizontalCollision, moveDist, noCulling, noPhysics, PASSENGERS_TAG, portalEntrancePos, portalTime, random, stringUUID, stuckSpeedMultiplier, tickCount, TOTAL_AIR_SUPPLY, uuid, UUID_TAG, verticalCollision, verticalCollisionBelow, walkDist, walkDistO, wasEyeInWater, wasInPowderSnow, wasOnFire, wasTouchingWater, xo, xOld, xRotO, yo, yOld, yRotO, zo, zOld

    Fields inherited from interface net.minecraft.commands.CommandSource

    NULL
  • Constructor Summary

    Constructors
    Constructor
    Description
    Tumbleweed(@NotNull net.minecraft.world.entity.EntityType<Tumbleweed> entityType, @NotNull net.minecraft.world.level.Level level)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addAdditionalSaveData(@NotNull net.minecraft.nbt.CompoundTag compound)
     
    boolean
    canBeAffected(@NotNull net.minecraft.world.effect.MobEffectInstance effectInstance)
     
    boolean
    canBeLeashed(@NotNull net.minecraft.world.entity.player.Player player)
     
    boolean
     
    boolean
     
    boolean
    causeFallDamage(float fallDistance, float multiplier, @NotNull net.minecraft.world.damagesource.DamageSource source)
     
    static boolean
    checkTumbleweedSpawnRules(net.minecraft.world.entity.EntityType<Tumbleweed> type, @NotNull net.minecraft.world.level.ServerLevelAccessor level, net.minecraft.world.entity.MobSpawnType spawnType, @NotNull net.minecraft.core.BlockPos pos, @NotNull net.minecraft.util.RandomSource random)
     
    static net.minecraft.world.entity.ai.attributes.AttributeSupplier.Builder
     
    protected void
    createWitherRose(@Nullable net.minecraft.world.entity.LivingEntity entitySource)
     
    protected void
     
    void
    destroy(boolean killed)
     
    void
    die(@NotNull net.minecraft.world.damagesource.DamageSource damageSource)
     
    protected void
    doPush(@NotNull net.minecraft.world.entity.Entity entity)
     
    protected void
    dropAllDeathLoot(@NotNull net.minecraft.world.damagesource.DamageSource damageSource)
     
    void
    dropItem(boolean killed)
     
    @Nullable net.minecraft.world.entity.SpawnGroupData
    finalizeSpawn(@NotNull net.minecraft.world.level.ServerLevelAccessor level, @NotNull net.minecraft.world.DifficultyInstance difficulty, @NotNull net.minecraft.world.entity.MobSpawnType reason, @Nullable net.minecraft.world.entity.SpawnGroupData spawnData, net.minecraft.nbt.CompoundTag dataTag)
     
    void
    frozenLib$onSteppedOnBlock(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos blockPos, @NotNull net.minecraft.world.level.block.state.BlockState blockState)
     
    @NotNull net.minecraft.network.protocol.Packet<net.minecraft.network.protocol.game.ClientGamePacketListener>
     
    @NotNull Iterable<net.minecraft.world.item.ItemStack>
     
    protected net.minecraft.sounds.SoundEvent
     
    @NotNull net.minecraft.world.phys.Vec3
     
    protected net.minecraft.sounds.SoundEvent
    getHurtSound(@NotNull net.minecraft.world.damagesource.DamageSource damageSource)
     
    @NotNull net.minecraft.world.item.ItemStack
    getItemBySlot(@NotNull net.minecraft.world.entity.EquipmentSlot slot)
     
    float
     
    float
     
    @NotNull net.minecraft.world.entity.HumanoidArm
     
    @Nullable net.minecraft.world.item.ItemStack
     
    protected float
    getStandingEyeHeight(@NotNull net.minecraft.world.entity.Pose pose, @NotNull net.minecraft.world.entity.EntityDimensions dimensions)
     
    net.minecraft.world.item.ItemStack
     
    boolean
    isInvulnerableTo(@NotNull net.minecraft.world.damagesource.DamageSource source)
     
    boolean
    isMovingTowards(@NotNull net.minecraft.world.entity.Entity entity)
     
    static boolean
    isSilkTouchOrShears(@NotNull net.minecraft.world.damagesource.DamageSource damageSource)
     
    protected void
    onInsideBlock(@NotNull net.minecraft.world.level.block.state.BlockState state)
     
    void
     
    protected void
    playStepSound(@NotNull net.minecraft.core.BlockPos pos, @NotNull net.minecraft.world.level.block.state.BlockState state)
     
    protected void
    playSwimSound(float volume)
     
    void
     
    void
    readAdditionalSaveData(@NotNull net.minecraft.nbt.CompoundTag compound)
     
    void
    recreateFromPacket(@NotNull net.minecraft.network.protocol.game.ClientboundAddEntityPacket packet)
     
    boolean
    removeWhenFarAway(double distanceToClosestPlayer)
     
    boolean
     
    void
    setAngles(@NotNull net.minecraft.world.phys.Vec3 deltaPos)
     
    void
    setItem(@NotNull net.minecraft.world.item.ItemStack stack, boolean natural)
     
    void
    setItemSlot(@NotNull net.minecraft.world.entity.EquipmentSlot slot, @NotNull net.minecraft.world.item.ItemStack stack)
     
    void
    setItemX(float f)
     
    void
    setItemZ(float f)
     
    void
    setVisibleItem(net.minecraft.world.item.ItemStack itemStack)
     
    void
     
    static void
    spawnFromShears(@NotNull net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos)
     
    void
     
    protected void
     

    Methods inherited from class net.minecraft.world.entity.Mob

    aiStep, ate, baseTick, canAttackType, canFireProjectileWeapon, canHoldItem, canPickUpLoot, canReplaceCurrentItem, canReplaceEqualItem, canTakeItem, checkDespawn, checkMobSpawnRules, checkSpawnObstruction, checkSpawnRules, clearRestriction, convertTo, createBodyControl, createMobAttributes, createNavigation, customServerAiStep, doHurtTarget, dropCustomDeathLoot, dropFromLootTable, dropLeash, enchantSpawnedArmor, enchantSpawnedWeapon, equipItemIfPossible, getAmbientSound, getAmbientSoundInterval, getControllingPassenger, getDefaultLootTable, getEquipmentDropChance, getEquipmentForSlot, getExperienceReward, getHandSlots, getHeadRotSpeed, getJumpControl, getLeashHolder, getLookControl, getLootTable, getLootTableSeed, getMaxFallDistance, getMaxHeadXRot, getMaxHeadYRot, getMaxSpawnClusterSize, getMeleeAttackRangeSqr, getMoveControl, getNavigation, getPathfindingMalus, getPerceivedTargetDistanceSquareForMeleeAttack, getPickupReach, getRestrictCenter, getRestrictRadius, getSensing, getTarget, handleEntityEvent, hasRestriction, interact, isAggressive, isEffectiveAi, isLeashed, isLeftHanded, isMaxGroupSizeReached, isNoAi, isPersistenceRequired, isSunBurnTick, isWithinMeleeAttackRange, isWithinRestriction, isWithinRestriction, jumpInLiquid, lookAt, mobInteract, onOffspringSpawnedFromEgg, onPathfindingDone, onPathfindingStart, pickUpItem, playAmbientSound, playHurtSound, populateDefaultEquipmentEnchantments, populateDefaultEquipmentSlots, registerGoals, removeAfterChangingDimensions, removeAllGoals, removeFreeWill, restrictTo, sendDebugPackets, serverAiStep, setAggressive, setBaby, setCanPickUpLoot, setDelayedLeashHolderId, setDropChance, setGuaranteedDrop, setItemSlotAndDropWhenKilled, setLeashedTo, setLeftHanded, setNoAi, setPathfindingMalus, setPersistenceRequired, setSpeed, setTarget, setXxa, setYya, setZza, shouldDespawnInPeaceful, shouldPassengersInheritMalus, spawnAnim, startRiding, tickHeadTurn, tickLeash, updateControlFlags, wantsToPickUp

    Methods inherited from class net.minecraft.world.entity.LivingEntity

    actuallyHurt, addEffect, addEffect, animateHurt, areAllEffectsAmbient, attackable, blockedByShield, blockUsingShield, brainProvider, broadcastBreakEvent, broadcastBreakEvent, calculateEntityAnimation, calculateFallDamage, canAttack, canAttack, canBeSeenByAnyone, canBreatheUnderwater, canChangeDimensions, canDisableShield, canSpawnSoulSpeedParticle, canStandOnFluid, checkAutoSpinAttack, checkFallDamage, clearSleepingPos, completeUsingItem, createLivingAttributes, decreaseAirSupply, doAutoAttackOnTouch, doesEmitEquipEvent, dropEquipment, dropExperience, eat, equipmentHasChanged, forceAddEffect, getAbsorptionAmount, getActiveEffects, getActiveEffectsMap, getArmorCoverPercentage, getArmorValue, getArrowCount, getAttackAnim, getAttribute, getAttributeBaseValue, getAttributeBaseValue, getAttributes, getAttributeValue, getAttributeValue, getBedOrientation, getBlockSpeedFactor, getBoundingBoxForCulling, getBrain, getCombatTracker, getDamageAfterArmorAbsorb, getDamageAfterMagicAbsorb, getDimensions, getDismountPoses, getDrinkingSound, getEatingSound, getEffect, getEquipmentSlotForItem, getEyeHeight, getFallFlyingTicks, getFallSounds, getFluidFallingAdjustedMovement, getFlyingSpeed, getHealth, getHurtDir, getItemInHand, getJumpBoostPower, getJumpPower, getKillCredit, getLastAttacker, getLastClimbablePos, getLastDamageSource, getLastHurtByMob, getLastHurtByMobTimestamp, getLastHurtMob, getLastHurtMobTimestamp, getLocalBoundsForPose, getMainHandItem, getMaxHealth, getMeleeAttackReferencePosition, getMobType, getNoActionTime, getOffhandItem, getProjectile, getRandom, getRelativePortalPosition, getRiddenInput, getRiddenSpeed, getScale, getSleepingPos, getSlot, getSoundVolume, getSpeed, getStingerCount, getSwimAmount, getTicksUsingItem, getUsedItemHand, getUseItem, getUseItemRemainingTicks, getViewYRot, getVisibilityPercent, getVisualRotationYInDegrees, getVoicePitch, getWaterSlowDown, getYHeadRot, goDownInWater, handleDamageEvent, handleRelativeFrictionAndCalculateMovement, hasEffect, hasItemInSlot, hasLineOfSight, heal, hurt, hurtArmor, hurtCurrentlyUsedShield, hurtHelmet, increaseAirSupply, indicateDamage, isAffectedByFluids, isAffectedByPotions, isAlive, isAlwaysExperienceDropper, isAutoSpinAttack, isBaby, isBlocking, isCurrentlyGlowing, isDamageSourceBlocked, isDeadOrDying, isFallFlying, isHolding, isHolding, isImmobile, isInvertedHealAndHarm, isInWall, isPickable, isPushable, isSensitiveToWater, isSleeping, isSuppressingSlidingDownLadder, isUsingItem, isVisuallySwimming, jumpFromGround, kill, knockback, lerpHeadTo, lerpTo, lookAt, makeBrain, maxUpStep, onBelowWorld, onChangedBlock, onClimbable, onEffectAdded, onEffectRemoved, onEffectUpdated, onEnterCombat, onEquipItem, onItemPickup, onLeaveCombat, onSoulSpeedBlock, onSyncedDataUpdated, playBlockFallSound, push, pushEntities, randomTeleport, releaseUsingItem, remove, removeAllEffects, removeEffect, removeEffectNoUpdate, removeEffectParticles, removeFrost, removeSoulSpeed, resetForwardDirectionOfRelativePortalPosition, rideTick, sendEffectToPassengers, setAbsorptionAmount, setArrowCount, setDiscardFriction, setHealth, setItemInHand, setJumping, setLastHurtByMob, setLastHurtByPlayer, setLastHurtMob, setLivingEntityFlag, setNoActionTime, setRecordPlayingNearby, setSleepingPos, setSprinting, setStingerCount, setYBodyRot, setYHeadRot, shouldDiscardFriction, shouldDropExperience, shouldDropLoot, shouldRemoveSoulSpeed, shouldShowName, skipDropExperience, spawnSoulSpeedParticle, startSleeping, startUsingItem, stopRiding, stopSleeping, stopUsingItem, swing, swing, take, tickDeath, tickEffects, tickRidden, travel, triggerItemUseEffects, tryAddFrost, tryAddSoulSpeed, updateEffectVisibility, updateInvisibilityStatus, updateSwingTime, updateUsingItem, updateWalkAnimation, verifyEquippedItem, wasExperienceConsumed

    Methods inherited from class net.minecraft.world.entity.Entity

    absMoveTo, absMoveTo, acceptsFailure, acceptsSuccess, addDeltaMovement, addPassenger, addTag, awardKillScore, blockPosition, broadcastToPlayer, calculateUpVector, calculateViewVector, canAddPassenger, canBeCollidedWith, canBeHitByProjectile, canCollideWith, canEnterPose, canRide, canSpawnSprintParticle, canSprint, changeDimension, checkBelowWorld, checkInsideBlocks, checkSlowFallDistance, checkSupportingBlock, chunkPosition, clearFire, closerThan, closerThan, collideBoundingBox, copyPosition, couldAcceptPassenger, createCommandSourceStack, createHoverEvent, damageSources, dampensVibrations, discard, dismountsUnderwater, dismountTo, displayFireAnimation, distanceTo, distanceToSqr, distanceToSqr, distanceToSqr, doEnchantDamageEffects, doWaterSplashEffect, ejectPassengers, equals, extinguishFire, fillCrashReportCategory, findDimensionEntryPoint, fireImmune, fixupDimensions, gameEvent, gameEvent, getAirSupply, getAllSlots, getBbHeight, getBbWidth, getBlockExplosionResistance, getBlockJumpFactor, getBlockPosBelowThatAffectsMyMovement, getBlockStateOn, getBlockStateOnLegacy, getBlockX, getBlockY, getBlockZ, getBoundingBox, getBoundingBoxForPose, getCollisionHorizontalEscapeVector, getCommandSenderWorld, getControlledVehicle, getCustomName, getDeltaMovement, getDimensionChangingDelay, getDirection, getDismountLocationForPassenger, getDisplayName, getEncodeId, getEntityData, getExitPortal, getEyeHeight, getEyeHeight, getEyePosition, getEyePosition, getEyeY, getFeetBlockState, getFireImmuneTicks, getFirstPassenger, getFluidHeight, getFluidJumpThreshold, getForward, getHandHoldingItemAngle, getId, getIndirectPassengers, getLeashOffset, getLeashOffset, getLightLevelDependentMagicValue, getLightProbePosition, getLookAngle, getMaxAirSupply, getMotionDirection, getMovementEmission, getMyRidingOffset, getName, getNameTagOffsetY, getOnPos, getOnPos, getOnPosLegacy, getPassengers, getPassengersAndSelf, getPassengersRidingOffset, getPercentFrozen, getPermissionLevel, getPickRadius, getPistonPushReaction, getPortalCooldown, getPortalWaitTime, getPose, getPosition, getPositionCodec, getPrimaryStepSoundBlockPos, getRandomX, getRandomY, getRandomZ, getRemainingFireTicks, getRemovalReason, getRootVehicle, getRopeHoldPosition, getRotationVector, getScoreboardName, getSelfAndPassengers, getServer, getSharedFlag, getSoundSource, getStringUUID, getSwimHighSpeedSplashSound, getSwimSound, getSwimSplashSound, getTags, getTeam, getTeamColor, getTicksFrozen, getTicksRequiredToFreeze, getType, getTypeName, getUpVector, getUUID, getVehicle, getViewScale, getViewVector, getViewXRot, getX, getX, getXRot, getY, getY, getYRot, getZ, getZ, handleInsidePortal, handleNetherPortal, hasControllingPassenger, hasCustomName, hasExactlyOnePlayerPassenger, hasGlowingTag, hashCode, hasIndirectPassenger, hasPassenger, hasPassenger, hasPermissions, hasPose, ignoreExplosion, interactAt, is, isAlliedTo, isAlliedTo, isAlwaysTicking, isAttackable, isColliding, isControlledByLocalInstance, isCrouching, isCustomNameVisible, isDescending, isDiscrete, isEyeInFluid, isFlapping, isFree, isFreezing, isFullyFrozen, isHorizontalCollisionMinor, isIgnoringBlockTriggers, isInLava, isInvisible, isInvisibleTo, isInvulnerable, isInWater, isInWaterOrBubble, isInWaterOrRain, isInWaterRainOrBubble, isNoGravity, isOnFire, isOnPortalCooldown, isOnRails, isPassenger, isPassengerOfSameVehicle, isPushedByFluid, isRemoved, isShiftKeyDown, isSilent, isSpectator, isSprinting, isSteppingCarefully, isSupportedBy, isSuppressingBounce, isSwimming, isUnderWater, isVehicle, isVisuallyCrawling, killedEntity, lavaHurt, lerpMotion, level, limitPistonMovement, load, makeBoundingBox, makeStuckInBlock, markHurt, maybeBackOffFromEdge, mayInteract, mirror, move, moveRelative, moveTo, moveTo, moveTo, moveTo, moveTowardsClosestSpace, newDoubleList, newFloatList, nextStep, onAboveBubbleCol, onClientRemoval, onFlap, onGround, onInsideBubbleColumn, onlyOpCanSetNbt, onPassengerTurned, onSyncedDataUpdated, pick, playCombinationStepSounds, playEntityOnFireExtinguishedSound, playerTouch, playMuffledStepSound, playSound, playSound, position, positionRider, positionRider, processFlappingMovement, processPortalCooldown, push, reapplyPosition, refreshDimensions, removePassenger, removeTag, removeVehicle, repositionEntityAfterLoad, resetFallDistance, restoreFrom, rotate, save, saveAsPassenger, saveWithoutId, sendSystemMessage, setAirSupply, setBoundingBox, setCustomName, setCustomNameVisible, setDeltaMovement, setDeltaMovement, setGlowingTag, setId, setInvisible, setInvulnerable, setIsInPowderSnow, setLevel, setLevelCallback, setMaxUpStep, setNoGravity, setOldPosAndRot, setOnGround, setOnGroundWithKnownMovement, setPortalCooldown, setPortalCooldown, setPos, setPos, setPose, setPosRaw, setRemainingFireTicks, setRemoved, setRot, setSecondsOnFire, setSharedFlag, setSharedFlagOnFire, setShiftKeyDown, setSilent, setSwimming, setTicksFrozen, setUUID, setViewScale, setXRot, setYRot, shouldBeSaved, shouldBlockExplode, shouldInformAdmins, shouldRender, shouldRenderAtSqrDistance, showVehicleHealth, skipAttackInteraction, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnSprintParticle, startRiding, startSeenByPlayer, stopSeenByPlayer, syncPacketPositionCodec, teleportRelative, teleportTo, teleportTo, teleportToWithTicket, thunderHit, toString, touchingUnloadedChunk, trackingPosition, tryCheckInsideBlocks, turn, unRide, unsetRemoved, updateDynamicGameEventListener, updateFluidHeightAndDoFluidPushing, updateInWaterStateAndDoFluidPushing, updateInWaterStateAndDoWaterCurrentPushing, updateSwimming, waterSwimSound

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface net.minecraft.commands.CommandSource

    alwaysAccepts
  • Field Details

    • SPAWN_CHANCE

      public static final int SPAWN_CHANCE
      See Also:
    • INACTIVE_PLAYER_DISTANCE_FROM

      public static final double INACTIVE_PLAYER_DISTANCE_FROM
      See Also:
    • MAX_INACTIVE_TICKS

      public static final int MAX_INACTIVE_TICKS
      See Also:
    • TUMBLEWEED_PLANT_ITEM_CHANCE

      public static final int TUMBLEWEED_PLANT_ITEM_CHANCE
      See Also:
    • inventory

      public net.minecraft.core.NonNullList<net.minecraft.world.item.ItemStack> inventory
    • spawnedFromShears

      public boolean spawnedFromShears
    • ticksSinceActive

      public int ticksSinceActive
    • isItemNatural

      public boolean isItemNatural
    • isTouchingStickingBlock

      public boolean isTouchingStickingBlock
    • isTouchingStoppingBlock

      public boolean isTouchingStoppingBlock
    • prevPitch

      public float prevPitch
    • prevRoll

      public float prevRoll
    • pitch

      public float pitch
    • roll

      public float roll
    • prevTumble

      public float prevTumble
    • tumble

      public float tumble
    • itemX

      public float itemX
    • itemZ

      public float itemZ
  • Constructor Details

    • Tumbleweed

      public Tumbleweed(@NotNull @NotNull net.minecraft.world.entity.EntityType<Tumbleweed> entityType, @NotNull @NotNull net.minecraft.world.level.Level level)
  • Method Details

    • checkTumbleweedSpawnRules

      public static boolean checkTumbleweedSpawnRules(net.minecraft.world.entity.EntityType<Tumbleweed> type, @NotNull @NotNull net.minecraft.world.level.ServerLevelAccessor level, net.minecraft.world.entity.MobSpawnType spawnType, @NotNull @NotNull net.minecraft.core.BlockPos pos, @NotNull @NotNull net.minecraft.util.RandomSource random)
    • createAttributes

      @NotNull public static net.minecraft.world.entity.ai.attributes.AttributeSupplier.Builder createAttributes()
    • isSilkTouchOrShears

      public static boolean isSilkTouchOrShears(@NotNull @NotNull net.minecraft.world.damagesource.DamageSource damageSource)
    • 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.MobSpawnType reason, @Nullable @Nullable net.minecraft.world.entity.SpawnGroupData spawnData, net.minecraft.nbt.CompoundTag dataTag)
      Overrides:
      finalizeSpawn in class net.minecraft.world.entity.Mob
    • getStandingEyeHeight

      protected float getStandingEyeHeight(@NotNull @NotNull net.minecraft.world.entity.Pose pose, @NotNull @NotNull net.minecraft.world.entity.EntityDimensions dimensions)
      Overrides:
      getStandingEyeHeight in class net.minecraft.world.entity.LivingEntity
    • spawnFromShears

      public static void spawnFromShears(@NotNull @NotNull net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos)
    • doPush

      protected void doPush(@NotNull @NotNull net.minecraft.world.entity.Entity entity)
      Overrides:
      doPush in class net.minecraft.world.entity.LivingEntity
    • dropAllDeathLoot

      protected void dropAllDeathLoot(@NotNull @NotNull net.minecraft.world.damagesource.DamageSource damageSource)
      Overrides:
      dropAllDeathLoot in class net.minecraft.world.entity.LivingEntity
    • onInsideBlock

      protected void onInsideBlock(@NotNull @NotNull net.minecraft.world.level.block.state.BlockState state)
      Overrides:
      onInsideBlock in class net.minecraft.world.entity.Entity
    • tick

      public void tick()
      Overrides:
      tick in class net.minecraft.world.entity.Mob
    • setAngles

      public void setAngles(@NotNull @NotNull net.minecraft.world.phys.Vec3 deltaPos)
    • tickAfterWindLeash

      protected void tickAfterWindLeash()
    • pickupItem

      public void pickupItem()
    • dropItem

      public void dropItem(boolean killed)
    • destroy

      public void destroy(boolean killed)
    • setItem

      public void setItem(@NotNull @NotNull net.minecraft.world.item.ItemStack stack, boolean natural)
    • isMovingTowards

      public boolean isMovingTowards(@NotNull @NotNull net.minecraft.world.entity.Entity entity)
    • getDeltaPos

      @NotNull public @NotNull net.minecraft.world.phys.Vec3 getDeltaPos()
    • isInvulnerableTo

      public boolean isInvulnerableTo(@NotNull @NotNull net.minecraft.world.damagesource.DamageSource source)
      Overrides:
      isInvulnerableTo in class net.minecraft.world.entity.Entity
    • canFreeze

      public boolean canFreeze()
      Overrides:
      canFreeze in class net.minecraft.world.entity.LivingEntity
    • canBeLeashed

      public boolean canBeLeashed(@NotNull @NotNull net.minecraft.world.entity.player.Player player)
      Overrides:
      canBeLeashed in class net.minecraft.world.entity.Mob
    • canBeAffected

      public boolean canBeAffected(@NotNull @NotNull net.minecraft.world.effect.MobEffectInstance effectInstance)
      Overrides:
      canBeAffected in class net.minecraft.world.entity.LivingEntity
    • canBeSeenAsEnemy

      public boolean canBeSeenAsEnemy()
      Overrides:
      canBeSeenAsEnemy in class net.minecraft.world.entity.LivingEntity
    • getHurtSound

      protected net.minecraft.sounds.SoundEvent getHurtSound(@NotNull @NotNull net.minecraft.world.damagesource.DamageSource damageSource)
      Overrides:
      getHurtSound in class net.minecraft.world.entity.LivingEntity
    • getDeathSound

      protected net.minecraft.sounds.SoundEvent getDeathSound()
      Overrides:
      getDeathSound in class net.minecraft.world.entity.LivingEntity
    • playStepSound

      protected void playStepSound(@NotNull @NotNull net.minecraft.core.BlockPos pos, @NotNull @NotNull net.minecraft.world.level.block.state.BlockState state)
      Overrides:
      playStepSound in class net.minecraft.world.entity.Entity
    • causeFallDamage

      public boolean causeFallDamage(float fallDistance, float multiplier, @NotNull @NotNull net.minecraft.world.damagesource.DamageSource source)
      Overrides:
      causeFallDamage in class net.minecraft.world.entity.LivingEntity
    • getAddEntityPacket

      @NotNull public @NotNull net.minecraft.network.protocol.Packet<net.minecraft.network.protocol.game.ClientGamePacketListener> getAddEntityPacket()
      Overrides:
      getAddEntityPacket in class net.minecraft.world.entity.Entity
    • recreateFromPacket

      public void recreateFromPacket(@NotNull @NotNull net.minecraft.network.protocol.game.ClientboundAddEntityPacket packet)
      Overrides:
      recreateFromPacket in class net.minecraft.world.entity.LivingEntity
    • readAdditionalSaveData

      public void readAdditionalSaveData(@NotNull @NotNull net.minecraft.nbt.CompoundTag compound)
      Overrides:
      readAdditionalSaveData in class net.minecraft.world.entity.Mob
    • addAdditionalSaveData

      public void addAdditionalSaveData(@NotNull @NotNull net.minecraft.nbt.CompoundTag compound)
      Overrides:
      addAdditionalSaveData in class net.minecraft.world.entity.Mob
    • defineSynchedData

      protected void defineSynchedData()
      Overrides:
      defineSynchedData in class net.minecraft.world.entity.Mob
    • getPickResult

      @Nullable public @Nullable net.minecraft.world.item.ItemStack getPickResult()
      Overrides:
      getPickResult in class net.minecraft.world.entity.Mob
    • die

      public void die(@NotNull @NotNull net.minecraft.world.damagesource.DamageSource damageSource)
      Overrides:
      die in class net.minecraft.world.entity.LivingEntity
    • spawnBreakParticles

      public void spawnBreakParticles()
    • requiresCustomPersistence

      public boolean requiresCustomPersistence()
      Overrides:
      requiresCustomPersistence in class net.minecraft.world.entity.Mob
    • removeWhenFarAway

      public boolean removeWhenFarAway(double distanceToClosestPlayer)
      Overrides:
      removeWhenFarAway in class net.minecraft.world.entity.Mob
    • getVisibleItem

      public net.minecraft.world.item.ItemStack getVisibleItem()
    • setVisibleItem

      public void setVisibleItem(net.minecraft.world.item.ItemStack itemStack)
    • randomizeItemOffsets

      public void randomizeItemOffsets()
    • getItemX

      public float getItemX()
    • setItemX

      public void setItemX(float f)
    • getItemZ

      public float getItemZ()
    • setItemZ

      public void setItemZ(float f)
    • createWitherRose

      protected void createWitherRose(@Nullable @Nullable net.minecraft.world.entity.LivingEntity entitySource)
      Overrides:
      createWitherRose in class net.minecraft.world.entity.LivingEntity
    • playSwimSound

      protected void playSwimSound(float volume)
      Overrides:
      playSwimSound in class net.minecraft.world.entity.Entity
    • getArmorSlots

      @NotNull public @NotNull Iterable<net.minecraft.world.item.ItemStack> getArmorSlots()
      Overrides:
      getArmorSlots in class net.minecraft.world.entity.Mob
    • getItemBySlot

      @NotNull public @NotNull net.minecraft.world.item.ItemStack getItemBySlot(@NotNull @NotNull net.minecraft.world.entity.EquipmentSlot slot)
      Overrides:
      getItemBySlot in class net.minecraft.world.entity.Mob
    • setItemSlot

      public void setItemSlot(@NotNull @NotNull net.minecraft.world.entity.EquipmentSlot slot, @NotNull @NotNull net.minecraft.world.item.ItemStack stack)
      Overrides:
      setItemSlot in class net.minecraft.world.entity.Mob
    • getMainArm

      @NotNull public @NotNull net.minecraft.world.entity.HumanoidArm getMainArm()
      Overrides:
      getMainArm in class net.minecraft.world.entity.Mob
    • frozenLib$onSteppedOnBlock

      public void frozenLib$onSteppedOnBlock(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos blockPos, @NotNull @NotNull net.minecraft.world.level.block.state.BlockState blockState)
      Specified by:
      frozenLib$onSteppedOnBlock in interface net.frozenblock.lib.entity.impl.EntityStepOnBlockInterface