Class WerewolfMinionEntity

java.lang.Object
net.neoforged.neoforge.attachment.AttachmentHolder
net.minecraft.world.entity.Entity
net.minecraft.world.entity.LivingEntity
net.minecraft.world.entity.Mob
net.minecraft.world.entity.PathfinderMob
de.teamlapen.vampirism.entity.VampirismEntity
de.teamlapen.vampirism.entity.minion.MinionEntity<WerewolfMinionEntity.WerewolfMinionData>
de.teamlapen.werewolves.entities.minion.WerewolfMinionEntity
All Implemented Interfaces:
de.teamlapen.lib.lib.storage.INBTObject, de.teamlapen.lib.lib.storage.ISyncable, de.teamlapen.vampirism.api.entity.factions.IFactionEntity, de.teamlapen.vampirism.api.entity.IEntityWithHome, de.teamlapen.vampirism.api.entity.IVampirismEntity, de.teamlapen.vampirism.api.entity.minion.IMinionEntity, de.teamlapen.vampirism.api.extensions.IEntity, de.teamlapen.vampirism.entity.ai.goals.ForceLookEntityGoal.TaskOwner, de.teamlapen.vampirism.util.IPlayerOverlay, de.teamlapen.werewolves.api.entities.werewolf.IWerewolf, de.teamlapen.werewolves.api.entities.werewolf.IWerewolfDataholder, net.minecraft.commands.CommandSource, net.minecraft.world.entity.Attackable, net.minecraft.world.entity.Targeting, net.minecraft.world.level.entity.EntityAccess, net.minecraft.world.Nameable, net.minecraft.world.scores.ScoreHolder, net.neoforged.neoforge.attachment.IAttachmentHolder, net.neoforged.neoforge.common.extensions.IEntityExtension, net.neoforged.neoforge.common.extensions.ILivingEntityExtension, net.neoforged.neoforge.common.util.INBTSerializable<net.minecraft.nbt.CompoundTag>, net.neoforged.neoforge.entity.IEntityWithComplexSpawn

public class WerewolfMinionEntity extends de.teamlapen.vampirism.entity.minion.MinionEntity<WerewolfMinionEntity.WerewolfMinionData> implements de.teamlapen.werewolves.api.entities.werewolf.IWerewolf
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     

    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.neoforged.neoforge.attachment.AttachmentHolder

    net.neoforged.neoforge.attachment.AttachmentHolder.AsField
  • Field Summary

    Fields inherited from class de.teamlapen.vampirism.entity.minion.MinionEntity

    ADDITIONAL_DATA, LORD_ID, minionData, playerMinionController

    Fields inherited from class de.teamlapen.vampirism.entity.VampirismEntity

    hasArms, peaceful, saveHome

    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, EQUIPMENT_SLOT_OFFSET, EXTRA_RENDER_CULLING_SIZE_WITH_BIG_HAT, fallFlyTicks, HAND_SLOTS, hurtDuration, hurtTime, invulnerableDuration, jumping, lastHurt, lastHurtByPlayer, lastHurtByPlayerTime, lerpHeadSteps, lerpSteps, lerpX, lerpXRot, lerpY, lerpYHeadRot, lerpYRot, lerpZ, LIVING_ENTITY_FLAG_IS_USING, LIVING_ENTITY_FLAG_OFF_HAND, LIVING_ENTITY_FLAG_SPIN_ATTACK, MIN_MOVEMENT_DISTANCE, noActionTime, oAttackAnim, oRun, PLAYER_HURT_EXPERIENCE_TIME, 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 class net.neoforged.neoforge.attachment.AttachmentHolder

    ATTACHMENTS_NBT_KEY

    Fields inherited from interface net.minecraft.commands.CommandSource

    NULL

    Fields inherited from interface de.teamlapen.vampirism.util.IPlayerOverlay

    PENDING_PROP

    Fields inherited from interface net.minecraft.world.scores.ScoreHolder

    WILDCARD, WILDCARD_NAME
  • Constructor Summary

    Constructors
    Constructor
    Description
    WerewolfMinionEntity(net.minecraft.world.entity.EntityType<? extends de.teamlapen.vampirism.entity.VampirismEntity> type, net.minecraft.world.level.Level world)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected boolean
    canConsume(@NotNull net.minecraft.world.item.ItemStack stack)
     
    net.minecraft.world.item.ItemStack
    eat(net.minecraft.world.level.Level world, net.minecraft.world.item.ItemStack stack)
     
    static net.minecraft.world.entity.ai.attributes.AttributeSupplier.Builder
     
    List<de.teamlapen.vampirism.api.entity.minion.IMinionTask<?,?>>
     
    @NotNull Predicate<net.minecraft.world.item.ItemStack>
    getEquipmentPredicate(net.minecraft.world.entity.EquipmentSlot slotType)
     
    int
    getEyeType(de.teamlapen.werewolves.api.entities.werewolf.WerewolfForm form)
     
    de.teamlapen.werewolves.api.entities.werewolf.WerewolfForm
     
    int
    getSkinType(de.teamlapen.werewolves.api.entities.werewolf.WerewolfForm form)
     
    boolean
    hasGlowingEyes(de.teamlapen.werewolves.api.entities.werewolf.WerewolfForm form)
     
    protected net.minecraft.world.InteractionResult
    mobInteract(net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand)
     
    protected void
     
    void
     
    void
     
    protected void
     
    void
    setEyeType(int type)
     
    void
    setGlowingEyes(boolean glowing)
     
    void
    setSkinType(int type)
     
    boolean
     

    Methods inherited from class de.teamlapen.vampirism.entity.minion.MinionEntity

    addAdditionalSaveData, aiStep, changeMinionName, claimMinionSlot, consumeOffhand, defineSynchedData, deserializeUpdateNBT, die, doHurtTarget, getAllowedCapTags, getArmorSlots, getAttackPredicate, getCurrentTask, getDimensions, getForceLookTarget, getHandSlots, getInventory, getItemBySlot, getLord, getLordID, getLordOpt, getMinionData, getMinionId, getOverlayPlayerProperties, getRepresentingEntity, getScale, handleLoadedMinionData, hurtArmor, isLord, isTaskLocked, isValid, markAsConverted, nbtKey, onAddedToWorld, onRemovedFromWorld, onTaskChanged, readAdditionalSaveData, readSpawnData, recallMinion, removeWhenFarAway, serializeMinionCaps, serializeUpdateNBT, setCustomName, setHealth, setInteractingPlayer, setItemSlot, setTarget, shouldShowName, writeSpawnData

    Methods inherited from class de.teamlapen.vampirism.entity.VampirismEntity

    canBeLeashed, checkSpawnRules, customServerAiStep, disableImobConversion, disableMoveTowardsRestriction, enableImobConversion, getDeathSound, getFallSounds, getHome, getHomePosition, getHurtSound, getIMobTypeOpt, getSwimSound, getSwimSplashSound, isLowLightLevel, isWithinHomeDistance, isWithinRestriction, isWithinRestriction, onRandomTick, restrictTo, setDontDropEquipment, setHome, setHomeArea, setMoveTowardsRestriction, shouldDropExperience, spawnPredicateVampireFog, teleportAway, tick

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

    followLeashSpeed, getWalkTargetValue, getWalkTargetValue, isPanicking, isPathFinding, onLeashDistance, shouldStayCloseToLeashHolder, tickLeash

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

    ate, baseTick, canAttackType, canFireProjectileWeapon, canHoldItem, canPickUpLoot, canReplaceCurrentItem, canReplaceEqualItem, canTakeItem, checkDespawn, checkMobSpawnRules, checkSpawnObstruction, clearRestriction, convertTo, createBodyControl, createMobAttributes, createNavigation, dropCustomDeathLoot, dropFromLootTable, dropLeash, enchantSpawnedArmor, enchantSpawnedWeapon, equipItemIfPossible, finalizeSpawn, getAmbientSound, getAmbientSoundInterval, getAttackBoundingBox, getControllingPassenger, getDefaultLootTable, getEquipmentDropChance, getEquipmentForSlot, getExperienceReward, getHeadRotSpeed, getJumpControl, getLeashHolder, getLookControl, getLootTable, getLootTableSeed, getMainArm, getMaxFallDistance, getMaxHeadXRot, getMaxHeadYRot, getMaxSpawnClusterSize, getMoveControl, getNavigation, getPathfindingMalus, getPickResult, getPickupReach, getRestrictCenter, getRestrictRadius, getSensing, getSpawnType, getTarget, handleEntityEvent, hasRestriction, interact, isAggressive, isEffectiveAi, isLeashed, isLeftHanded, isMaxGroupSizeReached, isNoAi, isPersistenceRequired, isSpawnCancelled, isSunBurnTick, isWithinMeleeAttackRange, jumpInFluid, jumpInLiquid, lookAt, onOffspringSpawnedFromEgg, onPathfindingDone, onPathfindingStart, pickUpItem, playAmbientSound, playHurtSound, populateDefaultEquipmentEnchantments, populateDefaultEquipmentSlots, removeAfterChangingDimensions, removeAllGoals, removeFreeWill, requiresCustomPersistence, sendDebugPackets, serverAiStep, setAggressive, setBaby, setCanPickUpLoot, setDelayedLeashHolderId, setDropChance, setGuaranteedDrop, setItemSlotAndDropWhenKilled, setLeashedTo, setLeftHanded, setNoAi, setPathfindingMalus, setPersistenceRequired, setSpawnCancelled, setSpeed, setXxa, setYya, setZza, shouldDespawnInPeaceful, shouldPassengersInheritMalus, spawnAnim, startRiding, tickHeadTurn, 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, canBeAffected, canBeSeenAsEnemy, canBeSeenByAnyone, canBreatheUnderwater, canChangeDimensions, canDisableShield, canFreeze, canSpawnSoulSpeedParticle, canStandOnFluid, causeFallDamage, checkAutoSpinAttack, checkFallDamage, clearSleepingPos, completeUsingItem, createLivingAttributes, createWitherRose, decreaseAirSupply, doAutoAttackOnTouch, doesEmitEquipEvent, doPush, dropAllDeathLoot, dropEquipment, dropExperience, equipmentHasChanged, forceAddEffect, getAbsorptionAmount, getActiveEffects, getActiveEffectsMap, getArmorCoverPercentage, getArmorValue, getArrowCount, getAttackAnim, getAttribute, getAttributeBaseValue, getAttributeBaseValue, getAttributes, getAttributeValue, getAttributeValue, getBedOrientation, getBlockSpeedFactor, getBoundingBoxForCulling, getBrain, getCombatTracker, getDamageAfterArmorAbsorb, getDamageAfterMagicAbsorb, getDismountPoses, getDrinkingSound, getEatingSound, getEffect, getEquipmentSlotForItem, getEyeHeight, getFallFlyingTicks, getFluidFallingAdjustedMovement, getFlyingSpeed, getHealth, getHitbox, getHurtDir, getItemInHand, getJumpBoostPower, getJumpPower, getKillCredit, getLastAttacker, getLastClimbablePos, getLastDamageSource, getLastHurtByMob, getLastHurtByMobTimestamp, getLastHurtMob, getLastHurtMobTimestamp, getLocalBoundsForPose, getMainHandItem, getMaxAbsorption, getMaxHeadRotationRelativeToBody, getMaxHealth, getMobType, getMyRidingOffset, getNoActionTime, getOffhandItem, getPassengerRidingPosition, getProjectile, getRandom, getRelativePortalPosition, getRiddenInput, getRiddenSpeed, getSleepingPos, getSlot, getSoundVolume, getSpeed, getStandingEyeHeight, getStingerCount, getSwimAmount, getTicksUsingItem, getUsedItemHand, getUseItem, getUseItemRemainingTicks, getViewYRot, getVisibilityPercent, getVisualRotationYInDegrees, getVoicePitch, getWaterSlowDown, getYHeadRot, goDownInWater, handleDamageEvent, handleRelativeFrictionAndCalculateMovement, hasEffect, hasItemInSlot, hasLineOfSight, heal, hurt, hurtCurrentlyUsedShield, hurtHelmet, increaseAirSupply, indicateDamage, internalSetAbsorptionAmount, 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, lerpHeadRotationStep, lerpHeadTo, lerpTargetX, lerpTargetXRot, lerpTargetY, lerpTargetYRot, lerpTargetZ, 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, removeEffectsCuredBy, removeFrost, removeSoulSpeed, resetForwardDirectionOfRelativePortalPosition, rideTick, sendEffectToPassengers, setAbsorptionAmount, setArrowCount, setDiscardFriction, setItemInHand, setJumping, setLastHurtByMob, setLastHurtByPlayer, setLastHurtMob, setLivingEntityFlag, setNoActionTime, setRecordPlayingNearby, setSleepingPos, setSprinting, setStingerCount, setYBodyRot, setYHeadRot, shouldDiscardFriction, shouldDropLoot, shouldRemoveSoulSpeed, shouldRiderFaceForward, skipDropExperience, spawnSoulSpeedParticle, startSleeping, startUsingItem, stopRiding, stopSleeping, stopUsingItem, swing, swing, take, tickDeath, tickEffects, tickRidden, travel, triggerItemUseEffects, tryAddFrost, tryAddSoulSpeed, updateEffectVisibility, updateInvisibilityStatus, updateSwingTime, updateUsingItem, updateWalkAnimation, verifyEquippedItem, wasExperienceConsumed, wouldNotSuffocateAtTargetPose

    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, canControlVehicle, canRide, canSpawnSprintParticle, canSprint, canTrample, canUpdate, canUpdate, captureDrops, captureDrops, changeDimension, changeDimension, checkBelowWorld, checkInsideBlocks, checkSlowFallDistance, checkSupportingBlock, chunkPosition, clearFire, closerThan, closerThan, collideBoundingBox, copyPosition, couldAcceptPassenger, countPlayerPassengers, 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, getCapability, getCapability, getCollisionHorizontalEscapeVector, getCommandSenderWorld, getControlledVehicle, getCustomName, getDeltaMovement, getDimensionChangingDelay, 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, getPassengerAttachmentPoint, getPassengers, getPassengersAndSelf, getPercentFrozen, getPermissionLevel, getPersistentData, getPickRadius, getPistonPushReaction, getPortalCooldown, getPortalWaitTime, getPose, getPosition, getPositionCodec, getPrimaryStepSoundBlockPos, getRandomX, getRandomY, getRandomZ, getRemainingFireTicks, getRemovalReason, getRootVehicle, getRopeHoldPosition, getRotationVector, getScoreboardName, getSelfAndPassengers, getServer, getSharedFlag, getSoundSource, 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, isInLiquid, 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, lerpPositionAndRotationStep, level, limitPistonMovement, load, makeBoundingBox, makeStuckInBlock, markHurt, maybeBackOffFromEdge, mayInteract, mirror, move, moveRelative, moveTo, moveTo, moveTo, moveTo, moveTowardsClosestSpace, newDoubleList, newFloatList, nextStep, onAboveBubbleCol, onClientRemoval, onFlap, onGround, onInsideBlock, onInsideBubbleColumn, onlyOpCanSetNbt, onPassengerTurned, 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, ridingOffset, rotate, save, saveAsPassenger, saveWithoutId, sendSystemMessage, setAirSupply, setBoundingBox, setCustomNameVisible, setData, 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, updateInWaterStateAndDoFluidPushing, updateSwimming, waterSwimSound

    Methods inherited from class net.neoforged.neoforge.attachment.AttachmentHolder

    areAttachmentsCompatible, deserializeAttachments, getData, getExistingData, hasAttachments, hasData, removeData, serializeAttachments

    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.neoforged.neoforge.attachment.IAttachmentHolder

    getData, getExistingData, hasData, removeData, setData

    Methods inherited from interface net.neoforged.neoforge.common.extensions.IEntityExtension

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

    Methods inherited from interface de.teamlapen.vampirism.api.entity.IEntityWithHome

    isWithinHomeDistance

    Methods inherited from interface de.teamlapen.vampirism.api.entity.factions.IFactionEntity

    asEntity, getRepresentingEntity

    Methods inherited from interface net.neoforged.neoforge.common.extensions.ILivingEntityExtension

    canDrownInFluidType, canSwimInFluidType, moveInFluid, self, sinkInFluid

    Methods inherited from interface de.teamlapen.werewolves.api.entities.werewolf.IWerewolf

    getFaction

    Methods inherited from interface de.teamlapen.werewolves.api.entities.werewolf.IWerewolfDataholder

    getEyeType, getSkinType, hasGlowingEyes

    Methods inherited from interface net.minecraft.world.scores.ScoreHolder

    getFeedbackDisplayName
  • Constructor Details

    • WerewolfMinionEntity

      public WerewolfMinionEntity(net.minecraft.world.entity.EntityType<? extends de.teamlapen.vampirism.entity.VampirismEntity> type, net.minecraft.world.level.Level world)
  • Method Details

    • getAttributeBuilder

      public static net.minecraft.world.entity.ai.attributes.AttributeSupplier.Builder getAttributeBuilder()
    • getAvailableTasks

      public List<de.teamlapen.vampirism.api.entity.minion.IMinionTask<?,?>> getAvailableTasks()
      Specified by:
      getAvailableTasks in class de.teamlapen.vampirism.entity.minion.MinionEntity<WerewolfMinionEntity.WerewolfMinionData>
    • shouldRenderLordSkin

      public boolean shouldRenderLordSkin()
      Specified by:
      shouldRenderLordSkin in class de.teamlapen.vampirism.entity.minion.MinionEntity<WerewolfMinionEntity.WerewolfMinionData>
    • openAppearanceScreen

      public void openAppearanceScreen()
      Overrides:
      openAppearanceScreen in class de.teamlapen.vampirism.entity.minion.MinionEntity<WerewolfMinionEntity.WerewolfMinionData>
    • openStatsScreen

      public void openStatsScreen()
      Overrides:
      openStatsScreen in class de.teamlapen.vampirism.entity.minion.MinionEntity<WerewolfMinionEntity.WerewolfMinionData>
    • canConsume

      protected boolean canConsume(@NotNull @NotNull net.minecraft.world.item.ItemStack stack)
      Overrides:
      canConsume in class de.teamlapen.vampirism.entity.minion.MinionEntity<WerewolfMinionEntity.WerewolfMinionData>
    • eat

      @Nonnull public net.minecraft.world.item.ItemStack eat(@Nonnull net.minecraft.world.level.Level world, @Nonnull net.minecraft.world.item.ItemStack stack)
      Overrides:
      eat in class de.teamlapen.vampirism.entity.minion.MinionEntity<WerewolfMinionEntity.WerewolfMinionData>
    • onMinionDataReceived

      protected void onMinionDataReceived(@Nonnull WerewolfMinionEntity.WerewolfMinionData data)
      Overrides:
      onMinionDataReceived in class de.teamlapen.vampirism.entity.minion.MinionEntity<WerewolfMinionEntity.WerewolfMinionData>
    • getEquipmentPredicate

      @NotNull public @NotNull Predicate<net.minecraft.world.item.ItemStack> getEquipmentPredicate(net.minecraft.world.entity.EquipmentSlot slotType)
      Overrides:
      getEquipmentPredicate in class de.teamlapen.vampirism.entity.minion.MinionEntity<WerewolfMinionEntity.WerewolfMinionData>
    • mobInteract

      @Nonnull protected net.minecraft.world.InteractionResult mobInteract(@Nonnull net.minecraft.world.entity.player.Player player, @Nonnull net.minecraft.world.InteractionHand hand)
      Overrides:
      mobInteract in class de.teamlapen.vampirism.entity.minion.MinionEntity<WerewolfMinionEntity.WerewolfMinionData>
    • registerGoals

      protected void registerGoals()
      Overrides:
      registerGoals in class de.teamlapen.vampirism.entity.minion.MinionEntity<WerewolfMinionEntity.WerewolfMinionData>
    • getForm

      @Nonnull public de.teamlapen.werewolves.api.entities.werewolf.WerewolfForm getForm()
      Specified by:
      getForm in interface de.teamlapen.werewolves.api.entities.werewolf.IWerewolfDataholder
    • getSkinType

      public int getSkinType(de.teamlapen.werewolves.api.entities.werewolf.WerewolfForm form)
      Specified by:
      getSkinType in interface de.teamlapen.werewolves.api.entities.werewolf.IWerewolfDataholder
    • getEyeType

      public int getEyeType(de.teamlapen.werewolves.api.entities.werewolf.WerewolfForm form)
      Specified by:
      getEyeType in interface de.teamlapen.werewolves.api.entities.werewolf.IWerewolfDataholder
    • hasGlowingEyes

      public boolean hasGlowingEyes(de.teamlapen.werewolves.api.entities.werewolf.WerewolfForm form)
      Specified by:
      hasGlowingEyes in interface de.teamlapen.werewolves.api.entities.werewolf.IWerewolfDataholder
    • setEyeType

      public void setEyeType(int type)
    • setSkinType

      public void setSkinType(int type)
    • setGlowingEyes

      public void setGlowingEyes(boolean glowing)