Class AbstractBrainMuncher

java.lang.Object
net.minecraftforge.common.capabilities.CapabilityProvider<net.minecraft.world.entity.Entity>
net.minecraft.world.entity.Entity
net.minecraft.world.entity.LivingEntity
net.minecraft.world.entity.Mob
net.minecraft.world.entity.PathfinderMob
net.minecraft.world.entity.monster.Monster
nokunami.floral_warfare.common.entity.zombies.AbstractBrainMuncher
All Implemented Interfaces:
net.minecraft.commands.CommandSource, net.minecraft.world.entity.Attackable, net.minecraft.world.entity.monster.Enemy, net.minecraft.world.entity.NeutralMob, net.minecraft.world.entity.Targeting, net.minecraft.world.level.entity.EntityAccess, net.minecraft.world.Nameable, net.minecraftforge.common.capabilities.ICapabilityProvider, net.minecraftforge.common.capabilities.ICapabilityProviderImpl<net.minecraft.world.entity.Entity>, net.minecraftforge.common.capabilities.ICapabilitySerializable<net.minecraft.nbt.CompoundTag>, net.minecraftforge.common.extensions.IForgeEntity, net.minecraftforge.common.extensions.IForgeLivingEntity, net.minecraftforge.common.util.INBTSerializable<net.minecraft.nbt.CompoundTag>, IFWAction
Direct Known Subclasses:
AbstractBrowncoat, AbstractGargantuar, AbstractImp, AbstractSpecialZombie

public abstract class AbstractBrainMuncher extends net.minecraft.world.entity.monster.Monster implements net.minecraft.world.entity.NeutralMob, IFWAction
  • 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

    Nested classes/interfaces inherited from class net.minecraftforge.common.capabilities.CapabilityProvider

    net.minecraftforge.common.capabilities.CapabilityProvider.AsField<B extends net.minecraftforge.common.capabilities.ICapabilityProviderImpl<B>>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static final net.minecraft.network.syncher.EntityDataAccessor<Boolean>
     
    protected static final net.minecraft.network.syncher.EntityDataAccessor<Float>
     
    net.minecraft.world.entity.AnimationState
     
    net.minecraft.world.entity.AnimationState
     
    net.minecraft.world.entity.AnimationState
     
    net.minecraft.world.entity.AnimationState
     
    net.minecraft.world.entity.AnimationState
     
    static final Predicate<net.minecraft.world.entity.item.ItemEntity>
     
    net.minecraft.world.entity.AnimationState
     
    protected static final net.minecraft.network.syncher.EntityDataAccessor<Boolean>
     
    net.minecraft.world.entity.AnimationState
     
    protected static final net.minecraft.network.syncher.EntityDataAccessor<Integer>
     
    net.minecraft.world.entity.AnimationState
     
    protected static final net.minecraft.network.syncher.EntityDataAccessor<Boolean>
     
    protected static final net.minecraft.network.syncher.EntityDataAccessor<Integer>
     
    net.minecraft.world.entity.AnimationState
     
    int
     
    protected static final net.minecraft.network.syncher.EntityDataAccessor<net.minecraft.core.BlockPos>
     
    protected static final net.minecraft.network.syncher.EntityDataAccessor<Boolean>
     
    protected static final net.minecraft.network.syncher.EntityDataAccessor<Boolean>
     
     
    protected static final net.minecraft.network.syncher.EntityDataAccessor<Integer>
     
    net.minecraft.world.entity.AnimationState
     

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

    DEFAULT_WALK_TARGET_VALUE

    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, effectsDirty, 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, ENTITY_COUNTER, entityData, fallDistance, firstTick, FLAG_FALL_FLYING, FLAG_GLOWING, FLAG_ONFIRE, fluidHeight, flyDist, forgeFluidTypeHeight, 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

    Fields inherited from interface net.minecraft.world.entity.monster.Enemy

    XP_REWARD_BOSS, XP_REWARD_HUGE, XP_REWARD_LARGE, XP_REWARD_MEDIUM, XP_REWARD_NONE, XP_REWARD_SMALL

    Fields inherited from interface net.minecraft.world.entity.NeutralMob

    TAG_ANGER_TIME, TAG_ANGRY_AT
  • Constructor Summary

    Constructors
    Constructor
    Description
    AbstractBrainMuncher(net.minecraft.world.entity.EntityType<? extends AbstractBrainMuncher> pEntityType, net.minecraft.world.level.Level pLevel)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Configuration for goal actions.
    net.minecraft.world.entity.AnimationState
    actionAnim(int i)
     
    protected void
    actuallyHurt(net.minecraft.world.damagesource.DamageSource source, float amount)
     
    void
    addAdditionalSaveData(@NotNull net.minecraft.nbt.CompoundTag tag)
     
    void
     
    void
     
    void
    applyRaidBuffs(int pWave, boolean pUnusedFalse)
     
    void
     
    void
     
    void
    broadcastAnimEvent(int type, boolean stopOtherAnim)
     
    boolean
    canAttack(@NotNull net.minecraft.world.entity.LivingEntity target)
     
    boolean
    canBeAffected(@NotNull net.minecraft.world.effect.MobEffectInstance effectInstance)
     
    boolean
     
    boolean
     
    boolean
     
    void
    canPickupItem(net.minecraft.world.entity.item.ItemEntity item)
     
    static boolean
    checkPatrollingZombieSpawnRules(net.minecraft.world.entity.EntityType<? extends net.minecraft.world.entity.monster.PatrollingMonster> pPatrollingMonster, net.minecraft.world.level.LevelAccessor pLevel, net.minecraft.world.entity.MobSpawnType pSpawnType, net.minecraft.core.BlockPos pPos, net.minecraft.util.RandomSource pRandom)
     
    void
     
    static net.minecraft.world.entity.ai.attributes.AttributeSupplier.Builder
     
    protected void
     
    void
    die(@NotNull net.minecraft.world.damagesource.DamageSource source)
     
    boolean
    doHurtTarget(net.minecraft.world.entity.Entity entity)
     
    protected void
     
    void
     
    net.minecraft.world.entity.SpawnGroupData
    finalizeSpawn(net.minecraft.world.level.ServerLevelAccessor level, net.minecraft.world.DifficultyInstance difficultyInstance, net.minecraft.world.entity.MobSpawnType type, net.minecraft.world.entity.SpawnGroupData groupData, net.minecraft.nbt.CompoundTag tag)
     
    void
     
    double
     
     
    float
     
    int
     
    boolean
     
    double
     
    Optional<net.minecraft.core.BlockPos>
     
    net.minecraft.sounds.SoundEvent
     
    net.minecraft.sounds.SoundEvent
     
     
    float
     
    int
     
    int
     
    float
    getEquipmentChance(net.minecraft.world.entity.EquipmentSlot pSlot)
     
    double
     
    net.minecraft.sounds.SoundEvent
     
    float
     
    double
     
    net.minecraft.core.BlockPos
     
     
    net.minecraft.world.item.ItemStack
    getPickedResult(net.minecraft.world.phys.HitResult target)
     
    int
     
    int
     
    int
     
    int
     
    void
    groan(int tick)
     
    void
     
    boolean
     
    boolean
     
    boolean
     
    void
    heal(float pHealAmount)
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    protected void
    patrolSpawn(net.minecraft.world.level.ServerLevelAccessor level, net.minecraft.world.entity.MobSpawnType type)
     
    void
    performAction(double damage)
    Fires when the specified IFWAction.getStartAnimDelay() has been reached.
    protected void
    pickUpItem(@NotNull net.minecraft.world.entity.item.ItemEntity item)
     
    void
     
    void
     
    protected void
    playHurtSound(@NotNull net.minecraft.world.damagesource.DamageSource source)
     
    void
     
    float
     
    float
     
    void
    void
    Fires when the animation starts.
    void
     
    void
    readAdditionalSaveData(@NotNull net.minecraft.nbt.CompoundTag tag)
     
    protected void
     
    boolean
    removeWhenFarAway(double distanceToClosestPlayer)
     
    boolean
     
    void
    Fires when at the end of a action cycle.
    void
    sayBrains(int tick)
     
    void
    setAct(boolean b)
     
    void
     
    void
    setActTick(float tick)
     
    void
    setAnimEvent(int anim)
     
    void
    setAnimOverride(boolean override)
     
    void
    setArmPop(boolean armPop)
     
    void
    setBeaconPos(net.minecraft.core.BlockPos pos)
     
    void
    setCanJoinRaid(boolean canJoinRaid)
     
    void
    setCelebrating(boolean celebrating)
     
    void
     
    void
    setDetachArm(int state)
     
    void
    setDetachHead(int state)
     
    void
    setHeadPop(boolean headPop)
     
    void
    setPatrolLeader(boolean leader)
     
    void
    setPatrolling(boolean patrolling)
     
    void
    setPatrolTarget(net.minecraft.core.BlockPos pos)
     
    void
     
    void
     
    void
    setRepeats(int amount)
     
    void
     
    void
    setWave(int pWave)
     
    void
    shouldDecay(boolean decayHealth)
     
    boolean
     
    void
     
    void
     
    void
     
    void
     
    protected void
     

    Methods inherited from class net.minecraft.world.entity.monster.Monster

    checkAnyLightMonsterSpawnRules, checkMonsterSpawnRules, createMonsterAttributes, getDeathSound, getFallSounds, getHurtSound, getProjectile, getSoundSource, getSwimSound, getSwimSplashSound, getWalkTargetValue, isDarkEnoughToSpawn, isPreventingPlayerRest, shouldDespawnInPeaceful, shouldDropLoot, updateNoActionTime

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

    checkSpawnRules, followLeashSpeed, getWalkTargetValue, isPathFinding, onLeashDistance, shouldStayCloseToLeashHolder, tickLeash

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

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

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

    addEffect, addEffect, animateHurt, areAllEffectsAmbient, attackable, blockedByShield, blockUsingShield, brainProvider, broadcastBreakEvent, broadcastBreakEvent, calculateEntityAnimation, calculateFallDamage, canAttack, canBeSeenAsEnemy, canBeSeenByAnyone, canBreatheUnderwater, canChangeDimensions, canDisableShield, canFreeze, canSpawnSoulSpeedParticle, canStandOnFluid, causeFallDamage, checkAutoSpinAttack, checkFallDamage, clearSleepingPos, completeUsingItem, createLivingAttributes, createWitherRose, curePotionEffects, decreaseAirSupply, doAutoAttackOnTouch, doesEmitEquipEvent, doPush, dropAllDeathLoot, dropEquipment, eat, equipmentHasChanged, forceAddEffect, getAbsorptionAmount, getActiveEffects, getActiveEffectsMap, getArmorCoverPercentage, getArmorValue, getArrowCount, getAttackAnim, getAttribute, getAttributeBaseValue, getAttributeBaseValue, getAttributes, getAttributeValue, getAttributeValue, getBedOrientation, getBlockSpeedFactor, getBoundingBoxForCulling, getBrain, getCapability, getCombatTracker, getDamageAfterArmorAbsorb, getDamageAfterMagicAbsorb, getDimensions, getDismountPoses, getDrinkingSound, getEatingSound, getEffect, getEquipmentSlotForItem, getEyeHeight, getFallFlyingTicks, getFluidFallingAdjustedMovement, getFlyingSpeed, getHurtDir, getItemInHand, getJumpBoostPower, getJumpPower, getKillCredit, getLastAttacker, getLastClimbablePos, getLastDamageSource, getLastHurtByMob, getLastHurtByMobTimestamp, getLastHurtMob, getLastHurtMobTimestamp, getLocalBoundsForPose, getMainHandItem, getMaxHealth, getMeleeAttackReferencePosition, getMobType, getNoActionTime, getOffhandItem, getRandom, getRelativePortalPosition, getRiddenInput, getRiddenSpeed, getScale, getSleepingPos, getSlot, getSoundVolume, getSpeed, getStandingEyeHeight, getStingerCount, getSwimAmount, getTicksUsingItem, getUsedItemHand, getUseItem, getUseItemRemainingTicks, getViewYRot, getVisibilityPercent, getVisualRotationYInDegrees, getVoicePitch, getWaterSlowDown, getYHeadRot, goDownInWater, handleDamageEvent, handleRelativeFrictionAndCalculateMovement, hasEffect, hasItemInSlot, hasLineOfSight, hurt, hurtArmor, hurtCurrentlyUsedShield, hurtHelmet, increaseAirSupply, indicateDamage, invalidateCaps, 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, recreateFromPacket, releaseUsingItem, remove, removeAllEffects, removeEffect, removeEffectNoUpdate, removeEffectParticles, removeFrost, removeSoulSpeed, resetForwardDirectionOfRelativePortalPosition, reviveCaps, rideTick, sendEffectToPassengers, setAbsorptionAmount, setArrowCount, setDiscardFriction, setHealth, setItemInHand, setJumping, setLastHurtByMob, setLastHurtByPlayer, setLastHurtMob, setLivingEntityFlag, setNoActionTime, setRecordPlayingNearby, setSleepingPos, setSprinting, setStingerCount, setYBodyRot, setYHeadRot, shouldDiscardFriction, shouldRemoveSoulSpeed, shouldRiderFaceForward, shouldShowName, skipDropExperience, spawnSoulSpeedParticle, startSleeping, startUsingItem, stopRiding, stopSleeping, stopUsingItem, swing, swing, take, 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, canTrample, canUpdate, canUpdate, captureDrops, captureDrops, changeDimension, 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, getAddEntityPacket, getAirSupply, getAllSlots, getBbHeight, getBbWidth, getBlockExplosionResistance, getBlockJumpFactor, getBlockPosBelowThatAffectsMyMovement, getBlockStateOn, getBlockStateOnLegacy, getBlockX, getBlockY, getBlockZ, getBoundingBox, getBoundingBoxForPose, getCollisionHorizontalEscapeVector, getCommandSenderWorld, getControlledVehicle, getCustomName, getDeltaMovement, getDimensionChangingDelay, getDimensionsForge, getDirection, getDismountLocationForPassenger, getDisplayName, getEncodeId, getEntityData, getExitPortal, getEyeHeight, getEyeHeight, getEyeHeightAccess, getEyeInFluidType, getEyePosition, getEyePosition, getEyeY, getFeetBlockState, getFireImmuneTicks, getFirstPassenger, getFluidHeight, getFluidJumpThreshold, getFluidTypeHeight, getForward, getHandHoldingItemAngle, getId, getIndirectPassengers, getLeashOffset, getLeashOffset, getLightLevelDependentMagicValue, getLightProbePosition, getLookAngle, getMaxAirSupply, getMaxHeightFluidType, getMotionDirection, getMovementEmission, getName, getNameTagOffsetY, getOnPos, getOnPos, getOnPosLegacy, getPassengers, getPassengersAndSelf, getPassengersRidingOffset, getPercentFrozen, getPermissionLevel, getPersistentData, getPickRadius, getPistonPushReaction, getPortalCooldown, getPortalWaitTime, getPose, getPosition, getPositionCodec, getPrimaryStepSoundBlockPos, getRandomX, getRandomY, getRandomZ, getRemainingFireTicks, getRemovalReason, getRootVehicle, getRopeHoldPosition, getRotationVector, getScoreboardName, getSelfAndPassengers, getServer, getSharedFlag, getStringUUID, getSwimHighSpeedSplashSound, 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, isAddedToWorld, isAlliedTo, isAlliedTo, isAlwaysTicking, isAttackable, isColliding, isControlledByLocalInstance, isCrouching, isCustomNameVisible, isDescending, isDiscrete, isEyeInFluid, isFlapping, isFree, isFreezing, isFullyFrozen, isHorizontalCollisionMinor, isIgnoringBlockTriggers, isInFluidType, isInFluidType, isInLava, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, 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, onAddedToWorld, onClientRemoval, onFlap, onGround, onInsideBlock, onInsideBubbleColumn, onlyOpCanSetNbt, onPassengerTurned, onRemovedFromWorld, onSyncedDataUpdated, pick, playCombinationStepSounds, playEntityOnFireExtinguishedSound, playerTouch, playMuffledStepSound, playSound, playSound, playStepSound, playSwimSound, position, positionRider, positionRider, processFlappingMovement, processPortalCooldown, push, reapplyPosition, refreshDimensions, removePassenger, removeTag, removeVehicle, repositionEntityAfterLoad, resetFallDistance, restoreFrom, revive, rotate, save, saveAsPassenger, saveWithoutId, sendSystemMessage, setAirSupply, setBoundingBox, setCustomName, setCustomNameVisible, setDeltaMovement, setDeltaMovement, setFluidTypeHeight, 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, updateFluidHeightAndDoFluidPushing, updateFluidHeightAndDoFluidPushing, updateInWaterStateAndDoFluidPushing, updateSwimming, waterSwimSound

    Methods inherited from class net.minecraftforge.common.capabilities.CapabilityProvider

    areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, serializeCaps

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface net.minecraft.commands.CommandSource

    alwaysAccepts

    Methods inherited from interface net.minecraftforge.common.capabilities.ICapabilityProvider

    getCapability

    Methods inherited from interface net.minecraftforge.common.extensions.IForgeEntity

    canBeRiddenUnderFluidType, canFluidExtinguish, canHydrateInFluidType, canRiderInteract, canStartSwimming, canTrample, canUpdate, canUpdate, captureDrops, captureDrops, deserializeNBT, getClassification, getEyeHeightForge, getEyeInFluidType, getFluidFallDistanceModifier, getFluidMotionScale, getFluidTypeHeight, getMaxHeightFluidType, getParts, getPersistentData, getSoundFromFluidType, getStepHeight, hasCustomOutlineRendering, isAddedToWorld, isEyeInFluidType, isInFluidType, isInFluidType, isInFluidType, isInFluidType, isInFluidType, isMultipartEntity, isPushedByFluid, onAddedToWorld, onRemovedFromWorld, revive, serializeNBT, shouldRiderSit, shouldUpdateFluidWhileBoating

    Methods inherited from interface net.minecraftforge.common.extensions.IForgeLivingEntity

    canDrownInFluidType, canSwimInFluidType, moveInFluid, self, sinkInFluid

    Methods inherited from interface net.minecraft.world.entity.NeutralMob

    addPersistentAngerSaveData, forgetCurrentTargetAndRefreshUniversalAnger, getLastHurtByMob, getTarget, isAngry, isAngryAt, isAngryAtAllPlayers, playerDied, readPersistentAngerSaveData, setLastHurtByMob, setLastHurtByPlayer, setTarget, stopBeingAngry, updatePersistentAnger
  • Field Details

    • PATROL_BLOCK_POS

      protected static final net.minecraft.network.syncher.EntityDataAccessor<net.minecraft.core.BlockPos> PATROL_BLOCK_POS
    • PATROL_LEADER

      protected static final net.minecraft.network.syncher.EntityDataAccessor<Boolean> PATROL_LEADER
    • PATROLLING

      protected static final net.minecraft.network.syncher.EntityDataAccessor<Boolean> PATROLLING
    • DECAY

      protected static final net.minecraft.network.syncher.EntityDataAccessor<Boolean> DECAY
    • IS_CELEBRATING

      protected static final net.minecraft.network.syncher.EntityDataAccessor<Boolean> IS_CELEBRATING
    • LIMB

      protected static final net.minecraft.network.syncher.EntityDataAccessor<Integer> LIMB
    • ACT

      protected static final net.minecraft.network.syncher.EntityDataAccessor<Boolean> ACT
    • ACT_TICK

      protected static final net.minecraft.network.syncher.EntityDataAccessor<Float> ACT_TICK
    • REPEATS

      protected static final net.minecraft.network.syncher.EntityDataAccessor<Integer> REPEATS
    • raid

      public GardenRaid raid
    • ALLOWED_ITEMS

      public static final Predicate<net.minecraft.world.entity.item.ItemEntity> ALLOWED_ITEMS
    • spawnAnim

      public net.minecraft.world.entity.AnimationState spawnAnim
    • idleAnim

      public net.minecraft.world.entity.AnimationState idleAnim
    • dyingAnim

      public net.minecraft.world.entity.AnimationState dyingAnim
    • actionAnim1

      public net.minecraft.world.entity.AnimationState actionAnim1
    • actionAnim2

      public net.minecraft.world.entity.AnimationState actionAnim2
    • actionAnim3

      public net.minecraft.world.entity.AnimationState actionAnim3
    • actionAnim4

      public net.minecraft.world.entity.AnimationState actionAnim4
    • actionAnim5

      public net.minecraft.world.entity.AnimationState actionAnim5
    • mouthAnim

      public net.minecraft.world.entity.AnimationState mouthAnim
    • celebrateAnim

      public net.minecraft.world.entity.AnimationState celebrateAnim
    • mouthTick

      public int mouthTick
  • Constructor Details

    • AbstractBrainMuncher

      public AbstractBrainMuncher(net.minecraft.world.entity.EntityType<? extends AbstractBrainMuncher> pEntityType, net.minecraft.world.level.Level pLevel)
  • Method Details

    • registerGoals

      protected void registerGoals()
      Overrides:
      registerGoals in class net.minecraft.world.entity.Mob
    • targetGoals

      public void targetGoals()
    • attackingGoals

      public void attackingGoals()
    • raidGoals

      public void raidGoals()
    • createAttributes

      public static net.minecraft.world.entity.ai.attributes.AttributeSupplier.Builder createAttributes()
    • defineSynchedData

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

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

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

      public double getMyRidingOffset()
      Overrides:
      getMyRidingOffset in class net.minecraft.world.entity.Entity
    • canBeFlagHolder

      public boolean canBeFlagHolder()
    • finalizeSpawn

      @Nullable public net.minecraft.world.entity.SpawnGroupData finalizeSpawn(net.minecraft.world.level.ServerLevelAccessor level, net.minecraft.world.DifficultyInstance difficultyInstance, net.minecraft.world.entity.MobSpawnType type, @Nullable net.minecraft.world.entity.SpawnGroupData groupData, @Nullable net.minecraft.nbt.CompoundTag tag)
      Overrides:
      finalizeSpawn in class net.minecraft.world.entity.Mob
    • patrolSpawn

      protected void patrolSpawn(net.minecraft.world.level.ServerLevelAccessor level, net.minecraft.world.entity.MobSpawnType type)
    • checkPatrollingZombieSpawnRules

      public static boolean checkPatrollingZombieSpawnRules(net.minecraft.world.entity.EntityType<? extends net.minecraft.world.entity.monster.PatrollingMonster> pPatrollingMonster, net.minecraft.world.level.LevelAccessor pLevel, net.minecraft.world.entity.MobSpawnType pSpawnType, net.minecraft.core.BlockPos pPos, net.minecraft.util.RandomSource pRandom)
    • removeWhenFarAway

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

      public boolean isDecaying()
    • shouldDecay

      public void shouldDecay(boolean decayHealth)
    • popArmHealth

      public float popArmHealth()
    • popHeadHealth

      public float popHeadHealth()
    • setAnimEvent

      public void setAnimEvent(int anim)
    • getAnimEvent

      public int getAnimEvent()
    • setAnimOverride

      public void setAnimOverride(boolean override)
    • getAnimOverride

      public boolean getAnimOverride()
    • getRemainingPersistentAngerTime

      public int getRemainingPersistentAngerTime()
      Specified by:
      getRemainingPersistentAngerTime in interface net.minecraft.world.entity.NeutralMob
    • setRemainingPersistentAngerTime

      public void setRemainingPersistentAngerTime(int time)
      Specified by:
      setRemainingPersistentAngerTime in interface net.minecraft.world.entity.NeutralMob
    • getPersistentAngerTarget

      @Nullable public UUID getPersistentAngerTarget()
      Specified by:
      getPersistentAngerTarget in interface net.minecraft.world.entity.NeutralMob
    • setPersistentAngerTarget

      public void setPersistentAngerTarget(@Nullable UUID target)
      Specified by:
      setPersistentAngerTarget in interface net.minecraft.world.entity.NeutralMob
    • startPersistentAngerTimer

      public void startPersistentAngerTimer()
      Specified by:
      startPersistentAngerTimer in interface net.minecraft.world.entity.NeutralMob
    • setBeaconPos

      public void setBeaconPos(net.minecraft.core.BlockPos pos)
    • getBeaconPos

      public Optional<net.minecraft.core.BlockPos> getBeaconPos()
    • clearBeaconPos

      public void clearBeaconPos()
    • hasBeaconPos

      public boolean hasBeaconPos()
    • isAct

      public boolean isAct()
      Specified by:
      isAct in interface IFWAction
    • setAct

      public void setAct(boolean b)
      Specified by:
      setAct in interface IFWAction
    • setActTick

      public void setActTick(float tick)
      Specified by:
      setActTick in interface IFWAction
    • getActTick

      public float getActTick()
      Specified by:
      getActTick in interface IFWAction
    • getDefaultActTick

      public float getDefaultActTick()
    • setRepeats

      public void setRepeats(int amount)
      Specified by:
      setRepeats in interface IFWAction
    • getRepeats

      public int getRepeats()
      Specified by:
      getRepeats in interface IFWAction
    • getActionState

      public ActionState getActionState()
      Specified by:
      getActionState in interface IFWAction
    • setActionState

      public void setActionState(ActionState state)
      Specified by:
      setActionState in interface IFWAction
    • getAttackDamage

      public double getAttackDamage()
      Specified by:
      getAttackDamage in interface IFWAction
    • getActionSpeed

      public double getActionSpeed()
      Specified by:
      getActionSpeed in interface IFWAction
    • getFollowRange

      public double getFollowRange()
      Specified by:
      getFollowRange in interface IFWAction
    • tick

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

      public void aiStep()
      Overrides:
      aiStep in class net.minecraft.world.entity.monster.Monster
    • getHealth

      public float getHealth()
      Overrides:
      getHealth in class net.minecraft.world.entity.LivingEntity
    • setArmPop

      public void setArmPop(boolean armPop)
    • setHeadPop

      public void setHeadPop(boolean headPop)
    • canAttack

      public boolean canAttack(@NotNull @NotNull net.minecraft.world.entity.LivingEntity target)
      Specified by:
      canAttack in interface net.minecraft.world.entity.NeutralMob
      Overrides:
      canAttack in class net.minecraft.world.entity.LivingEntity
    • heal

      public void heal(float pHealAmount)
      Overrides:
      heal in class net.minecraft.world.entity.LivingEntity
    • canBeAffected

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

      public boolean doHurtTarget(net.minecraft.world.entity.Entity entity)
      Overrides:
      doHurtTarget in class net.minecraft.world.entity.Mob
    • applyRaidBuffs

      public void applyRaidBuffs(int pWave, boolean pUnusedFalse)
    • canJoinRaid

      public boolean canJoinRaid()
    • setCanJoinRaid

      public void setCanJoinRaid(boolean canJoinRaid)
    • canJoinPatrol

      public boolean canJoinPatrol()
    • findPatrolTarget

      public void findPatrolTarget()
    • setCurrentRaid

      public void setCurrentRaid(@Nullable GardenRaid pRaid)
    • getCurrentRaid

      @Nullable public GardenRaid getCurrentRaid()
    • hasActiveRaid

      public boolean hasActiveRaid()
    • setWave

      public void setWave(int pWave)
    • getWave

      public int getWave()
    • getPatrolTarget

      @Nullable public net.minecraft.core.BlockPos getPatrolTarget()
    • setPatrolTarget

      public void setPatrolTarget(net.minecraft.core.BlockPos pos)
    • hasPatrolTarget

      public boolean hasPatrolTarget()
    • isPatrolLeader

      public boolean isPatrolLeader()
    • setPatrolLeader

      public void setPatrolLeader(boolean leader)
    • isPatrolling

      public boolean isPatrolling()
    • setPatrolling

      public void setPatrolling(boolean patrolling)
    • isCelebrating

      public boolean isCelebrating()
    • setCelebrating

      public void setCelebrating(boolean celebrating)
    • isArmDetached

      public boolean isArmDetached()
    • getDetachArm

      public int getDetachArm()
    • setDetachArm

      public void setDetachArm(int state)
    • isHeadDetached

      public boolean isHeadDetached()
    • getDetachHead

      public int getDetachHead()
    • setDetachHead

      public void setDetachHead(int state)
    • requiresCustomPersistence

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

      public int getTicksOutsideRaid()
    • setTicksOutsideRaid

      public void setTicksOutsideRaid(int tick)
    • actuallyHurt

      protected void actuallyHurt(net.minecraft.world.damagesource.DamageSource source, float amount)
      Overrides:
      actuallyHurt in class net.minecraft.world.entity.LivingEntity
    • dropExperience

      protected void dropExperience()
      Overrides:
      dropExperience in class net.minecraft.world.entity.LivingEntity
    • shouldDropExperience

      public boolean shouldDropExperience()
      Overrides:
      shouldDropExperience in class net.minecraft.world.entity.monster.Monster
    • isFlagZombie

      public boolean isFlagZombie()
    • equipItems

      public void equipItems()
    • getEquipmentChance

      public float getEquipmentChance(net.minecraft.world.entity.EquipmentSlot pSlot)
    • tickDeath

      protected void tickDeath()
      Overrides:
      tickDeath in class net.minecraft.world.entity.LivingEntity
    • die

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

      public net.minecraft.sounds.SoundEvent getCelebrateSound()
    • canPickupItem

      public void canPickupItem(net.minecraft.world.entity.item.ItemEntity item)
    • pickUpItem

      protected void pickUpItem(@NotNull @NotNull net.minecraft.world.entity.item.ItemEntity item)
      Overrides:
      pickUpItem in class net.minecraft.world.entity.Mob
    • handleEntityEvent

      public void handleEntityEvent(byte pId)
      Overrides:
      handleEntityEvent in class net.minecraft.world.entity.Mob
    • getPickedResult

      public net.minecraft.world.item.ItemStack getPickedResult(net.minecraft.world.phys.HitResult target)
      Specified by:
      getPickedResult in interface net.minecraftforge.common.extensions.IForgeEntity
    • playHurtSound

      protected void playHurtSound(@NotNull @NotNull net.minecraft.world.damagesource.DamageSource source)
      Overrides:
      playHurtSound in class net.minecraft.world.entity.Mob
    • animationTick

      public void animationTick()
    • broadcastAnimEvent

      public void broadcastAnimEvent(int type)
    • broadcastAnimEvent

      public void broadcastAnimEvent(int type, boolean stopOtherAnim)
    • playSpawnAnim

      public void playSpawnAnim()
    • actionAnim

      public net.minecraft.world.entity.AnimationState actionAnim(int i)
    • stopAllActionAnimation

      public void stopAllActionAnimation()
    • groan

      public void groan(int tick)
    • sayBrains

      public void sayBrains(int tick)
    • playAmbientSound

      public void playAmbientSound()
      Overrides:
      playAmbientSound in class net.minecraft.world.entity.Mob
    • getGroanSound

      public net.minecraft.sounds.SoundEvent getGroanSound()
    • getBrainsSound

      public net.minecraft.sounds.SoundEvent getBrainsSound()
    • actConfig

      public ActionConfig actConfig()
      Description copied from interface: IFWAction
      Configuration for goal actions.
      Specified by:
      actConfig in interface IFWAction
    • preAction

      public void preAction()
      Description copied from interface: IFWAction
      Fires when the animation starts.
      Specified by:
      preAction in interface IFWAction
    • performAction

      public void performAction(double damage)
      Description copied from interface: IFWAction
      Fires when the specified IFWAction.getStartAnimDelay() has been reached.
      Specified by:
      performAction in interface IFWAction
    • postActionTick

      public void postActionTick()
      Description copied from interface: IFWAction
      Ticks after IFWAction.performAction(double) fires. (won't work if post delay is 0)
      Specified by:
      postActionTick in interface IFWAction
    • resetAction

      public void resetAction()
      Description copied from interface: IFWAction
      Fires when at the end of a action cycle.
      Specified by:
      resetAction in interface IFWAction
    • playAttackSound

      public void playAttackSound()
      Specified by:
      playAttackSound in interface IFWAction