Class BasicWerewolfEntity
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.werewolves.entities.werewolf.WerewolfBaseEntity
de.teamlapen.werewolves.entities.werewolf.BasicWerewolfEntity
- All Implemented Interfaces:
de.teamlapen.vampirism.api.difficulty.IAdjustableLevel,de.teamlapen.vampirism.api.entity.factions.IFactionEntity,de.teamlapen.vampirism.api.entity.IEntityWithHome,de.teamlapen.vampirism.api.entity.IFactionMob,de.teamlapen.vampirism.api.entity.IVampirismEntity,de.teamlapen.vampirism.api.entity.IVillageCaptureEntity,de.teamlapen.vampirism.api.extensions.IEntity,de.teamlapen.werewolves.api.entities.IEntityFollower,de.teamlapen.werewolves.api.entities.werewolf.IWerewolf,de.teamlapen.werewolves.api.entities.werewolf.IWerewolfDataholder,de.teamlapen.werewolves.api.entities.werewolf.IWerewolfMob,de.teamlapen.werewolves.api.entities.werewolf.WerewolfTransformable,net.minecraft.commands.CommandSource,net.minecraft.network.syncher.SyncedDataHolder,net.minecraft.world.entity.Attackable,net.minecraft.world.entity.EquipmentUser,net.minecraft.world.entity.Leashable,net.minecraft.world.entity.Targeting,net.minecraft.world.level.entity.EntityAccess,net.minecraft.world.Nameable,net.minecraft.world.scores.ScoreHolder,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>
- Direct Known Subclasses:
BasicWerewolfEntity.Beast,BasicWerewolfEntity.Survivalist
public abstract class BasicWerewolfEntity
extends WerewolfBaseEntity
implements de.teamlapen.werewolves.api.entities.werewolf.WerewolfTransformable, de.teamlapen.vampirism.api.entity.IVillageCaptureEntity, de.teamlapen.werewolves.api.entities.IEntityFollower, de.teamlapen.vampirism.api.difficulty.IAdjustableLevel, de.teamlapen.vampirism.api.entity.factions.IFactionEntity
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from class net.minecraft.world.entity.LivingEntity
net.minecraft.world.entity.LivingEntity.FallsoundsNested classes/interfaces inherited from class net.minecraft.world.entity.Entity
net.minecraft.world.entity.Entity.MoveFunction, net.minecraft.world.entity.Entity.MovementEmission, net.minecraft.world.entity.Entity.RemovalReasonNested classes/interfaces inherited from class net.neoforged.neoforge.attachment.AttachmentHolder
net.neoforged.neoforge.attachment.AttachmentHolder.AsFieldNested classes/interfaces inherited from interface net.minecraft.world.entity.Leashable
net.minecraft.world.entity.Leashable.LeashData -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected static final net.minecraft.network.syncher.EntityDataAccessor<Integer> protected static final net.minecraft.network.syncher.EntityDataAccessor<Integer> protected de.teamlapen.vampirism.api.world.ICaptureAttributesFields inherited from class de.teamlapen.vampirism.entity.VampirismEntity
hasArms, peaceful, saveHomeFields inherited from class net.minecraft.world.entity.PathfinderMob
DEFAULT_WALK_TARGET_VALUEFields inherited from class net.minecraft.world.entity.Mob
ambientSoundTime, armorDropChances, bodyArmorDropChance, DEFAULT_EQUIPMENT_DROP_CHANCE, goalSelector, handDropChances, jumpControl, lookControl, MAX_ENCHANTED_ARMOR_CHANCE, MAX_ENCHANTED_WEAPON_CHANCE, MAX_PICKUP_LOOT_CHANCE, MAX_WEARING_ARMOR_CHANCE, moveControl, navigation, PICKUP_REACH, PRESERVE_ITEM_DROP_CHANCE, PRESERVE_ITEM_DROP_CHANCE_THRESHOLD, RANDOM_SPAWN_BONUS_ID, targetSelector, UPDATE_GOAL_SELECTOR_EVERY_N_TICKS, xpRewardFields inherited from class net.minecraft.world.entity.LivingEntity
animStep, animStepO, appliedScale, ARMOR_SLOT_OFFSET, ARMOR_SLOTS, attackAnim, attackStrengthTicker, ATTRIBUTES_FIELD, autoSpinAttackDmg, autoSpinAttackItemStack, autoSpinAttackTicks, BASE_JUMP_POWER, BODY_ARMOR_OFFSET, brain, damageContainers, DATA_LIVING_ENTITY_FLAGS, dead, DEATH_DURATION, deathScore, deathTime, DEFAULT_BABY_SCALE, DEFAULT_BASE_GRAVITY, 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, zzaFields inherited from class net.minecraft.world.entity.Entity
BASE_SAFE_FALL_DISTANCE, BASE_TICKS_REQUIRED_TO_FREEZE, blocksBuilding, BOARDING_COOLDOWN, boardingCooldown, CONTENTS_SLOT_INDEX, DATA_POSE, DATA_SHARED_FLAGS_ID, DEFAULT_BB_HEIGHT, DEFAULT_BB_WIDTH, DELTA_AFFECTED_BY_BLOCKS_BELOW_0_2, DELTA_AFFECTED_BY_BLOCKS_BELOW_0_5, DELTA_AFFECTED_BY_BLOCKS_BELOW_1_0, 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, mainSupportingBlockPos, MAX_ENTITY_TAG_COUNT, minorHorizontalCollision, moveDist, noCulling, noPhysics, PASSENGERS_TAG, portalProcess, 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 class net.neoforged.neoforge.attachment.AttachmentHolder
ATTACHMENTS_NBT_KEYFields inherited from interface net.minecraft.commands.CommandSource
NULLFields inherited from interface net.minecraft.world.entity.Leashable
LEASH_ELASTIC_DIST, LEASH_TAG, LEASH_TOO_FAR_DISTFields inherited from interface net.minecraft.world.scores.ScoreHolder
WILDCARD, WILDCARD_NAMEFields inherited from interface de.teamlapen.werewolves.api.entities.werewolf.WerewolfTransformable
TYPES -
Constructor Summary
ConstructorsConstructorDescriptionBasicWerewolfEntity(net.minecraft.world.entity.EntityType<? extends BasicWerewolfEntity> type, net.minecraft.world.level.Level world) -
Method Summary
Modifier and TypeMethodDescriptionde.teamlapen.werewolves.api.entities.werewolf.WerewolfTransformablevoidaddAdditionalSaveData(net.minecraft.nbt.CompoundTag nbt) voidaiStep()voidattackVillage(de.teamlapen.vampirism.api.world.ICaptureAttributes iCaptureAttributes) booleanvoidconvertToMinion(net.minecraft.world.entity.player.Player lord) Assumes preconditions as been met.voiddefendVillage(de.teamlapen.vampirism.api.world.ICaptureAttributes iCaptureAttributes) protected voiddefineSynchedData(net.minecraft.network.syncher.SynchedEntityData.Builder pBuilder) booleandoHurtTarget(@NotNull net.minecraft.world.entity.Entity entity) protected net.minecraft.sounds.SoundEventintde.teamlapen.vampirism.api.world.ICaptureAttributesprotected @NotNull net.minecraft.world.entity.EntityDimensionsgetDefaultDimensions(@NotNull net.minecraft.world.entity.Pose pPose) de.teamlapen.vampirism.api.entity.EntityClassTypeintde.teamlapen.vampirism.api.entity.actions.EntityActionTierintgetEyeType(de.teamlapen.werewolves.api.entities.werewolf.WerewolfForm form) abstract de.teamlapen.werewolves.api.entities.werewolf.WerewolfFormgetForm()Optional<de.teamlapen.vampirism.api.entity.IEntityLeader> intintgetSkinType(de.teamlapen.werewolves.api.entities.werewolf.WerewolfForm form) net.minecraft.world.phys.AABBbooleanhasGlowingEyes(de.teamlapen.werewolves.api.entities.werewolf.WerewolfForm form) booleanhurt(net.minecraft.world.damagesource.DamageSource source, float amount) booleanbooleanbooleanprotected net.minecraft.world.InteractionResultmobInteract(net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand) voidvoidreadAdditionalSaveData(net.minecraft.nbt.CompoundTag nbt) protected voidvoidsetEntityLevel(int level) voidsetLeader(de.teamlapen.vampirism.api.entity.IEntityLeader leader) voidsetSourceEntity(de.teamlapen.werewolves.api.entities.werewolf.WerewolfTransformable entity) voidstart(de.teamlapen.werewolves.api.entities.werewolf.TransformType type) voidintsuggestEntityLevel(de.teamlapen.vampirism.api.difficulty.Difficulty difficulty) protected voidMethods inherited from class de.teamlapen.werewolves.entities.werewolf.WerewolfBaseEntity
asEntity, bite, getAttributeBuilder, getClassification, getRepresentingEntity, spawnPredicateWerewolfMethods 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, tickMethods inherited from class net.minecraft.world.entity.PathfinderMob
closeRangeLeashBehaviour, followLeashSpeed, getWalkTargetValue, getWalkTargetValue, handleLeashAtDistance, isPanicking, isPathFinding, shouldStayCloseToLeashHolderMethods inherited from class net.minecraft.world.entity.Mob
ate, baseTick, canAttackType, canFireProjectileWeapon, canHoldItem, canPickUpLoot, canReplaceCurrentItem, canReplaceEqualItem, canTakeItem, canUseSlot, checkDespawn, checkMobSpawnRules, checkSpawnObstruction, clampHeadRotationToBody, clearRestriction, convertTo, createBodyControl, createMobAttributes, createNavigation, dropCustomDeathLoot, dropFromLootTable, dropLeash, dropPreservedEquipment, dropPreservedEquipment, enchantSpawnedArmor, enchantSpawnedWeapon, equip, equip, equipItemIfPossible, finalizeSpawn, getArmorAndBodyArmorSlots, getArmorSlots, getAttackBoundingBox, getBaseExperienceReward, getBodyArmorItem, getControllingPassenger, getDefaultLootTable, getEquipmentDropChance, getEquipmentForSlot, getHandSlots, getHeadRotSpeed, getItemBySlot, getJumpControl, getLeashData, getLookControl, getLootTable, getLootTableSeed, getMainArm, getMaxFallDistance, getMaxHeadXRot, getMaxHeadYRot, getMaxSpawnClusterSize, getMoveControl, getNavigation, getPathfindingMalus, getPickResult, getPickupReach, getRestrictCenter, getRestrictRadius, getSensing, getSpawnType, getTarget, getTargetFromBrain, handleEntityEvent, hasRestriction, interact, isAggressive, isBodyArmorItem, isEffectiveAi, isLeftHanded, isMaxGroupSizeReached, isNoAi, isSpawnCancelled, isSunBurnTick, isWearingBodyArmor, isWithinMeleeAttackRange, jumpInFluid, jumpInLiquid, leashTooFarBehaviour, lookAt, onOffspringSpawnedFromEgg, onPathfindingDone, onPathfindingStart, pickUpItem, playAmbientSound, playAttackSound, playHurtSound, populateDefaultEquipmentEnchantments, populateDefaultEquipmentSlots, removeAfterChangingDimensions, removeAllGoals, removeFreeWill, removeWhenFarAway, requiresCustomPersistence, sendDebugPackets, serverAiStep, setAggressive, setBaby, setBodyArmorItem, setCanPickUpLoot, setDropChance, setGuaranteedDrop, setItemSlot, setItemSlotAndDropWhenKilled, setLeashData, setLeftHanded, setNoAi, setPathfindingMalus, setPersistenceRequired, setSpawnCancelled, setSpeed, setTarget, setXxa, setYya, setZza, shouldDespawnInPeaceful, shouldPassengersInheritMalus, spawnAnim, startRiding, stopInPlace, tickHeadTurn, updateControlFlags, wantsToPickUpMethods inherited from class net.minecraft.world.entity.LivingEntity
activeLocationDependentEnchantments, actuallyHurt, addEffect, addEffect, animateHurt, areAllEffectsAmbient, attackable, blockedByShield, blockUsingShield, brainProvider, calculateEntityAnimation, calculateFallDamage, canAttack, canAttack, canBeAffected, canBeSeenAsEnemy, canBeSeenByAnyone, canBreatheUnderwater, canDisableShield, canFreeze, canStandOnFluid, canUsePortal, causeFallDamage, checkAutoSpinAttack, checkFallDamage, clearSleepingPos, completeUsingItem, createLivingAttributes, createWitherRose, decreaseAirSupply, die, doAutoAttackOnTouch, doesEmitEquipEvent, doHurtEquipment, doPush, dropAllDeathLoot, dropEquipment, dropExperience, eat, eat, equipmentHasChanged, forceAddEffect, getAbsorptionAmount, getActiveEffects, getActiveEffectsMap, getAgeScale, getAllSlots, getArmorCoverPercentage, getArmorValue, getArrowCount, getAttackAnim, getAttribute, getAttributeBaseValue, getAttributes, getAttributeValue, getBedOrientation, getBlockSpeedFactor, getBoundingBoxForCulling, getBrain, getCombatTracker, getComfortableFallDistance, getCurrentSwingDuration, getDamageAfterArmorAbsorb, getDamageAfterMagicAbsorb, getDefaultGravity, getDimensions, getDismountPoses, getDrinkingSound, getEatingSound, getEffect, getEquipmentSlotForItem, getExperienceReward, getFallFlyingTicks, getFluidFallingAdjustedMovement, getFlyingSpeed, getHealth, getHitbox, getHurtDir, getItemInHand, getJumpBoostPower, getJumpPower, getJumpPower, getKillCredit, getKnockback, getLastAttacker, getLastClimbablePos, getLastDamageSource, getLastHurtByMob, getLastHurtByMobTimestamp, getLastHurtMob, getLastHurtMobTimestamp, getLocalBoundsForPose, getMainHandItem, getMaxAbsorption, getMaxHeadRotationRelativeToBody, getMaxHealth, getNoActionTime, getOffhandItem, getPassengerRidingPosition, getPreciseBodyRotation, getProjectile, getRelativePortalPosition, getRiddenInput, getRiddenSpeed, getScale, getSleepingPos, getSlot, getSlotForHand, getSoundVolume, getSpeed, getStingerCount, getSwimAmount, getTicksUsingItem, getUsedItemHand, getUseItem, getUseItemRemainingTicks, getViewYRot, getVisibilityPercent, getVisualRotationYInDegrees, getVoicePitch, getWaterSlowDown, getWeaponItem, getYHeadRot, goDownInWater, handleDamageEvent, handleRelativeFrictionAndCalculateMovement, hasEffect, hasInfiniteMaterials, hasItemInSlot, hasLandedInLiquid, hasLineOfSight, heal, hurtArmor, hurtCurrentlyUsedShield, hurtHelmet, igniteForTicks, increaseAirSupply, indicateDamage, internalSetAbsorptionAmount, isAffectedByFluids, isAffectedByPotions, isAlive, isAlwaysExperienceDropper, isAutoSpinAttack, isBaby, isBlocking, isCurrentlyGlowing, isDamageSourceBlocked, isDeadOrDying, isFallFlying, isHolding, isHolding, isImmobile, isInvertedHealAndHarm, isInvulnerableTo, isInWall, isPickable, isPushable, isSensitiveToWater, isSleeping, isSuppressingSlidingDownLadder, isUsingItem, isVisuallySwimming, jumpFromGround, kill, knockback, lerpHeadRotationStep, lerpHeadTo, lerpTargetX, lerpTargetXRot, lerpTargetY, lerpTargetYRot, lerpTargetZ, lerpTo, lookAt, makeBrain, makeSound, maxUpStep, onBelowWorld, onChangedBlock, onClimbable, onEffectAdded, onEffectRemoved, onEffectUpdated, onEnterCombat, onEquipItem, onEquippedItemBroken, onItemPickup, onLeaveCombat, onSyncedDataUpdated, playBlockFallSound, push, pushEntities, randomTeleport, recreateFromPacket, releaseUsingItem, remove, removeAllEffects, removeEffect, removeEffectNoUpdate, removeEffectParticles, removeEffectsCuredBy, removeFrost, resetForwardDirectionOfRelativePortalPosition, rideTick, sanitizeScale, sendEffectToPassengers, setAbsorptionAmount, setArrowCount, setDiscardFriction, setHealth, setItemInHand, setJumping, setLastHurtByMob, setLastHurtByPlayer, setLastHurtMob, setLivingEntityFlag, setNoActionTime, setRecordPlayingNearby, setSleepingPos, setSprinting, setStingerCount, setYBodyRot, setYHeadRot, shouldDiscardFriction, shouldDropLoot, shouldRiderFaceForward, shouldShowName, skipDropExperience, startSleeping, startUsingItem, stopRiding, stopSleeping, stopUsingItem, swing, swing, take, tickDeath, tickEffects, tickRidden, travel, triggerItemUseEffects, triggerOnDeathMobEffects, tryAddFrost, updateEffectVisibility, updateInvisibilityStatus, updateSwingTime, updateUsingItem, updateWalkAnimation, verifyEquippedItem, wasExperienceConsumed, wouldNotSuffocateAtTargetPoseMethods inherited from class net.minecraft.world.entity.Entity
absMoveTo, absMoveTo, absRotateTo, acceptsFailure, acceptsSuccess, addDeltaMovement, addPassenger, addTag, adjustSpawnLocation, applyGravity, awardKillScore, blockPosition, broadcastToPlayer, calculateUpVector, calculateViewVector, canAddPassenger, canBeCollidedWith, canBeHitByProjectile, canChangeDimensions, canCollideWith, canControlVehicle, canRide, canSpawnSprintParticle, canSprint, canTrample, captureDrops, captureDrops, changeDimension, checkBelowWorld, checkInsideBlocks, checkSlowFallDistance, checkSupportingBlock, chunkPosition, clearFire, closerThan, closerThan, collideBoundingBox, copyPosition, couldAcceptPassenger, countPlayerPassengers, createCommandSourceStack, createHoverEvent, damageSources, dampensVibrations, deflection, discard, dismountsUnderwater, dismountTo, displayFireAnimation, distanceTo, distanceToSqr, distanceToSqr, distanceToSqr, doWaterSplashEffect, ejectPassengers, equals, extinguishFire, fillCrashReportCategory, fireImmune, fixupDimensions, fudgePositionAfterSizeChange, gameEvent, gameEvent, getAddEntityPacket, getAirSupply, getAttachments, getBbHeight, getBbWidth, getBlockExplosionResistance, getBlockJumpFactor, getBlockPosBelowThatAffectsMyMovement, getBlockStateOn, getBlockStateOnLegacy, getBlockX, getBlockY, getBlockZ, getBoundingBox, getCapability, getCapability, getCollisionHorizontalEscapeVector, getCommandSenderWorld, getControlledVehicle, getCustomName, getDefaultPassengerAttachmentPoint, getDeltaMovement, getDimensionChangingDelay, getDirection, getDismountLocationForPassenger, getDisplayName, getEncodeId, getEntityData, getEyeHeight, getEyeHeight, getEyeInFluidType, getEyePosition, getEyePosition, getEyeY, getFireImmuneTicks, getFirstPassenger, getFluidHeight, getFluidJumpThreshold, getFluidTypeHeight, getForward, getGravity, getHandHoldingItemAngle, getId, getInBlockState, getIndirectPassengers, getKnownMovement, getLeashOffset, getLeashOffset, getLightLevelDependentMagicValue, getLightProbePosition, getLookAngle, getMaxAirSupply, getMaxHeightFluidType, getMotionDirection, getMovementEmission, getName, getNearestViewDirection, getOnPos, getOnPos, getOnPosLegacy, getPassengerAttachmentPoint, getPassengers, getPassengersAndSelf, getPercentFrozen, getPermissionLevel, getPersistentData, getPickRadius, getPistonPushReaction, getPortalCooldown, getPose, getPosition, getPositionCodec, getPrimaryStepSoundBlockPos, getRandom, 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, getVehicleAttachmentPoint, getViewScale, getViewVector, getViewXRot, getX, getX, getXRot, getY, getY, getYRot, getZ, getZ, handlePortal, hasControllingPassenger, hasCustomName, hasExactlyOnePlayerPassenger, hasGlowingTag, hashCode, hasIndirectPassenger, hasPassenger, hasPassenger, hasPermissions, hasPose, igniteForSeconds, ignoreExplosion, interactAt, is, isAddedToLevel, isAlliedTo, isAlliedTo, isAlwaysTicking, isAttackable, isColliding, isControlledByLocalInstance, isCrouching, isCustomNameVisible, isDescending, isDiscrete, isEyeInFluid, isFlapping, isFree, isFreezing, isFullyFrozen, isHorizontalCollisionMinor, isIgnoringBlockTriggers, isInFluidType, isInFluidType, isInLava, isInLiquid, 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, lerpPositionAndRotationStep, level, limitPistonMovement, load, makeBoundingBox, makeStuckInBlock, markHurt, maybeBackOffFromEdge, mayInteract, mirror, move, moveRelative, moveTo, moveTo, moveTo, moveTo, moveTo, moveTowardsClosestSpace, newDoubleList, newFloatList, nextStep, onAboveBubbleCol, onClientRemoval, onExplosionHit, onFlap, onGround, onInsideBlock, onInsideBubbleColumn, onlyOpCanSetNbt, onPassengerTurned, onRemovedFromLevel, onSyncedDataUpdated, pick, placePortalTicket, playCombinationStepSounds, playEntityOnFireExtinguishedSound, playerTouch, playMuffledStepSound, playSound, playSound, playStepSound, playSwimSound, position, positionRider, positionRider, processFlappingMovement, processPortalCooldown, push, push, reapplyPosition, refreshDimensions, registryAccess, removePassenger, removeTag, removeVehicle, repositionEntityAfterLoad, resetFallDistance, restoreFrom, revive, rotate, save, saveAsPassenger, saveWithoutId, sendSystemMessage, setAirSupply, setAsInsidePortal, setBoundingBox, setCustomName, setCustomNameVisible, setData, setDeltaMovement, setDeltaMovement, setFluidTypeHeight, setGlowingTag, setId, setInvisible, setInvulnerable, setIsInPowderSnow, setLevel, setLevelCallback, setNoGravity, setOldPosAndRot, setOnGround, setOnGroundWithMovement, setPortalCooldown, setPortalCooldown, setPos, setPos, setPose, setPosRaw, setRemainingFireTicks, setRemoved, setRot, 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, thunderHit, toString, touchingUnloadedChunk, trackingPosition, tryCheckInsideBlocks, turn, unRide, unsetRemoved, updateDynamicGameEventListener, updateFluidHeightAndDoFluidPushing, updateFluidHeightAndDoFluidPushing, updateInWaterStateAndDoFluidPushing, updateSwimming, waterSwimSoundMethods inherited from class net.neoforged.neoforge.attachment.AttachmentHolder
deserializeAttachments, getData, getExistingData, hasAttachments, hasData, removeData, serializeAttachmentsMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.commands.CommandSource
alwaysAcceptsMethods inherited from interface net.minecraft.world.entity.EquipmentUser
equip, equip, equip, resolveSlotMethods inherited from interface net.neoforged.neoforge.attachment.IAttachmentHolder
getData, getExistingData, hasData, removeData, setDataMethods inherited from interface net.neoforged.neoforge.common.extensions.IEntityExtension
canBeRiddenUnderFluidType, canFluidExtinguish, canHydrateInFluidType, canRiderInteract, canStartSwimming, canTrample, captureDrops, captureDrops, copyAttachmentsFrom, deserializeNBT, getEyeInFluidType, getFluidFallDistanceModifier, getFluidMotionScale, getFluidTypeHeight, getMaxHeightFluidType, getParts, getPersistentData, getPickedResult, getSoundFromFluidType, hasCustomOutlineRendering, isAddedToLevel, isEyeInFluidType, isInFluidType, isInFluidType, isInFluidType, isInFluidType, isInFluidType, isMultipartEntity, isPushedByFluid, onRemovedFromLevel, revive, sendPairingData, serializeNBT, shouldRiderSitMethods inherited from interface de.teamlapen.vampirism.api.entity.IEntityWithHome
isWithinHomeDistanceMethods inherited from interface de.teamlapen.vampirism.api.entity.factions.IFactionEntity
asEntity, getRepresentingEntityMethods inherited from interface net.neoforged.neoforge.common.extensions.ILivingEntityExtension
canDrownInFluidType, canSwimInFluidType, moveInFluid, onDamageTaken, self, sinkInFluidMethods inherited from interface de.teamlapen.werewolves.api.entities.werewolf.IWerewolf
getFactionMethods inherited from interface de.teamlapen.werewolves.api.entities.werewolf.IWerewolfDataholder
getEyeType, getSkinType, hasGlowingEyesMethods inherited from interface net.minecraft.world.entity.Leashable
canHaveALeashAttachedToIt, elasticRangeLeashBehaviour, getLeashHolder, isLeashed, mayBeLeashed, readLeashData, setDelayedLeashHolderId, setLeashedTo, writeLeashDataMethods inherited from interface net.minecraft.world.scores.ScoreHolder
getFeedbackDisplayNameMethods inherited from interface de.teamlapen.werewolves.api.entities.werewolf.WerewolfTransformable
reset, transformBack, transformToWerewolf
-
Field Details
-
SKINTYPE
-
EYETYPE
-
villageAttributes
@Nullable protected de.teamlapen.vampirism.api.world.ICaptureAttributes villageAttributes -
attack
protected boolean attack
-
-
Constructor Details
-
BasicWerewolfEntity
public BasicWerewolfEntity(net.minecraft.world.entity.EntityType<? extends BasicWerewolfEntity> type, net.minecraft.world.level.Level world)
-
-
Method Details
-
getDefaultDimensions
@NotNull protected @NotNull net.minecraft.world.entity.EntityDimensions getDefaultDimensions(@NotNull @NotNull net.minecraft.world.entity.Pose pPose) - Overrides:
getDefaultDimensionsin classnet.minecraft.world.entity.LivingEntity
-
isPersistenceRequired
public boolean isPersistenceRequired()- Overrides:
isPersistenceRequiredin classnet.minecraft.world.entity.Mob
-
getForm
@Nonnull public abstract de.teamlapen.werewolves.api.entities.werewolf.WerewolfForm getForm()- Specified by:
getFormin interfacede.teamlapen.werewolves.api.entities.werewolf.IWerewolfDataholder- Specified by:
getFormin interfacede.teamlapen.werewolves.api.entities.werewolf.WerewolfTransformable
-
_transformToWerewolf
- Specified by:
_transformToWerewolfin interfacede.teamlapen.werewolves.api.entities.werewolf.WerewolfTransformable
-
_transformBack
public de.teamlapen.werewolves.api.entities.werewolf.WerewolfTransformable _transformBack()- Specified by:
_transformBackin interfacede.teamlapen.werewolves.api.entities.werewolf.WerewolfTransformable
-
getEntityClass
public de.teamlapen.vampirism.api.entity.EntityClassType getEntityClass()- Specified by:
getEntityClassin interfacede.teamlapen.werewolves.api.entities.werewolf.WerewolfTransformable
-
getEntityTier
public de.teamlapen.vampirism.api.entity.actions.EntityActionTier getEntityTier()- Specified by:
getEntityTierin interfacede.teamlapen.werewolves.api.entities.werewolf.WerewolfTransformable
-
getSkinType
public int getSkinType(@Nullable de.teamlapen.werewolves.api.entities.werewolf.WerewolfForm form) - Specified by:
getSkinTypein interfacede.teamlapen.werewolves.api.entities.werewolf.IWerewolfDataholder
-
getEyeType
public int getEyeType(@Nullable de.teamlapen.werewolves.api.entities.werewolf.WerewolfForm form) - Specified by:
getEyeTypein interfacede.teamlapen.werewolves.api.entities.werewolf.IWerewolfDataholder
-
start
public void start(de.teamlapen.werewolves.api.entities.werewolf.TransformType type) - Specified by:
startin interfacede.teamlapen.werewolves.api.entities.werewolf.WerewolfTransformable
-
aiStep
public void aiStep()- Overrides:
aiStepin classde.teamlapen.vampirism.entity.VampirismEntity
-
readAdditionalSaveData
public void readAdditionalSaveData(@Nonnull net.minecraft.nbt.CompoundTag nbt) - Overrides:
readAdditionalSaveDatain classde.teamlapen.vampirism.entity.VampirismEntity
-
addAdditionalSaveData
public void addAdditionalSaveData(@Nonnull net.minecraft.nbt.CompoundTag nbt) - Overrides:
addAdditionalSaveDatain classde.teamlapen.vampirism.entity.VampirismEntity
-
hurt
public boolean hurt(@Nonnull net.minecraft.world.damagesource.DamageSource source, float amount) - Overrides:
hurtin classnet.minecraft.world.entity.LivingEntity
-
getEntityLevel
public int getEntityLevel()- Specified by:
getEntityLevelin interfacede.teamlapen.vampirism.api.difficulty.IAdjustableLevel
-
hasGlowingEyes
public boolean hasGlowingEyes(de.teamlapen.werewolves.api.entities.werewolf.WerewolfForm form) - Specified by:
hasGlowingEyesin interfacede.teamlapen.werewolves.api.entities.werewolf.IWerewolfDataholder
-
setEntityLevel
public void setEntityLevel(int level) - Specified by:
setEntityLevelin interfacede.teamlapen.vampirism.api.difficulty.IAdjustableLevel
-
mobInteract
@Nonnull protected net.minecraft.world.InteractionResult mobInteract(@Nonnull net.minecraft.world.entity.player.Player player, @Nonnull net.minecraft.world.InteractionHand hand) - Overrides:
mobInteractin classnet.minecraft.world.entity.Mob
-
convertToMinion
public void convertToMinion(net.minecraft.world.entity.player.Player lord) Assumes preconditions as been met. Checks conditions but does not give feedback to user -
getMaxEntityLevel
public int getMaxEntityLevel()- Specified by:
getMaxEntityLevelin interfacede.teamlapen.vampirism.api.difficulty.IAdjustableLevel
-
canTransform
public boolean canTransform()- Specified by:
canTransformin interfacede.teamlapen.werewolves.api.entities.werewolf.WerewolfTransformable
-
suggestEntityLevel
public int suggestEntityLevel(de.teamlapen.vampirism.api.difficulty.Difficulty difficulty) - Specified by:
suggestEntityLevelin interfacede.teamlapen.vampirism.api.difficulty.IAdjustableLevel
-
updateEntityAttributes
protected void updateEntityAttributes() -
onAddedToLevel
public void onAddedToLevel()- Specified by:
onAddedToLevelin interfacenet.neoforged.neoforge.common.extensions.IEntityExtension- Overrides:
onAddedToLevelin classnet.minecraft.world.entity.Entity
-
setSourceEntity
public void setSourceEntity(de.teamlapen.werewolves.api.entities.werewolf.WerewolfTransformable entity) -
attackVillage
public void attackVillage(de.teamlapen.vampirism.api.world.ICaptureAttributes iCaptureAttributes) - Specified by:
attackVillagein interfacede.teamlapen.vampirism.api.entity.IVillageCaptureEntity
-
defendVillage
public void defendVillage(de.teamlapen.vampirism.api.world.ICaptureAttributes iCaptureAttributes) - Specified by:
defendVillagein interfacede.teamlapen.vampirism.api.entity.IVillageCaptureEntity
-
getTargetVillageArea
@Nullable public net.minecraft.world.phys.AABB getTargetVillageArea()- Specified by:
getTargetVillageAreain interfacede.teamlapen.vampirism.api.entity.IVillageCaptureEntity
-
getAmbientSoundInterval
public int getAmbientSoundInterval()- Overrides:
getAmbientSoundIntervalin classnet.minecraft.world.entity.Mob
-
getAmbientSound
protected net.minecraft.sounds.SoundEvent getAmbientSound()- Overrides:
getAmbientSoundin classnet.minecraft.world.entity.Mob
-
getCaptureInfo
@Nullable public de.teamlapen.vampirism.api.world.ICaptureAttributes getCaptureInfo()- Specified by:
getCaptureInfoin interfacede.teamlapen.vampirism.api.entity.IVillageCaptureEntity
-
isDefendingVillage
public boolean isDefendingVillage()- Specified by:
isDefendingVillagein interfacede.teamlapen.vampirism.api.entity.IVillageCaptureEntity
-
isAttackingVillage
public boolean isAttackingVillage()- Specified by:
isAttackingVillagein interfacede.teamlapen.vampirism.api.entity.IVillageCaptureEntity
-
stopVillageAttackDefense
public void stopVillageAttackDefense()- Specified by:
stopVillageAttackDefensein interfacede.teamlapen.vampirism.api.entity.IVillageCaptureEntity
-
registerGoals
protected void registerGoals()- Overrides:
registerGoalsin classnet.minecraft.world.entity.Mob
-
defineSynchedData
protected void defineSynchedData(net.minecraft.network.syncher.SynchedEntityData.Builder pBuilder) - Overrides:
defineSynchedDatain classnet.minecraft.world.entity.Mob
-
getLeader
- Specified by:
getLeaderin interfacede.teamlapen.werewolves.api.entities.IEntityFollower
-
setLeader
public void setLeader(@Nullable de.teamlapen.vampirism.api.entity.IEntityLeader leader) - Specified by:
setLeaderin interfacede.teamlapen.werewolves.api.entities.IEntityFollower
-
doHurtTarget
public boolean doHurtTarget(@NotNull @NotNull net.minecraft.world.entity.Entity entity) - Overrides:
doHurtTargetin classnet.minecraft.world.entity.Mob
-