Uses of Class
net.minecraft.entity.Entity
Package
Description
-
Uses of Entity in net.minecraft.advancements.criterion
Modifier and TypeMethodDescriptionstatic LootContext
EntityPredicate.createContext
(ServerPlayerEntity p_234575_0_, Entity p_234575_1_) static CompoundNBT
NBTPredicate.getEntityTagToCompare
(Entity p_196981_0_) boolean
boolean
boolean
EntityPredicate.matches
(ServerPlayerEntity p_192482_1_, Entity p_192482_2_) boolean
EntityPredicate.matches
(ServerWorld p_217993_1_, Vector3d p_217993_2_, Entity p_217993_3_) boolean
boolean
boolean
void
KilledTrigger.trigger
(ServerPlayerEntity p_192211_1_, Entity p_192211_2_, DamageSource p_192211_3_) void
PlayerEntityInteractionTrigger.trigger
(ServerPlayerEntity p_241476_1_, ItemStack p_241476_2_, Entity p_241476_3_) void
PlayerHurtEntityTrigger.trigger
(ServerPlayerEntity p_192220_1_, Entity p_192220_2_, DamageSource p_192220_3_, float p_192220_4_, float p_192220_5_, boolean p_192220_6_) void
SummonedEntityTrigger.trigger
(ServerPlayerEntity p_192229_1_, Entity p_192229_2_) void
TargetHitTrigger.trigger
(ServerPlayerEntity p_236350_1_, Entity p_236350_2_, Vector3d p_236350_3_, int p_236350_4_) void
ThrownItemPickedUpByEntityTrigger.trigger
(ServerPlayerEntity p_234830_1_, ItemStack p_234830_2_, Entity p_234830_3_) Modifier and TypeMethodDescriptionvoid
ChanneledLightningTrigger.trigger
(ServerPlayerEntity p_204814_1_, Collection<? extends Entity> p_204814_2_) void
KilledByCrossbowTrigger.trigger
(ServerPlayerEntity p_234941_1_, Collection<Entity> p_234941_2_) -
Uses of Entity in net.minecraft.block
Modifier and TypeMethodDescriptionprivate void
private void
private boolean
TurtleEggBlock.canDestroyEgg
(World p_212570_1_, Entity p_212570_2_) private void
TurtleEggBlock.destroyEgg
(World p_203167_1_, BlockPos p_203167_2_, Entity p_203167_3_, int p_203167_4_) private static boolean
HoneyBlock.doesEntityDoHoneyBlockSlideEffects
(Entity p_226937_0_) private void
HoneyBlock.doSlideMovement
(Entity p_226938_1_) static void
Block.dropResources
(BlockState p_220054_0_, World p_220054_1_, BlockPos p_220054_2_, TileEntity p_220054_3_, Entity p_220054_4_, ItemStack p_220054_5_) final boolean
AbstractBlock.AbstractBlockState.entityCanStandOn
(IBlockReader p_235719_1_, BlockPos p_235719_2_, Entity p_235719_3_) final boolean
AbstractBlock.AbstractBlockState.entityCanStandOnFace
(IBlockReader p_215682_1_, BlockPos p_215682_2_, Entity p_215682_3_, Direction p_215682_4_) void
AbstractBlock.AbstractBlockState.entityInside
(World p_196950_1_, BlockPos p_196950_2_, Entity p_196950_3_) void
AbstractBlock.entityInside
(BlockState p_196262_1_, World p_196262_2_, BlockPos p_196262_3_, Entity p_196262_4_) Deprecated.void
AbstractButtonBlock.entityInside
(BlockState p_196262_1_, World p_196262_2_, BlockPos p_196262_3_, Entity p_196262_4_) void
AbstractFireBlock.entityInside
(BlockState p_196262_1_, World p_196262_2_, BlockPos p_196262_3_, Entity p_196262_4_) void
AbstractPressurePlateBlock.entityInside
(BlockState p_196262_1_, World p_196262_2_, BlockPos p_196262_3_, Entity p_196262_4_) void
BubbleColumnBlock.entityInside
(BlockState p_196262_1_, World p_196262_2_, BlockPos p_196262_3_, Entity p_196262_4_) void
CactusBlock.entityInside
(BlockState p_196262_1_, World p_196262_2_, BlockPos p_196262_3_, Entity p_196262_4_) void
CampfireBlock.entityInside
(BlockState p_196262_1_, World p_196262_2_, BlockPos p_196262_3_, Entity p_196262_4_) void
CauldronBlock.entityInside
(BlockState p_196262_1_, World p_196262_2_, BlockPos p_196262_3_, Entity p_196262_4_) void
CropsBlock.entityInside
(BlockState p_196262_1_, World p_196262_2_, BlockPos p_196262_3_, Entity p_196262_4_) void
DetectorRailBlock.entityInside
(BlockState p_196262_1_, World p_196262_2_, BlockPos p_196262_3_, Entity p_196262_4_) void
EndPortalBlock.entityInside
(BlockState p_196262_1_, World p_196262_2_, BlockPos p_196262_3_, Entity p_196262_4_) void
HoneyBlock.entityInside
(BlockState p_196262_1_, World p_196262_2_, BlockPos p_196262_3_, Entity p_196262_4_) void
HopperBlock.entityInside
(BlockState p_196262_1_, World p_196262_2_, BlockPos p_196262_3_, Entity p_196262_4_) void
LilyPadBlock.entityInside
(BlockState p_196262_1_, World p_196262_2_, BlockPos p_196262_3_, Entity p_196262_4_) void
NetherPortalBlock.entityInside
(BlockState p_196262_1_, World p_196262_2_, BlockPos p_196262_3_, Entity p_196262_4_) void
SweetBerryBushBlock.entityInside
(BlockState p_196262_1_, World p_196262_2_, BlockPos p_196262_3_, Entity p_196262_4_) void
TripWireBlock.entityInside
(BlockState p_196262_1_, World p_196262_2_, BlockPos p_196262_3_, Entity p_196262_4_) void
WebBlock.entityInside
(BlockState p_196262_1_, World p_196262_2_, BlockPos p_196262_3_, Entity p_196262_4_) void
WitherRoseBlock.entityInside
(BlockState p_196262_1_, World p_196262_2_, BlockPos p_196262_3_, Entity p_196262_4_) void
void
void
FarmlandBlock.fallOn
(World p_180658_1_, BlockPos p_180658_2_, Entity p_180658_3_, float p_180658_4_) void
void
void
void
TurtleEggBlock.fallOn
(World p_180658_1_, BlockPos p_180658_2_, Entity p_180658_3_, float p_180658_4_) Block.getDrops
(BlockState p_220077_0_, ServerWorld p_220077_1_, BlockPos p_220077_2_, TileEntity p_220077_3_, Entity p_220077_4_, ItemStack p_220077_5_) private boolean
HoneyBlock.isSlidingDown
(BlockPos p_226935_1_, Entity p_226935_2_) private void
HoneyBlock.maybeDoSlideAchievement
(Entity p_226933_1_, BlockPos p_226933_2_) private void
HoneyBlock.maybeDoSlideEffects
(World p_226934_1_, Entity p_226934_2_) static void
HoneyBlock.showJumpParticles
(Entity p_226936_0_) private static void
HoneyBlock.showParticles
(Entity p_226932_0_, int p_226932_1_) static void
HoneyBlock.showSlideParticles
(Entity p_226931_0_) void
void
void
void
void
void
void
BedBlock.updateEntityAfterFallOn
(IBlockReader p_176216_1_, Entity p_176216_2_) void
Block.updateEntityAfterFallOn
(IBlockReader p_176216_1_, Entity p_176216_2_) void
SlimeBlock.updateEntityAfterFallOn
(IBlockReader p_176216_1_, Entity p_176216_2_) private static int
TargetBlock.updateRedstoneOutput
(IWorld p_235605_0_, BlockState p_235605_1_, BlockRayTraceResult p_235605_2_, Entity p_235605_3_) Modifier and TypeMethodDescriptionprotected <T extends AbstractMinecartEntity>
List<T>DetectorRailBlock.getInteractingMinecartOfType
(World p_200878_1_, BlockPos p_200878_2_, Class<T> p_200878_3_, Predicate<Entity> p_200878_4_) -
Uses of Entity in net.minecraft.client
Modifier and TypeMethodDescriptionvoid
Minecraft.setCameraEntity
(Entity p_175607_1_) boolean
Minecraft.shouldEntityAppearGlowing
(Entity p_238206_1_) -
Uses of Entity in net.minecraft.client.audio
ModifierConstructorDescriptionEntityTickableSound
(SoundEvent p_i50899_1_, SoundCategory p_i50899_2_, float p_i50899_3_, float p_i50899_4_, Entity p_i50899_5_) EntityTickableSound
(SoundEvent p_i50898_1_, SoundCategory p_i50898_2_, Entity p_i50898_3_) -
Uses of Entity in net.minecraft.client.entity.player
Modifier and TypeClassDescriptionclass
class
class
-
Uses of Entity in net.minecraft.client.gui
Modifier and TypeMethodDescriptionprotected void
IngameGui.renderVignette
(Entity p_212303_1_) private void
IngameGui.updateVignetteBrightness
(Entity p_212307_1_) -
Uses of Entity in net.minecraft.client.multiplayer
Modifier and TypeMethodDescriptionvoid
PlayerController.attack
(PlayerEntity p_78764_1_, Entity p_78764_2_) PlayerController.interact
(PlayerEntity p_187097_1_, Entity p_187097_2_, Hand p_187097_3_) PlayerController.interactAt
(PlayerEntity p_187102_1_, Entity p_187102_2_, EntityRayTraceResult p_187102_3_, Hand p_187102_4_) boolean
ClientChunkProvider.isEntityTickingChunk
(Entity p_217204_1_) -
Uses of Entity in net.minecraft.client.particle
Modifier and TypeFieldDescriptionprivate final Entity
EmitterParticle.entity
private final Entity
ItemPickupParticle.itemEntity
private final Entity
ItemPickupParticle.target
Modifier and TypeMethodDescriptionprivate Entity
ItemPickupParticle.getSafeCopy
(Entity p_239181_1_) Modifier and TypeMethodDescriptionvoid
ParticleManager.createTrackingEmitter
(Entity p_199282_1_, IParticleData p_199282_2_) void
ParticleManager.createTrackingEmitter
(Entity p_199281_1_, IParticleData p_199281_2_, int p_199281_3_) private Entity
ItemPickupParticle.getSafeCopy
(Entity p_239181_1_) ModifierConstructorDescriptionEmitterParticle
(ClientWorld p_i232451_1_, Entity p_i232451_2_, IParticleData p_i232451_3_) EmitterParticle
(ClientWorld p_i232452_1_, Entity p_i232452_2_, IParticleData p_i232452_3_, int p_i232452_4_) private
EmitterParticle
(ClientWorld p_i232453_1_, Entity p_i232453_2_, IParticleData p_i232453_3_, int p_i232453_4_, Vector3d p_i232453_5_) ItemPickupParticle
(EntityRendererManager p_i232400_1_, RenderTypeBuffers p_i232400_2_, ClientWorld p_i232400_3_, Entity p_i232400_4_, Entity p_i232400_5_) private
ItemPickupParticle
(EntityRendererManager p_i232401_1_, RenderTypeBuffers p_i232401_2_, ClientWorld p_i232401_3_, Entity p_i232401_4_, Entity p_i232401_5_, Vector3d p_i232401_6_) -
Uses of Entity in net.minecraft.client.renderer
Modifier and TypeMethodDescriptionvoid
GameRenderer.checkEntityPostEffect
(Entity p_175066_1_) private void
WorldRenderer.renderEntity
(Entity p_228418_1_, double p_228418_2_, double p_228418_4_, double p_228418_6_, float p_228418_8_, MatrixStack p_228418_9_, IRenderTypeBuffer p_228418_10_) private void
WorldRenderer.renderHitOutline
(MatrixStack p_228429_1_, IVertexBuilder p_228429_2_, Entity p_228429_3_, double p_228429_4_, double p_228429_6_, double p_228429_8_, BlockPos p_228429_10_, BlockState p_228429_11_) void
ActiveRenderInfo.setup
(IBlockReader p_216772_1_, Entity p_216772_2_, boolean p_216772_3_, boolean p_216772_4_, float p_216772_5_) -
Uses of Entity in net.minecraft.client.renderer.debug
Modifier and TypeMethodDescriptionDebugRenderer.getTargetedEntity
(Entity p_217728_0_, int p_217728_1_) Modifier and TypeMethodDescriptionDebugRenderer.getTargetedEntity
(Entity p_217728_0_, int p_217728_1_) -
Uses of Entity in net.minecraft.client.renderer.entity
Modifier and TypeClassDescriptionclass
EntityRenderer<T extends Entity>
interface
IEntityRenderer<T extends Entity,
M extends EntityModel<T>> class
SpriteRenderer<T extends Entity & IRendersAsItem>
Modifier and TypeMethodDescription<E extends Entity>
intEntityRendererManager.getPackedLightCoords
(E p_229085_1_, float p_229085_2_) <T extends Entity>
EntityRenderer<? super T>EntityRendererManager.getRenderer
(T p_78713_1_) <T extends Entity>
voidEntityRendererManager.register
(EntityType<T> p_229087_1_, EntityRenderer<? super T> p_229087_2_) <E extends Entity>
voidEntityRendererManager.render
(E p_229084_1_, double p_229084_2_, double p_229084_4_, double p_229084_6_, float p_229084_8_, float p_229084_9_, MatrixStack p_229084_10_, IRenderTypeBuffer p_229084_11_, int p_229084_12_) private <E extends Entity>
voidMobRenderer.renderLeash
(T p_229118_1_, float p_229118_2_, MatrixStack p_229118_3_, IRenderTypeBuffer p_229118_4_, E p_229118_5_) <E extends Entity>
booleanEntityRendererManager.shouldRender
(E p_229086_1_, ClippingHelper p_229086_2_, double p_229086_3_, double p_229086_5_, double p_229086_7_) Modifier and TypeMethodDescriptiondouble
EntityRendererManager.distanceToSqr
(Entity p_229099_1_) SpriteRenderer.getTextureLocation
(Entity p_110775_1_) void
EntityRendererManager.prepare
(World p_229088_1_, ActiveRenderInfo p_229088_2_, Entity p_229088_3_) private void
EntityRendererManager.renderBox
(MatrixStack p_229094_1_, IVertexBuilder p_229094_2_, Entity p_229094_3_, float p_229094_4_, float p_229094_5_, float p_229094_6_) private void
EntityRendererManager.renderFlame
(MatrixStack p_229095_1_, IRenderTypeBuffer p_229095_2_, Entity p_229095_3_) private void
EntityRendererManager.renderHitbox
(MatrixStack p_229093_1_, IVertexBuilder p_229093_2_, Entity p_229093_3_, float p_229093_4_) private static void
EntityRendererManager.renderShadow
(MatrixStack p_229096_0_, IRenderTypeBuffer p_229096_1_, Entity p_229096_2_, float p_229096_3_, float p_229096_4_, IWorldReader p_229096_5_, float p_229096_6_) -
Uses of Entity in net.minecraft.client.renderer.entity.layers
Modifier and TypeClassDescriptionclass
AbstractEyesLayer<T extends Entity,
M extends EntityModel<T>> class
EnergyLayer<T extends Entity & IChargeableMob,
M extends EntityModel<T>> class
LayerRenderer<T extends Entity,
M extends EntityModel<T>> class
PhantomEyesLayer<T extends Entity>
class
SaddleLayer<T extends Entity & IEquipable,
M extends EntityModel<T>> class
SpiderEyesLayer<T extends Entity,
M extends SpiderModel<T>> Modifier and TypeMethodDescriptionBipedArmorLayer.getArmorResource
(Entity entity, ItemStack stack, EquipmentSlotType slot, String type) More generic ForgeHook version of the above function, it allows for Items to have more control over what texture they provide.protected void
ArrowLayer.renderStuckItem
(MatrixStack p_225632_1_, IRenderTypeBuffer p_225632_2_, int p_225632_3_, Entity p_225632_4_, float p_225632_5_, float p_225632_6_, float p_225632_7_, float p_225632_8_) protected void
BeeStingerLayer.renderStuckItem
(MatrixStack p_225632_1_, IRenderTypeBuffer p_225632_2_, int p_225632_3_, Entity p_225632_4_, float p_225632_5_, float p_225632_6_, float p_225632_7_, float p_225632_8_) protected abstract void
StuckInBodyLayer.renderStuckItem
(MatrixStack p_225632_1_, IRenderTypeBuffer p_225632_2_, int p_225632_3_, Entity p_225632_4_, float p_225632_5_, float p_225632_6_, float p_225632_7_, float p_225632_8_) -
Uses of Entity in net.minecraft.client.renderer.entity.model
Modifier and TypeClassDescriptionclass
AbstractTropicalFishModel<E extends Entity>
class
AgeableModel<E extends Entity>
class
BlazeModel<T extends Entity>
class
ChickenModel<T extends Entity>
class
class
class
CreeperModel<T extends Entity>
class
DolphinModel<T extends Entity>
class
EndermiteModel<T extends Entity>
class
EntityModel<T extends Entity>
class
EvokerFangsModel<T extends Entity>
class
GhastModel<T extends Entity>
class
LeashKnotModel<T extends Entity>
class
LlamaSpitModel<T extends Entity>
class
MinecartModel<T extends Entity>
class
OcelotModel<T extends Entity>
class
PhantomModel<T extends Entity>
class
class
PufferFishBigModel<T extends Entity>
class
PufferFishMediumModel<T extends Entity>
class
PufferFishSmallModel<T extends Entity>
class
QuadrupedModel<T extends Entity>
class
SalmonModel<T extends Entity>
class
SegmentedModel<E extends Entity>
class
ShulkerBulletModel<T extends Entity>
class
SilverfishModel<T extends Entity>
class
SlimeModel<T extends Entity>
class
SnowManModel<T extends Entity>
class
SpiderModel<T extends Entity>
class
SquidModel<T extends Entity>
class
TintedAgeableModel<E extends Entity>
class
TropicalFishAModel<T extends Entity>
class
TropicalFishBModel<T extends Entity>
class
VillagerModel<T extends Entity>
class
WitchModel<T extends Entity>
-
Uses of Entity in net.minecraft.client.world
Modifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.ints.Int2ObjectMap<Entity>
ClientWorld.entitiesById
Modifier and TypeMethodDescriptionprivate void
private void
ClientWorld.onEntityRemoved
(Entity p_217414_1_) void
ClientWorld.playSound
(PlayerEntity p_217384_1_, Entity p_217384_2_, SoundEvent p_217384_3_, SoundCategory p_217384_4_, float p_217384_5_, float p_217384_6_) void
ClientWorld.putNonPlayerEntity
(int p_217411_1_, Entity p_217411_2_) void
ClientWorld.tickNonPassenger
(Entity p_217418_1_) void
ClientWorld.tickPassenger
(Entity p_217420_1_, Entity p_217420_2_) private void
ClientWorld.updateChunkPos
(Entity p_217423_1_) -
Uses of Entity in net.minecraft.command
Modifier and TypeMethodDescriptionCommandSource.facing
(Entity p_201006_1_, EntityAnchorArgument.Type p_201006_2_) CommandSource.withEntity
(Entity p_197024_1_) ModifierConstructorDescriptionCommandSource
(ICommandSource p_i49552_1_, Vector3d p_i49552_2_, Vector2f p_i49552_3_, ServerWorld p_i49552_4_, int p_i49552_5_, String p_i49552_6_, ITextComponent p_i49552_7_, MinecraftServer p_i49552_8_, Entity p_i49552_9_) protected
CommandSource
(ICommandSource p_i49553_1_, Vector3d p_i49553_2_, Vector2f p_i49553_3_, ServerWorld p_i49553_4_, int p_i49553_5_, String p_i49553_6_, ITextComponent p_i49553_7_, MinecraftServer p_i49553_8_, Entity p_i49553_9_, boolean p_i49553_10_, com.mojang.brigadier.ResultConsumer<CommandSource> p_i49553_11_, EntityAnchorArgument.Type p_i49553_12_) -
Uses of Entity in net.minecraft.command.arguments
Modifier and TypeFieldDescriptionprivate final BiConsumer<Vector3d,
List<? extends Entity>> EntitySelector.order
private BiConsumer<Vector3d,
List<? extends Entity>> EntitySelectorParser.order
static final BiConsumer<Vector3d,
List<? extends Entity>> EntitySelectorParser.ORDER_ARBITRARY
static final BiConsumer<Vector3d,
List<? extends Entity>> EntitySelectorParser.ORDER_FURTHEST
static final BiConsumer<Vector3d,
List<? extends Entity>> EntitySelectorParser.ORDER_NEAREST
static final BiConsumer<Vector3d,
List<? extends Entity>> EntitySelectorParser.ORDER_RANDOM
EntitySelector.predicate
EntitySelectorParser.predicate
private final BiFunction<Vector3d,
Entity, Vector3d> EntityAnchorArgument.Type.transform
Modifier and TypeMethodDescriptionEntitySelector.sortAndLimit
(Vector3d p_197345_1_, List<T> p_197345_2_) Modifier and TypeMethodDescriptionEntitySelector.findSingleEntity
(CommandSource p_197340_1_) static Entity
EntityArgument.getEntity
(com.mojang.brigadier.context.CommandContext<CommandSource> p_197088_0_, String p_197088_1_) Modifier and TypeMethodDescriptionEntitySelectorParser.createRotationPredicate
(MinMaxBoundsWrapped p_197366_1_, ToDoubleFunction<Entity> p_197366_2_) EntitySelector.findEntities
(CommandSource p_197341_1_) static Collection<? extends Entity>
EntityArgument.getEntities
(com.mojang.brigadier.context.CommandContext<CommandSource> p_197097_0_, String p_197097_1_) static Collection<? extends Entity>
EntityArgument.getOptionalEntities
(com.mojang.brigadier.context.CommandContext<CommandSource> p_197087_0_, String p_197087_1_) EntitySelector.getPredicate
(Vector3d p_197349_1_) Modifier and TypeMethodDescriptionprivate void
EntitySelector.addEntities
(List<Entity> p_197348_1_, ServerWorld p_197348_2_, Vector3d p_197348_3_, Predicate<Entity> p_197348_4_) private void
EntitySelector.addEntities
(List<Entity> p_197348_1_, ServerWorld p_197348_2_, Vector3d p_197348_3_, Predicate<Entity> p_197348_4_) void
EntitySelectorParser.addPredicate
(Predicate<Entity> p_197401_1_) EntitySelectorParser.createRotationPredicate
(MinMaxBoundsWrapped p_197366_1_, ToDoubleFunction<Entity> p_197366_2_) static IFormattableTextComponent
void
EntitySelectorParser.setOrder
(BiConsumer<Vector3d, List<? extends Entity>> p_197376_1_) ModifierConstructorDescriptionEntitySelector
(int p_i50800_1_, boolean p_i50800_2_, boolean p_i50800_3_, Predicate<Entity> p_i50800_4_, MinMaxBounds.FloatBound p_i50800_5_, Function<Vector3d, Vector3d> p_i50800_6_, AxisAlignedBB p_i50800_7_, BiConsumer<Vector3d, List<? extends Entity>> p_i50800_8_, boolean p_i50800_9_, String p_i50800_10_, UUID p_i50800_11_, EntityType<?> p_i50800_12_, boolean p_i50800_13_) EntitySelector
(int p_i50800_1_, boolean p_i50800_2_, boolean p_i50800_3_, Predicate<Entity> p_i50800_4_, MinMaxBounds.FloatBound p_i50800_5_, Function<Vector3d, Vector3d> p_i50800_6_, AxisAlignedBB p_i50800_7_, BiConsumer<Vector3d, List<? extends Entity>> p_i50800_8_, boolean p_i50800_9_, String p_i50800_10_, UUID p_i50800_11_, EntityType<?> p_i50800_12_, boolean p_i50800_13_) private
-
Uses of Entity in net.minecraft.command.impl
Modifier and TypeMethodDescriptionprivate static int
AttributeCommand.addModifier
(CommandSource p_241010_0_, Entity p_241010_1_, Attribute p_241010_2_, UUID p_241010_3_, String p_241010_4_, double p_241010_5_, AttributeModifier.Operation p_241010_7_) private static int
LootCommand.dropKillLoot
(com.mojang.brigadier.context.CommandContext<CommandSource> p_218869_0_, Entity p_218869_1_, LootCommand.ITargetHandler p_218869_2_) private static int
AttributeCommand.getAttributeBase
(CommandSource p_241016_0_, Entity p_241016_1_, Attribute p_241016_2_, double p_241016_3_) private static ModifiableAttributeInstance
AttributeCommand.getAttributeInstance
(Entity p_241002_0_, Attribute p_241002_1_) private static int
AttributeCommand.getAttributeModifier
(CommandSource p_241009_0_, Entity p_241009_1_, Attribute p_241009_2_, UUID p_241009_3_, double p_241009_4_) private static int
AttributeCommand.getAttributeValue
(CommandSource p_241007_0_, Entity p_241007_1_, Attribute p_241007_2_, double p_241007_3_) private static LivingEntity
AttributeCommand.getEntityWithAttribute
(Entity p_241014_0_, Attribute p_241014_1_) private static LivingEntity
AttributeCommand.getLivingEntity
(Entity p_241001_0_) void
TeleportCommand.Facing.perform
(CommandSource p_201124_1_, Entity p_201124_2_) private static void
TeleportCommand.performTeleport
(CommandSource p_201127_0_, Entity p_201127_1_, ServerWorld p_201127_2_, double p_201127_3_, double p_201127_5_, double p_201127_7_, Set<SPlayerPositionLookPacket.Flags> p_201127_9_, float p_201127_10_, float p_201127_11_, TeleportCommand.Facing p_201127_12_) private static int
AttributeCommand.removeModifier
(CommandSource p_241008_0_, Entity p_241008_1_, Attribute p_241008_2_, UUID p_241008_3_) private static int
AttributeCommand.setAttributeBase
(CommandSource p_241019_0_, Entity p_241019_1_, Attribute p_241019_2_, double p_241019_3_) private static void
LootCommand.setSlots
(Entity p_218901_0_, List<ItemStack> p_218901_1_, int p_218901_2_, int p_218901_3_, List<ItemStack> p_218901_4_) private static int
SpectateCommand.spectate
(CommandSource p_229829_0_, Entity p_229829_1_, ServerPlayerEntity p_229829_2_) private static int
TeleportCommand.teleportToEntity
(CommandSource p_201126_0_, Collection<? extends Entity> p_201126_1_, Entity p_201126_2_) Modifier and TypeMethodDescriptionprivate static int
TagCommand.addTag
(CommandSource p_198749_0_, Collection<? extends Entity> p_198749_1_, String p_198749_2_) private static int
EffectCommand.clearEffect
(CommandSource p_198355_0_, Collection<? extends Entity> p_198355_1_, Effect p_198355_2_) private static int
EffectCommand.clearEffects
(CommandSource p_198354_0_, Collection<? extends Entity> p_198354_1_) private static int
EnchantCommand.enchant
(CommandSource p_202651_0_, Collection<? extends Entity> p_202651_1_, Enchantment p_202651_2_, int p_202651_3_) private static int
LootCommand.entityReplace
(Collection<? extends Entity> p_218865_0_, int p_218865_1_, int p_218865_2_, List<ItemStack> p_218865_3_, LootCommand.ISuccessListener p_218865_4_) private static int
SpreadPlayersCommand.getNumberOfTeams
(Collection<? extends Entity> p_198715_0_) private static Collection<String>
TagCommand.getTags
(Collection<? extends Entity> p_198748_0_) private static int
EffectCommand.giveEffect
(CommandSource p_198360_0_, Collection<? extends Entity> p_198360_1_, Effect p_198360_2_, Integer p_198360_3_, int p_198360_4_, boolean p_198360_5_) private static int
KillCommand.kill
(CommandSource p_198519_0_, Collection<? extends Entity> p_198519_1_) private static int
TagCommand.listTags
(CommandSource p_198744_0_, Collection<? extends Entity> p_198744_1_) private static int
TagCommand.removeTag
(CommandSource p_198750_0_, Collection<? extends Entity> p_198750_1_, String p_198750_2_) private static int
ReplaceItemCommand.setEntityItem
(CommandSource p_198604_0_, Collection<? extends Entity> p_198604_1_, int p_198604_2_, ItemStack p_198604_3_) private static double
SpreadPlayersCommand.setPlayerPositions
(Collection<? extends Entity> p_241072_0_, ServerWorld p_241072_1_, SpreadPlayersCommand.Position[] p_241072_2_, int p_241072_3_, boolean p_241072_4_) private static int
SpreadPlayersCommand.spreadPlayers
(CommandSource p_241070_0_, Vector2f p_241070_1_, float p_241070_2_, float p_241070_3_, int p_241070_4_, boolean p_241070_5_, Collection<? extends Entity> p_241070_6_) private static int
TeleportCommand.teleportToEntity
(CommandSource p_201126_0_, Collection<? extends Entity> p_201126_1_, Entity p_201126_2_) private static int
TeleportCommand.teleportToPos
(CommandSource p_200559_0_, Collection<? extends Entity> p_200559_1_, ServerWorld p_200559_2_, ILocationArgument p_200559_3_, ILocationArgument p_200559_4_, TeleportCommand.Facing p_200559_5_) -
Uses of Entity in net.minecraft.command.impl.data
-
Uses of Entity in net.minecraft.dispenser
Modifier and TypeMethodDescriptionstatic void
IDispenseItemBehavior.setEntityPokingOutOfBlock
(IBlockSource p_239785_0_, Entity p_239785_1_, Direction p_239785_2_) -
Uses of Entity in net.minecraft.enchantment
Modifier and TypeMethodDescriptionvoid
DamageEnchantment.doPostAttack
(LivingEntity p_151368_1_, Entity p_151368_2_, int p_151368_3_) void
Enchantment.doPostAttack
(LivingEntity p_151368_1_, Entity p_151368_2_, int p_151368_3_) static void
EnchantmentHelper.doPostDamageEffects
(LivingEntity p_151385_0_, Entity p_151385_1_) void
Enchantment.doPostHurt
(LivingEntity p_151367_1_, Entity p_151367_2_, int p_151367_3_) void
ThornsEnchantment.doPostHurt
(LivingEntity p_151367_1_, Entity p_151367_2_, int p_151367_3_) static void
EnchantmentHelper.doPostHurtEffects
(LivingEntity p_151384_0_, Entity p_151384_1_) -
Uses of Entity in net.minecraft.entity
Modifier and TypeInterfaceDescriptionstatic interface
class
EntityType<T extends Entity>
static class
EntityType.Builder<T extends Entity>
static interface
EntityType.IFactory<T extends Entity>
Modifier and TypeClassDescriptionclass
class
class
class
class
class
Modifier and TypeFieldDescriptionprivate Entity
MobEntity.leashHolder
private Entity
Entity.vehicle
Modifier and TypeMethodDescriptionstatic <T extends Entity>
booleanEntitySpawnPlacementRegistry.checkSpawnRules
(EntityType<T> p_223515_0_, IServerWorld p_223515_1_, SpawnReason p_223515_2_, BlockPos p_223515_3_, Random p_223515_4_) static <T extends Entity>
EntityType.Builder<T>EntityType.Builder.createNothing
(EntityClassification p_220319_0_) static <T extends Entity>
EntityType.Builder<T>EntityType.Builder.of
(EntityType.IFactory<T> p_220322_0_, EntityClassification p_220322_1_) private static <T extends Entity>
EntityType<T>EntityType.register
(String p_200712_0_, EntityType.Builder<T> p_200712_1_) Modifier and TypeMethodDescriptionEntity.changeDimension
(ServerWorld p_241206_1_) Entity.changeDimension
(ServerWorld p_241206_1_, ITeleporter teleporter) static Entity
private static Entity
EntityType.create
(World p_200719_0_, EntityType<?> p_200719_1_) Entity.getControllingPassenger()
MobEntity.getLeashHolder()
Entity.getRootVehicle()
Entity.getVehicle()
static Entity
EntityType.loadEntityRecursive
(CompoundNBT p_220335_0_, World p_220335_1_, Function<Entity, Entity> p_220335_2_) EntityType.spawn
(ServerWorld p_220331_1_, ItemStack p_220331_2_, PlayerEntity p_220331_3_, BlockPos p_220331_4_, SpawnReason p_220331_5_, boolean p_220331_6_, boolean p_220331_7_) Modifier and TypeMethodDescriptionEntityType.create
(CompoundNBT p_220330_0_, World p_220330_1_) Entity.getIndirectPassengers()
Entity.getPassengers()
Entity.getSelfAndPassengers()
EntityType.loadStaticEntity
(CompoundNBT p_220343_0_, World p_220343_1_) Modifier and TypeMethodDescriptionvoid
Entity.IMoveCallback.accept
(Entity p_accept_1_, double p_accept_2_, double p_accept_4_, double p_accept_6_) protected void
Entity.addPassenger
(Entity p_184200_1_) void
Entity.awardKillScore
(Entity p_191956_1_, int p_191956_2_, DamageSource p_191956_3_) protected boolean
Entity.canAddPassenger
(Entity p_184219_1_) boolean
Entity.canCollideWith
(Entity p_241849_1_) protected boolean
boolean
boolean
Entity.closerThan
(Entity p_233562_1_, double p_233562_2_) static Vector3d
Entity.collideBoundingBoxHeuristically
(Entity p_223307_0_, Vector3d p_223307_1_, AxisAlignedBB p_223307_2_, World p_223307_3_, ISelectionContext p_223307_4_, ReuseableStream<VoxelShape> p_223307_5_) void
Entity.copyPosition
(Entity p_82149_1_) private void
LivingEntity.dismountVehicle
(Entity p_233628_1_) float
Entity.distanceTo
(Entity p_70032_1_) double
Entity.distanceToSqr
(Entity p_70068_1_) void
Entity.doEnchantDamageEffects
(LivingEntity p_174815_1_, Entity p_174815_2_) boolean
LivingEntity.doHurtTarget
(Entity p_70652_1_) boolean
MobEntity.doHurtTarget
(Entity p_70652_1_) protected void
double
LivingEntity.getVisibilityPercent
(Entity p_213340_1_) boolean
Entity.hasIndirectPassenger
(Entity p_184215_1_) boolean
Entity.hasPassenger
(Entity p_184196_1_) boolean
boolean
Entity.isAlliedTo
(Entity p_184191_1_) boolean
Entity.isPassengerOfSameVehicle
(Entity p_184223_1_) void
void
Entity.onPassengerTurned
(Entity p_184190_1_) void
Entity.positionRider
(Entity p_184232_1_) private void
Entity.positionRider
(Entity p_226266_1_, Entity.IMoveCallback p_226266_2_) void
void
protected void
Entity.removePassenger
(Entity p_184225_1_) void
Entity.restoreFrom
(Entity p_180432_1_) void
LivingEntity.setLastHurtMob
(Entity p_130011_1_) void
MobEntity.setLeashedTo
(Entity p_110162_1_, boolean p_110162_2_) boolean
Entity.skipAttackInteraction
(Entity p_85031_1_) boolean
Entity.startRiding
(Entity p_184220_1_) boolean
Entity.startRiding
(Entity p_184205_1_, boolean p_184205_2_) boolean
MobEntity.startRiding
(Entity p_184205_1_, boolean p_184205_2_) void
static void
EntityType.updateCustomEntityTag
(World p_208048_0_, PlayerEntity p_208048_1_, Entity p_208048_2_, CompoundNBT p_208048_3_) Modifier and TypeMethodDescriptionprivate void
Entity.fillIndirectPassengers
(boolean p_200604_1_, Set<Entity> p_200604_2_) boolean
Entity.hasPassenger
(Class<? extends Entity> p_205708_1_) static Entity
EntityType.loadEntityRecursive
(CompoundNBT p_220335_0_, World p_220335_1_, Function<Entity, Entity> p_220335_2_) static Entity
EntityType.loadEntityRecursive
(CompoundNBT p_220335_0_, World p_220335_1_, Function<Entity, Entity> p_220335_2_) -
Uses of Entity in net.minecraft.entity.ai
-
Uses of Entity in net.minecraft.entity.ai.brain
Modifier and TypeMethodDescriptionstatic void
BrainUtil.setWalkAndLookTargetMemories
(LivingEntity p_233860_0_, Entity p_233860_1_, float p_233860_2_, int p_233860_3_) -
Uses of Entity in net.minecraft.entity.ai.brain.memory
Modifier and TypeFieldDescriptionstatic final MemoryModuleType<Entity>
MemoryModuleType.RIDE_TARGET
-
Uses of Entity in net.minecraft.entity.ai.brain.task
Modifier and TypeClassDescriptionclass
StopRidingEntityTask<E extends LivingEntity,
T extends Entity> Modifier and TypeFieldDescriptionprivate final BiPredicate<E,
Entity> StopRidingEntityTask.dontRideIf
Modifier and TypeMethodDescriptionstatic RunAwayTask<? extends Entity>
RunAwayTask.entity
(MemoryModuleType<? extends Entity> p_233965_0_, float p_233965_1_, int p_233965_2_, boolean p_233965_3_) Modifier and TypeMethodDescriptionprivate boolean
StopRidingEntityTask.isVehicleValid
(E p_233892_1_, Entity p_233892_2_) Modifier and TypeMethodDescriptionstatic RunAwayTask<? extends Entity>
RunAwayTask.entity
(MemoryModuleType<? extends Entity> p_233965_0_, float p_233965_1_, int p_233965_2_, boolean p_233965_3_) ModifierConstructorDescriptionStopRidingEntityTask
(int p_i231515_1_, BiPredicate<E, Entity> p_i231515_2_) -
Uses of Entity in net.minecraft.entity.ai.controller
Modifier and TypeMethodDescriptionprivate static double
LookController.getWantedY
(Entity p_220676_0_) void
-
Uses of Entity in net.minecraft.entity.ai.goal
Modifier and TypeMethodDescriptionprotected BlockPos
PanicGoal.lookForWater
(IBlockReader p_188497_1_, Entity p_188497_2_, int p_188497_3_, int p_188497_4_) -
Uses of Entity in net.minecraft.entity.boss
-
Uses of Entity in net.minecraft.entity.boss.dragon
Modifier and TypeMethodDescriptionprotected boolean
boolean
-
Uses of Entity in net.minecraft.entity.effect
-
Uses of Entity in net.minecraft.entity.item
Modifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
class
class
class
class
Modifier and TypeMethodDescriptionEnderPearlEntity.changeDimension
(ServerWorld p_241206_1_, ITeleporter teleporter) ItemEntity.changeDimension
(ServerWorld p_241206_1_, ITeleporter teleporter) BoatEntity.getControllingPassenger()
Modifier and TypeMethodDescriptionprotected void
BoatEntity.addPassenger
(Entity passenger) protected boolean
BoatEntity.canAddPassenger
(Entity p_184219_1_) boolean
BoatEntity.canCollideWith
(Entity p_241849_1_) static boolean
BoatEntity.canVehicleCollide
(Entity p_242378_0_, Entity p_242378_1_) protected void
BoatEntity.clampRotation
(Entity p_184454_1_) protected void
abstract void
void
private void
void
void
void
BoatEntity.onPassengerTurned
(Entity p_184190_1_) void
BoatEntity.positionRider
(Entity p_184232_1_) void
boolean
ArmorStandEntity.skipAttackInteraction
(Entity p_85031_1_) boolean
HangingEntity.skipAttackInteraction
(Entity p_85031_1_) -
Uses of Entity in net.minecraft.entity.item.minecart
Modifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
Modifier and TypeMethodDescriptionContainerMinecartEntity.changeDimension
(ServerWorld p_241206_1_, ITeleporter teleporter) Modifier and TypeMethodDescriptionboolean
AbstractMinecartEntity.canCollideWith
(Entity p_241849_1_) void
-
Uses of Entity in net.minecraft.entity.merchant
Modifier and TypeMethodDescriptionvoid
IReputationTracking.onReputationEventFrom
(IReputationType p_213739_1_, Entity p_213739_2_) -
Uses of Entity in net.minecraft.entity.merchant.villager
Modifier and TypeClassDescriptionclass
class
class
Modifier and TypeMethodDescriptionAbstractVillagerEntity.changeDimension
(ServerWorld p_241206_1_, ITeleporter teleporter) Modifier and TypeMethodDescriptionVillagerTrades.ItemWithPotionForEmeraldsAndItemsTrade.getOffer
(Entity p_221182_1_, Random p_221182_2_) void
VillagerEntity.onReputationEventFrom
(IReputationType p_213739_1_, Entity p_213739_2_) private void
VillagerEntity.tellWitnessesThatIWasMurdered
(Entity p_223361_1_) -
Uses of Entity in net.minecraft.entity.monster
Modifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
Modifier and TypeMethodDescriptionboolean
boolean
CaveSpiderEntity.doHurtTarget
(Entity p_70652_1_) boolean
CreeperEntity.doHurtTarget
(Entity p_70652_1_) boolean
HoglinEntity.doHurtTarget
(Entity p_70652_1_) boolean
HuskEntity.doHurtTarget
(Entity p_70652_1_) boolean
RavagerEntity.doHurtTarget
(Entity p_70652_1_) boolean
WitherSkeletonEntity.doHurtTarget
(Entity p_70652_1_) boolean
ZoglinEntity.doHurtTarget
(Entity p_70652_1_) boolean
ZombieEntity.doHurtTarget
(Entity p_70652_1_) boolean
EvokerEntity.isAlliedTo
(Entity p_184191_1_) boolean
IllusionerEntity.isAlliedTo
(Entity p_184191_1_) boolean
PillagerEntity.isAlliedTo
(Entity p_184191_1_) boolean
VindicatorEntity.isAlliedTo
(Entity p_184191_1_) void
void
private void
RavagerEntity.strongKnockback
(Entity p_213688_1_) private boolean
EndermanEntity.teleportTowards
(Entity p_70816_1_) -
Uses of Entity in net.minecraft.entity.monster.piglin
Modifier and TypeClassDescriptionclass
class
class
Modifier and TypeMethodDescriptionprivate Entity
PiglinEntity.getTopPassenger
(Entity p_234417_1_, int p_234417_2_) Modifier and TypeMethodDescriptionprivate Entity
PiglinEntity.getTopPassenger
(Entity p_234417_1_, int p_234417_2_) boolean
PiglinEntity.startRiding
(Entity p_184205_1_, boolean p_184205_2_) private static boolean
PiglinTasks.wantsToStopRiding
(PiglinEntity p_234467_0_, Entity p_234467_1_) -
Uses of Entity in net.minecraft.entity.passive
Modifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
Modifier and TypeFieldDescriptionFoxEntity.AVOID_PLAYERS
FoxEntity.STALKABLE_PREY
FoxEntity.TRUSTED_TARGET_SELECTOR
Modifier and TypeMethodDescriptionPigEntity.getControllingPassenger()
StriderEntity.getControllingPassenger()
Modifier and TypeMethodDescriptionprotected boolean
StriderEntity.canAddPassenger
(Entity p_184219_1_) protected boolean
boolean
BeeEntity.doHurtTarget
(Entity p_70652_1_) boolean
CatEntity.doHurtTarget
(Entity p_70652_1_) boolean
DolphinEntity.doHurtTarget
(Entity p_70652_1_) boolean
IronGolemEntity.doHurtTarget
(Entity p_70652_1_) boolean
OcelotEntity.doHurtTarget
(Entity p_70652_1_) boolean
PandaEntity.doHurtTarget
(Entity p_70652_1_) boolean
ParrotEntity.doHurtTarget
(Entity p_70652_1_) boolean
PolarBearEntity.doHurtTarget
(Entity p_70652_1_) boolean
RabbitEntity.doHurtTarget
(Entity p_70652_1_) boolean
WolfEntity.doHurtTarget
(Entity p_70652_1_) protected void
protected void
protected void
static boolean
ParrotEntity.imitateNearbyMobs
(World p_192006_0_, Entity p_192006_1_) boolean
TameableEntity.isAlliedTo
(Entity p_184191_1_) void
ChickenEntity.positionRider
(Entity p_184232_1_) -
Uses of Entity in net.minecraft.entity.passive.fish
Modifier and TypeClassDescriptionclass
class
class
class
class
class
-
Uses of Entity in net.minecraft.entity.passive.horse
Modifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
Modifier and TypeMethodDescriptionvoid
AbstractHorseEntity.positionRider
(Entity p_184232_1_) void
LlamaEntity.positionRider
(Entity p_184232_1_) -
Uses of Entity in net.minecraft.entity.player
Modifier and TypeMethodDescriptionServerPlayerEntity.changeDimension
(ServerWorld p_241206_1_, ITeleporter teleporter) ServerPlayerEntity.getCamera()
Modifier and TypeMethodDescriptionvoid
void
void
ServerPlayerEntity.awardKillScore
(Entity p_191956_1_, int p_191956_2_, DamageSource p_191956_3_) void
ServerPlayerEntity.cancelRemoveEntity
(Entity p_184848_1_) void
void
PlayerEntity.interactOn
(Entity p_190775_1_, Hand p_190775_2_) void
ServerPlayerEntity.lookAt
(EntityAnchorArgument.Type p_200618_1_, Entity p_200618_2_, EntityAnchorArgument.Type p_200618_3_) void
void
void
ServerPlayerEntity.sendRemoveEntity
(Entity p_152339_1_) void
boolean
ServerPlayerEntity.startRiding
(Entity p_184205_1_, boolean p_184205_2_) void
private void
-
Uses of Entity in net.minecraft.entity.projectile
Modifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
Modifier and TypeFieldDescriptionprivate Entity
ShulkerBulletEntity.finalTarget
private Entity
FishingBobberEntity.hookedIn
Modifier and TypeMethodDescriptionprivate void
PotionEntity.applySplash
(List<EffectInstance> p_213888_1_, Entity p_213888_2_) protected boolean
AbstractArrowEntity.canHitEntity
(Entity p_230298_1_) protected boolean
DamagingProjectileEntity.canHitEntity
(Entity p_230298_1_) protected boolean
FishingBobberEntity.canHitEntity
(Entity p_230298_1_) protected boolean
ProjectileEntity.canHitEntity
(Entity p_230298_1_) protected boolean
ShulkerBulletEntity.canHitEntity
(Entity p_230298_1_) static EntityRayTraceResult
ProjectileHelper.getEntityHitResult
(Entity p_221273_0_, Vector3d p_221273_1_, Vector3d p_221273_2_, AxisAlignedBB p_221273_3_, Predicate<Entity> p_221273_4_, double p_221273_5_) static EntityRayTraceResult
ProjectileHelper.getEntityHitResult
(World p_221269_0_, Entity p_221269_1_, Vector3d p_221269_2_, Vector3d p_221269_3_, AxisAlignedBB p_221269_4_, Predicate<Entity> p_221269_5_) static RayTraceResult
ProjectileHelper.getHitResult
(Entity p_234618_0_, Predicate<Entity> p_234618_1_) static final void
ProjectileHelper.rotateTowardsMovement
(Entity p_188803_0_, float p_188803_1_) void
void
void
ProjectileEntity.shootFromRotation
(Entity p_234612_1_, float p_234612_2_, float p_234612_3_, float p_234612_4_, float p_234612_5_, float p_234612_6_) Modifier and TypeMethodDescriptionstatic EntityRayTraceResult
ProjectileHelper.getEntityHitResult
(Entity p_221273_0_, Vector3d p_221273_1_, Vector3d p_221273_2_, AxisAlignedBB p_221273_3_, Predicate<Entity> p_221273_4_, double p_221273_5_) static EntityRayTraceResult
ProjectileHelper.getEntityHitResult
(World p_221269_0_, Entity p_221269_1_, Vector3d p_221269_2_, Vector3d p_221269_3_, AxisAlignedBB p_221269_4_, Predicate<Entity> p_221269_5_) static RayTraceResult
ProjectileHelper.getHitResult
(Entity p_234618_0_, Predicate<Entity> p_234618_1_) ModifierConstructorDescriptionFireworkRocketEntity
(World p_i231581_1_, Entity p_i231581_2_, double p_i231581_3_, double p_i231581_5_, double p_i231581_7_, ItemStack p_i231581_9_) FireworkRocketEntity
(World p_i231582_1_, ItemStack p_i231582_2_, Entity p_i231582_3_, double p_i231582_4_, double p_i231582_6_, double p_i231582_8_, boolean p_i231582_10_) ShulkerBulletEntity
(World p_i46772_1_, LivingEntity p_i46772_2_, Entity p_i46772_3_, Direction.Axis p_i46772_4_) -
Uses of Entity in net.minecraft.inventory
Modifier and TypeMethodDescriptionstatic void
InventoryHelper.dropContents
(World p_180176_0_, Entity p_180176_1_, IInventory p_180176_2_) -
Uses of Entity in net.minecraft.item
Modifier and TypeMethodDescriptionvoid
CompassItem.inventoryTick
(ItemStack p_77663_1_, World p_77663_2_, Entity p_77663_3_, int p_77663_4_, boolean p_77663_5_) void
FilledMapItem.inventoryTick
(ItemStack p_77663_1_, World p_77663_2_, Entity p_77663_3_, int p_77663_4_, boolean p_77663_5_) void
Item.inventoryTick
(ItemStack p_77663_1_, World p_77663_2_, Entity p_77663_3_, int p_77663_4_, boolean p_77663_5_) void
ItemStack.inventoryTick
(World p_77945_1_, Entity p_77945_2_, int p_77945_3_, boolean p_77945_4_) void
ItemStack.setEntityRepresentation
(Entity p_234695_1_) void
-
Uses of Entity in net.minecraft.loot
Modifier and TypeFieldDescriptionstatic final LootParameter<Entity>
LootParameters.DIRECT_KILLER_ENTITY
static final LootParameter<Entity>
LootParameters.KILLER_ENTITY
private final LootParameter<? extends Entity>
LootContext.EntityTarget.param
static final LootParameter<Entity>
LootParameters.THIS_ENTITY
Modifier and TypeMethodDescriptionLootParameter<? extends Entity>
LootContext.EntityTarget.getParam()
ModifierConstructorDescriptionprivate
EntityTarget
(String p_i50476_3_, LootParameter<? extends Entity> p_i50476_4_) -
Uses of Entity in net.minecraft.loot.conditions
Modifier and TypeMethodDescriptionprotected boolean
EntityHasScore.hasScore
(Entity p_186631_1_, Scoreboard p_186631_2_, String p_186631_3_, RandomValueRange p_186631_4_) -
Uses of Entity in net.minecraft.loot.functions
-
Uses of Entity in net.minecraft.network.datasync
Modifier and TypeMethodDescriptionstatic <T> DataParameter<T>
EntityDataManager.defineId
(Class<? extends Entity> p_187226_0_, IDataSerializer<T> p_187226_1_) -
Uses of Entity in net.minecraft.network.play
Modifier and TypeMethodDescriptionprivate boolean
ServerPlayNetHandler.noBlocksAround
(Entity p_241162_1_) -
Uses of Entity in net.minecraft.network.play.client
ModifierConstructorDescriptionCEntityActionPacket
(Entity p_i46869_1_, CEntityActionPacket.Action p_i46869_2_) CEntityActionPacket
(Entity p_i46870_1_, CEntityActionPacket.Action p_i46870_2_, int p_i46870_3_) CMoveVehiclePacket
(Entity p_i46874_1_) CUseEntityPacket
(Entity p_i46877_1_, boolean p_i46877_2_) CUseEntityPacket
(Entity p_i46878_1_, Hand p_i46878_2_, boolean p_i46878_3_) CUseEntityPacket
(Entity p_i47098_1_, Hand p_i47098_2_, Vector3d p_i47098_3_, boolean p_i47098_4_) -
Uses of Entity in net.minecraft.network.play.server
Modifier and TypeMethodDescriptionModifierConstructorDescriptionSAnimateHandPacket
(Entity p_i46970_1_, int p_i46970_2_) SCameraPacket
(Entity p_i46920_1_) SEntityHeadLookPacket
(Entity p_i46922_1_, byte p_i46922_2_) SEntityStatusPacket
(Entity p_i46946_1_, byte p_i46946_2_) SEntityTeleportPacket
(Entity p_i46893_1_) SEntityVelocityPacket
(Entity p_i46914_1_) SMountEntityPacket
(Entity p_i46916_1_, Entity p_i46916_2_) SMoveVehiclePacket
(Entity p_i46935_1_) SPlayerLookPacket
(EntityAnchorArgument.Type p_i48590_1_, Entity p_i48590_2_, EntityAnchorArgument.Type p_i48590_3_) SSetPassengersPacket
(Entity p_i46909_1_) SSpawnMovingSoundEffectPacket
(SoundEvent p_i50763_1_, SoundCategory p_i50763_2_, Entity p_i50763_3_, float p_i50763_4_, float p_i50763_5_) SSpawnObjectPacket
(Entity p_i50778_1_) SSpawnObjectPacket
(Entity p_i46976_1_, int p_i46976_2_) SSpawnObjectPacket
(Entity p_i50779_1_, EntityType<?> p_i50779_2_, int p_i50779_3_, BlockPos p_i50779_4_) -
Uses of Entity in net.minecraft.pathfinding
Modifier and TypeMethodDescriptionClimberPathNavigator.createPath
(Entity p_75494_1_, int p_75494_2_) FlyingPathNavigator.createPath
(Entity p_75494_1_, int p_75494_2_) GroundPathNavigator.createPath
(Entity p_75494_1_, int p_75494_2_) PathNavigator.createPath
(Entity p_75494_1_, int p_75494_2_) Path.getEntityPosAtNode
(Entity p_75881_1_, int p_75881_2_) Path.getNextEntityPos
(Entity p_75878_1_) boolean
boolean
-
Uses of Entity in net.minecraft.potion
Modifier and TypeMethodDescriptionvoid
Effect.applyInstantenousEffect
(Entity p_180793_1_, Entity p_180793_2_, LivingEntity p_180793_3_, int p_180793_4_, double p_180793_5_) -
Uses of Entity in net.minecraft.scoreboard
-
Uses of Entity in net.minecraft.tileentity
Modifier and TypeMethodDescriptionBeehiveTileEntity.releaseAllOccupants
(BlockState p_226965_1_, BeehiveTileEntity.State p_226965_2_) Modifier and TypeMethodDescriptionvoid
BeehiveTileEntity.addOccupant
(Entity p_226961_1_, boolean p_226961_2_) void
BeehiveTileEntity.addOccupantWithPresetTicks
(Entity p_226962_1_, boolean p_226962_2_, int p_226962_3_) static boolean
EndGatewayTileEntity.canEntityTeleport
(Entity p_242690_0_) void
HopperTileEntity.entityInside
(Entity p_200113_1_) private void
PistonTileEntity.fixEntityWithinPistonBase
(Entity p_190605_1_, Direction p_190605_2_, double p_190605_3_) private static boolean
PistonTileEntity.matchesStickyCritera
(AxisAlignedBB p_227021_0_, Entity p_227021_1_) private static void
PistonTileEntity.moveEntityByPiston
(Direction p_227022_0_, Entity p_227022_1_, double p_227022_2_, Direction p_227022_4_) void
EndGatewayTileEntity.teleportEntity
(Entity p_195496_1_) Modifier and TypeMethodDescriptionprivate boolean
BeehiveTileEntity.releaseOccupant
(BlockState p_235651_1_, BeehiveTileEntity.Bee p_235651_2_, List<Entity> p_235651_3_, BeehiveTileEntity.State p_235651_4_) -
Uses of Entity in net.minecraft.util
Modifier and TypeFieldDescriptionprotected final Entity
EntityDamageSource.entity
private final Entity
IndirectEntityDamageSource.owner
Modifier and TypeFieldDescriptionEntityPredicates.ATTACK_ALLOWED
EntityPredicates.CONTAINER_ENTITY_SELECTOR
EntityPredicates.ENTITY_NOT_BEING_RIDDEN
EntityPredicates.ENTITY_STILL_ALIVE
EntityPredicates.NO_CREATIVE_OR_SPECTATOR
EntityPredicates.NO_SPECTATORS
Modifier and TypeMethodDescriptionDamageSource.getDirectEntity()
IndirectEntityDamageSource.getDirectEntity()
DamageSource.getEntity()
EntityDamageSource.getEntity()
IndirectEntityDamageSource.getEntity()
Modifier and TypeMethodDescriptionEntityPredicates.pushableBy
(Entity p_200823_0_) EntityPredicates.withinDistance
(double p_188443_0_, double p_188443_2_, double p_188443_4_, double p_188443_6_) Modifier and TypeMethodDescriptionstatic DamageSource
DamageSource.arrow
(AbstractArrowEntity p_76353_0_, Entity p_76353_1_) static DamageSource
DamageSource.fireball
(AbstractFireballEntity p_233547_0_, Entity p_233547_1_) static DamageSource
DamageSource.fireworks
(FireworkRocketEntity p_233548_0_, Entity p_233548_1_) static DamageSource
DamageSource.indirectMagic
(Entity p_76354_0_, Entity p_76354_1_) static DamageSource
DamageSource.indirectMobAttack
(Entity p_188403_0_, LivingEntity p_188403_1_) static Direction[]
Direction.orderedByNearest
(Entity p_196054_0_) EntityPredicates.pushableBy
(Entity p_200823_0_) boolean
static DamageSource
static DamageSource
static DamageSource
static DamageSource
DamageSource.witherSkull
(WitherSkullEntity p_233549_0_, Entity p_233549_1_) ModifierConstructorDescriptionEntityDamageSource
(String p_i1567_1_, Entity p_i1567_2_) IndirectEntityDamageSource
(String p_i1568_1_, Entity p_i1568_2_, Entity p_i1568_3_) -
Uses of Entity in net.minecraft.util.math
Modifier and TypeFieldDescriptionprivate final Entity
EntityPosWrapper.entity
private final Entity
EntityRayTraceResult.entity
Modifier and TypeMethodDescriptiondouble
RayTraceResult.distanceTo
(Entity p_237486_1_) static SectionPos
ModifierConstructorDescriptionEntityPosWrapper
(Entity p_i231516_1_, boolean p_i231516_2_) EntityRayTraceResult
(Entity p_i51184_1_) EntityRayTraceResult
(Entity p_i51185_1_, Vector3d p_i51185_2_) RayTraceContext
(Vector3d p_i50009_1_, Vector3d p_i50009_2_, RayTraceContext.BlockMode p_i50009_3_, RayTraceContext.FluidMode p_i50009_4_, Entity p_i50009_5_) -
Uses of Entity in net.minecraft.util.math.shapes
Modifier and TypeFieldDescriptionprivate final Entity
EntitySelectionContext.entity
private final Entity
VoxelShapeSpliterator.source
ModifierConstructorDescriptionprotected
EntitySelectionContext
(Entity p_i51182_1_) Deprecated.protected
EntitySelectionContext
(Entity entity, boolean p_i232177_1_, double p_i232177_2_, Item p_i232177_4_, Predicate<Fluid> p_i232177_5_) VoxelShapeSpliterator
(ICollisionReader p_i231606_1_, Entity p_i231606_2_, AxisAlignedBB p_i231606_3_) VoxelShapeSpliterator
(ICollisionReader p_i241238_1_, Entity p_i241238_2_, AxisAlignedBB p_i241238_3_, BiPredicate<BlockState, BlockPos> p_i241238_4_) -
Uses of Entity in net.minecraft.util.text
Modifier and TypeMethodDescriptionITargetedTextComponent.resolve
(CommandSource p_230535_1_, Entity p_230535_2_, int p_230535_3_) NBTTextComponent.resolve
(CommandSource p_230535_1_, Entity p_230535_2_, int p_230535_3_) ScoreTextComponent.resolve
(CommandSource p_230535_1_, Entity p_230535_2_, int p_230535_3_) SelectorTextComponent.resolve
(CommandSource p_230535_1_, Entity p_230535_2_, int p_230535_3_) TranslationTextComponent.resolve
(CommandSource p_230535_1_, Entity p_230535_2_, int p_230535_3_) private static Style
TextComponentUtils.resolveStyle
(CommandSource p_240646_0_, Style p_240646_1_, Entity p_240646_2_, int p_240646_3_) static IFormattableTextComponent
TextComponentUtils.updateForEntity
(CommandSource p_240645_0_, ITextComponent p_240645_1_, Entity p_240645_2_, int p_240645_3_) -
Uses of Entity in net.minecraft.world
Modifier and TypeFieldDescriptionprivate final Entity
TrackedEntity.entity
private final Entity
EntityExplosionContext.source
private final Entity
Explosion.source
Modifier and TypeMethodDescriptionWorld.getEntities
(EntityType<T> p_217394_1_, AxisAlignedBB p_217394_2_, Predicate<? super T> p_217394_3_) IEntityReader.getEntitiesOfClass
(Class<? extends T> p_217357_1_, AxisAlignedBB p_217357_2_) IEntityReader.getEntitiesOfClass
(Class<? extends T> p_175647_1_, AxisAlignedBB p_175647_2_, Predicate<? super T> p_175647_3_) World.getEntitiesOfClass
(Class<? extends T> p_175647_1_, AxisAlignedBB p_175647_2_, Predicate<? super T> p_175647_3_) IEntityReader.getLoadedEntitiesOfClass
(Class<? extends T> p_225317_1_, AxisAlignedBB p_225317_2_) IEntityReader.getLoadedEntitiesOfClass
(Class<? extends T> p_225316_1_, AxisAlignedBB p_225316_2_, Predicate<? super T> p_225316_3_) World.getLoadedEntitiesOfClass
(Class<? extends T> p_225316_1_, AxisAlignedBB p_225316_2_, Predicate<? super T> p_225316_3_) Modifier and TypeMethodDescriptionabstract Entity
World.getEntity
(int p_73045_1_) Explosion.getExploder()
Modifier and TypeMethodDescriptionIEntityReader.getEntities
(Entity p_72839_1_, AxisAlignedBB p_72839_2_) IEntityReader.getEntities
(Entity p_175674_1_, AxisAlignedBB p_175674_2_, Predicate<? super Entity> p_175674_3_) World.getEntities
(Entity p_175674_1_, AxisAlignedBB p_175674_2_, Predicate<? super Entity> p_175674_3_) Modifier and TypeMethodDescriptiondefault boolean
IWorldWriter.addFreshEntity
(Entity p_217376_1_) default void
IServerWorld.addFreshEntityWithPassengers
(Entity p_242417_1_) void
World.broadcastEntityEvent
(Entity p_72960_1_, byte p_72960_2_) default boolean
IWorldWriter.destroyBlock
(BlockPos p_225521_1_, boolean p_225521_2_, Entity p_225521_3_) boolean
IWorldWriter.destroyBlock
(BlockPos p_241212_1_, boolean p_241212_2_, Entity p_241212_3_, int p_241212_4_) boolean
World.destroyBlock
(BlockPos p_241212_1_, boolean p_241212_2_, Entity p_241212_3_, int p_241212_4_) World.explode
(Entity p_217398_1_, double p_217398_2_, double p_217398_4_, double p_217398_6_, float p_217398_8_, boolean p_217398_9_, Explosion.Mode p_217398_10_) World.explode
(Entity p_217385_1_, double p_217385_2_, double p_217385_4_, double p_217385_6_, float p_217385_8_, Explosion.Mode p_217385_9_) World.explode
(Entity p_230546_1_, DamageSource p_230546_2_, ExplosionContext p_230546_3_, double p_230546_4_, double p_230546_6_, double p_230546_8_, float p_230546_10_, boolean p_230546_11_, Explosion.Mode p_230546_12_) default Stream<VoxelShape>
ICollisionReader.getBlockCollisions
(Entity p_226666_1_, AxisAlignedBB p_226666_2_) default Stream<VoxelShape>
ICollisionReader.getBlockCollisions
(Entity p_241457_1_, AxisAlignedBB p_241457_2_, BiPredicate<BlockState, BlockPos> p_241457_3_) default Stream<VoxelShape>
ICollisionReader.getCollisions
(Entity p_234867_1_, AxisAlignedBB p_234867_2_, Predicate<Entity> p_234867_3_) Region.getCollisions
(Entity p_234867_1_, AxisAlignedBB p_234867_2_, Predicate<Entity> p_234867_3_) IEntityReader.getEntities
(Entity p_72839_1_, AxisAlignedBB p_72839_2_) IEntityReader.getEntities
(Entity p_175674_1_, AxisAlignedBB p_175674_2_, Predicate<? super Entity> p_175674_3_) World.getEntities
(Entity p_175674_1_, AxisAlignedBB p_175674_2_, Predicate<? super Entity> p_175674_3_) default Stream<VoxelShape>
IBiomeReader.getEntityCollisions
(Entity p_230318_1_, AxisAlignedBB p_230318_2_, Predicate<Entity> p_230318_3_) ICollisionReader.getEntityCollisions
(Entity p_230318_1_, AxisAlignedBB p_230318_2_, Predicate<Entity> p_230318_3_) default Stream<VoxelShape>
IEntityReader.getEntityCollisions
(Entity p_230318_1_, AxisAlignedBB p_230318_2_, Predicate<Entity> p_230318_3_) Region.getEntityCollisions
(Entity p_230318_1_, AxisAlignedBB p_230318_2_, Predicate<Entity> p_230318_3_) default PlayerEntity
IEntityReader.getNearestPlayer
(Entity p_217362_1_, double p_217362_2_) static float
Explosion.getSeenPercent
(Vector3d p_222259_0_, Entity p_222259_1_) void
World.guardEntityTick
(Consumer<Entity> p_217390_1_, Entity p_217390_2_) default boolean
IBiomeReader.isUnobstructed
(Entity p_195585_1_, VoxelShape p_195585_2_) default boolean
ICollisionReader.isUnobstructed
(Entity p_226668_1_) default boolean
ICollisionReader.isUnobstructed
(Entity p_195585_1_, VoxelShape p_195585_2_) default boolean
IEntityReader.isUnobstructed
(Entity p_195585_1_, VoxelShape p_195585_2_) boolean
World.loadedAndEntityCanStandOn
(BlockPos p_217400_1_, Entity p_217400_2_) boolean
World.loadedAndEntityCanStandOnFace
(BlockPos p_234929_1_, Entity p_234929_2_, Direction p_234929_3_) private ExplosionContext
Explosion.makeDamageCalculator
(Entity p_234894_1_) default boolean
ICollisionReader.noBlockCollision
(Entity p_242405_1_, AxisAlignedBB p_242405_2_, BiPredicate<BlockState, BlockPos> p_242405_3_) default boolean
ICollisionReader.noCollision
(Entity p_226669_1_) default boolean
ICollisionReader.noCollision
(Entity p_226665_1_, AxisAlignedBB p_226665_2_) default boolean
ICollisionReader.noCollision
(Entity p_234865_1_, AxisAlignedBB p_234865_2_, Predicate<Entity> p_234865_3_) abstract void
World.playSound
(PlayerEntity p_217384_1_, Entity p_217384_2_, SoundEvent p_217384_3_, SoundCategory p_217384_4_, float p_217384_5_, float p_217384_6_) Modifier and TypeMethodDescriptiondefault Stream<VoxelShape>
ICollisionReader.getCollisions
(Entity p_234867_1_, AxisAlignedBB p_234867_2_, Predicate<Entity> p_234867_3_) Region.getCollisions
(Entity p_234867_1_, AxisAlignedBB p_234867_2_, Predicate<Entity> p_234867_3_) IEntityReader.getEntities
(Entity p_175674_1_, AxisAlignedBB p_175674_2_, Predicate<? super Entity> p_175674_3_) World.getEntities
(Entity p_175674_1_, AxisAlignedBB p_175674_2_, Predicate<? super Entity> p_175674_3_) default Stream<VoxelShape>
IBiomeReader.getEntityCollisions
(Entity p_230318_1_, AxisAlignedBB p_230318_2_, Predicate<Entity> p_230318_3_) ICollisionReader.getEntityCollisions
(Entity p_230318_1_, AxisAlignedBB p_230318_2_, Predicate<Entity> p_230318_3_) default Stream<VoxelShape>
IEntityReader.getEntityCollisions
(Entity p_230318_1_, AxisAlignedBB p_230318_2_, Predicate<Entity> p_230318_3_) Region.getEntityCollisions
(Entity p_230318_1_, AxisAlignedBB p_230318_2_, Predicate<Entity> p_230318_3_) default PlayerEntity
IEntityReader.getNearestPlayer
(double p_190525_1_, double p_190525_3_, double p_190525_5_, double p_190525_7_, Predicate<Entity> p_190525_9_) void
World.guardEntityTick
(Consumer<Entity> p_217390_1_, Entity p_217390_2_) default boolean
ICollisionReader.noCollision
(Entity p_234865_1_, AxisAlignedBB p_234865_2_, Predicate<Entity> p_234865_3_) ModifierConstructorDescriptionEntityExplosionContext
(Entity p_i231609_1_) Explosion
(World p_i50007_1_, Entity p_i50007_2_, double p_i50007_3_, double p_i50007_5_, double p_i50007_7_, float p_i50007_9_, boolean p_i50007_10_, Explosion.Mode p_i50007_11_) Explosion
(World p_i50006_1_, Entity p_i50006_2_, double p_i50006_3_, double p_i50006_5_, double p_i50006_7_, float p_i50006_9_, boolean p_i50006_10_, Explosion.Mode p_i50006_11_, List<BlockPos> p_i50006_12_) Explosion
(World p_i45752_1_, Entity p_i45752_2_, double p_i45752_3_, double p_i45752_5_, double p_i45752_7_, float p_i45752_9_, List<BlockPos> p_i45752_10_) Explosion
(World p_i231610_1_, Entity p_i231610_2_, DamageSource p_i231610_3_, ExplosionContext p_i231610_4_, double p_i231610_5_, double p_i231610_7_, double p_i231610_9_, float p_i231610_11_, boolean p_i231610_12_, Explosion.Mode p_i231610_13_) TrackedEntity
(ServerWorld p_i50704_1_, Entity p_i50704_2_, int p_i50704_3_, boolean p_i50704_4_, Consumer<IPacket<?>> p_i50704_5_) -
Uses of Entity in net.minecraft.world.border
-
Uses of Entity in net.minecraft.world.chunk
Modifier and TypeMethodDescription<T extends Entity>
voidChunk.getEntities
(EntityType<?> p_217313_1_, AxisAlignedBB p_217313_2_, List<? super T> p_217313_3_, Predicate<? super T> p_217313_4_) <T extends Entity>
voidChunk.getEntitiesOfClass
(Class<? extends T> p_177430_1_, AxisAlignedBB p_177430_2_, List<T> p_177430_3_, Predicate<? super T> p_177430_4_) <T extends Entity>
voidEmptyChunk.getEntitiesOfClass
(Class<? extends T> p_177430_1_, AxisAlignedBB p_177430_2_, List<T> p_177430_3_, Predicate<? super T> p_177430_4_) Modifier and TypeMethodDescriptionvoid
void
void
void
void
void
Chunk.getEntities
(Entity p_177414_1_, AxisAlignedBB p_177414_2_, List<Entity> p_177414_3_, Predicate<? super Entity> p_177414_4_) void
EmptyChunk.getEntities
(Entity p_177414_1_, AxisAlignedBB p_177414_2_, List<Entity> p_177414_3_, Predicate<? super Entity> p_177414_4_) boolean
AbstractChunkProvider.isEntityTickingChunk
(Entity p_217204_1_) void
Chunk.removeEntity
(Entity p_76622_1_) void
Chunk.removeEntity
(Entity p_76608_1_, int p_76608_2_) void
EmptyChunk.removeEntity
(Entity p_76622_1_) void
EmptyChunk.removeEntity
(Entity p_76608_1_, int p_76608_2_) Modifier and TypeMethodDescriptionvoid
Chunk.getEntities
(Entity p_177414_1_, AxisAlignedBB p_177414_2_, List<Entity> p_177414_3_, Predicate<? super Entity> p_177414_4_) void
Chunk.getEntities
(Entity p_177414_1_, AxisAlignedBB p_177414_2_, List<Entity> p_177414_3_, Predicate<? super Entity> p_177414_4_) void
EmptyChunk.getEntities
(Entity p_177414_1_, AxisAlignedBB p_177414_2_, List<Entity> p_177414_3_, Predicate<? super Entity> p_177414_4_) void
EmptyChunk.getEntities
(Entity p_177414_1_, AxisAlignedBB p_177414_2_, List<Entity> p_177414_3_, Predicate<? super Entity> p_177414_4_) -
Uses of Entity in net.minecraft.world.end
-
Uses of Entity in net.minecraft.world.gen
Modifier and TypeMethodDescriptionWorldGenRegion.getEntitiesOfClass
(Class<? extends T> p_175647_1_, AxisAlignedBB p_175647_2_, Predicate<? super T> p_175647_3_) Modifier and TypeMethodDescriptionWorldGenRegion.getEntities
(Entity p_175674_1_, AxisAlignedBB p_175674_2_, Predicate<? super Entity> p_175674_3_) Modifier and TypeMethodDescriptionboolean
WorldGenRegion.addFreshEntity
(Entity p_217376_1_) boolean
WorldGenRegion.destroyBlock
(BlockPos p_241212_1_, boolean p_241212_2_, Entity p_241212_3_, int p_241212_4_) WorldGenRegion.getEntities
(Entity p_175674_1_, AxisAlignedBB p_175674_2_, Predicate<? super Entity> p_175674_3_) Modifier and TypeMethodDescriptionWorldGenRegion.getEntities
(Entity p_175674_1_, AxisAlignedBB p_175674_2_, Predicate<? super Entity> p_175674_3_) WorldGenRegion.getNearestPlayer
(double p_190525_1_, double p_190525_3_, double p_190525_5_, double p_190525_7_, Predicate<Entity> p_190525_9_) -
Uses of Entity in net.minecraft.world.gen.feature.template
Modifier and TypeMethodDescriptionTemplate.createEntityIgnoreException
(IServerWorld p_215382_0_, CompoundNBT p_215382_1_) -
Uses of Entity in net.minecraft.world.raid
-
Uses of Entity in net.minecraft.world.server
Modifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.ints.Int2ObjectMap<Entity>
ServerWorld.entitiesById
ServerWorld.entitiesByUuid
ServerWorld.toAddAfterTick
Modifier and TypeMethodDescriptionprivate Entity
ServerWorld.findAddedOrPendingEntity
(UUID p_242105_1_) ServerWorld.getEntity
(int p_73045_1_) Modifier and TypeMethodDescriptionServerWorld.getAllEntities()
ServerWorld.getEntities()
ServerWorld.getEntities
(EntityType<?> p_217482_1_, Predicate<? super Entity> p_217482_2_) Modifier and TypeMethodDescriptionprivate void
protected void
void
private boolean
boolean
ServerWorld.addFreshEntity
(Entity p_217376_1_) void
ServerWorld.addFromAnotherDimension
(Entity p_217460_1_) boolean
ServerWorld.addWithUUID
(Entity p_217470_1_) protected void
void
protected void
ChunkManager.broadcastAndSend
(Entity p_219225_1_, IPacket<?> p_219225_2_) void
ServerChunkProvider.broadcastAndSend
(Entity p_217216_1_, IPacket<?> p_217216_2_) void
ServerWorld.broadcastEntityEvent
(Entity p_72960_1_, byte p_72960_2_) void
private static double
ChunkManager.euclideanDistanceSquared
(ChunkPos p_219217_0_, Entity p_219217_1_) ServerWorld.explode
(Entity p_230546_1_, DamageSource p_230546_2_, ExplosionContext p_230546_3_, double p_230546_4_, double p_230546_6_, double p_230546_8_, float p_230546_10_, boolean p_230546_11_, Explosion.Mode p_230546_12_) boolean
ServerChunkProvider.isEntityTickingChunk
(Entity p_217204_1_) private boolean
ServerWorld.isUUIDUsed
(Entity p_217478_1_) boolean
ServerWorld.loadFromChunk
(Entity p_217440_1_) void
ServerWorld.onEntityRemoved
(Entity p_217484_1_) Deprecated.void
ServerWorld.onReputationEvent
(IReputationType p_217489_1_, Entity p_217489_2_, IReputationTracking p_217489_3_) void
ServerWorld.playSound
(PlayerEntity p_217384_1_, Entity p_217384_2_, SoundEvent p_217384_3_, SoundCategory p_217384_4_, float p_217384_5_, float p_217384_6_) protected void
ChunkManager.removeEntity
(Entity p_219231_1_) void
ServerChunkProvider.removeEntity
(Entity p_217226_1_) void
ServerWorld.removeEntity
(Entity p_217467_1_, boolean keepData) void
ServerWorld.removeEntityComplete
(Entity p_217484_1_, boolean keepData) private void
ServerWorld.removeFromChunk
(Entity p_217454_1_) void
ServerWorld.tickNonPassenger
(Entity p_217479_1_) void
ServerWorld.tickPassenger
(Entity p_217459_1_, Entity p_217459_2_) boolean
ServerWorld.tryAddFreshEntityWithPassengers
(Entity p_242106_1_) void
ServerWorld.updateChunkPos
(Entity p_217464_1_) Modifier and TypeMethodDescriptionprivate static void
ServerWorld.dumpEntities
(Writer p_225320_0_, Iterable<Entity> p_225320_1_) ServerWorld.getEntities
(EntityType<?> p_217482_1_, Predicate<? super Entity> p_217482_2_) ModifierConstructorDescriptionEntityTracker
(Entity p_i50468_2_, int p_i50468_3_, int p_i50468_4_, boolean p_i50468_5_) -
Uses of Entity in net.minecraft.world.spawner
Modifier and TypeMethodDescriptionAbstractSpawner.getOrCreateDisplayEntity()
AbstractSpawner.getSpawnerEntity()
Modifier and TypeMethodDescriptionWorldEntitySpawner.createState
(int p_234964_0_, Iterable<Entity> p_234964_1_, WorldEntitySpawner.IInitialDensityAdder p_234964_2_) -
Uses of Entity in net.minecraftforge.client
Modifier and TypeMethodDescriptionstatic String
ForgeHooksClient.getArmorTexture
(Entity entity, ItemStack armor, String _default, EquipmentSlotType slot, String type) static boolean
ForgeHooksClient.isNameplateInRenderDistance
(Entity entity, double squareDistance) static void
ForgeHooksClient.loadEntityShader
(Entity entity, GameRenderer entityRenderer) -
Uses of Entity in net.minecraftforge.client.event
ModifierConstructorDescriptionRenderNameplateEvent
(Entity entity, ITextComponent content, EntityRenderer<?> entityRenderer, MatrixStack matrixStack, IRenderTypeBuffer renderTypeBuffer, int packedLight, float partialTicks) -
Uses of Entity in net.minecraftforge.client.gui
-
Uses of Entity in net.minecraftforge.common
Modifier and TypeMethodDescriptionIMinecartCollisionHandler.getCollisionBox
(AbstractMinecartEntity cart, Entity other) This function replaced the function of the same name in EntityMinecart.static CriticalHitEvent
ForgeHooks.getCriticalHit
(PlayerEntity player, Entity target, boolean vanillaCritical, float damageModifier) static double
ForgeHooks.getEntityVisibilityMultiplier
(LivingEntity entity, Entity lookingEntity, double originalMultiplier) static int
ForgeHooks.getLootingLevel
(Entity target, Entity killer, DamageSource cause) void
IMinecartCollisionHandler.onEntityCollision
(AbstractMinecartEntity cart, Entity other) This basically replaces the function of the same name in EntityMinecart.static boolean
ForgeHooks.onFarmlandTrample
(World world, BlockPos pos, BlockState state, float fallDistance, Entity entity) static ActionResultType
ForgeHooks.onInteractEntity
(PlayerEntity player, Entity entity, Hand hand) static ActionResultType
ForgeHooks.onInteractEntityAt
(PlayerEntity player, Entity entity, RayTraceResult ray, Hand hand) static ActionResultType
ForgeHooks.onInteractEntityAt
(PlayerEntity player, Entity entity, Vector3d vec3d, Hand hand) static boolean
ForgeHooks.onPlayerAttackTarget
(PlayerEntity player, Entity target) static boolean
ForgeHooks.onTravelToDimension
(Entity entity, RegistryKey<World> dimension) -
Uses of Entity in net.minecraftforge.common.extensions
Modifier and TypeMethodDescriptiondefault Entity
IForgeItem.createEntity
(World world, Entity location, ItemStack itemstack) This function should return a new entity to replace the dropped item.default Entity
IForgeEntity.getEntity()
default Entity
IForgeSelectionContext.getEntity()
Modifier and TypeMethodDescriptiondefault boolean
IForgeBlock.addRunningEffects
(BlockState state, World world, BlockPos pos, Entity entity) Allows a block to override the standard vanilla running particles.default boolean
IForgeBlockState.addRunningEffects
(World world, BlockPos pos, Entity entity) Allows a block to override the standard vanilla running particles.default boolean
IForgeEntity.canBeRiddenInWater
(Entity rider) Checks if this entity can continue to be ridden while it is underwater.default boolean
IForgeBlock.canEntityDestroy
(BlockState state, IBlockReader world, BlockPos pos, Entity entity) Determines if this block is can be destroyed by the specified entities normal behavior.default boolean
IForgeBlockState.canEntityDestroy
(IBlockReader world, BlockPos pos, Entity entity) Determines if this block is can be destroyed by the specified entities normal behavior.default boolean
IForgeItem.canEquip
(ItemStack stack, EquipmentSlotType armorType, Entity entity) Determines if the specific ItemStack can be placed in the specified armor slot, for the entity.default boolean
IForgeItemStack.canEquip
(EquipmentSlotType armorType, Entity entity) Determines if the specific ItemStack can be placed in the specified armor slot, for the entity.default boolean
IForgeBlock.collisionExtendsVertically
(BlockState state, IBlockReader world, BlockPos pos, Entity collidingEntity) Determines if this block's collision box should be treated as though it can extend above its block space.default boolean
IForgeBlockState.collisionExtendsVertically
(IBlockReader world, BlockPos pos, Entity collidingEntity) Determines if this block's collision box should be treated as though it can extend above its block space.default Entity
IForgeItem.createEntity
(World world, Entity location, ItemStack itemstack) This function should return a new entity to replace the dropped item.default String
IForgeItem.getArmorTexture
(ItemStack stack, Entity entity, EquipmentSlotType slot, String type) Called by RenderBiped and RenderPlayer to determine the armor texture that should be use for the currently equipped item.default Vector3d
IForgeBlock.getFogColor
(BlockState state, IWorldReader world, BlockPos pos, Entity entity, Vector3d originalColor, float partialTicks) Use this to change the fog color used when the entity is "inside" a material.default Vector3d
IForgeBlockState.getFogColor
(IWorldReader world, BlockPos pos, Entity entity, Vector3d originalColor, float partialTicks) Use this to change the fog color used when the entity is "inside" a material.default float
IForgeBlock.getSlipperiness
(BlockState state, IWorldReader world, BlockPos pos, Entity entity) Gets the slipperiness at the given location at the given state.default float
IForgeBlockState.getSlipperiness
(IWorldReader world, BlockPos pos, Entity entity) Gets the slipperiness at the given location at the given state.default SoundType
IForgeBlock.getSoundType
(BlockState state, IWorldReader world, BlockPos pos, Entity entity) Sensitive version of getSoundTypedefault SoundType
IForgeBlockState.getSoundType
(IWorldReader world, BlockPos pos, Entity entity) Sensitive version of getSoundTypedefault boolean
IForgeBlock.isBed
(BlockState state, IBlockReader world, BlockPos pos, Entity player) Determines if this block is classified as a Bed, Allowing players to sleep in it, though the block has to specifically perform the sleeping functionality in it's activated event.default boolean
IForgeFluid.isEntityInside
(FluidState state, IWorldReader world, BlockPos pos, Entity entity, double yToTest, Tag<Fluid> tag, boolean testingHead) Called when the entity is inside this block, may be used to determined if the entity can breathing, display material overlays, or if the entity can swim inside a block.default boolean
IForgeFluidState.isEntityInside
(IWorldReader world, BlockPos pos, Entity entity, double yToTest, Tag<Fluid> tag, boolean testingHead) Called when the entity is inside this block, may be used to determined if the entity can breathing, display material overlays, or if the entity can swim inside a block.default boolean
IForgeItem.onLeftClickEntity
(ItemStack stack, PlayerEntity player, Entity entity) Called when the player Left Clicks (attacks) an entity. -
Uses of Entity in net.minecraftforge.common.util
Modifier and TypeMethodDescriptiondefault Entity
ITeleporter.placeEntity
(Entity entity, ServerWorld currentWorld, ServerWorld destWorld, float yaw, Function<Boolean, Entity> repositionEntity) Called to handle placing the entity in the new world.Modifier and TypeMethodDescriptiondefault PortalInfo
ITeleporter.getPortalInfo
(Entity entity, ServerWorld destWorld, Function<ServerWorld, PortalInfo> defaultPortalInfo) Gets the PortalInfo.default Entity
ITeleporter.placeEntity
(Entity entity, ServerWorld currentWorld, ServerWorld destWorld, float yaw, Function<Boolean, Entity> repositionEntity) Called to handle placing the entity in the new world.Modifier and TypeMethodDescriptiondefault Entity
ITeleporter.placeEntity
(Entity entity, ServerWorld currentWorld, ServerWorld destWorld, float yaw, Function<Boolean, Entity> repositionEntity) Called to handle placing the entity in the new world. -
Uses of Entity in net.minecraftforge.common.world
Modifier and TypeMethodDescriptionstatic boolean
ForgeChunkManager.forceChunk
(ServerWorld world, String modId, Entity owner, int chunkX, int chunkZ, boolean add, boolean ticking) Forces a chunk to be loaded for the given mod with the "owner" of the ticket being the UUID of the given entity. -
Uses of Entity in net.minecraftforge.entity
-
Uses of Entity in net.minecraftforge.event
Modifier and TypeMethodDescriptionstatic boolean
ForgeEventFactory.canEntityUpdate
(Entity entity) static boolean
ForgeEventFactory.canMountEntity
(Entity entityMounting, Entity entityBeingMounted, boolean isMounting) static EntityEvent.Size
ForgeEventFactory.getEntitySizeForge
(Entity entity, Pose pose, EntitySize size, float eyeHeight) static EntityEvent.Size
ForgeEventFactory.getEntitySizeForge
(Entity entity, Pose pose, EntitySize oldSize, EntitySize newSize, float newEyeHeight) static boolean
ForgeEventFactory.getMobGriefingEvent
(World world, Entity entity) static boolean
ForgeEventFactory.onBlockPlace
(Entity entity, BlockSnapshot blockSnapshot, Direction direction) static boolean
ForgeEventFactory.onEntityStruckByLightning
(Entity entity, LightningBoltEntity bolt) ForgeEventFactory.onEntityTeleportCommand
(Entity entity, double targetX, double targetY, double targetZ) ForgeEventFactory.onEntityTeleportSpreadPlayersCommand
(Entity entity, double targetX, double targetY, double targetZ) static boolean
ForgeEventFactory.onMultiBlockPlace
(Entity entity, List<BlockSnapshot> blockSnapshots, Direction direction) static PlaySoundAtEntityEvent
ForgeEventFactory.onPlaySoundAtEntity
(Entity entity, SoundEvent name, SoundCategory category, float volume, float pitch) static boolean
ForgeEventFactory.onProjectileImpact
(Entity entity, RayTraceResult ray) static void
ForgeEventFactory.onStartEntityTracking
(Entity entity, PlayerEntity player) static void
ForgeEventFactory.onStopEntityTracking
(Entity entity, PlayerEntity player) Modifier and TypeMethodDescriptionstatic void
ForgeEventFactory.onExplosionDetonate
(World world, Explosion explosion, List<Entity> list, double diameter) -
Uses of Entity in net.minecraftforge.event.entity
Modifier and TypeFieldDescriptionprivate final Entity
EntityEvent.entity
private final Entity
EntityMountEvent.entityBeingMounted
private final Entity
EntityMountEvent.entityMounting
Modifier and TypeMethodDescriptionEntityEvent.getEntity()
EntityMountEvent.getEntityBeingMounted()
EntityMountEvent.getEntityMounting()
ModifierConstructorDescriptionEnteringChunk
(Entity entity, int newChunkX, int newChunkZ, int oldChunkX, int oldChunkZ) EntityConstructing
(Entity entity) EntityEvent
(Entity entity) EntityJoinWorldEvent
(Entity entity, World world) EntityLeaveWorldEvent
(Entity entity, World world) EntityMobGriefingEvent
(Entity entity) EntityMountEvent
(Entity entityMounting, Entity entityBeingMounted, World entityWorld, boolean isMounting) EntityStruckByLightningEvent
(Entity entity, LightningBoltEntity lightning) EntityTravelToDimensionEvent
(Entity entity, RegistryKey<World> dimension) PlaySoundAtEntityEvent
(Entity entity, SoundEvent name, SoundCategory category, float volume, float pitch) ProjectileImpactEvent
(Entity entity, RayTraceResult ray) Size
(Entity entity, Pose pose, EntitySize size, float defaultEyeHeight) Size
(Entity entity, Pose pose, EntitySize oldSize, EntitySize newSize, float oldEyeHeight, float newEyeHeight) -
Uses of Entity in net.minecraftforge.event.entity.living
Modifier and TypeFieldDescriptionprivate final Entity
LivingEvent.LivingVisibilityEvent.lookingEntity
ModifierConstructorDescriptionEntityTeleportEvent
(Entity entity, double targetX, double targetY, double targetZ) LivingVisibilityEvent
(LivingEntity livingEntity, Entity lookingEntity, double originalMultiplier) SpreadPlayersCommand
(Entity entity, double targetX, double targetY, double targetZ) TeleportCommand
(Entity entity, double targetX, double targetY, double targetZ) -
Uses of Entity in net.minecraftforge.event.entity.player
Modifier and TypeFieldDescriptionprivate final Entity
AttackEntityEvent.target
private final Entity
CriticalHitEvent.target
private final Entity
PlayerEvent.StartTracking.target
private final Entity
PlayerEvent.StopTracking.target
private final Entity
PlayerInteractEvent.EntityInteract.target
private final Entity
PlayerInteractEvent.EntityInteractSpecific.target
Modifier and TypeMethodDescriptionAttackEntityEvent.getTarget()
CriticalHitEvent.getTarget()
The Entity that was damaged by the player.PlayerEvent.StartTracking.getTarget()
The Entity now being tracked.PlayerEvent.StopTracking.getTarget()
The Entity no longer being tracked.PlayerInteractEvent.EntityInteract.getTarget()
PlayerInteractEvent.EntityInteractSpecific.getTarget()
ModifierConstructorDescriptionAttackEntityEvent
(PlayerEntity player, Entity target) CriticalHitEvent
(PlayerEntity player, Entity target, float damageModifier, boolean vanillaCritical) EntityInteract
(PlayerEntity player, Hand hand, Entity target) EntityInteractSpecific
(PlayerEntity player, Hand hand, Entity target, Vector3d localPos) StartTracking
(PlayerEntity player, Entity target) StopTracking
(PlayerEntity player, Entity target) -
Uses of Entity in net.minecraftforge.event.world
Modifier and TypeFieldDescriptionprivate final Entity
BlockEvent.EntityPlaceEvent.entity
private final Entity
BlockEvent.FarmlandTrampleEvent.entity
Modifier and TypeMethodDescriptionBlockEvent.EntityPlaceEvent.getEntity()
BlockEvent.FarmlandTrampleEvent.getEntity()
Modifier and TypeMethodDescriptionExplosionEvent.Detonate.getAffectedEntities()
return the list of entities affected by the explosion.ModifierConstructorDescriptionEntityMultiPlaceEvent
(List<BlockSnapshot> blockSnapshots, BlockState placedAgainst, Entity entity) EntityPlaceEvent
(BlockSnapshot blockSnapshot, BlockState placedAgainst, Entity entity) FarmlandTrampleEvent
(World world, BlockPos pos, BlockState state, float fallDistance, Entity entity) -
Uses of Entity in net.minecraftforge.fml.client.registry
Modifier and TypeFieldDescriptionprivate final Map<EntityType<? extends Entity>,
IRenderFactory<? extends Entity>> RenderingRegistry.entityRenderers
private final Map<EntityType<? extends Entity>,
IRenderFactory<? extends Entity>> RenderingRegistry.entityRenderers
private static Map<Class<? extends Entity>,
ResourceLocation> ClientRegistry.entityShaderMap
Modifier and TypeMethodDescriptionprivate static <T extends Entity>
voidRenderingRegistry.register
(EntityRendererManager manager, EntityType<T> entityType, IRenderFactory<?> renderFactory) static <T extends Entity>
voidRenderingRegistry.registerEntityRenderingHandler
(EntityType<T> entityClass, IRenderFactory<? super T> renderFactory) Register an entity rendering handler.Modifier and TypeMethodDescriptionstatic ResourceLocation
ClientRegistry.getEntityShader
(Class<? extends Entity> entityClass) static void
ClientRegistry.registerEntityShader
(Class<? extends Entity> entityClass, ResourceLocation shader) Register a shader for an entity. -
Uses of Entity in net.minecraftforge.fml.network
Modifier and TypeFieldDescriptionstatic final PacketDistributor<Entity>
PacketDistributor.TRACKING_ENTITY
Send to all tracking the Entity in the Supplier
PacketDistributor.with(Supplier)
Entitystatic final PacketDistributor<Entity>
PacketDistributor.TRACKING_ENTITY_AND_SELF
Send to all tracking the Entity and Player in the Supplier
PacketDistributor.with(Supplier)
EntityModifier and TypeMethodDescriptionstatic IPacket<?>
NetworkHooks.getEntitySpawningPacket
(Entity entity) Modifier and TypeMethodDescriptionPacketDistributor.trackingEntity
(Supplier<Entity> entitySupplier) PacketDistributor.trackingEntityAndSelf
(Supplier<Entity> entitySupplier) -
Uses of Entity in net.minecraftforge.server.command
Modifier and TypeMethodDescriptionprivate static boolean
CommandSetDimension.canEntityTeleport
(Entity entity) Deprecated.Modifier and TypeMethodDescriptionprivate static int
CommandSetDimension.execute
(com.mojang.brigadier.context.CommandContext<CommandSource> ctx, Collection<? extends Entity> entities, ServerWorld dim, BlockPos pos) Deprecated. -
Uses of Entity in net.minecraftforge.server.permission.context
Modifier and TypeFieldDescriptionstatic final ContextKey<Entity>
ContextKeys.TARGET
The entity can be anything that gets interacted with - a sheep when you try to dye it, skeleton that you attack, etc. -
Uses of Entity in net.minecraftforge.server.timings
Modifier and TypeFieldDescriptionstatic final TimeTracker<Entity>
TimeTracker.ENTITY_UPDATE
A tracker for timing entity updates