Uses of Class
net.minecraft.entity.Entity
-
-
Uses of Entity in net.minecraft.advancements.criterion
Methods in net.minecraft.advancements.criterion with parameters of type Entity Modifier and Type Method Description static LootContext
EntityPredicate. createContext(ServerPlayerEntity p_234575_0_, Entity p_234575_1_)
static CompoundNBT
NBTPredicate. getEntityTagToCompare(Entity p_196981_0_)
boolean
EntityEquipmentPredicate. matches(Entity p_217955_1_)
boolean
EntityFlagsPredicate. matches(Entity p_217974_1_)
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
MobEffectsPredicate. matches(Entity p_193469_1_)
boolean
NBTPredicate. matches(Entity p_193475_1_)
boolean
PlayerPredicate. matches(Entity p_226998_1_)
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_)
Method parameters in net.minecraft.advancements.criterion with type arguments of type Entity Modifier and Type Method Description void
ChanneledLightningTrigger. trigger(ServerPlayerEntity p_204814_1_, java.util.Collection<? extends Entity> p_204814_2_)
void
KilledByCrossbowTrigger. trigger(ServerPlayerEntity p_234941_1_, java.util.Collection<Entity> p_234941_2_)
-
Uses of Entity in net.minecraft.block
Methods in net.minecraft.block with parameters of type Entity Modifier and Type Method Description private void
BedBlock. bounceUp(Entity p_226860_1_)
private void
SlimeBlock. bounceUp(Entity p_226946_1_)
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_)
boolean
AbstractBlock.AbstractBlockState. entityCanStandOn(IBlockReader p_235719_1_, BlockPos p_235719_2_, Entity p_235719_3_)
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
BedBlock. fallOn(World p_180658_1_, BlockPos p_180658_2_, Entity p_180658_3_, float p_180658_4_)
void
Block. fallOn(World p_180658_1_, BlockPos p_180658_2_, Entity p_180658_3_, float p_180658_4_)
void
FarmlandBlock. fallOn(World p_180658_1_, BlockPos p_180658_2_, Entity p_180658_3_, float p_180658_4_)
void
HayBlock. fallOn(World p_180658_1_, BlockPos p_180658_2_, Entity p_180658_3_, float p_180658_4_)
void
HoneyBlock. fallOn(World p_180658_1_, BlockPos p_180658_2_, Entity p_180658_3_, float p_180658_4_)
void
SlimeBlock. fallOn(World p_180658_1_, BlockPos p_180658_2_, Entity p_180658_3_, float p_180658_4_)
void
TurtleEggBlock. fallOn(World p_180658_1_, BlockPos p_180658_2_, Entity p_180658_3_, float p_180658_4_)
static java.util.List<ItemStack>
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
Block. stepOn(World p_176199_1_, BlockPos p_176199_2_, Entity p_176199_3_)
void
MagmaBlock. stepOn(World p_176199_1_, BlockPos p_176199_2_, Entity p_176199_3_)
void
RedstoneOreBlock. stepOn(World p_176199_1_, BlockPos p_176199_2_, Entity p_176199_3_)
void
SlimeBlock. stepOn(World p_176199_1_, BlockPos p_176199_2_, Entity p_176199_3_)
void
StairsBlock. stepOn(World p_176199_1_, BlockPos p_176199_2_, Entity p_176199_3_)
void
TurtleEggBlock. stepOn(World p_176199_1_, BlockPos p_176199_2_, Entity p_176199_3_)
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_)
Method parameters in net.minecraft.block with type arguments of type Entity Modifier and Type Method Description protected <T extends AbstractMinecartEntity>
java.util.List<T>DetectorRailBlock. getInteractingMinecartOfType(World p_200878_1_, BlockPos p_200878_2_, java.lang.Class<T> p_200878_3_, java.util.function.Predicate<Entity> p_200878_4_)
-
Uses of Entity in net.minecraft.client
Fields in net.minecraft.client declared as Entity Modifier and Type Field Description Entity
Minecraft. cameraEntity
Entity
Minecraft. crosshairPickEntity
Methods in net.minecraft.client that return Entity Modifier and Type Method Description Entity
Minecraft. getCameraEntity()
Methods in net.minecraft.client with parameters of type Entity Modifier and Type Method Description void
Minecraft. setCameraEntity(Entity p_175607_1_)
boolean
Minecraft. shouldEntityAppearGlowing(Entity p_238206_1_)
-
Uses of Entity in net.minecraft.client.audio
Fields in net.minecraft.client.audio declared as Entity Modifier and Type Field Description private Entity
EntityTickableSound. entity
Constructors in net.minecraft.client.audio with parameters of type Entity Constructor Description EntityTickableSound(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
Subclasses of Entity in net.minecraft.client.entity.player Modifier and Type Class Description class
AbstractClientPlayerEntity
class
ClientPlayerEntity
class
RemoteClientPlayerEntity
Methods in net.minecraft.client.entity.player with parameters of type Entity Modifier and Type Method Description void
ClientPlayerEntity. crit(Entity p_71009_1_)
void
ClientPlayerEntity. magicCrit(Entity p_71047_1_)
boolean
ClientPlayerEntity. startRiding(Entity p_184205_1_, boolean p_184205_2_)
-
Uses of Entity in net.minecraft.client.gui
Methods in net.minecraft.client.gui with parameters of type Entity Modifier and Type Method Description protected void
IngameGui. renderVignette(Entity p_212303_1_)
private void
IngameGui. updateVignetteBrightness(Entity p_212307_1_)
-
Uses of Entity in net.minecraft.client.multiplayer
Methods in net.minecraft.client.multiplayer with parameters of type Entity Modifier and Type Method Description void
PlayerController. attack(PlayerEntity p_78764_1_, Entity p_78764_2_)
ActionResultType
PlayerController. interact(PlayerEntity p_187097_1_, Entity p_187097_2_, Hand p_187097_3_)
ActionResultType
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
Fields in net.minecraft.client.particle declared as Entity Modifier and Type Field Description private Entity
EmitterParticle. entity
private Entity
ItemPickupParticle. itemEntity
private Entity
ItemPickupParticle. target
Methods in net.minecraft.client.particle that return Entity Modifier and Type Method Description private Entity
ItemPickupParticle. getSafeCopy(Entity p_239181_1_)
Methods in net.minecraft.client.particle with parameters of type Entity Modifier and Type Method Description void
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_)
Constructors in net.minecraft.client.particle with parameters of type Entity Constructor Description EmitterParticle(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_)
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_)
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
Fields in net.minecraft.client.renderer declared as Entity Modifier and Type Field Description private Entity
ActiveRenderInfo. entity
Methods in net.minecraft.client.renderer that return Entity Modifier and Type Method Description Entity
ActiveRenderInfo. getEntity()
Methods in net.minecraft.client.renderer with parameters of type Entity Modifier and Type Method Description void
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
Methods in net.minecraft.client.renderer.debug that return types with arguments of type Entity Modifier and Type Method Description static java.util.Optional<Entity>
DebugRenderer. getTargetedEntity(Entity p_217728_0_, int p_217728_1_)
Methods in net.minecraft.client.renderer.debug with parameters of type Entity Modifier and Type Method Description static java.util.Optional<Entity>
DebugRenderer. getTargetedEntity(Entity p_217728_0_, int p_217728_1_)
-
Uses of Entity in net.minecraft.client.renderer.entity
Classes in net.minecraft.client.renderer.entity with type parameters of type Entity Modifier and Type Class Description class
EntityRenderer<T extends Entity>
interface
IEntityRenderer<T extends Entity,M extends EntityModel<T>>
class
SpriteRenderer<T extends Entity & IRendersAsItem>
Fields in net.minecraft.client.renderer.entity declared as Entity Modifier and Type Field Description Entity
EntityRendererManager. crosshairPickEntity
Methods in net.minecraft.client.renderer.entity with type parameters of type Entity Modifier and Type Method Description <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_)
Methods in net.minecraft.client.renderer.entity with parameters of type Entity Modifier and Type Method Description double
EntityRendererManager. distanceToSqr(Entity p_229099_1_)
ResourceLocation
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
Classes in net.minecraft.client.renderer.entity.layers with type parameters of type Entity Modifier and Type Class Description class
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>>
Methods in net.minecraft.client.renderer.entity.layers with parameters of type Entity Modifier and Type Method Description ResourceLocation
BipedArmorLayer. getArmorResource(Entity entity, ItemStack stack, EquipmentSlotType slot, java.lang.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
Classes in net.minecraft.client.renderer.entity.model with type parameters of type Entity Modifier and Type Class Description class
AbstractTropicalFishModel<E extends Entity>
class
AgeableModel<E extends Entity>
class
BlazeModel<T extends Entity>
class
ChickenModel<T extends Entity>
class
CodModel<T extends Entity>
class
CowModel<T extends Entity>
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
PigModel<T extends Entity>
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
Fields in net.minecraft.client.world with type parameters of type Entity Modifier and Type Field Description private it.unimi.dsi.fastutil.ints.Int2ObjectMap<Entity>
ClientWorld. entitiesById
Methods in net.minecraft.client.world that return Entity Modifier and Type Method Description Entity
ClientWorld. getEntity(int p_73045_1_)
Methods in net.minecraft.client.world that return types with arguments of type Entity Modifier and Type Method Description java.lang.Iterable<Entity>
ClientWorld. entitiesForRendering()
Methods in net.minecraft.client.world with parameters of type Entity Modifier and Type Method Description private void
ClientWorld. addEntity(int p_217424_1_, Entity p_217424_2_)
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
Fields in net.minecraft.command declared as Entity Modifier and Type Field Description private Entity
CommandSource. entity
Methods in net.minecraft.command that return Entity Modifier and Type Method Description Entity
CommandSource. getEntity()
Entity
CommandSource. getEntityOrException()
Methods in net.minecraft.command with parameters of type Entity Modifier and Type Method Description CommandSource
CommandSource. facing(Entity p_201006_1_, EntityAnchorArgument.Type p_201006_2_)
CommandSource
CommandSource. withEntity(Entity p_197024_1_)
Constructors in net.minecraft.command with parameters of type Entity Constructor Description CommandSource(ICommandSource p_i49552_1_, Vector3d p_i49552_2_, Vector2f p_i49552_3_, ServerWorld p_i49552_4_, int p_i49552_5_, java.lang.String p_i49552_6_, ITextComponent p_i49552_7_, MinecraftServer p_i49552_8_, Entity p_i49552_9_)
CommandSource(ICommandSource p_i49553_1_, Vector3d p_i49553_2_, Vector2f p_i49553_3_, ServerWorld p_i49553_4_, int p_i49553_5_, java.lang.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
Fields in net.minecraft.command.arguments with type parameters of type Entity Modifier and Type Field Description private java.util.function.BiConsumer<Vector3d,java.util.List<? extends Entity>>
EntitySelector. order
private java.util.function.BiConsumer<Vector3d,java.util.List<? extends Entity>>
EntitySelectorParser. order
static java.util.function.BiConsumer<Vector3d,java.util.List<? extends Entity>>
EntitySelectorParser. ORDER_ARBITRARY
static java.util.function.BiConsumer<Vector3d,java.util.List<? extends Entity>>
EntitySelectorParser. ORDER_FURTHEST
static java.util.function.BiConsumer<Vector3d,java.util.List<? extends Entity>>
EntitySelectorParser. ORDER_NEAREST
static java.util.function.BiConsumer<Vector3d,java.util.List<? extends Entity>>
EntitySelectorParser. ORDER_RANDOM
private java.util.function.Predicate<Entity>
EntitySelector. predicate
private java.util.function.Predicate<Entity>
EntitySelectorParser. predicate
private java.util.function.BiFunction<Vector3d,Entity,Vector3d>
EntityAnchorArgument.Type. transform
Methods in net.minecraft.command.arguments with type parameters of type Entity Modifier and Type Method Description private <T extends Entity>
java.util.List<T>EntitySelector. sortAndLimit(Vector3d p_197345_1_, java.util.List<T> p_197345_2_)
Methods in net.minecraft.command.arguments that return Entity Modifier and Type Method Description Entity
EntitySelector. findSingleEntity(CommandSource p_197340_1_)
static Entity
EntityArgument. getEntity(com.mojang.brigadier.context.CommandContext<CommandSource> p_197088_0_, java.lang.String p_197088_1_)
Methods in net.minecraft.command.arguments that return types with arguments of type Entity Modifier and Type Method Description private java.util.function.Predicate<Entity>
EntitySelectorParser. createRotationPredicate(MinMaxBoundsWrapped p_197366_1_, java.util.function.ToDoubleFunction<Entity> p_197366_2_)
java.util.List<? extends Entity>
EntitySelector. findEntities(CommandSource p_197341_1_)
static java.util.Collection<? extends Entity>
EntityArgument. getEntities(com.mojang.brigadier.context.CommandContext<CommandSource> p_197097_0_, java.lang.String p_197097_1_)
static java.util.Collection<? extends Entity>
EntityArgument. getOptionalEntities(com.mojang.brigadier.context.CommandContext<CommandSource> p_197087_0_, java.lang.String p_197087_1_)
private java.util.function.Predicate<Entity>
EntitySelector. getPredicate(Vector3d p_197349_1_)
Methods in net.minecraft.command.arguments with parameters of type Entity Modifier and Type Method Description Vector3d
EntityAnchorArgument.Type. apply(Entity p_201017_1_)
Method parameters in net.minecraft.command.arguments with type arguments of type Entity Modifier and Type Method Description private void
EntitySelector. addEntities(java.util.List<Entity> p_197348_1_, ServerWorld p_197348_2_, Vector3d p_197348_3_, java.util.function.Predicate<Entity> p_197348_4_)
private void
EntitySelector. addEntities(java.util.List<Entity> p_197348_1_, ServerWorld p_197348_2_, Vector3d p_197348_3_, java.util.function.Predicate<Entity> p_197348_4_)
void
EntitySelectorParser. addPredicate(java.util.function.Predicate<Entity> p_197401_1_)
private java.util.function.Predicate<Entity>
EntitySelectorParser. createRotationPredicate(MinMaxBoundsWrapped p_197366_1_, java.util.function.ToDoubleFunction<Entity> p_197366_2_)
static IFormattableTextComponent
EntitySelector. joinNames(java.util.List<? extends Entity> p_197350_0_)
void
EntitySelectorParser. setOrder(java.util.function.BiConsumer<Vector3d,java.util.List<? extends Entity>> p_197376_1_)
Constructor parameters in net.minecraft.command.arguments with type arguments of type Entity Constructor Description EntitySelector(int p_i50800_1_, boolean p_i50800_2_, boolean p_i50800_3_, java.util.function.Predicate<Entity> p_i50800_4_, MinMaxBounds.FloatBound p_i50800_5_, java.util.function.Function<Vector3d,Vector3d> p_i50800_6_, AxisAlignedBB p_i50800_7_, java.util.function.BiConsumer<Vector3d,java.util.List<? extends Entity>> p_i50800_8_, boolean p_i50800_9_, java.lang.String p_i50800_10_, java.util.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_, java.util.function.Predicate<Entity> p_i50800_4_, MinMaxBounds.FloatBound p_i50800_5_, java.util.function.Function<Vector3d,Vector3d> p_i50800_6_, AxisAlignedBB p_i50800_7_, java.util.function.BiConsumer<Vector3d,java.util.List<? extends Entity>> p_i50800_8_, boolean p_i50800_9_, java.lang.String p_i50800_10_, java.util.UUID p_i50800_11_, EntityType<?> p_i50800_12_, boolean p_i50800_13_)
Type(java.lang.String p_i48597_3_, java.util.function.BiFunction<Vector3d,Entity,Vector3d> p_i48597_4_)
-
Uses of Entity in net.minecraft.command.impl
Fields in net.minecraft.command.impl declared as Entity Modifier and Type Field Description private Entity
TeleportCommand.Facing. entity
Methods in net.minecraft.command.impl with parameters of type Entity Modifier and Type Method Description private static int
AttributeCommand. addModifier(CommandSource p_241010_0_, Entity p_241010_1_, Attribute p_241010_2_, java.util.UUID p_241010_3_, java.lang.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_, java.util.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_, java.util.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_, java.util.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_, java.util.List<ItemStack> p_218901_1_, int p_218901_2_, int p_218901_3_, java.util.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_, java.util.Collection<? extends Entity> p_201126_1_, Entity p_201126_2_)
Method parameters in net.minecraft.command.impl with type arguments of type Entity Modifier and Type Method Description private static int
TagCommand. addTag(CommandSource p_198749_0_, java.util.Collection<? extends Entity> p_198749_1_, java.lang.String p_198749_2_)
private static int
EffectCommand. clearEffect(CommandSource p_198355_0_, java.util.Collection<? extends Entity> p_198355_1_, Effect p_198355_2_)
private static int
EffectCommand. clearEffects(CommandSource p_198354_0_, java.util.Collection<? extends Entity> p_198354_1_)
private static int
EnchantCommand. enchant(CommandSource p_202651_0_, java.util.Collection<? extends Entity> p_202651_1_, Enchantment p_202651_2_, int p_202651_3_)
private static int
LootCommand. entityReplace(java.util.Collection<? extends Entity> p_218865_0_, int p_218865_1_, int p_218865_2_, java.util.List<ItemStack> p_218865_3_, LootCommand.ISuccessListener p_218865_4_)
private static int
SpreadPlayersCommand. getNumberOfTeams(java.util.Collection<? extends Entity> p_198715_0_)
private static java.util.Collection<java.lang.String>
TagCommand. getTags(java.util.Collection<? extends Entity> p_198748_0_)
private static int
EffectCommand. giveEffect(CommandSource p_198360_0_, java.util.Collection<? extends Entity> p_198360_1_, Effect p_198360_2_, java.lang.Integer p_198360_3_, int p_198360_4_, boolean p_198360_5_)
private static int
KillCommand. kill(CommandSource p_198519_0_, java.util.Collection<? extends Entity> p_198519_1_)
private static int
TagCommand. listTags(CommandSource p_198744_0_, java.util.Collection<? extends Entity> p_198744_1_)
private static int
TagCommand. removeTag(CommandSource p_198750_0_, java.util.Collection<? extends Entity> p_198750_1_, java.lang.String p_198750_2_)
private static int
ReplaceItemCommand. setEntityItem(CommandSource p_198604_0_, java.util.Collection<? extends Entity> p_198604_1_, int p_198604_2_, ItemStack p_198604_3_)
private static double
SpreadPlayersCommand. setPlayerPositions(java.util.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_, java.util.Collection<? extends Entity> p_241070_6_)
private static int
TeleportCommand. teleportToEntity(CommandSource p_201126_0_, java.util.Collection<? extends Entity> p_201126_1_, Entity p_201126_2_)
private static int
TeleportCommand. teleportToPos(CommandSource p_200559_0_, java.util.Collection<? extends Entity> p_200559_1_, ServerWorld p_200559_2_, ILocationArgument p_200559_3_, ILocationArgument p_200559_4_, TeleportCommand.Facing p_200559_5_)
Constructors in net.minecraft.command.impl with parameters of type Entity Constructor Description Facing(Entity p_i48274_1_, EntityAnchorArgument.Type p_i48274_2_)
-
Uses of Entity in net.minecraft.command.impl.data
Fields in net.minecraft.command.impl.data declared as Entity Modifier and Type Field Description private Entity
EntityDataAccessor. entity
Constructors in net.minecraft.command.impl.data with parameters of type Entity Constructor Description EntityDataAccessor(Entity p_i47917_1_)
-
Uses of Entity in net.minecraft.dispenser
Methods in net.minecraft.dispenser with parameters of type Entity Modifier and Type Method Description static void
IDispenseItemBehavior. setEntityPokingOutOfBlock(IBlockSource p_239785_0_, Entity p_239785_1_, Direction p_239785_2_)
-
Uses of Entity in net.minecraft.enchantment
Methods in net.minecraft.enchantment with parameters of type Entity Modifier and Type Method Description void
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
Classes in net.minecraft.entity with type parameters of type Entity Modifier and Type Interface Description static interface
EntitySpawnPlacementRegistry.IPlacementPredicate<T extends Entity>
class
EntityType<T extends Entity>
static class
EntityType.Builder<T extends Entity>
static interface
EntityType.IFactory<T extends Entity>
Subclasses of Entity in net.minecraft.entity Modifier and Type Class Description class
AgeableEntity
class
AreaEffectCloudEntity
class
CreatureEntity
class
FlyingEntity
class
LivingEntity
class
MobEntity
Fields in net.minecraft.entity declared as Entity Modifier and Type Field Description private Entity
MobEntity. leashHolder
private Entity
Entity. vehicle
Fields in net.minecraft.entity with type parameters of type Entity Modifier and Type Field Description private java.util.List<Entity>
Entity. passengers
private java.util.Map<Entity,java.lang.Integer>
AreaEffectCloudEntity. victims
Methods in net.minecraft.entity with type parameters of type Entity Modifier and Type Method Description static <T extends Entity>
booleanEntitySpawnPlacementRegistry. checkSpawnRules(EntityType<T> p_223515_0_, IServerWorld p_223515_1_, SpawnReason p_223515_2_, BlockPos p_223515_3_, java.util.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(java.lang.String p_200712_0_, EntityType.Builder<T> p_200712_1_)
Methods in net.minecraft.entity that return Entity Modifier and Type Method Description Entity
Entity. changeDimension(ServerWorld p_241206_1_)
Entity
Entity. changeDimension(ServerWorld p_241206_1_, ITeleporter teleporter)
static Entity
EntityType. create(int p_200717_0_, World p_200717_1_)
private static Entity
EntityType. create(World p_200719_0_, EntityType<?> p_200719_1_)
Entity
Entity. getControllingPassenger()
Entity
MobEntity. getLeashHolder()
Entity
Entity. getRootVehicle()
Entity
Entity. getVehicle()
static Entity
EntityType. loadEntityRecursive(CompoundNBT p_220335_0_, World p_220335_1_, java.util.function.Function<Entity,Entity> p_220335_2_)
Entity
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_)
Methods in net.minecraft.entity that return types with arguments of type Entity Modifier and Type Method Description static java.util.Optional<Entity>
EntityType. create(CompoundNBT p_220330_0_, World p_220330_1_)
java.util.Collection<Entity>
Entity. getIndirectPassengers()
java.util.List<Entity>
Entity. getPassengers()
java.util.stream.Stream<Entity>
Entity. getSelfAndPassengers()
private static java.util.Optional<Entity>
EntityType. loadStaticEntity(CompoundNBT p_220343_0_, World p_220343_1_)
Methods in net.minecraft.entity with parameters of type Entity Modifier and Type Method Description void
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
Entity. canRide(Entity p_184228_1_)
boolean
LivingEntity. canSee(Entity p_70685_1_)
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
LivingEntity. doPush(Entity p_82167_1_)
double
LivingEntity. getVisibilityPercent(Entity p_213340_1_)
boolean
Entity. hasIndirectPassenger(Entity p_184215_1_)
boolean
Entity. hasPassenger(Entity p_184196_1_)
boolean
Entity. is(Entity p_70028_1_)
boolean
Entity. isAlliedTo(Entity p_184191_1_)
boolean
Entity. isPassengerOfSameVehicle(Entity p_184223_1_)
void
MobEntity. lookAt(Entity p_70625_1_, float p_70625_2_, float p_70625_3_)
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
Entity. push(Entity p_70108_1_)
void
LivingEntity. push(Entity p_70108_1_)
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
LivingEntity. take(Entity p_71001_1_, int p_71001_2_)
static void
EntityType. updateCustomEntityTag(World p_208048_0_, PlayerEntity p_208048_1_, Entity p_208048_2_, CompoundNBT p_208048_3_)
Method parameters in net.minecraft.entity with type arguments of type Entity Modifier and Type Method Description private void
Entity. fillIndirectPassengers(boolean p_200604_1_, java.util.Set<Entity> p_200604_2_)
boolean
Entity. hasPassenger(java.lang.Class<? extends Entity> p_205708_1_)
static Entity
EntityType. loadEntityRecursive(CompoundNBT p_220335_0_, World p_220335_1_, java.util.function.Function<Entity,Entity> p_220335_2_)
static Entity
EntityType. loadEntityRecursive(CompoundNBT p_220335_0_, World p_220335_1_, java.util.function.Function<Entity,Entity> p_220335_2_)
-
Uses of Entity in net.minecraft.entity.ai
Fields in net.minecraft.entity.ai with type parameters of type Entity Modifier and Type Field Description private java.util.List<Entity>
EntitySenses. seen
private java.util.List<Entity>
EntitySenses. unseen
Methods in net.minecraft.entity.ai with parameters of type Entity Modifier and Type Method Description boolean
EntitySenses. canSee(Entity p_75522_1_)
-
Uses of Entity in net.minecraft.entity.ai.brain
Methods in net.minecraft.entity.ai.brain with parameters of type Entity Modifier and Type Method Description static 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
Fields in net.minecraft.entity.ai.brain.memory with type parameters of type Entity Modifier and Type Field Description static MemoryModuleType<Entity>
MemoryModuleType. RIDE_TARGET
-
Uses of Entity in net.minecraft.entity.ai.brain.task
Classes in net.minecraft.entity.ai.brain.task with type parameters of type Entity Modifier and Type Class Description class
StopRidingEntityTask<E extends LivingEntity,T extends Entity>
Fields in net.minecraft.entity.ai.brain.task with type parameters of type Entity Modifier and Type Field Description private java.util.function.BiPredicate<E,Entity>
StopRidingEntityTask. dontRideIf
Methods in net.minecraft.entity.ai.brain.task that return Entity Modifier and Type Method Description private Entity
RideEntityTask. getRidableEntity(E p_233926_1_)
Methods in net.minecraft.entity.ai.brain.task that return types with arguments of type Entity Modifier and Type Method Description static RunAwayTask<? extends Entity>
RunAwayTask. entity(MemoryModuleType<? extends Entity> p_233965_0_, float p_233965_1_, int p_233965_2_, boolean p_233965_3_)
Methods in net.minecraft.entity.ai.brain.task with parameters of type Entity Modifier and Type Method Description private boolean
StopRidingEntityTask. isVehicleValid(E p_233892_1_, Entity p_233892_2_)
Method parameters in net.minecraft.entity.ai.brain.task with type arguments of type Entity Modifier and Type Method Description static RunAwayTask<? extends Entity>
RunAwayTask. entity(MemoryModuleType<? extends Entity> p_233965_0_, float p_233965_1_, int p_233965_2_, boolean p_233965_3_)
Constructor parameters in net.minecraft.entity.ai.brain.task with type arguments of type Entity Constructor Description StopRidingEntityTask(int p_i231515_1_, java.util.function.BiPredicate<E,Entity> p_i231515_2_)
-
Uses of Entity in net.minecraft.entity.ai.controller
Methods in net.minecraft.entity.ai.controller with parameters of type Entity Modifier and Type Method Description private static double
LookController. getWantedY(Entity p_220676_0_)
void
LookController. setLookAt(Entity p_75651_1_, float p_75651_2_, float p_75651_3_)
-
Uses of Entity in net.minecraft.entity.ai.goal
Fields in net.minecraft.entity.ai.goal declared as Entity Modifier and Type Field Description protected Entity
LookAtGoal. lookAt
Methods in net.minecraft.entity.ai.goal with parameters of type Entity Modifier and Type Method Description protected 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
Subclasses of Entity in net.minecraft.entity.boss Modifier and Type Class Description class
WitherEntity
Methods in net.minecraft.entity.boss with parameters of type Entity Modifier and Type Method Description protected boolean
WitherEntity. canRide(Entity p_184228_1_)
-
Uses of Entity in net.minecraft.entity.boss.dragon
Subclasses of Entity in net.minecraft.entity.boss.dragon Modifier and Type Class Description class
EnderDragonEntity
class
EnderDragonPartEntity
Methods in net.minecraft.entity.boss.dragon with parameters of type Entity Modifier and Type Method Description protected boolean
EnderDragonEntity. canRide(Entity p_184228_1_)
boolean
EnderDragonPartEntity. is(Entity p_70028_1_)
Method parameters in net.minecraft.entity.boss.dragon with type arguments of type Entity Modifier and Type Method Description private void
EnderDragonEntity. hurt(java.util.List<Entity> p_70971_1_)
private void
EnderDragonEntity. knockBack(java.util.List<Entity> p_70970_1_)
-
Uses of Entity in net.minecraft.entity.effect
Subclasses of Entity in net.minecraft.entity.effect Modifier and Type Class Description class
LightningBoltEntity
-
Uses of Entity in net.minecraft.entity.item
Subclasses of Entity in net.minecraft.entity.item Modifier and Type Class Description class
ArmorStandEntity
class
BoatEntity
class
EnderCrystalEntity
class
EnderPearlEntity
class
ExperienceBottleEntity
class
ExperienceOrbEntity
class
FallingBlockEntity
class
HangingEntity
class
ItemEntity
class
ItemFrameEntity
class
LeashKnotEntity
class
PaintingEntity
class
TNTEntity
Fields in net.minecraft.entity.item with type parameters of type Entity Modifier and Type Field Description protected static java.util.function.Predicate<Entity>
HangingEntity. HANGING_ENTITY
private static java.util.function.Predicate<Entity>
ArmorStandEntity. RIDABLE_MINECARTS
Methods in net.minecraft.entity.item that return Entity Modifier and Type Method Description Entity
EnderPearlEntity. changeDimension(ServerWorld p_241206_1_, ITeleporter teleporter)
Entity
ItemEntity. changeDimension(ServerWorld p_241206_1_, ITeleporter teleporter)
Entity
BoatEntity. getControllingPassenger()
Methods in net.minecraft.entity.item with parameters of type Entity Modifier and Type Method Description protected 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
ArmorStandEntity. doPush(Entity p_82167_1_)
abstract void
HangingEntity. dropItem(Entity p_110128_1_)
void
ItemFrameEntity. dropItem(Entity p_110128_1_)
private void
ItemFrameEntity. dropItem(Entity p_146065_1_, boolean p_146065_2_)
void
LeashKnotEntity. dropItem(Entity p_110128_1_)
void
PaintingEntity. dropItem(Entity p_110128_1_)
void
BoatEntity. onPassengerTurned(Entity p_184190_1_)
void
BoatEntity. positionRider(Entity p_184232_1_)
void
BoatEntity. push(Entity p_70108_1_)
boolean
ArmorStandEntity. skipAttackInteraction(Entity p_85031_1_)
boolean
HangingEntity. skipAttackInteraction(Entity p_85031_1_)
-
Uses of Entity in net.minecraft.entity.item.minecart
Subclasses of Entity in net.minecraft.entity.item.minecart Modifier and Type Class Description class
AbstractMinecartEntity
class
ChestMinecartEntity
class
CommandBlockMinecartEntity
class
ContainerMinecartEntity
class
FurnaceMinecartEntity
class
HopperMinecartEntity
class
MinecartEntity
class
SpawnerMinecartEntity
class
TNTMinecartEntity
Methods in net.minecraft.entity.item.minecart that return Entity Modifier and Type Method Description Entity
ContainerMinecartEntity. changeDimension(ServerWorld p_241206_1_, ITeleporter teleporter)
Methods in net.minecraft.entity.item.minecart with parameters of type Entity Modifier and Type Method Description boolean
AbstractMinecartEntity. canCollideWith(Entity p_241849_1_)
void
AbstractMinecartEntity. push(Entity p_70108_1_)
-
Uses of Entity in net.minecraft.entity.merchant
Methods in net.minecraft.entity.merchant with parameters of type Entity Modifier and Type Method Description void
IReputationTracking. onReputationEventFrom(IReputationType p_213739_1_, Entity p_213739_2_)
-
Uses of Entity in net.minecraft.entity.merchant.villager
Subclasses of Entity in net.minecraft.entity.merchant.villager Modifier and Type Class Description class
AbstractVillagerEntity
class
VillagerEntity
class
WanderingTraderEntity
Methods in net.minecraft.entity.merchant.villager that return Entity Modifier and Type Method Description Entity
AbstractVillagerEntity. changeDimension(ServerWorld p_241206_1_, ITeleporter teleporter)
Methods in net.minecraft.entity.merchant.villager with parameters of type Entity Modifier and Type Method Description MerchantOffer
VillagerTrades.DyedArmorForEmeraldsTrade. getOffer(Entity p_221182_1_, java.util.Random p_221182_2_)
MerchantOffer
VillagerTrades.EmeraldForItemsTrade. getOffer(Entity p_221182_1_, java.util.Random p_221182_2_)
MerchantOffer
VillagerTrades.EmeraldForMapTrade. getOffer(Entity p_221182_1_, java.util.Random p_221182_2_)
MerchantOffer
VillagerTrades.EmeraldForVillageTypeItemTrade. getOffer(Entity p_221182_1_, java.util.Random p_221182_2_)
MerchantOffer
VillagerTrades.EnchantedBookForEmeraldsTrade. getOffer(Entity p_221182_1_, java.util.Random p_221182_2_)
MerchantOffer
VillagerTrades.EnchantedItemForEmeraldsTrade. getOffer(Entity p_221182_1_, java.util.Random p_221182_2_)
MerchantOffer
VillagerTrades.ItemsForEmeraldsAndItemsTrade. getOffer(Entity p_221182_1_, java.util.Random p_221182_2_)
MerchantOffer
VillagerTrades.ItemsForEmeraldsTrade. getOffer(Entity p_221182_1_, java.util.Random p_221182_2_)
MerchantOffer
VillagerTrades.ItemWithPotionForEmeraldsAndItemsTrade. getOffer(Entity p_221182_1_, java.util.Random p_221182_2_)
MerchantOffer
VillagerTrades.ITrade. getOffer(Entity p_221182_1_, java.util.Random p_221182_2_)
MerchantOffer
VillagerTrades.SuspiciousStewForEmeraldTrade. getOffer(Entity p_221182_1_, java.util.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
Subclasses of Entity in net.minecraft.entity.monster Modifier and Type Class Description class
AbstractIllagerEntity
class
AbstractRaiderEntity
class
AbstractSkeletonEntity
class
BlazeEntity
class
CaveSpiderEntity
class
CreeperEntity
class
DrownedEntity
class
ElderGuardianEntity
class
EndermanEntity
class
EndermiteEntity
class
EvokerEntity
class
GhastEntity
class
GiantEntity
class
GuardianEntity
class
HoglinEntity
class
HuskEntity
class
IllusionerEntity
class
MagmaCubeEntity
class
MonsterEntity
class
PatrollerEntity
class
PhantomEntity
class
PillagerEntity
class
RavagerEntity
class
ShulkerEntity
class
SilverfishEntity
class
SkeletonEntity
class
SlimeEntity
class
SpellcastingIllagerEntity
class
SpiderEntity
class
StrayEntity
class
VexEntity
class
VindicatorEntity
class
WitchEntity
class
WitherSkeletonEntity
class
ZoglinEntity
class
ZombieEntity
class
ZombieVillagerEntity
class
ZombifiedPiglinEntity
Fields in net.minecraft.entity.monster with type parameters of type Entity Modifier and Type Field Description private static java.util.function.Predicate<Entity>
RavagerEntity. NO_RAVAGER_AND_ALIVE
Methods in net.minecraft.entity.monster that return Entity Modifier and Type Method Description Entity
RavagerEntity. getControllingPassenger()
Methods in net.minecraft.entity.monster with parameters of type Entity Modifier and Type Method Description boolean
RavagerEntity. canSee(Entity p_70685_1_)
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
ShulkerEntity. push(Entity p_70108_1_)
void
SlimeEntity. push(Entity p_70108_1_)
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
Subclasses of Entity in net.minecraft.entity.monster.piglin Modifier and Type Class Description class
AbstractPiglinEntity
class
PiglinBruteEntity
class
PiglinEntity
Methods in net.minecraft.entity.monster.piglin that return Entity Modifier and Type Method Description private Entity
PiglinEntity. getTopPassenger(Entity p_234417_1_, int p_234417_2_)
Methods in net.minecraft.entity.monster.piglin with parameters of type Entity Modifier and Type Method Description private 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
Subclasses of Entity in net.minecraft.entity.passive Modifier and Type Class Description class
AmbientEntity
class
AnimalEntity
class
BatEntity
class
BeeEntity
class
CatEntity
class
ChickenEntity
class
CowEntity
class
DolphinEntity
class
FoxEntity
class
GolemEntity
class
IronGolemEntity
class
MooshroomEntity
class
OcelotEntity
class
PandaEntity
class
ParrotEntity
class
PigEntity
class
PolarBearEntity
class
RabbitEntity
class
SheepEntity
class
ShoulderRidingEntity
class
SnowGolemEntity
class
SquidEntity
class
StriderEntity
class
TameableEntity
class
TurtleEntity
class
WaterMobEntity
class
WolfEntity
Fields in net.minecraft.entity.passive with type parameters of type Entity Modifier and Type Field Description private static java.util.function.Predicate<Entity>
FoxEntity. AVOID_PLAYERS
private static java.util.function.Predicate<Entity>
FoxEntity. STALKABLE_PREY
private static java.util.function.Predicate<Entity>
FoxEntity. TRUSTED_TARGET_SELECTOR
Methods in net.minecraft.entity.passive that return Entity Modifier and Type Method Description Entity
PigEntity. getControllingPassenger()
Entity
StriderEntity. getControllingPassenger()
Methods in net.minecraft.entity.passive with parameters of type Entity Modifier and Type Method Description protected boolean
StriderEntity. canAddPassenger(Entity p_184219_1_)
protected boolean
DolphinEntity. canRide(Entity p_184228_1_)
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
BatEntity. doPush(Entity p_82167_1_)
protected void
IronGolemEntity. doPush(Entity p_82167_1_)
protected void
ParrotEntity. doPush(Entity p_82167_1_)
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
Subclasses of Entity in net.minecraft.entity.passive.fish Modifier and Type Class Description class
AbstractFishEntity
class
AbstractGroupFishEntity
class
CodEntity
class
PufferfishEntity
class
SalmonEntity
class
TropicalFishEntity
-
Uses of Entity in net.minecraft.entity.passive.horse
Subclasses of Entity in net.minecraft.entity.passive.horse Modifier and Type Class Description class
AbstractChestedHorseEntity
class
AbstractHorseEntity
class
DonkeyEntity
class
HorseEntity
class
LlamaEntity
class
MuleEntity
class
SkeletonHorseEntity
class
TraderLlamaEntity
class
ZombieHorseEntity
Methods in net.minecraft.entity.passive.horse that return Entity Modifier and Type Method Description Entity
AbstractHorseEntity. getControllingPassenger()
Methods in net.minecraft.entity.passive.horse with parameters of type Entity Modifier and Type Method Description void
AbstractHorseEntity. positionRider(Entity p_184232_1_)
void
LlamaEntity. positionRider(Entity p_184232_1_)
-
Uses of Entity in net.minecraft.entity.player
Subclasses of Entity in net.minecraft.entity.player Modifier and Type Class Description class
PlayerEntity
class
ServerPlayerEntity
Fields in net.minecraft.entity.player declared as Entity Modifier and Type Field Description private Entity
ServerPlayerEntity. camera
Methods in net.minecraft.entity.player that return Entity Modifier and Type Method Description Entity
ServerPlayerEntity. changeDimension(ServerWorld p_241206_1_, ITeleporter teleporter)
Entity
ServerPlayerEntity. getCamera()
Methods in net.minecraft.entity.player with parameters of type Entity Modifier and Type Method Description void
PlayerEntity. attack(Entity p_71059_1_)
void
ServerPlayerEntity. attack(Entity p_71059_1_)
void
ServerPlayerEntity. awardKillScore(Entity p_191956_1_, int p_191956_2_, DamageSource p_191956_3_)
void
ServerPlayerEntity. cancelRemoveEntity(Entity p_184848_1_)
void
PlayerEntity. crit(Entity p_71009_1_)
void
ServerPlayerEntity. crit(Entity p_71009_1_)
ActionResultType
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
PlayerEntity. magicCrit(Entity p_71047_1_)
void
ServerPlayerEntity. magicCrit(Entity p_71047_1_)
void
ServerPlayerEntity. sendRemoveEntity(Entity p_152339_1_)
void
ServerPlayerEntity. setCamera(Entity p_175399_1_)
boolean
ServerPlayerEntity. startRiding(Entity p_184205_1_, boolean p_184205_2_)
void
ServerPlayerEntity. take(Entity p_71001_1_, int p_71001_2_)
private void
PlayerEntity. touch(Entity p_71044_1_)
-
Uses of Entity in net.minecraft.entity.projectile
Subclasses of Entity in net.minecraft.entity.projectile Modifier and Type Class Description class
AbstractArrowEntity
class
AbstractFireballEntity
class
ArrowEntity
class
DamagingProjectileEntity
class
DragonFireballEntity
class
EggEntity
class
EvokerFangsEntity
class
EyeOfEnderEntity
class
FireballEntity
class
FireworkRocketEntity
class
FishingBobberEntity
class
LlamaSpitEntity
class
PotionEntity
class
ProjectileEntity
class
ProjectileItemEntity
class
ShulkerBulletEntity
class
SmallFireballEntity
class
SnowballEntity
class
SpectralArrowEntity
class
ThrowableEntity
class
TridentEntity
class
WitherSkullEntity
Fields in net.minecraft.entity.projectile declared as Entity Modifier and Type Field Description private Entity
ShulkerBulletEntity. finalTarget
private Entity
FishingBobberEntity. hookedIn
Fields in net.minecraft.entity.projectile with type parameters of type Entity Modifier and Type Field Description private java.util.List<Entity>
AbstractArrowEntity. piercedAndKilledEntities
Methods in net.minecraft.entity.projectile that return Entity Modifier and Type Method Description Entity
FishingBobberEntity. getHookedIn()
Entity
ProjectileEntity. getOwner()
Methods in net.minecraft.entity.projectile with parameters of type Entity Modifier and Type Method Description private void
PotionEntity. applySplash(java.util.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_, java.util.function.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_, java.util.function.Predicate<Entity> p_221269_5_)
static RayTraceResult
ProjectileHelper. getHitResult(Entity p_234618_0_, java.util.function.Predicate<Entity> p_234618_1_)
static void
ProjectileHelper. rotateTowardsMovement(Entity p_188803_0_, float p_188803_1_)
void
AbstractArrowEntity. setOwner(Entity p_212361_1_)
void
ProjectileEntity. setOwner(Entity p_212361_1_)
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_)
Method parameters in net.minecraft.entity.projectile with type arguments of type Entity Modifier and Type Method Description static EntityRayTraceResult
ProjectileHelper. getEntityHitResult(Entity p_221273_0_, Vector3d p_221273_1_, Vector3d p_221273_2_, AxisAlignedBB p_221273_3_, java.util.function.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_, java.util.function.Predicate<Entity> p_221269_5_)
static RayTraceResult
ProjectileHelper. getHitResult(Entity p_234618_0_, java.util.function.Predicate<Entity> p_234618_1_)
Constructors in net.minecraft.entity.projectile with parameters of type Entity Constructor Description FireworkRocketEntity(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
Methods in net.minecraft.inventory with parameters of type Entity Modifier and Type Method Description static void
InventoryHelper. dropContents(World p_180176_0_, Entity p_180176_1_, IInventory p_180176_2_)
-
Uses of Entity in net.minecraft.item
Classes in net.minecraft.item with type parameters of type Entity Modifier and Type Class Description class
OnAStickItem<T extends Entity & IRideable>
Fields in net.minecraft.item declared as Entity Modifier and Type Field Description private Entity
ItemStack. entityRepresentation
Fields in net.minecraft.item with type parameters of type Entity Modifier and Type Field Description private static java.util.function.Predicate<Entity>
BoatItem. ENTITY_PREDICATE
Methods in net.minecraft.item that return Entity Modifier and Type Method Description Entity
ItemStack. getEntityRepresentation()
Methods in net.minecraft.item with parameters of type Entity Modifier and Type Method Description void
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
FilledMapItem. update(World p_77872_1_, Entity p_77872_2_, MapData p_77872_3_)
-
Uses of Entity in net.minecraft.loot
Fields in net.minecraft.loot with type parameters of type Entity Modifier and Type Field Description static LootParameter<Entity>
LootParameters. DIRECT_KILLER_ENTITY
static LootParameter<Entity>
LootParameters. KILLER_ENTITY
private LootParameter<? extends Entity>
LootContext.EntityTarget. param
static LootParameter<Entity>
LootParameters. THIS_ENTITY
Methods in net.minecraft.loot that return types with arguments of type Entity Modifier and Type Method Description LootParameter<? extends Entity>
LootContext.EntityTarget. getParam()
Methods in net.minecraft.loot with parameters of type Entity Modifier and Type Method Description boolean
FishingPredicate. matches(Entity p_234638_1_)
Constructor parameters in net.minecraft.loot with type arguments of type Entity Constructor Description EntityTarget(java.lang.String p_i50476_3_, LootParameter<? extends Entity> p_i50476_4_)
-
Uses of Entity in net.minecraft.loot.conditions
Methods in net.minecraft.loot.conditions with parameters of type Entity Modifier and Type Method Description protected boolean
EntityHasScore. hasScore(Entity p_186631_1_, Scoreboard p_186631_2_, java.lang.String p_186631_3_, RandomValueRange p_186631_4_)
-
Uses of Entity in net.minecraft.loot.functions
Fields in net.minecraft.loot.functions with type parameters of type Entity Modifier and Type Field Description private static java.util.function.Function<Entity,INBT>
CopyNbt. ENTITY_GETTER
-
Uses of Entity in net.minecraft.network.datasync
Fields in net.minecraft.network.datasync declared as Entity Modifier and Type Field Description private Entity
EntityDataManager. entity
Fields in net.minecraft.network.datasync with type parameters of type Entity Modifier and Type Field Description private static java.util.Map<java.lang.Class<? extends Entity>,java.lang.Integer>
EntityDataManager. ENTITY_ID_POOL
Method parameters in net.minecraft.network.datasync with type arguments of type Entity Modifier and Type Method Description static <T> DataParameter<T>
EntityDataManager. defineId(java.lang.Class<? extends Entity> p_187226_0_, IDataSerializer<T> p_187226_1_)
Constructors in net.minecraft.network.datasync with parameters of type Entity Constructor Description EntityDataManager(Entity p_i46840_1_)
-
Uses of Entity in net.minecraft.network.play
Fields in net.minecraft.network.play declared as Entity Modifier and Type Field Description private Entity
ServerPlayNetHandler. lastVehicle
Methods in net.minecraft.network.play with parameters of type Entity Modifier and Type Method Description private boolean
ServerPlayNetHandler. noBlocksAround(Entity p_241162_1_)
-
Uses of Entity in net.minecraft.network.play.client
Methods in net.minecraft.network.play.client that return Entity Modifier and Type Method Description Entity
CSpectatePacket. getEntity(ServerWorld p_179727_1_)
Entity
CUseEntityPacket. getTarget(World p_149564_1_)
Constructors in net.minecraft.network.play.client with parameters of type Entity Constructor Description CEntityActionPacket(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
Methods in net.minecraft.network.play.server that return Entity Modifier and Type Method Description Entity
SCameraPacket. getEntity(World p_179780_1_)
Entity
SEntityHeadLookPacket. getEntity(World p_149381_1_)
Entity
SEntityPacket. getEntity(World p_149065_1_)
Entity
SEntityStatusPacket. getEntity(World p_149161_1_)
Entity
SRemoveEntityEffectPacket. getEntity(World p_186967_1_)
Constructors in net.minecraft.network.play.server with parameters of type Entity Constructor Description SAnimateHandPacket(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
Methods in net.minecraft.pathfinding with parameters of type Entity Modifier and Type Method Description Path
ClimberPathNavigator. createPath(Entity p_75494_1_, int p_75494_2_)
Path
FlyingPathNavigator. createPath(Entity p_75494_1_, int p_75494_2_)
Path
GroundPathNavigator. createPath(Entity p_75494_1_, int p_75494_2_)
Path
PathNavigator. createPath(Entity p_75494_1_, int p_75494_2_)
Vector3d
Path. getEntityPosAtNode(Entity p_75881_1_, int p_75881_2_)
Vector3d
Path. getNextEntityPos(Entity p_75878_1_)
boolean
ClimberPathNavigator. moveTo(Entity p_75497_1_, double p_75497_2_)
boolean
PathNavigator. moveTo(Entity p_75497_1_, double p_75497_2_)
-
Uses of Entity in net.minecraft.potion
Methods in net.minecraft.potion with parameters of type Entity Modifier and Type Method Description void
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
Methods in net.minecraft.scoreboard with parameters of type Entity Modifier and Type Method Description void
Scoreboard. entityRemoved(Entity p_181140_1_)
-
Uses of Entity in net.minecraft.tileentity
Methods in net.minecraft.tileentity that return types with arguments of type Entity Modifier and Type Method Description private java.util.List<Entity>
BeehiveTileEntity. releaseAllOccupants(BlockState p_226965_1_, BeehiveTileEntity.State p_226965_2_)
Methods in net.minecraft.tileentity with parameters of type Entity Modifier and Type Method Description void
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_)
Method parameters in net.minecraft.tileentity with type arguments of type Entity Modifier and Type Method Description private boolean
BeehiveTileEntity. releaseOccupant(BlockState p_235651_1_, BeehiveTileEntity.Bee p_235651_2_, java.util.List<Entity> p_235651_3_, BeehiveTileEntity.State p_235651_4_)
-
Uses of Entity in net.minecraft.util
Fields in net.minecraft.util declared as Entity Modifier and Type Field Description protected Entity
EntityDamageSource. entity
private Entity
IndirectEntityDamageSource. owner
Fields in net.minecraft.util with type parameters of type Entity Modifier and Type Field Description static java.util.function.Predicate<Entity>
EntityPredicates. ATTACK_ALLOWED
static java.util.function.Predicate<Entity>
EntityPredicates. CONTAINER_ENTITY_SELECTOR
static java.util.function.Predicate<Entity>
EntityPredicates. ENTITY_NOT_BEING_RIDDEN
static java.util.function.Predicate<Entity>
EntityPredicates. ENTITY_STILL_ALIVE
static java.util.function.Predicate<Entity>
EntityPredicates. NO_CREATIVE_OR_SPECTATOR
static java.util.function.Predicate<Entity>
EntityPredicates. NO_SPECTATORS
Methods in net.minecraft.util that return Entity Modifier and Type Method Description Entity
DamageSource. getDirectEntity()
Entity
IndirectEntityDamageSource. getDirectEntity()
Entity
DamageSource. getEntity()
Entity
EntityDamageSource. getEntity()
Entity
IndirectEntityDamageSource. getEntity()
Methods in net.minecraft.util that return types with arguments of type Entity Modifier and Type Method Description static java.util.function.Predicate<Entity>
EntityPredicates. notRiding(Entity p_200820_0_)
static java.util.function.Predicate<Entity>
EntityPredicates. pushableBy(Entity p_200823_0_)
static java.util.function.Predicate<Entity>
EntityPredicates. withinDistance(double p_188443_0_, double p_188443_2_, double p_188443_4_, double p_188443_6_)
Methods in net.minecraft.util with parameters of type Entity Modifier and Type Method Description static 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 java.util.function.Predicate<Entity>
EntityPredicates. notRiding(Entity p_200820_0_)
static Direction[]
Direction. orderedByNearest(Entity p_196054_0_)
static java.util.function.Predicate<Entity>
EntityPredicates. pushableBy(Entity p_200823_0_)
boolean
EntityPredicates.ArmoredMob. test(Entity p_test_1_)
static DamageSource
DamageSource. thorns(Entity p_92087_0_)
static DamageSource
DamageSource. thrown(Entity p_76356_0_, Entity p_76356_1_)
static DamageSource
DamageSource. trident(Entity p_203096_0_, Entity p_203096_1_)
static DamageSource
DamageSource. witherSkull(WitherSkullEntity p_233549_0_, Entity p_233549_1_)
Constructors in net.minecraft.util with parameters of type Entity Constructor Description EntityDamageSource(java.lang.String p_i1567_1_, Entity p_i1567_2_)
IndirectEntityDamageSource(java.lang.String p_i1568_1_, Entity p_i1568_2_, Entity p_i1568_3_)
-
Uses of Entity in net.minecraft.util.math
Fields in net.minecraft.util.math declared as Entity Modifier and Type Field Description private Entity
EntityPosWrapper. entity
private Entity
EntityRayTraceResult. entity
Methods in net.minecraft.util.math that return Entity Modifier and Type Method Description Entity
EntityRayTraceResult. getEntity()
Methods in net.minecraft.util.math with parameters of type Entity Modifier and Type Method Description double
RayTraceResult. distanceTo(Entity p_237486_1_)
static SectionPos
SectionPos. of(Entity p_218157_0_)
Constructors in net.minecraft.util.math with parameters of type Entity Constructor Description EntityPosWrapper(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
Fields in net.minecraft.util.math.shapes declared as Entity Modifier and Type Field Description private Entity
EntitySelectionContext. entity
private Entity
VoxelShapeSpliterator. source
Methods in net.minecraft.util.math.shapes that return Entity Modifier and Type Method Description Entity
EntitySelectionContext. getEntity()
Methods in net.minecraft.util.math.shapes with parameters of type Entity Modifier and Type Method Description static ISelectionContext
ISelectionContext. of(Entity p_216374_0_)
Constructors in net.minecraft.util.math.shapes with parameters of type Entity Constructor Description EntitySelectionContext(Entity p_i51182_1_)
Deprecated.EntitySelectionContext(Entity entity, boolean p_i232177_1_, double p_i232177_2_, Item p_i232177_4_, java.util.function.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_, java.util.function.BiPredicate<BlockState,BlockPos> p_i241238_4_)
-
Uses of Entity in net.minecraft.util.text
Methods in net.minecraft.util.text with parameters of type Entity Modifier and Type Method Description IFormattableTextComponent
ITargetedTextComponent. resolve(CommandSource p_230535_1_, Entity p_230535_2_, int p_230535_3_)
IFormattableTextComponent
NBTTextComponent. resolve(CommandSource p_230535_1_, Entity p_230535_2_, int p_230535_3_)
IFormattableTextComponent
ScoreTextComponent. resolve(CommandSource p_230535_1_, Entity p_230535_2_, int p_230535_3_)
IFormattableTextComponent
SelectorTextComponent. resolve(CommandSource p_230535_1_, Entity p_230535_2_, int p_230535_3_)
IFormattableTextComponent
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
Fields in net.minecraft.world declared as Entity Modifier and Type Field Description private Entity
TrackedEntity. entity
private Entity
EntityExplosionContext. source
private Entity
Explosion. source
Fields in net.minecraft.world with type parameters of type Entity Modifier and Type Field Description private java.util.List<Entity>
TrackedEntity. lastPassengers
Methods in net.minecraft.world with type parameters of type Entity Modifier and Type Method Description <T extends Entity>
java.util.List<T>World. getEntities(EntityType<T> p_217394_1_, AxisAlignedBB p_217394_2_, java.util.function.Predicate<? super T> p_217394_3_)
default <T extends Entity>
java.util.List<T>IEntityReader. getEntitiesOfClass(java.lang.Class<? extends T> p_217357_1_, AxisAlignedBB p_217357_2_)
<T extends Entity>
java.util.List<T>IEntityReader. getEntitiesOfClass(java.lang.Class<? extends T> p_175647_1_, AxisAlignedBB p_175647_2_, java.util.function.Predicate<? super T> p_175647_3_)
<T extends Entity>
java.util.List<T>World. getEntitiesOfClass(java.lang.Class<? extends T> p_175647_1_, AxisAlignedBB p_175647_2_, java.util.function.Predicate<? super T> p_175647_3_)
default <T extends Entity>
java.util.List<T>IEntityReader. getLoadedEntitiesOfClass(java.lang.Class<? extends T> p_225317_1_, AxisAlignedBB p_225317_2_)
default <T extends Entity>
java.util.List<T>IEntityReader. getLoadedEntitiesOfClass(java.lang.Class<? extends T> p_225316_1_, AxisAlignedBB p_225316_2_, java.util.function.Predicate<? super T> p_225316_3_)
<T extends Entity>
java.util.List<T>World. getLoadedEntitiesOfClass(java.lang.Class<? extends T> p_225316_1_, AxisAlignedBB p_225316_2_, java.util.function.Predicate<? super T> p_225316_3_)
Methods in net.minecraft.world that return Entity Modifier and Type Method Description abstract Entity
World. getEntity(int p_73045_1_)
Entity
Explosion. getExploder()
Methods in net.minecraft.world that return types with arguments of type Entity Modifier and Type Method Description default java.util.List<Entity>
IEntityReader. getEntities(Entity p_72839_1_, AxisAlignedBB p_72839_2_)
java.util.List<Entity>
IEntityReader. getEntities(Entity p_175674_1_, AxisAlignedBB p_175674_2_, java.util.function.Predicate<? super Entity> p_175674_3_)
java.util.List<Entity>
World. getEntities(Entity p_175674_1_, AxisAlignedBB p_175674_2_, java.util.function.Predicate<? super Entity> p_175674_3_)
Methods in net.minecraft.world with parameters of type Entity Modifier and Type Method Description default 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_)
Explosion
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_)
Explosion
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_)
Explosion
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 java.util.stream.Stream<VoxelShape>
ICollisionReader. getBlockCollisions(Entity p_226666_1_, AxisAlignedBB p_226666_2_)
default java.util.stream.Stream<VoxelShape>
ICollisionReader. getBlockCollisions(Entity p_241457_1_, AxisAlignedBB p_241457_2_, java.util.function.BiPredicate<BlockState,BlockPos> p_241457_3_)
default java.util.stream.Stream<VoxelShape>
ICollisionReader. getCollisions(Entity p_234867_1_, AxisAlignedBB p_234867_2_, java.util.function.Predicate<Entity> p_234867_3_)
java.util.stream.Stream<VoxelShape>
Region. getCollisions(Entity p_234867_1_, AxisAlignedBB p_234867_2_, java.util.function.Predicate<Entity> p_234867_3_)
default java.util.List<Entity>
IEntityReader. getEntities(Entity p_72839_1_, AxisAlignedBB p_72839_2_)
java.util.List<Entity>
IEntityReader. getEntities(Entity p_175674_1_, AxisAlignedBB p_175674_2_, java.util.function.Predicate<? super Entity> p_175674_3_)
java.util.List<Entity>
World. getEntities(Entity p_175674_1_, AxisAlignedBB p_175674_2_, java.util.function.Predicate<? super Entity> p_175674_3_)
default java.util.stream.Stream<VoxelShape>
IBiomeReader. getEntityCollisions(Entity p_230318_1_, AxisAlignedBB p_230318_2_, java.util.function.Predicate<Entity> p_230318_3_)
java.util.stream.Stream<VoxelShape>
ICollisionReader. getEntityCollisions(Entity p_230318_1_, AxisAlignedBB p_230318_2_, java.util.function.Predicate<Entity> p_230318_3_)
default java.util.stream.Stream<VoxelShape>
IEntityReader. getEntityCollisions(Entity p_230318_1_, AxisAlignedBB p_230318_2_, java.util.function.Predicate<Entity> p_230318_3_)
java.util.stream.Stream<VoxelShape>
Region. getEntityCollisions(Entity p_230318_1_, AxisAlignedBB p_230318_2_, java.util.function.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(java.util.function.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_, java.util.function.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_, java.util.function.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_)
Method parameters in net.minecraft.world with type arguments of type Entity Modifier and Type Method Description default java.util.stream.Stream<VoxelShape>
ICollisionReader. getCollisions(Entity p_234867_1_, AxisAlignedBB p_234867_2_, java.util.function.Predicate<Entity> p_234867_3_)
java.util.stream.Stream<VoxelShape>
Region. getCollisions(Entity p_234867_1_, AxisAlignedBB p_234867_2_, java.util.function.Predicate<Entity> p_234867_3_)
java.util.List<Entity>
IEntityReader. getEntities(Entity p_175674_1_, AxisAlignedBB p_175674_2_, java.util.function.Predicate<? super Entity> p_175674_3_)
java.util.List<Entity>
World. getEntities(Entity p_175674_1_, AxisAlignedBB p_175674_2_, java.util.function.Predicate<? super Entity> p_175674_3_)
default java.util.stream.Stream<VoxelShape>
IBiomeReader. getEntityCollisions(Entity p_230318_1_, AxisAlignedBB p_230318_2_, java.util.function.Predicate<Entity> p_230318_3_)
java.util.stream.Stream<VoxelShape>
ICollisionReader. getEntityCollisions(Entity p_230318_1_, AxisAlignedBB p_230318_2_, java.util.function.Predicate<Entity> p_230318_3_)
default java.util.stream.Stream<VoxelShape>
IEntityReader. getEntityCollisions(Entity p_230318_1_, AxisAlignedBB p_230318_2_, java.util.function.Predicate<Entity> p_230318_3_)
java.util.stream.Stream<VoxelShape>
Region. getEntityCollisions(Entity p_230318_1_, AxisAlignedBB p_230318_2_, java.util.function.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_, java.util.function.Predicate<Entity> p_190525_9_)
void
World. guardEntityTick(java.util.function.Consumer<Entity> p_217390_1_, Entity p_217390_2_)
default boolean
ICollisionReader. noCollision(Entity p_234865_1_, AxisAlignedBB p_234865_2_, java.util.function.Predicate<Entity> p_234865_3_)
Constructors in net.minecraft.world with parameters of type Entity Constructor Description EntityExplosionContext(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_, java.util.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_, java.util.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_, java.util.function.Consumer<IPacket<?>> p_i50704_5_)
-
Uses of Entity in net.minecraft.world.border
Methods in net.minecraft.world.border with parameters of type Entity Modifier and Type Method Description double
WorldBorder. getDistanceToBorder(Entity p_177745_1_)
-
Uses of Entity in net.minecraft.world.chunk
Methods in net.minecraft.world.chunk with type parameters of type Entity Modifier and Type Method Description <T extends Entity>
voidChunk. getEntities(EntityType<?> p_217313_1_, AxisAlignedBB p_217313_2_, java.util.List<? super T> p_217313_3_, java.util.function.Predicate<? super T> p_217313_4_)
<T extends Entity>
voidChunk. getEntitiesOfClass(java.lang.Class<? extends T> p_177430_1_, AxisAlignedBB p_177430_2_, java.util.List<T> p_177430_3_, java.util.function.Predicate<? super T> p_177430_4_)
<T extends Entity>
voidEmptyChunk. getEntitiesOfClass(java.lang.Class<? extends T> p_177430_1_, AxisAlignedBB p_177430_2_, java.util.List<T> p_177430_3_, java.util.function.Predicate<? super T> p_177430_4_)
Methods in net.minecraft.world.chunk that return types with arguments of type Entity Modifier and Type Method Description ClassInheritanceMultiMap<Entity>[]
Chunk. getEntitySections()
Methods in net.minecraft.world.chunk with parameters of type Entity Modifier and Type Method Description void
Chunk. addEntity(Entity p_76612_1_)
void
ChunkPrimer. addEntity(Entity p_76612_1_)
void
ChunkPrimerWrapper. addEntity(Entity p_76612_1_)
void
EmptyChunk. addEntity(Entity p_76612_1_)
void
IChunk. addEntity(Entity p_76612_1_)
void
Chunk. getEntities(Entity p_177414_1_, AxisAlignedBB p_177414_2_, java.util.List<Entity> p_177414_3_, java.util.function.Predicate<? super Entity> p_177414_4_)
void
EmptyChunk. getEntities(Entity p_177414_1_, AxisAlignedBB p_177414_2_, java.util.List<Entity> p_177414_3_, java.util.function.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_)
Method parameters in net.minecraft.world.chunk with type arguments of type Entity Modifier and Type Method Description void
Chunk. getEntities(Entity p_177414_1_, AxisAlignedBB p_177414_2_, java.util.List<Entity> p_177414_3_, java.util.function.Predicate<? super Entity> p_177414_4_)
void
Chunk. getEntities(Entity p_177414_1_, AxisAlignedBB p_177414_2_, java.util.List<Entity> p_177414_3_, java.util.function.Predicate<? super Entity> p_177414_4_)
void
EmptyChunk. getEntities(Entity p_177414_1_, AxisAlignedBB p_177414_2_, java.util.List<Entity> p_177414_3_, java.util.function.Predicate<? super Entity> p_177414_4_)
void
EmptyChunk. getEntities(Entity p_177414_1_, AxisAlignedBB p_177414_2_, java.util.List<Entity> p_177414_3_, java.util.function.Predicate<? super Entity> p_177414_4_)
-
Uses of Entity in net.minecraft.world.end
Fields in net.minecraft.world.end with type parameters of type Entity Modifier and Type Field Description private static java.util.function.Predicate<Entity>
DragonFightManager. VALID_PLAYER
-
Uses of Entity in net.minecraft.world.gen
Methods in net.minecraft.world.gen with type parameters of type Entity Modifier and Type Method Description <T extends Entity>
java.util.List<T>WorldGenRegion. getEntitiesOfClass(java.lang.Class<? extends T> p_175647_1_, AxisAlignedBB p_175647_2_, java.util.function.Predicate<? super T> p_175647_3_)
Methods in net.minecraft.world.gen that return types with arguments of type Entity Modifier and Type Method Description java.util.List<Entity>
WorldGenRegion. getEntities(Entity p_175674_1_, AxisAlignedBB p_175674_2_, java.util.function.Predicate<? super Entity> p_175674_3_)
Methods in net.minecraft.world.gen with parameters of type Entity Modifier and Type Method Description boolean
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_)
java.util.List<Entity>
WorldGenRegion. getEntities(Entity p_175674_1_, AxisAlignedBB p_175674_2_, java.util.function.Predicate<? super Entity> p_175674_3_)
Method parameters in net.minecraft.world.gen with type arguments of type Entity Modifier and Type Method Description java.util.List<Entity>
WorldGenRegion. getEntities(Entity p_175674_1_, AxisAlignedBB p_175674_2_, java.util.function.Predicate<? super Entity> p_175674_3_)
PlayerEntity
WorldGenRegion. getNearestPlayer(double p_190525_1_, double p_190525_3_, double p_190525_5_, double p_190525_7_, java.util.function.Predicate<Entity> p_190525_9_)
-
Uses of Entity in net.minecraft.world.gen.feature.template
Methods in net.minecraft.world.gen.feature.template that return types with arguments of type Entity Modifier and Type Method Description private static java.util.Optional<Entity>
Template. createEntityIgnoreException(IServerWorld p_215382_0_, CompoundNBT p_215382_1_)
-
Uses of Entity in net.minecraft.world.raid
Methods in net.minecraft.world.raid with parameters of type Entity Modifier and Type Method Description void
Raid. addHeroOfTheVillage(Entity p_221311_1_)
-
Uses of Entity in net.minecraft.world.server
Fields in net.minecraft.world.server declared as Entity Modifier and Type Field Description private Entity
ChunkManager.EntityTracker. entity
Fields in net.minecraft.world.server with type parameters of type Entity Modifier and Type Field Description private it.unimi.dsi.fastutil.ints.Int2ObjectMap<Entity>
ServerWorld. entitiesById
private java.util.Map<java.util.UUID,Entity>
ServerWorld. entitiesByUuid
private java.util.Queue<Entity>
ServerWorld. toAddAfterTick
Methods in net.minecraft.world.server that return Entity Modifier and Type Method Description private Entity
ServerWorld. findAddedOrPendingEntity(java.util.UUID p_242105_1_)
Entity
ServerWorld. getEntity(int p_73045_1_)
Entity
ServerWorld. getEntity(java.util.UUID p_217461_1_)
Methods in net.minecraft.world.server that return types with arguments of type Entity Modifier and Type Method Description java.lang.Iterable<Entity>
ServerWorld. getAllEntities()
java.util.stream.Stream<Entity>
ServerWorld. getEntities()
java.util.List<Entity>
ServerWorld. getEntities(EntityType<?> p_217482_1_, java.util.function.Predicate<? super Entity> p_217482_2_)
Methods in net.minecraft.world.server with parameters of type Entity Modifier and Type Method Description private void
ServerWorld. add(Entity p_217465_1_)
protected void
ChunkManager. addEntity(Entity p_219210_1_)
void
ServerChunkProvider. addEntity(Entity p_217230_1_)
private boolean
ServerWorld. addEntity(Entity p_72838_1_)
boolean
ServerWorld. addFreshEntity(Entity p_217376_1_)
void
ServerWorld. addFromAnotherDimension(Entity p_217460_1_)
boolean
ServerWorld. addWithUUID(Entity p_217470_1_)
protected void
ChunkManager. broadcast(Entity p_219222_1_, IPacket<?> p_219222_2_)
void
ServerChunkProvider. broadcast(Entity p_217218_1_, IPacket<?> p_217218_2_)
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
ServerWorld. despawn(Entity p_217467_1_)
private static double
ChunkManager. euclideanDistanceSquared(ChunkPos p_219217_0_, Entity p_219217_1_)
Explosion
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_)
Method parameters in net.minecraft.world.server with type arguments of type Entity Modifier and Type Method Description private static void
ServerWorld. dumpEntities(java.io.Writer p_225320_0_, java.lang.Iterable<Entity> p_225320_1_)
java.util.List<Entity>
ServerWorld. getEntities(EntityType<?> p_217482_1_, java.util.function.Predicate<? super Entity> p_217482_2_)
Constructors in net.minecraft.world.server with parameters of type Entity Constructor Description EntityTracker(Entity p_i50468_2_, int p_i50468_3_, int p_i50468_4_, boolean p_i50468_5_)
-
Uses of Entity in net.minecraft.world.spawner
Fields in net.minecraft.world.spawner declared as Entity Modifier and Type Field Description private Entity
AbstractSpawner. displayEntity
Methods in net.minecraft.world.spawner that return Entity Modifier and Type Method Description Entity
AbstractSpawner. getOrCreateDisplayEntity()
Entity
AbstractSpawner. getSpawnerEntity()
Method parameters in net.minecraft.world.spawner with type arguments of type Entity Modifier and Type Method Description static WorldEntitySpawner.EntityDensityManager
WorldEntitySpawner. createState(int p_234964_0_, java.lang.Iterable<Entity> p_234964_1_, WorldEntitySpawner.IInitialDensityAdder p_234964_2_)
-
Uses of Entity in net.minecraftforge.client
Methods in net.minecraftforge.client with parameters of type Entity Modifier and Type Method Description static java.lang.String
ForgeHooksClient. getArmorTexture(Entity entity, ItemStack armor, java.lang.String _default, EquipmentSlotType slot, java.lang.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
Constructors in net.minecraftforge.client.event with parameters of type Entity Constructor Description RenderNameplateEvent(Entity entity, ITextComponent content, EntityRenderer<?> entityRenderer, MatrixStack matrixStack, IRenderTypeBuffer renderTypeBuffer, int packedLight, float partialTicks)
-
Uses of Entity in net.minecraftforge.client.gui
Methods in net.minecraftforge.client.gui with parameters of type Entity Modifier and Type Method Description protected void
ForgeIngameGui. renderVignette(Entity entity)
-
Uses of Entity in net.minecraftforge.common
Methods in net.minecraftforge.common with parameters of type Entity Modifier and Type Method Description AxisAlignedBB
IMinecartCollisionHandler. 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)
MerchantOffer
BasicTrade. getOffer(Entity merchant, java.util.Random rand)
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
Methods in net.minecraftforge.common.extensions that return Entity Modifier and Type Method Description default 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()
Methods in net.minecraftforge.common.extensions with parameters of type Entity Modifier and Type Method Description default 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 java.lang.String
IForgeItem. getArmorTexture(ItemStack stack, Entity entity, EquipmentSlotType slot, java.lang.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
Subclasses of Entity in net.minecraftforge.common.util Modifier and Type Class Description class
FakePlayer
Methods in net.minecraftforge.common.util that return Entity Modifier and Type Method Description default Entity
ITeleporter. placeEntity(Entity entity, ServerWorld currentWorld, ServerWorld destWorld, float yaw, java.util.function.Function<java.lang.Boolean,Entity> repositionEntity)
Called to handle placing the entity in the new world.Methods in net.minecraftforge.common.util with parameters of type Entity Modifier and Type Method Description default PortalInfo
ITeleporter. getPortalInfo(Entity entity, ServerWorld destWorld, java.util.function.Function<ServerWorld,PortalInfo> defaultPortalInfo)
Gets the PortalInfo.default Entity
ITeleporter. placeEntity(Entity entity, ServerWorld currentWorld, ServerWorld destWorld, float yaw, java.util.function.Function<java.lang.Boolean,Entity> repositionEntity)
Called to handle placing the entity in the new world.Method parameters in net.minecraftforge.common.util with type arguments of type Entity Modifier and Type Method Description default Entity
ITeleporter. placeEntity(Entity entity, ServerWorld currentWorld, ServerWorld destWorld, float yaw, java.util.function.Function<java.lang.Boolean,Entity> repositionEntity)
Called to handle placing the entity in the new world. -
Uses of Entity in net.minecraftforge.common.world
Methods in net.minecraftforge.common.world with parameters of type Entity Modifier and Type Method Description static boolean
ForgeChunkManager. forceChunk(ServerWorld world, java.lang.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
Classes in net.minecraftforge.entity with type parameters of type Entity Modifier and Type Class Description class
PartEntity<T extends Entity>
Subclasses of Entity in net.minecraftforge.entity Modifier and Type Class Description class
PartEntity<T extends Entity>
Fields in net.minecraftforge.entity declared as Entity Modifier and Type Field Description private T
PartEntity. parent
-
Uses of Entity in net.minecraftforge.event
Methods in net.minecraftforge.event with parameters of type Entity Modifier and Type Method Description static 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)
static EntityTeleportEvent.TeleportCommand
ForgeEventFactory. onEntityTeleportCommand(Entity entity, double targetX, double targetY, double targetZ)
static EntityTeleportEvent.SpreadPlayersCommand
ForgeEventFactory. onEntityTeleportSpreadPlayersCommand(Entity entity, double targetX, double targetY, double targetZ)
static boolean
ForgeEventFactory. onMultiBlockPlace(Entity entity, java.util.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)
Method parameters in net.minecraftforge.event with type arguments of type Entity Modifier and Type Method Description static void
ForgeEventFactory. onExplosionDetonate(World world, Explosion explosion, java.util.List<Entity> list, double diameter)
-
Uses of Entity in net.minecraftforge.event.entity
Fields in net.minecraftforge.event.entity declared as Entity Modifier and Type Field Description private Entity
EntityEvent. entity
private Entity
EntityMountEvent. entityBeingMounted
private Entity
EntityMountEvent. entityMounting
Methods in net.minecraftforge.event.entity that return Entity Modifier and Type Method Description Entity
EntityEvent. getEntity()
Entity
EntityMountEvent. getEntityBeingMounted()
Entity
EntityMountEvent. getEntityMounting()
Constructors in net.minecraftforge.event.entity with parameters of type Entity Constructor Description CanUpdate(Entity entity)
EnteringChunk(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
Fields in net.minecraftforge.event.entity.living declared as Entity Modifier and Type Field Description private Entity
LivingEvent.LivingVisibilityEvent. lookingEntity
Methods in net.minecraftforge.event.entity.living that return Entity Modifier and Type Method Description Entity
LivingEvent.LivingVisibilityEvent. getLookingEntity()
Constructors in net.minecraftforge.event.entity.living with parameters of type Entity Constructor Description EntityTeleportEvent(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
Fields in net.minecraftforge.event.entity.player declared as Entity Modifier and Type Field Description private Entity
AttackEntityEvent. target
private Entity
CriticalHitEvent. target
private Entity
PlayerEvent.StartTracking. target
private Entity
PlayerEvent.StopTracking. target
private Entity
PlayerInteractEvent.EntityInteract. target
private Entity
PlayerInteractEvent.EntityInteractSpecific. target
Methods in net.minecraftforge.event.entity.player that return Entity Modifier and Type Method Description Entity
AttackEntityEvent. getTarget()
Entity
CriticalHitEvent. getTarget()
The Entity that was damaged by the player.Entity
PlayerEvent.StartTracking. getTarget()
The Entity now being tracked.Entity
PlayerEvent.StopTracking. getTarget()
The Entity no longer being tracked.Entity
PlayerInteractEvent.EntityInteract. getTarget()
Entity
PlayerInteractEvent.EntityInteractSpecific. getTarget()
Constructors in net.minecraftforge.event.entity.player with parameters of type Entity Constructor Description AttackEntityEvent(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
Fields in net.minecraftforge.event.world declared as Entity Modifier and Type Field Description private Entity
BlockEvent.EntityPlaceEvent. entity
private Entity
BlockEvent.FarmlandTrampleEvent. entity
Fields in net.minecraftforge.event.world with type parameters of type Entity Modifier and Type Field Description private java.util.List<Entity>
ExplosionEvent.Detonate. entityList
Methods in net.minecraftforge.event.world that return Entity Modifier and Type Method Description Entity
BlockEvent.EntityPlaceEvent. getEntity()
Entity
BlockEvent.FarmlandTrampleEvent. getEntity()
Methods in net.minecraftforge.event.world that return types with arguments of type Entity Modifier and Type Method Description java.util.List<Entity>
ExplosionEvent.Detonate. getAffectedEntities()
return the list of entities affected by the explosion.Constructors in net.minecraftforge.event.world with parameters of type Entity Constructor Description EntityMultiPlaceEvent(java.util.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)
Constructor parameters in net.minecraftforge.event.world with type arguments of type Entity Constructor Description Detonate(World world, Explosion explosion, java.util.List<Entity> entityList)
-
Uses of Entity in net.minecraftforge.fml.client.registry
Classes in net.minecraftforge.fml.client.registry with type parameters of type Entity Modifier and Type Interface Description interface
IRenderFactory<T extends Entity>
Fields in net.minecraftforge.fml.client.registry with type parameters of type Entity Modifier and Type Field Description private java.util.Map<EntityType<? extends Entity>,IRenderFactory<? extends Entity>>
RenderingRegistry. entityRenderers
private java.util.Map<EntityType<? extends Entity>,IRenderFactory<? extends Entity>>
RenderingRegistry. entityRenderers
private static java.util.Map<java.lang.Class<? extends Entity>,ResourceLocation>
ClientRegistry. entityShaderMap
Methods in net.minecraftforge.fml.client.registry with type parameters of type Entity Modifier and Type Method Description private 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.Method parameters in net.minecraftforge.fml.client.registry with type arguments of type Entity Modifier and Type Method Description static ResourceLocation
ClientRegistry. getEntityShader(java.lang.Class<? extends Entity> entityClass)
static void
ClientRegistry. registerEntityShader(java.lang.Class<? extends Entity> entityClass, ResourceLocation shader)
Register a shader for an entity. -
Uses of Entity in net.minecraftforge.fml.network
Fields in net.minecraftforge.fml.network declared as Entity Modifier and Type Field Description private Entity
FMLPlayMessages.SpawnEntity. entity
Fields in net.minecraftforge.fml.network with type parameters of type Entity Modifier and Type Field Description static PacketDistributor<Entity>
PacketDistributor. TRACKING_ENTITY
Send to all tracking the Entity in the Supplier
PacketDistributor.with(Supplier)
Entitystatic PacketDistributor<Entity>
PacketDistributor. TRACKING_ENTITY_AND_SELF
Send to all tracking the Entity and Player in the Supplier
PacketDistributor.with(Supplier)
EntityMethods in net.minecraftforge.fml.network that return Entity Modifier and Type Method Description Entity
FMLPlayMessages.SpawnEntity. getEntity()
Methods in net.minecraftforge.fml.network with parameters of type Entity Modifier and Type Method Description static IPacket<?>
NetworkHooks. getEntitySpawningPacket(Entity entity)
Method parameters in net.minecraftforge.fml.network with type arguments of type Entity Modifier and Type Method Description private java.util.function.Consumer<IPacket<?>>
PacketDistributor. trackingEntity(java.util.function.Supplier<Entity> entitySupplier)
private java.util.function.Consumer<IPacket<?>>
PacketDistributor. trackingEntityAndSelf(java.util.function.Supplier<Entity> entitySupplier)
Constructors in net.minecraftforge.fml.network with parameters of type Entity Constructor Description SpawnEntity(Entity e)
-
Uses of Entity in net.minecraftforge.server.command
Methods in net.minecraftforge.server.command with parameters of type Entity Modifier and Type Method Description private static boolean
CommandSetDimension. canEntityTeleport(Entity entity)
Deprecated.Method parameters in net.minecraftforge.server.command with type arguments of type Entity Modifier and Type Method Description private static int
CommandSetDimension. execute(com.mojang.brigadier.context.CommandContext<CommandSource> ctx, java.util.Collection<? extends Entity> entities, ServerWorld dim, BlockPos pos)
Deprecated. -
Uses of Entity in net.minecraftforge.server.permission.context
Fields in net.minecraftforge.server.permission.context declared as Entity Modifier and Type Field Description private Entity
TargetContext. target
Fields in net.minecraftforge.server.permission.context with type parameters of type Entity Modifier and Type Field Description static 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.Constructors in net.minecraftforge.server.permission.context with parameters of type Entity Constructor Description TargetContext(PlayerEntity ep, Entity entity)
-
Uses of Entity in net.minecraftforge.server.timings
Fields in net.minecraftforge.server.timings with type parameters of type Entity Modifier and Type Field Description static TimeTracker<Entity>
TimeTracker. ENTITY_UPDATE
A tracker for timing entity updates
-