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.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.RemovalReason -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final doublenet.minecraft.core.NonNullList<net.minecraft.world.item.ItemStack> booleanbooleanbooleanfloatfloatstatic final intfloatfloatfloatfloatfloatstatic final intbooleanintfloatstatic final intFields 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, xpRewardFields 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, zzaFields 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, zOldFields inherited from interface net.minecraft.commands.CommandSource
NULL -
Constructor Summary
ConstructorsConstructorDescriptionTumbleweed(@NotNull net.minecraft.world.entity.EntityType<Tumbleweed> entityType, @NotNull net.minecraft.world.level.Level level) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAdditionalSaveData(@NotNull net.minecraft.nbt.CompoundTag compound) booleancanBeAffected(@NotNull net.minecraft.world.effect.MobEffectInstance effectInstance) booleancanBeLeashed(@NotNull net.minecraft.world.entity.player.Player player) booleanbooleanbooleancauseFallDamage(float fallDistance, float multiplier, @NotNull net.minecraft.world.damagesource.DamageSource source) static booleancheckTumbleweedSpawnRules(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.Builderprotected voidcreateWitherRose(@Nullable net.minecraft.world.entity.LivingEntity entitySource) protected voidvoiddestroy(boolean killed) voiddie(@NotNull net.minecraft.world.damagesource.DamageSource damageSource) protected voiddoPush(@NotNull net.minecraft.world.entity.Entity entity) protected voiddropAllDeathLoot(@NotNull net.minecraft.world.damagesource.DamageSource damageSource) voiddropItem(boolean killed) @Nullable net.minecraft.world.entity.SpawnGroupDatafinalizeSpawn(@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) voidfrozenLib$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.Vec3protected net.minecraft.sounds.SoundEventgetHurtSound(@NotNull net.minecraft.world.damagesource.DamageSource damageSource) @NotNull net.minecraft.world.item.ItemStackgetItemBySlot(@NotNull net.minecraft.world.entity.EquipmentSlot slot) floatgetItemX()floatgetItemZ()@NotNull net.minecraft.world.entity.HumanoidArm@Nullable net.minecraft.world.item.ItemStackprotected floatgetStandingEyeHeight(@NotNull net.minecraft.world.entity.Pose pose, @NotNull net.minecraft.world.entity.EntityDimensions dimensions) net.minecraft.world.item.ItemStackbooleanisInvulnerableTo(@NotNull net.minecraft.world.damagesource.DamageSource source) booleanisMovingTowards(@NotNull net.minecraft.world.entity.Entity entity) static booleanisSilkTouchOrShears(@NotNull net.minecraft.world.damagesource.DamageSource damageSource) protected voidonInsideBlock(@NotNull net.minecraft.world.level.block.state.BlockState state) voidprotected voidplayStepSound(@NotNull net.minecraft.core.BlockPos pos, @NotNull net.minecraft.world.level.block.state.BlockState state) protected voidplaySwimSound(float volume) voidvoidreadAdditionalSaveData(@NotNull net.minecraft.nbt.CompoundTag compound) voidrecreateFromPacket(@NotNull net.minecraft.network.protocol.game.ClientboundAddEntityPacket packet) booleanremoveWhenFarAway(double distanceToClosestPlayer) booleanvoidsetAngles(@NotNull net.minecraft.world.phys.Vec3 deltaPos) voidsetItem(@NotNull net.minecraft.world.item.ItemStack stack, boolean natural) voidsetItemSlot(@NotNull net.minecraft.world.entity.EquipmentSlot slot, @NotNull net.minecraft.world.item.ItemStack stack) voidsetItemX(float f) voidsetItemZ(float f) voidsetVisibleItem(net.minecraft.world.item.ItemStack itemStack) voidstatic voidspawnFromShears(@NotNull net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos) voidtick()protected voidMethods 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, wantsToPickUpMethods 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, wasExperienceConsumedMethods 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, waterSwimSoundMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:
finalizeSpawnin classnet.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:
getStandingEyeHeightin classnet.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:
doPushin classnet.minecraft.world.entity.LivingEntity
-
dropAllDeathLoot
protected void dropAllDeathLoot(@NotNull @NotNull net.minecraft.world.damagesource.DamageSource damageSource) - Overrides:
dropAllDeathLootin classnet.minecraft.world.entity.LivingEntity
-
onInsideBlock
protected void onInsideBlock(@NotNull @NotNull net.minecraft.world.level.block.state.BlockState state) - Overrides:
onInsideBlockin classnet.minecraft.world.entity.Entity
-
tick
public void tick()- Overrides:
tickin classnet.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:
isInvulnerableToin classnet.minecraft.world.entity.Entity
-
canFreeze
public boolean canFreeze()- Overrides:
canFreezein classnet.minecraft.world.entity.LivingEntity
-
canBeLeashed
public boolean canBeLeashed(@NotNull @NotNull net.minecraft.world.entity.player.Player player) - Overrides:
canBeLeashedin classnet.minecraft.world.entity.Mob
-
canBeAffected
public boolean canBeAffected(@NotNull @NotNull net.minecraft.world.effect.MobEffectInstance effectInstance) - Overrides:
canBeAffectedin classnet.minecraft.world.entity.LivingEntity
-
canBeSeenAsEnemy
public boolean canBeSeenAsEnemy()- Overrides:
canBeSeenAsEnemyin classnet.minecraft.world.entity.LivingEntity
-
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
-
playStepSound
protected void playStepSound(@NotNull @NotNull net.minecraft.core.BlockPos pos, @NotNull @NotNull net.minecraft.world.level.block.state.BlockState state) - Overrides:
playStepSoundin classnet.minecraft.world.entity.Entity
-
causeFallDamage
public boolean causeFallDamage(float fallDistance, float multiplier, @NotNull @NotNull net.minecraft.world.damagesource.DamageSource source) - Overrides:
causeFallDamagein classnet.minecraft.world.entity.LivingEntity
-
getAddEntityPacket
@NotNull public @NotNull net.minecraft.network.protocol.Packet<net.minecraft.network.protocol.game.ClientGamePacketListener> getAddEntityPacket()- Overrides:
getAddEntityPacketin classnet.minecraft.world.entity.Entity
-
recreateFromPacket
public void recreateFromPacket(@NotNull @NotNull net.minecraft.network.protocol.game.ClientboundAddEntityPacket packet) - Overrides:
recreateFromPacketin classnet.minecraft.world.entity.LivingEntity
-
readAdditionalSaveData
public void readAdditionalSaveData(@NotNull @NotNull net.minecraft.nbt.CompoundTag compound) - Overrides:
readAdditionalSaveDatain classnet.minecraft.world.entity.Mob
-
addAdditionalSaveData
public void addAdditionalSaveData(@NotNull @NotNull net.minecraft.nbt.CompoundTag compound) - Overrides:
addAdditionalSaveDatain classnet.minecraft.world.entity.Mob
-
defineSynchedData
protected void defineSynchedData()- Overrides:
defineSynchedDatain classnet.minecraft.world.entity.Mob
-
getPickResult
@Nullable public @Nullable net.minecraft.world.item.ItemStack getPickResult()- Overrides:
getPickResultin classnet.minecraft.world.entity.Mob
-
die
public void die(@NotNull @NotNull net.minecraft.world.damagesource.DamageSource damageSource) - Overrides:
diein classnet.minecraft.world.entity.LivingEntity
-
spawnBreakParticles
public void spawnBreakParticles() -
requiresCustomPersistence
public boolean requiresCustomPersistence()- Overrides:
requiresCustomPersistencein classnet.minecraft.world.entity.Mob
-
removeWhenFarAway
public boolean removeWhenFarAway(double distanceToClosestPlayer) - Overrides:
removeWhenFarAwayin classnet.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:
createWitherRosein classnet.minecraft.world.entity.LivingEntity
-
playSwimSound
protected void playSwimSound(float volume) - Overrides:
playSwimSoundin classnet.minecraft.world.entity.Entity
-
getArmorSlots
- Overrides:
getArmorSlotsin classnet.minecraft.world.entity.Mob
-
getItemBySlot
@NotNull public @NotNull net.minecraft.world.item.ItemStack getItemBySlot(@NotNull @NotNull net.minecraft.world.entity.EquipmentSlot slot) - Overrides:
getItemBySlotin classnet.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:
setItemSlotin classnet.minecraft.world.entity.Mob
-
getMainArm
@NotNull public @NotNull net.minecraft.world.entity.HumanoidArm getMainArm()- Overrides:
getMainArmin classnet.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$onSteppedOnBlockin interfacenet.frozenblock.lib.entity.impl.EntityStepOnBlockInterface
-