public class EntityVengeanceSpirit extends EntityNoMob
| Modifier and Type | Field and Description |
|---|---|
static int |
REMAININGLIFE_MAX
The maximum life duration in ticks the spirits should have.
|
static int |
REMAININGLIFE_MIN
The minimum life duration in ticks the spirits should have.
|
static net.minecraft.network.datasync.DataParameter<java.lang.Integer> |
WATCHERID_BUILDUP |
static net.minecraft.network.datasync.DataParameter<java.lang.Integer> |
WATCHERID_FROZENDURATION |
static net.minecraft.network.datasync.DataParameter<java.lang.Integer> |
WATCHERID_GLOBALVENGEANCE |
static net.minecraft.network.datasync.DataParameter<java.lang.String> |
WATCHERID_INNER |
static net.minecraft.network.datasync.DataParameter<java.lang.Integer> |
WATCHERID_ISSWARM |
static net.minecraft.network.datasync.DataParameter<java.lang.String> |
WATCHERID_PLAYERID |
static net.minecraft.network.datasync.DataParameter<java.lang.String> |
WATCHERID_PLAYERNAME |
static net.minecraft.network.datasync.DataParameter<java.lang.Integer> |
WATCHERID_REMAININGLIFE |
static net.minecraft.network.datasync.DataParameter<java.lang.Integer> |
WATCHERID_SWARMTIER |
static net.minecraft.network.datasync.DataParameter<java.lang.String> |
WATCHERID_VENGEANCEPLAYERS |
experienceValue, goalSelector, inventoryArmorDropChances, inventoryHandsDropChances, jumpController, livingSoundTime, lookController, moveController, navigator, targetSelectoractiveItemStack, activeItemStackUseCount, arrowHitTimer, attackedAtYaw, attackingPlayer, beeStingRemovalCooldown, brain, dead, deathTime, hurtTime, idleTime, interpTargetHeadYaw, interpTargetPitch, interpTargetX, interpTargetY, interpTargetYaw, interpTargetZ, interpTicksHead, isJumping, isSwingInProgress, jumpMovementFactor, lastDamage, limbSwing, limbSwingAmount, LIVING_FLAGS, maxHurtResistantTime, maxHurtTime, movedDistance, moveForward, moveStrafing, moveVertical, newPosRotationIncrements, onGroundSpeedFactor, prevLimbSwingAmount, prevMovedDistance, prevOnGroundSpeedFactor, prevRenderYawOffset, prevRotationYawHead, prevSwingProgress, randomUnused1, randomUnused2, recentlyHit, renderYawOffset, rotationYawHead, scoreValue, SLEEPING_SIZE, spinAttackDuration, swingingHand, swingProgress, swingProgressInt, ticksElytraFlying, ticksSinceLastSwing, unused180addedToChunk, cachedUniqueIdString, chunkCoordX, chunkCoordY, chunkCoordZ, collidedHorizontally, collidedVertically, dataManager, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, entityUniqueID, eyesFluidLevel, eyesInWater, fallDistance, field_241335_O_, field_242271_ac, firstUpdate, FLAGS, forceSpawn, glowing, hurtResistantTime, ignoreFrustumCheck, inPortal, inWater, isAirBorne, lastTickPosX, lastTickPosY, lastTickPosZ, LOGGER, motionMultiplier, noClip, onGround, portalCounter, POSE, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, removed, rideCooldown, rotationPitch, rotationYaw, stepHeight, ticksExisted, velocityChanged, world| Constructor and Description |
|---|
EntityVengeanceSpirit(net.minecraft.entity.EntityType<? extends EntityVengeanceSpirit> type,
net.minecraft.world.World world) |
EntityVengeanceSpirit(net.minecraft.entity.EntityType<? extends EntityVengeanceSpirit> type,
net.minecraft.world.World world,
net.minecraft.entity.EntityType<?> preferredInnerEntity) |
EntityVengeanceSpirit(net.minecraft.world.World world) |
| Modifier and Type | Method and Description |
|---|---|
void |
addEntanglingPlayer(net.minecraft.entity.player.ServerPlayerEntity player) |
static void |
addToBlacklistIMC(java.lang.String entityName)
Add an entity name to the blacklist, every subinstance of this class will not
be spirited anymore.
|
boolean |
attackEntityAsMob(net.minecraft.entity.Entity entity) |
boolean |
canBeCollidedWith() |
boolean |
canBePushed() |
boolean |
canEntityBeSeen(net.minecraft.entity.Entity entity) |
static boolean |
canSpawnNew(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos)
Check if we can spawn a new vengeance spirit in the given location.
|
static boolean |
canSustain(net.minecraft.entity.LivingEntity entityLiving)
If the given entity can be 'spiritted'
|
protected void |
collideWithNearbyEntities() |
boolean |
doesEntityNotTriggerPressurePlate() |
protected void |
dropLoot(net.minecraft.util.DamageSource damageSource,
boolean fromPlayer) |
static EntityVengeanceSpirit |
fromNBT(net.minecraft.world.World world,
net.minecraft.nbt.CompoundNBT spiritTag) |
void |
func_241841_a(net.minecraft.world.server.ServerWorld world,
net.minecraft.entity.effect.LightningBoltEntity lightning) |
net.minecraft.util.SoundEvent |
getAmbientSound() |
double |
getBaseAttributeValue(net.minecraft.entity.ai.attributes.Attribute attribute) |
net.minecraft.entity.CreatureAttribute |
getCreatureAttribute() |
net.minecraft.util.SoundEvent |
getDeathSound() |
java.util.Set<net.minecraft.entity.player.ServerPlayerEntity> |
getEntanglingPlayers() |
net.minecraft.entity.MobEntity |
getInnerEntity()
Get the inner entity.
|
net.minecraft.util.ResourceLocation |
getLootTable() |
net.minecraft.entity.EntitySize |
getSize(net.minecraft.entity.Pose poseIn) |
protected float |
getSoundPitch() |
boolean |
handleFluidAcceleration(net.minecraft.tags.ITag<net.minecraft.fluid.Fluid> fluidTag,
double p_210500_2_) |
boolean |
isEnabledVengeance(net.minecraft.entity.player.PlayerEntity player)
If the given player is vengeanced by this spirit
|
boolean |
isInvulnerableTo(net.minecraft.util.DamageSource damageSource) |
boolean |
isMovementBlocked() |
boolean |
isPlayer() |
boolean |
isVisible()
If this entity is visible to the current player
|
void |
livingTick() |
void |
onHit(double hitX,
double hitY,
double hitZ,
double impactMotionX,
double impactMotionY,
double impactMotionZ)
When this spirit is hit by a neutron.
|
void |
playSound(net.minecraft.util.SoundEvent soundIn,
float volume,
float pitch) |
void |
readAdditional(net.minecraft.nbt.CompoundNBT tag) |
void |
registerData() |
void |
remove() |
void |
setEnabledVengeance(net.minecraft.entity.player.PlayerEntity player,
boolean enabled)
Enable vengeance of this spirit for the given player.
|
void |
setInnerEntity(net.minecraft.entity.LivingEntity innerEntity)
Set the inner entity;
|
static EntityVengeanceSpirit |
spawnRandom(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos,
int area)
Spawn a random vengeance spirit in the given area.
|
static void |
vengeanceEvent(net.minecraftforge.event.entity.living.LivingDeathEvent event) |
void |
writeAdditional(net.minecraft.nbt.CompoundNBT tag) |
attackEntityFrom, canDropLoot, canMonsterSpawn, canMonsterSpawnInLight, findAmmo, func_230282_cS_, func_230292_f_, func_234295_eP_, getBlockPathWeight, getFallSound, getHurtSound, getSoundCategory, getSplashSound, getSwimSound, idle, isDespawnPeaceful, isValidLightLevelcanSpawn, followLeashSpeed, getBlockPathWeight, hasPath, onLeashDistance, updateLeashedStatebaseTick, canAttack, canAttack, canBeLeashedTo, canBeSteered, canDespawn, canEquipItem, canPassengerSteer, canPickUpItem, canPickUpLoot, canSpawnOn, checkDespawn, clearLeashed, createBodyController, createNavigator, detachHome, dropSpecialItems, eatGrassBonus, enablePersistence, faceEntity, func_230254_b_, func_230280_a_, func_230286_q_, func_230293_i_, func_233656_b_, func_233657_b_, func_233659_b_, func_233660_b_, func_233663_d_, func_233665_g_, func_233666_p_, func_241844_w, func_242289_a, getArmorByChance, getArmorInventoryList, getAttackTarget, getDropChance, getEntitySenses, getExperiencePoints, getFaceRotSpeed, getHeldEquipment, getHomePosition, getHorizontalFaceSpeed, getItemStackFromSlot, getJumpController, getLeashed, getLeashHolder, getLookController, getLootContextBuilder, getLootTableResourceLocation, getMaxFallHeight, getMaximumHomeDistance, getMaxSpawnedInChunk, getMoveHelper, getNavigator, getPathPriority, getPrimaryHand, getSlotForItemStack, getTalkInterval, getVerticalFaceSpeed, handleFluidJump, handleStatusUpdate, isAggressive, isAIDisabled, isInDaylight, isItemStackInSlot, isLeftHanded, isMaxGroupSize, isNoDespawnRequired, isNotColliding, isServerWorld, isWithinHomeDistanceCurrentPosition, isWithinHomeDistanceFromPosition, onChildSpawnFromEgg, onInitialSpawn, playAmbientSound, playHurtSound, preventDespawn, processInitialInteract, registerGoals, replaceItemInInventory, sendDebugPackets, setAggroed, setAIMoveSpeed, setAttackTarget, setCanPickUpLoot, setChild, setDead, setDropChance, setEnchantmentBasedOnDifficulty, setEquipmentBasedOnDifficulty, setHomePosAndDistance, setItemStackToSlot, setLeashHolder, setLeftHanded, setMoveForward, setMoveStrafing, setMoveVertical, setNoAI, setPathPriority, setVehicleEntityId, shouldExchangeEquipment, spawnExplosionParticle, startRiding, tick, updateAITasks, updateDistance, updateEntityActionState, updateEquipmentIfNeeded, updateMovementGoalFlagsaddPotionEffect, addSprintingEffect, applyArmorCalculations, applyEntityCollision, applyKnockback, applyPotionDamageCalculations, areAllPotionsAmbient, attackable, attemptTeleport, blockUsingShield, calculateFallDamage, canAttack, canBeHitWithPotion, canBeRiddenInWater, canBreatheUnderwater, canEquip, clearActivePotions, clearBedPosition, collideWithEntity, constructKnockBackVector, createBrain, createSpawnPacket, createWitherRose, curePotionEffects, damageArmor, damageEntity, damageShield, decreaseAirSupply, determineNextAir, dropExperience, dropInventory, frostWalk, func_230246_e_, func_230285_a_, func_230295_b_, func_230296_cM_, func_233626_a_, func_233629_a_, func_233633_a_, func_233634_a_, func_233641_cN_, func_233642_cO_, func_233644_dn_, func_233646_e_, func_241208_cS_, func_241839_a, func_242288_h, getAbsorptionAmount, getActiveHand, getActiveItemStack, getActivePotionEffect, getActivePotionEffects, getActivePotionMap, getAIMoveSpeed, getAlwaysRenderNameTagForRender, getArmorCoverPercentage, getArrowCountInEntity, getAttackingEntity, getAttribute, getAttributeManager, getAttributeValue, getAvailablePoses, getBedDirection, getBedPosition, getBeeStingCount, getBlockState, getBrain, getBrainCodec, getCapability, getCombatTracker, getDrinkSound, getEatSound, getEyeHeight, getHealth, getHeldItem, getHeldItemMainhand, getHeldItemOffhand, getIdleTime, getItemInUseCount, getItemInUseMaxCount, getJumpUpwardsMotion, getLastAttackedEntity, getLastAttackedEntityTime, getLastDamageSource, getMaxHealth, getMovementSpeed, getPoseAABB, getRenderBoundingBox, getRenderScale, getRevengeTarget, getRevengeTimer, getRNG, getRotationYawHead, getShouldBeDead, getSoundVolume, getSpeedFactor, getStandingEyeHeight, getSwimAnimation, getSwingProgress, getTicksElytraFlying, getTotalArmorValue, getVisibilityMultiplier, getWaterSlowDown, getYaw, handleFluidSneak, hasItemInSlot, hasStoppedClimbing, heal, invalidateCaps, isActiveItemStackBlocking, isActualySwimming, isAlive, isChild, isElytraFlying, isEntityInsideOpaqueBlock, isEntityUndead, isHandActive, isOnLadder, isPotionActive, isPotionApplicable, isSleeping, isSpinAttacking, isWaterSensitive, jump, lookAt, markPotionsDirty, markVelocityChanged, notifyDataManagerChange, onChangedPotionEffect, onDeath, onDeathUpdate, onFinishedPotionEffect, onFoodEaten, onItemPickup, onItemUseFinish, onKillCommand, onLivingFall, onNewPotionEffect, outOfWorld, performHurtAnimation, playEquipSound, playFallSound, registerAttributes, removeActivePotionEffect, removePotionEffect, resetActiveHand, resetPotionEffectMetadata, sendBreakAnimation, sendBreakAnimation, sendEndCombat, sendEnterCombat, setAbsorptionAmount, setActiveHand, setArrowCountInEntity, setBedPosition, setBeeStingCount, setHeadRotation, setHealth, setHeldItem, setIdleTime, setJumping, setLastAttackedEntity, setLivingFlag, setOnGround, setPartying, setPositionAndRotationDirect, setRenderYawOffset, setRevengeTarget, setRotationYawHead, setSprinting, shouldRiderFaceForward, spawnDrops, spinAttack, startSleeping, startSpinAttack, stopActiveHand, stopRiding, swing, swingArm, travel, triggerItemPickupTrigger, triggerItemUseEffects, updateArmSwingProgress, updateFallState, updatePotionEffects, updatePotionMetadata, updateRidden, updateSpinAttack, wakeUpaddPassenger, addTag, addTrackingPlayer, addVelocity, allowLogging, applyEnchantments, applyOrientationToEntity, applyPlayerInteraction, areEyesInFluid, awardKillScore, calculateUpVector, canBeAttackedWithItem, canBeRidden, canCollide, canExplosionDestroyBlock, canFitPassenger, canRenderOnFire, canSwim, canTrample, canTriggerWalking, canUpdate, canUpdate, captureDrops, captureDrops, changeDimension, changeDimension, collideBoundingBox, collideBoundingBoxHeuristically, copyDataFromOld, copyLocationAndAnglesFrom, decrementTimeUntilPortal, detach, determineNextStepDistance, dismount, doBlockCollisions, doWaterSplashEffect, entityDropItem, entityDropItem, entityDropItem, entityDropItem, equals, extinguish, fillCrashReport, forceFireTicks, forceSetPosition, func_230268_c_, func_233559_a_, func_233566_aG_, func_233571_b_, func_233577_ch_, func_233578_ci_, func_233579_cu_, func_241205_ce_, func_241829_a, func_241830_a, func_241842_k, func_241845_aY, func_241847_a, func_242274_V, func_242277_a, func_242278_a, func_242279_ag, func_242280_ah, func_242281_f, func_242282_l, getAdjustedHorizontalFacing, getAir, getAllowedMovement, getBoundingBox, getBoundingBox, getBrightness, getCachedUniqueIdString, getCollisionBorderSize, getCommandSource, getControllingPassenger, getCustomName, getDataManager, getDisplayName, getDistance, getDistanceSq, getDistanceSq, getDistanceSq, getEntityId, getEntityString, getEntityWorld, getEquipmentAndArmor, getExplosionResistance, getEyeHeight, getEyeHeight, getEyePosition, getFireImmuneTicks, getFireTimer, getFlag, getForward, getHeight, getHighspeedSplashSound, getHorizontalFacing, getHoverEvent, getJumpFactor, getLeashPosition, getLook, getLookVec, getLowestRidingEntity, getMaxAir, getMaxInPortalTime, getMirroredYaw, getMotion, getMountedYOffset, getName, getOnPosition, getPassengers, getPermissionLevel, getPersistentData, getPitch, getPitchYaw, getPortalCooldown, getPose, getPosition, getPositionUnderneath, getPositionVec, getPosX, getPosXRandom, getPosXWidth, getPosY, getPosYEye, getPosYHeight, getPosYRandom, getPosZ, getPosZRandom, getPosZWidth, getProfessionName, getPushReaction, getRecursivePassengers, getRenderDistanceWeight, getRidingEntity, getRotatedYaw, getScoreboardName, getSelfAndPassengers, getServer, getStateBelow, getTags, getTeam, getTeamColor, getType, getUniqueID, getUpVector, getVectorForRotation, getWidth, getYOffset, handlePistonMovement, handleRunningEffect, hasCustomName, hashCode, hasNoGravity, hasPermissionLevel, hitByEntity, horizontalMag, ignoreItemEntityData, isAddedToWorld, isBeingRidden, isBurning, isCrouching, isCustomNameVisible, isDescending, isDiscrete, isEntityEqual, isEntityInRange, isGlowing, isImmuneToExplosions, isImmuneToFire, isInLava, isInRangeToRender3d, isInRangeToRenderDist, isInvisible, isInvisibleToPlayer, isInvulnerable, isInWater, isInWaterOrBubbleColumn, isInWaterRainOrBubbleColumn, isLiving, isNonBoss, isOffsetPositionInLiquid, isOnePlayerRiding, isOnGround, isOnSameTeam, isOnScoreboardTeam, isPassenger, isPassenger, isPassenger, isPoseClear, isPushedByWater, isRidingOrBeingRiddenBy, isRidingSameEntity, isSilent, isSneaking, isSpectatedByPlayer, isSpectator, isSprinting, isSteppingCarefully, isSuppressingBounce, isSwimming, isVisuallySwimming, isWet, makeFlySound, maybeBackOffFromEdge, move, moveForced, moveForced, moveRelative, moveToBlockPosAndAngles, newDoubleNBTList, newFloatNBTList, onAddedToWorld, onCollideWithPlayer, onEnterBubbleColumn, onEnterBubbleColumnWithAirAbove, onInsideBlock, onRemovedFromWorld, pick, playFlySound, playStepSound, playSwimSound, preparePlayerToSpawn, pushOutOfBlocks, read, recalculateSize, recenterBoundingBox, remove, removePassenger, removePassengers, removeTag, removeTrackingPlayer, resetPositionToBB, revive, rotateTowards, sendMessage, setAir, setBoundingBox, setCustomName, setCustomNameVisible, setEntityId, setFire, setFlag, setGlowing, setInvisible, setInvulnerable, setLocationAndAngles, setMotion, setMotion, setMotionMultiplier, setNoGravity, setOnFireFromLava, setPacketCoordinates, setPortal, setPose, setPosition, setPositionAndRotation, setPositionAndUpdate, setRawPosition, setRenderDistanceWeight, setRotation, setSilent, setSneaking, setSwimming, setUniqueId, setVelocity, setWorld, shouldReceiveErrors, shouldReceiveFeedback, shouldSetPosAfterLoading, shouldSpawnRunningEffects, startRiding, teleportKeepLoaded, toString, updatePassenger, updatePortal, updateSwimming, writeUnlessPassenger, writeUnlessRemoved, writeWithoutTypeIdareCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, getCapabilities, reviveCaps, serializeCapsclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int REMAININGLIFE_MIN
public static final int REMAININGLIFE_MAX
public static final net.minecraft.network.datasync.DataParameter<java.lang.String> WATCHERID_INNER
public static final net.minecraft.network.datasync.DataParameter<java.lang.Integer> WATCHERID_REMAININGLIFE
public static final net.minecraft.network.datasync.DataParameter<java.lang.Integer> WATCHERID_FROZENDURATION
public static final net.minecraft.network.datasync.DataParameter<java.lang.Integer> WATCHERID_GLOBALVENGEANCE
public static final net.minecraft.network.datasync.DataParameter<java.lang.String> WATCHERID_VENGEANCEPLAYERS
public static final net.minecraft.network.datasync.DataParameter<java.lang.Integer> WATCHERID_ISSWARM
public static final net.minecraft.network.datasync.DataParameter<java.lang.Integer> WATCHERID_SWARMTIER
public static final net.minecraft.network.datasync.DataParameter<java.lang.Integer> WATCHERID_BUILDUP
public static final net.minecraft.network.datasync.DataParameter<java.lang.String> WATCHERID_PLAYERID
public static final net.minecraft.network.datasync.DataParameter<java.lang.String> WATCHERID_PLAYERNAME
public EntityVengeanceSpirit(net.minecraft.entity.EntityType<? extends EntityVengeanceSpirit> type, net.minecraft.world.World world)
public EntityVengeanceSpirit(net.minecraft.world.World world)
public EntityVengeanceSpirit(net.minecraft.entity.EntityType<? extends EntityVengeanceSpirit> type, net.minecraft.world.World world, @Nullable net.minecraft.entity.EntityType<?> preferredInnerEntity)
public double getBaseAttributeValue(net.minecraft.entity.ai.attributes.Attribute attribute)
getBaseAttributeValue in class net.minecraft.entity.LivingEntitypublic static void vengeanceEvent(net.minecraftforge.event.entity.living.LivingDeathEvent event)
public void registerData()
registerData in class net.minecraft.entity.MobEntitypublic void writeAdditional(net.minecraft.nbt.CompoundNBT tag)
writeAdditional in class net.minecraft.entity.MobEntitypublic void readAdditional(net.minecraft.nbt.CompoundNBT tag)
readAdditional in class net.minecraft.entity.MobEntitypublic net.minecraft.util.ResourceLocation getLootTable()
getLootTable in class net.minecraft.entity.MobEntityprotected float getSoundPitch()
getSoundPitch in class net.minecraft.entity.LivingEntitypublic net.minecraft.entity.CreatureAttribute getCreatureAttribute()
getCreatureAttribute in class net.minecraft.entity.LivingEntitypublic boolean isInvulnerableTo(net.minecraft.util.DamageSource damageSource)
isInvulnerableTo in class net.minecraft.entity.Entitypublic boolean attackEntityAsMob(net.minecraft.entity.Entity entity)
attackEntityAsMob in class net.minecraft.entity.MobEntityprotected void dropLoot(net.minecraft.util.DamageSource damageSource,
boolean fromPlayer)
dropLoot in class net.minecraft.entity.MobEntitypublic void remove()
remove in class net.minecraft.entity.Entitypublic boolean isMovementBlocked()
isMovementBlocked in class net.minecraft.entity.LivingEntitypublic void livingTick()
livingTick in class EntityNoMobpublic void playSound(net.minecraft.util.SoundEvent soundIn,
float volume,
float pitch)
playSound in class net.minecraft.entity.Entitypublic boolean isVisible()
protected void collideWithNearbyEntities()
collideWithNearbyEntities in class net.minecraft.entity.LivingEntitypublic boolean canBePushed()
canBePushed in class net.minecraft.entity.LivingEntitypublic boolean canBeCollidedWith()
canBeCollidedWith in class net.minecraft.entity.LivingEntitypublic void func_241841_a(net.minecraft.world.server.ServerWorld world,
net.minecraft.entity.effect.LightningBoltEntity lightning)
func_241841_a in class net.minecraft.entity.Entitypublic boolean canEntityBeSeen(net.minecraft.entity.Entity entity)
canEntityBeSeen in class net.minecraft.entity.LivingEntitypublic boolean isEnabledVengeance(net.minecraft.entity.player.PlayerEntity player)
player - the player.public void setEnabledVengeance(net.minecraft.entity.player.PlayerEntity player,
boolean enabled)
player - This player will be added to the target list.enabled - If vengeance should be enabledpublic boolean isPlayer()
isPlayer in class net.minecraft.entity.LivingEntitypublic net.minecraft.entity.EntitySize getSize(net.minecraft.entity.Pose poseIn)
getSize in class net.minecraft.entity.LivingEntity@Nullable public net.minecraft.entity.MobEntity getInnerEntity()
public void setInnerEntity(net.minecraft.entity.LivingEntity innerEntity)
innerEntity - inner entitypublic static boolean canSustain(net.minecraft.entity.LivingEntity entityLiving)
entityLiving - The entity to check.public static boolean canSpawnNew(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos)
world - The world.blockPos - The position.public void onHit(double hitX,
double hitY,
double hitZ,
double impactMotionX,
double impactMotionY,
double impactMotionZ)
hitX - Hit X.hitY - Hit Y.hitZ - Hit Z.impactMotionX - The motion speed for X.impactMotionY - The motion speed for Y.impactMotionZ - The motion speed for Z.public static EntityVengeanceSpirit spawnRandom(net.minecraft.world.World world, net.minecraft.util.math.BlockPos blockPos, int area)
world - The world.blockPos - The position.area - The radius in which the spawn can occur.public net.minecraft.util.SoundEvent getDeathSound()
getDeathSound in class EntityNoMobpublic net.minecraft.util.SoundEvent getAmbientSound()
getAmbientSound in class net.minecraft.entity.MobEntitypublic static void addToBlacklistIMC(java.lang.String entityName)
entityName - The entity name or regexthat will be blocked from spiritation.public boolean handleFluidAcceleration(net.minecraft.tags.ITag<net.minecraft.fluid.Fluid> fluidTag,
double p_210500_2_)
handleFluidAcceleration in class net.minecraft.entity.Entitypublic boolean doesEntityNotTriggerPressurePlate()
doesEntityNotTriggerPressurePlate in class net.minecraft.entity.Entitypublic static EntityVengeanceSpirit fromNBT(net.minecraft.world.World world, net.minecraft.nbt.CompoundNBT spiritTag)
public void addEntanglingPlayer(net.minecraft.entity.player.ServerPlayerEntity player)
public java.util.Set<net.minecraft.entity.player.ServerPlayerEntity> getEntanglingPlayers()