Uses of Class
net.minecraft.world.entity.Entity
Package
Description
-
Uses of Entity in net.minecraft.advancements.critereon
Modifier and TypeMethodDescriptionstatic LootContext
EntityPredicate.createContext(ServerPlayer p_36617_, Entity p_36618_)
static CompoundTag
NbtPredicate.getEntityTagToCompare(Entity p_57486_)
boolean
boolean
boolean
EntityPredicate.matches(ServerLevel p_36608_, Vec3 p_36609_, Entity p_36610_)
boolean
EntityPredicate.matches(ServerPlayer p_36612_, Entity p_36613_)
boolean
boolean
LighthingBoltPredicate.matches(Entity p_153247_, ServerLevel p_153248_, Vec3 p_153249_)
boolean
boolean
boolean
void
EffectsChangedTrigger.trigger(ServerPlayer p_149263_, Entity p_149264_)
void
ItemPickedUpByEntityTrigger.trigger(ServerPlayer p_44364_, ItemStack p_44365_, Entity p_44366_)
void
KilledTrigger.trigger(ServerPlayer p_48105_, Entity p_48106_, DamageSource p_48107_)
void
PlayerHurtEntityTrigger.trigger(ServerPlayer p_60113_, Entity p_60114_, DamageSource p_60115_, float p_60116_, float p_60117_, boolean p_60118_)
void
PlayerInteractTrigger.trigger(ServerPlayer p_61495_, ItemStack p_61496_, Entity p_61497_)
void
SummonedEntityTrigger.trigger(ServerPlayer p_68257_, Entity p_68258_)
void
TargetBlockTrigger.trigger(ServerPlayer p_70212_, Entity p_70213_, Vec3 p_70214_, int p_70215_)
Modifier and TypeMethodDescriptionvoid
ChanneledLightningTrigger.trigger(ServerPlayer p_21722_, Collection<? extends Entity> p_21723_)
void
KilledByCrossbowTrigger.trigger(ServerPlayer p_46872_, Collection<Entity> p_46873_)
void
LightningStrikeTrigger.trigger(ServerPlayer p_153392_, LightningBolt p_153393_, List<Entity> p_153394_)
-
Uses of Entity in net.minecraft.client
Modifier and TypeFieldDescriptionMinecraft.cameraEntity
Minecraft.crosshairPickEntity
private Entity
Camera.entity
Modifier and TypeMethodDescriptionvoid
Minecraft.setCameraEntity(Entity p_91119_)
void
Camera.setup(BlockGetter p_90576_, Entity p_90577_, boolean p_90578_, boolean p_90579_, float p_90580_)
boolean
Minecraft.shouldEntityAppearGlowing(Entity p_91315_)
-
Uses of Entity in net.minecraft.client.gui
Modifier and TypeMethodDescriptionprotected void
Gui.renderVignette(Entity p_93068_)
private void
Gui.updateVignetteBrightness(Entity p_93021_)
-
Uses of Entity in net.minecraft.client.model
Modifier and TypeClassDescriptionclass
AgeableListModel<E extends Entity>
class
BlazeModel<T extends Entity>
class
ChickenModel<T extends Entity>
class
class
ColorableAgeableListModel<E extends Entity>
class
ColorableHierarchicalModel<E extends Entity>
class
class
CreeperModel<T extends Entity>
class
DolphinModel<T extends Entity>
class
EndermiteModel<T extends Entity>
class
EntityModel<T extends Entity>
class
EvokerFangsModel<T extends Entity>
class
GhastModel<T extends Entity>
class
HierarchicalModel<E extends Entity>
class
LeashKnotModel<T extends Entity>
class
class
LlamaSpitModel<T extends Entity>
class
MinecartModel<T extends Entity>
class
OcelotModel<T extends Entity>
class
class
PufferfishBigModel<T extends Entity>
class
PufferfishMidModel<T extends Entity>
class
PufferfishSmallModel<T extends Entity>
class
QuadrupedModel<T extends Entity>
class
SalmonModel<T extends Entity>
class
ShulkerBulletModel<T extends Entity>
class
SilverfishModel<T extends Entity>
class
SlimeModel<T extends Entity>
class
SnowGolemModel<T extends Entity>
class
SpiderModel<T extends Entity>
class
SquidModel<T extends Entity>
class
TropicalFishModelA<T extends Entity>
class
TropicalFishModelB<T extends Entity>
class
VillagerModel<T extends Entity>
class
WitchModel<T extends Entity>
-
Uses of Entity in net.minecraft.client.multiplayer
Modifier and TypeFieldDescriptionprivate TransientEntitySectionManager<Entity>
ClientLevel.entityStorage
Modifier and TypeMethodDescriptionClientLevel.entitiesForRendering()
protected LevelEntityGetter<Entity>
ClientLevel.getEntities()
Modifier and TypeMethodDescriptionprivate void
void
void
MultiPlayerGameMode.interact(Player p_105227_, Entity p_105228_, InteractionHand p_105229_)
MultiPlayerGameMode.interactAt(Player p_105231_, Entity p_105232_, EntityHitResult p_105233_, InteractionHand p_105234_)
void
void
ClientLevel.EntityCallbacks.onDestroyed(Entity p_171700_)
void
ClientLevel.EntityCallbacks.onTickingEnd(Entity p_171708_)
void
ClientLevel.EntityCallbacks.onTickingStart(Entity p_171704_)
void
ClientLevel.EntityCallbacks.onTrackingEnd(Entity p_171716_)
void
ClientLevel.EntityCallbacks.onTrackingStart(Entity p_171712_)
void
ClientLevel.playSound(Player p_104659_, Entity p_104660_, SoundEvent p_104661_, SoundSource p_104662_, float p_104663_, float p_104664_)
void
ClientLevel.putNonPlayerEntity(int p_104628_, Entity p_104629_)
void
ClientLevel.tickNonPassenger(Entity p_104640_)
private void
ClientLevel.tickPassenger(Entity p_104642_, Entity p_104643_)
-
Uses of Entity in net.minecraft.client.particle
Modifier and TypeFieldDescriptionprivate Entity
TrackingEmitter.entity
private Entity
ItemPickupParticle.itemEntity
private Entity
ItemPickupParticle.target
Modifier and TypeMethodDescriptionprivate Entity
ItemPickupParticle.getSafeCopy(Entity p_107037_)
Modifier and TypeMethodDescriptionvoid
ParticleEngine.createTrackingEmitter(Entity p_107330_, ParticleOptions p_107331_)
void
ParticleEngine.createTrackingEmitter(Entity p_107333_, ParticleOptions p_107334_, int p_107335_)
private Entity
ItemPickupParticle.getSafeCopy(Entity p_107037_)
ModifierConstructorDescriptionItemPickupParticle(EntityRenderDispatcher p_107023_, RenderBuffers p_107024_, ClientLevel p_107025_, Entity p_107026_, Entity p_107027_)
private
ItemPickupParticle(EntityRenderDispatcher p_107029_, RenderBuffers p_107030_, ClientLevel p_107031_, Entity p_107032_, Entity p_107033_, Vec3 p_107034_)
TrackingEmitter(ClientLevel p_108390_, Entity p_108391_, ParticleOptions p_108392_)
TrackingEmitter(ClientLevel p_108394_, Entity p_108395_, ParticleOptions p_108396_, int p_108397_)
private
TrackingEmitter(ClientLevel p_108399_, Entity p_108400_, ParticleOptions p_108401_, int p_108402_, Vec3 p_108403_)
-
Uses of Entity in net.minecraft.client.player
-
Uses of Entity in net.minecraft.client.renderer
Modifier and TypeMethodDescriptionvoid
GameRenderer.checkEntityPostEffect(Entity p_109107_)
private void
LevelRenderer.renderEntity(Entity p_109518_, double p_109519_, double p_109520_, double p_109521_, float p_109522_, PoseStack p_109523_, MultiBufferSource p_109524_)
private void
LevelRenderer.renderHitOutline(PoseStack p_109638_, VertexConsumer p_109639_, Entity p_109640_, double p_109641_, double p_109642_, double p_109643_, BlockPos p_109644_, BlockState p_109645_)
-
Uses of Entity in net.minecraft.client.renderer.debug
Modifier and TypeMethodDescriptionDebugRenderer.getTargetedEntity(Entity p_113449_, int p_113450_)
Modifier and TypeMethodDescriptionDebugRenderer.getTargetedEntity(Entity p_113449_, int p_113450_)
boolean
GameEventListenerRenderer.TrackedListener.handleGameEvent(Level p_173878_, GameEvent p_173879_, Entity p_173880_, BlockPos p_173881_)
-
Uses of Entity in net.minecraft.client.renderer.entity
Modifier and TypeClassDescriptionclass
EntityRenderer<T extends Entity>
interface
EntityRendererProvider<T extends Entity>
class
NoopRenderer<T extends Entity>
interface
RenderLayerParent<T extends Entity,M extends EntityModel<T>>
class
ThrownItemRenderer<T extends Entity & ItemSupplier>
Modifier and TypeMethodDescription<E extends Entity>
intEntityRenderDispatcher.getPackedLightCoords(E p_114395_, float p_114396_)
<T extends Entity>
EntityRenderer<? super T>EntityRenderDispatcher.getRenderer(T p_114383_)
static <T extends Entity>
voidEntityRenderers.register(EntityType<? extends T> p_174037_, EntityRendererProvider<T> p_174038_)
<E extends Entity>
voidEntityRenderDispatcher.render(E p_114385_, double p_114386_, double p_114387_, double p_114388_, float p_114389_, float p_114390_, PoseStack p_114391_, MultiBufferSource p_114392_, int p_114393_)
private <E extends Entity>
voidMobRenderer.renderLeash(T p_115462_, float p_115463_, PoseStack p_115464_, MultiBufferSource p_115465_, E p_115466_)
<E extends Entity>
booleanEntityRenderDispatcher.shouldRender(E p_114398_, Frustum p_114399_, double p_114400_, double p_114401_, double p_114402_)
Modifier and TypeMethodDescriptiondouble
EntityRenderDispatcher.distanceToSqr(Entity p_114472_)
ThrownItemRenderer.getTextureLocation(Entity p_116083_)
void
private void
EntityRenderDispatcher.renderFlame(PoseStack p_114454_, MultiBufferSource p_114455_, Entity p_114456_)
private static void
EntityRenderDispatcher.renderHitbox(PoseStack p_114442_, VertexConsumer p_114443_, Entity p_114444_, float p_114445_)
private static void
EntityRenderDispatcher.renderShadow(PoseStack p_114458_, MultiBufferSource p_114459_, Entity p_114460_, float p_114461_, float p_114462_, LevelReader p_114463_, float p_114464_)
-
Uses of Entity in net.minecraft.client.renderer.entity.layers
Modifier and TypeClassDescriptionclass
EnergySwirlLayer<T extends Entity & PowerableMob,M extends EntityModel<T>>
class
EyesLayer<T extends Entity,M extends EntityModel<T>>
class
RenderLayer<T extends Entity,M extends EntityModel<T>>
class
SaddleLayer<T extends Entity & Saddleable,M extends EntityModel<T>>
class
SpiderEyesLayer<T extends Entity,M extends SpiderModel<T>>
Modifier and TypeMethodDescriptionHumanoidArmorLayer.getArmorResource(Entity entity, ItemStack stack, EquipmentSlot slot, String type)
More generic ForgeHook version of the above function, it allows for Items to have more control over what texture they provide.protected void
ArrowLayer.renderStuckItem(PoseStack p_116569_, MultiBufferSource p_116570_, int p_116571_, Entity p_116572_, float p_116573_, float p_116574_, float p_116575_, float p_116576_)
protected void
BeeStingerLayer.renderStuckItem(PoseStack p_116584_, MultiBufferSource p_116585_, int p_116586_, Entity p_116587_, float p_116588_, float p_116589_, float p_116590_, float p_116591_)
protected abstract void
StuckInBodyLayer.renderStuckItem(PoseStack p_117566_, MultiBufferSource p_117567_, int p_117568_, Entity p_117569_, float p_117570_, float p_117571_, float p_117572_, float p_117573_)
-
Uses of Entity in net.minecraft.client.resources.sounds
ModifierConstructorDescriptionEntityBoundSoundInstance(SoundEvent p_119677_, SoundSource p_119678_, float p_119679_, float p_119680_, Entity p_119681_)
-
Uses of Entity in net.minecraft.commands
Modifier and TypeMethodDescriptionCommandSourceStack.getEntity()
CommandSourceStack.getEntityOrException()
Modifier and TypeMethodDescriptionCommandSourceStack.facing(Entity p_81332_, EntityAnchorArgument.Anchor p_81333_)
CommandSourceStack.withEntity(Entity p_81330_)
ModifierConstructorDescriptionCommandSourceStack(CommandSource p_81302_, Vec3 p_81303_, Vec2 p_81304_, ServerLevel p_81305_, int p_81306_, String p_81307_, Component p_81308_, MinecraftServer p_81309_, Entity p_81310_)
protected
CommandSourceStack(CommandSource p_81312_, Vec3 p_81313_, Vec2 p_81314_, ServerLevel p_81315_, int p_81316_, String p_81317_, Component p_81318_, MinecraftServer p_81319_, Entity p_81320_, boolean p_81321_, com.mojang.brigadier.ResultConsumer<CommandSourceStack> p_81322_, EntityAnchorArgument.Anchor p_81323_)
-
Uses of Entity in net.minecraft.commands.arguments
Modifier and TypeFieldDescriptionprivate BiFunction<Vec3,Entity,Vec3>
EntityAnchorArgument.Anchor.transform
Modifier and TypeMethodDescriptionstatic Entity
EntityArgument.getEntity(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_91453_, String p_91454_)
Modifier and TypeMethodDescriptionstatic Collection<? extends Entity>
EntityArgument.getEntities(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_91462_, String p_91463_)
static Collection<? extends Entity>
EntityArgument.getOptionalEntities(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_91468_, String p_91469_)
-
Uses of Entity in net.minecraft.commands.arguments.selector
Modifier and TypeFieldDescriptionprivate static EntityTypeTest<Entity,?>
EntitySelector.ANY_TYPE
private BiConsumer<Vec3,List<? extends Entity>>
EntitySelector.order
private BiConsumer<Vec3,List<? extends Entity>>
EntitySelectorParser.order
static BiConsumer<Vec3,List<? extends Entity>>
EntitySelectorParser.ORDER_ARBITRARY
static BiConsumer<Vec3,List<? extends Entity>>
EntitySelectorParser.ORDER_FURTHEST
static BiConsumer<Vec3,List<? extends Entity>>
EntitySelectorParser.ORDER_NEAREST
static BiConsumer<Vec3,List<? extends Entity>>
EntitySelectorParser.ORDER_RANDOM
EntitySelector.predicate
EntitySelectorParser.predicate
private EntityTypeTest<Entity,?>
EntitySelector.type
Modifier and TypeMethodDescriptionEntitySelector.sortAndLimit(Vec3 p_121150_, List<T> p_121151_)
Modifier and TypeMethodDescriptionEntitySelectorParser.createRotationPredicate(WrappedMinMaxBounds p_121255_, ToDoubleFunction<Entity> p_121256_)
EntitySelector.findEntities(CommandSourceStack p_121161_)
BiConsumer<Vec3,List<? extends Entity>>
EntitySelectorParser.getOrder()
EntitySelector.getPredicate(Vec3 p_121145_)
Modifier and TypeMethodDescriptionprivate void
EntitySelector.addEntities(List<Entity> p_121155_, ServerLevel p_121156_, Vec3 p_121157_, Predicate<Entity> p_121158_)
private void
EntitySelector.addEntities(List<Entity> p_121155_, ServerLevel p_121156_, Vec3 p_121157_, Predicate<Entity> p_121158_)
void
EntitySelectorParser.addPredicate(Predicate<Entity> p_121273_)
EntitySelectorParser.createRotationPredicate(WrappedMinMaxBounds p_121255_, ToDoubleFunction<Entity> p_121256_)
static Component
void
EntitySelectorParser.setOrder(BiConsumer<Vec3,List<? extends Entity>> p_121269_)
ModifierConstructorDescriptionEntitySelector(int p_121125_, boolean p_121126_, boolean p_121127_, Predicate<Entity> p_121128_, MinMaxBounds.Doubles p_121129_, Function<Vec3,Vec3> p_121130_, AABB p_121131_, BiConsumer<Vec3,List<? extends Entity>> p_121132_, boolean p_121133_, String p_121134_, UUID p_121135_, EntityType<?> p_121136_, boolean p_121137_)
EntitySelector(int p_121125_, boolean p_121126_, boolean p_121127_, Predicate<Entity> p_121128_, MinMaxBounds.Doubles p_121129_, Function<Vec3,Vec3> p_121130_, AABB p_121131_, BiConsumer<Vec3,List<? extends Entity>> p_121132_, boolean p_121133_, String p_121134_, UUID p_121135_, EntityType<?> p_121136_, boolean p_121137_)
-
Uses of Entity in net.minecraft.core
Modifier and TypeMethodDescriptionstatic Direction
Direction.getFacingAxis(Entity p_175358_, Direction.Axis p_175359_)
static SectionPos
static Direction[]
Direction.orderedByNearest(Entity p_122383_)
-
Uses of Entity in net.minecraft.core.dispenser
Modifier and TypeMethodDescriptionstatic void
DispenseItemBehavior.setEntityPokingOutOfBlock(BlockSource p_123396_, Entity p_123397_, Direction p_123398_)
-
Uses of Entity in net.minecraft.gametest.framework
Modifier and TypeMethodDescription<E extends Entity, T>
voidGameTestHelper.assertEntityData(BlockPos p_177238_, EntityType<E> p_177239_, Function<? super E,T> p_177240_, T p_177241_)
<E extends Entity, T>
voidGameTestHelper.assertEntityProperty(E p_177148_, Function<E,T> p_177149_, String p_177150_, T p_177151_)
<E extends Entity>
voidGameTestHelper.assertEntityProperty(E p_177153_, Predicate<E> p_177154_, String p_177155_)
<E extends Entity>
EGameTestHelper.spawn(EntityType<E> p_177164_, float p_177165_, float p_177166_, float p_177167_)
<E extends Entity>
EGameTestHelper.spawn(EntityType<E> p_177169_, int p_177170_, int p_177171_, int p_177172_)
<E extends Entity>
EGameTestHelper.spawn(EntityType<E> p_177177_, BlockPos p_177178_)
<E extends Entity>
EGameTestHelper.spawn(EntityType<E> p_177174_, Vec3 p_177175_)
<E extends Entity, T>
voidGameTestHelper.succeedWhenEntityData(BlockPos p_177350_, EntityType<E> p_177351_, Function<E,T> p_177352_, T p_177353_)
Modifier and TypeMethodDescriptionvoid
GameTestHelper.assertEntityInstancePresent(Entity p_177133_, int p_177134_, int p_177135_, int p_177136_)
void
GameTestHelper.assertEntityInstancePresent(Entity p_177141_, BlockPos p_177142_)
void
-
Uses of Entity in net.minecraft.network.chat
Modifier and TypeMethodDescriptionContextAwareComponent.resolve(CommandSourceStack p_130756_, Entity p_130757_, int p_130758_)
NbtComponent.resolve(CommandSourceStack p_130964_, Entity p_130965_, int p_130966_)
ScoreComponent.resolve(CommandSourceStack p_131059_, Entity p_131060_, int p_131061_)
SelectorComponent.resolve(CommandSourceStack p_131089_, Entity p_131090_, int p_131091_)
TranslatableComponent.resolve(CommandSourceStack p_131310_, Entity p_131311_, int p_131312_)
private static Style
ComponentUtils.resolveStyle(CommandSourceStack p_130737_, Style p_130738_, Entity p_130739_, int p_130740_)
static Optional<MutableComponent>
ComponentUtils.updateForEntity(CommandSourceStack p_178425_, Optional<Component> p_178426_, Entity p_178427_, int p_178428_)
static MutableComponent
ComponentUtils.updateForEntity(CommandSourceStack p_130732_, Component p_130733_, Entity p_130734_, int p_130735_)
-
Uses of Entity in net.minecraft.network.protocol.game
Modifier and TypeMethodDescriptionServerboundTeleportToEntityPacket.getEntity(ServerLevel p_134682_)
ServerboundInteractPacket.getTarget(ServerLevel p_179604_)
Modifier and TypeMethodDescriptionstatic ServerboundInteractPacket
ServerboundInteractPacket.createAttackPacket(Entity p_179606_, boolean p_179607_)
static ServerboundInteractPacket
ServerboundInteractPacket.createInteractionPacket(Entity p_179609_, boolean p_179610_, InteractionHand p_179611_)
static ServerboundInteractPacket
ServerboundInteractPacket.createInteractionPacket(Entity p_179613_, boolean p_179614_, InteractionHand p_179615_, Vec3 p_179616_)
static String
DebugEntityNameGenerator.getEntityName(Entity p_179487_)
ModifierConstructorDescriptionClientboundAddEntityPacket(Entity p_131481_)
ClientboundAddEntityPacket(Entity p_131483_, int p_131484_)
ClientboundAddEntityPacket(Entity p_131486_, EntityType<?> p_131487_, int p_131488_, BlockPos p_131489_)
ClientboundAnimatePacket(Entity p_131616_, int p_131617_)
ClientboundEntityEventPacket(Entity p_132092_, byte p_132093_)
ClientboundMoveVehiclePacket(Entity p_132584_)
ClientboundPlayerLookAtPacket(EntityAnchorArgument.Anchor p_132782_, Entity p_132783_, EntityAnchorArgument.Anchor p_132784_)
ClientboundRotateHeadPacket(Entity p_132967_, byte p_132968_)
ClientboundSetCameraPacket(Entity p_133058_)
ClientboundSetEntityLinkPacket(Entity p_133164_, Entity p_133165_)
ClientboundSetEntityMotionPacket(Entity p_133185_)
ClientboundSetPassengersPacket(Entity p_133276_)
ClientboundSoundEntityPacket(SoundEvent p_133415_, SoundSource p_133416_, Entity p_133417_, float p_133418_, float p_133419_)
ClientboundTeleportEntityPacket(Entity p_133538_)
ServerboundMoveVehiclePacket(Entity p_134192_)
ServerboundPlayerCommandPacket(Entity p_134306_, ServerboundPlayerCommandPacket.Action p_134307_)
ServerboundPlayerCommandPacket(Entity p_134309_, ServerboundPlayerCommandPacket.Action p_134310_, int p_134311_)
-
Uses of Entity in net.minecraft.network.syncher
Modifier and TypeMethodDescriptionstatic <T> EntityDataAccessor<T>
SynchedEntityData.defineId(Class<? extends Entity> p_135354_, EntityDataSerializer<T> p_135355_)
-
Uses of Entity in net.minecraft.server.commands
Modifier and TypeMethodDescriptionprivate static int
AttributeCommand.addModifier(CommandSourceStack p_136470_, Entity p_136471_, Attribute p_136472_, UUID p_136473_, String p_136474_, double p_136475_, AttributeModifier.Operation p_136476_)
private static int
LootCommand.dropKillLoot(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_137906_, Entity p_137907_, LootCommand.DropConsumer p_137908_)
private static int
ItemCommands.entityToBlock(CommandSourceStack p_180258_, Entity p_180259_, int p_180260_, BlockPos p_180261_, int p_180262_)
private static int
ItemCommands.entityToBlock(CommandSourceStack p_180264_, Entity p_180265_, int p_180266_, BlockPos p_180267_, int p_180268_, LootItemFunction p_180269_)
private static int
ItemCommands.entityToEntities(CommandSourceStack p_180271_, Entity p_180272_, int p_180273_, Collection<? extends Entity> p_180274_, int p_180275_)
private static int
ItemCommands.entityToEntities(CommandSourceStack p_180277_, Entity p_180278_, int p_180279_, Collection<? extends Entity> p_180280_, int p_180281_, LootItemFunction p_180282_)
private static int
AttributeCommand.getAttributeBase(CommandSourceStack p_136492_, Entity p_136493_, Attribute p_136494_, double p_136495_)
private static AttributeInstance
AttributeCommand.getAttributeInstance(Entity p_136442_, Attribute p_136443_)
private static int
AttributeCommand.getAttributeModifier(CommandSourceStack p_136464_, Entity p_136465_, Attribute p_136466_, UUID p_136467_, double p_136468_)
private static int
AttributeCommand.getAttributeValue(CommandSourceStack p_136454_, Entity p_136455_, Attribute p_136456_, double p_136457_)
private static ItemStack
ItemCommands.getEntityItem(Entity p_180246_, int p_180247_)
private static LivingEntity
AttributeCommand.getEntityWithAttribute(Entity p_136487_, Attribute p_136488_)
private static LivingEntity
AttributeCommand.getLivingEntity(Entity p_136440_)
void
TeleportCommand.LookAt.perform(CommandSourceStack p_139061_, Entity p_139062_)
private static void
TeleportCommand.performTeleport(CommandSourceStack p_139015_, Entity p_139016_, ServerLevel p_139017_, double p_139018_, double p_139019_, double p_139020_, Set<ClientboundPlayerPositionPacket.RelativeArgument> p_139021_, float p_139022_, float p_139023_, TeleportCommand.LookAt p_139024_)
private static int
AttributeCommand.removeModifier(CommandSourceStack p_136459_, Entity p_136460_, Attribute p_136461_, UUID p_136462_)
private static int
AttributeCommand.setAttributeBase(CommandSourceStack p_136503_, Entity p_136504_, Attribute p_136505_, double p_136506_)
private static void
LootCommand.setSlots(Entity p_137889_, List<ItemStack> p_137890_, int p_137891_, int p_137892_, List<ItemStack> p_137893_)
private static int
SpectateCommand.spectate(CommandSourceStack p_138684_, Entity p_138685_, ServerPlayer p_138686_)
private static int
TeleportCommand.teleportToEntity(CommandSourceStack p_139033_, Collection<? extends Entity> p_139034_, Entity p_139035_)
Modifier and TypeMethodDescriptionprivate static int
TagCommand.addTag(CommandSourceStack p_138849_, Collection<? extends Entity> p_138850_, String p_138851_)
private static int
ItemCommands.blockToEntities(CommandSourceStack p_180315_, BlockPos p_180316_, int p_180317_, Collection<? extends Entity> p_180318_, int p_180319_)
private static int
ItemCommands.blockToEntities(CommandSourceStack p_180321_, BlockPos p_180322_, int p_180323_, Collection<? extends Entity> p_180324_, int p_180325_, LootItemFunction p_180326_)
private static int
EffectCommands.clearEffect(CommandSourceStack p_136963_, Collection<? extends Entity> p_136964_, MobEffect p_136965_)
private static int
EffectCommands.clearEffects(CommandSourceStack p_136960_, Collection<? extends Entity> p_136961_)
private static int
EnchantCommand.enchant(CommandSourceStack p_137015_, Collection<? extends Entity> p_137016_, Enchantment p_137017_, int p_137018_)
private static int
LootCommand.entityReplace(Collection<? extends Entity> p_137979_, int p_137980_, int p_137981_, List<ItemStack> p_137982_, LootCommand.Callback p_137983_)
private static int
ItemCommands.entityToEntities(CommandSourceStack p_180271_, Entity p_180272_, int p_180273_, Collection<? extends Entity> p_180274_, int p_180275_)
private static int
ItemCommands.entityToEntities(CommandSourceStack p_180277_, Entity p_180278_, int p_180279_, Collection<? extends Entity> p_180280_, int p_180281_, LootItemFunction p_180282_)
private static int
SpreadPlayersCommand.getNumberOfTeams(Collection<? extends Entity> p_138728_)
private static Collection<String>
TagCommand.getTags(Collection<? extends Entity> p_138853_)
private static int
EffectCommands.giveEffect(CommandSourceStack p_136967_, Collection<? extends Entity> p_136968_, MobEffect p_136969_, Integer p_136970_, int p_136971_, boolean p_136972_)
private static int
KillCommand.kill(CommandSourceStack p_137814_, Collection<? extends Entity> p_137815_)
private static int
TagCommand.listTags(CommandSourceStack p_138846_, Collection<? extends Entity> p_138847_)
private static int
ItemCommands.modifyEntityItem(CommandSourceStack p_180337_, Collection<? extends Entity> p_180338_, int p_180339_, LootItemFunction p_180340_)
private static int
TagCommand.removeTag(CommandSourceStack p_138857_, Collection<? extends Entity> p_138858_, String p_138859_)
private static int
ItemCommands.setEntityItem(CommandSourceStack p_180332_, Collection<? extends Entity> p_180333_, int p_180334_, ItemStack p_180335_)
private static double
SpreadPlayersCommand.setPlayerPositions(Collection<? extends Entity> p_138730_, ServerLevel p_138731_, SpreadPlayersCommand.Position[] p_138732_, int p_138733_, boolean p_138734_)
private static int
SpreadPlayersCommand.spreadPlayers(CommandSourceStack p_138703_, Vec2 p_138704_, float p_138705_, float p_138706_, int p_138707_, boolean p_138708_, Collection<? extends Entity> p_138709_)
private static int
TeleportCommand.teleportToEntity(CommandSourceStack p_139033_, Collection<? extends Entity> p_139034_, Entity p_139035_)
private static int
TeleportCommand.teleportToPos(CommandSourceStack p_139026_, Collection<? extends Entity> p_139027_, ServerLevel p_139028_, Coordinates p_139029_, Coordinates p_139030_, TeleportCommand.LookAt p_139031_)
-
Uses of Entity in net.minecraft.server.commands.data
-
Uses of Entity in net.minecraft.server.level
Modifier and TypeFieldDescriptionprivate Entity
ServerPlayer.camera
(package private) Entity
ChunkMap.TrackedEntity.entity
private Entity
ServerEntity.entity
Modifier and TypeFieldDescriptionprivate PersistentEntitySectionManager<Entity>
ServerLevel.entityManager
ServerEntity.lastPassengers
Modifier and TypeMethodDescriptionServerLevel.getEntities(EntityTypeTest<Entity,T> p_143281_, Predicate<? super T> p_143282_)
WorldGenRegion.getEntities(EntityTypeTest<Entity,T> p_143494_, AABB p_143495_, Predicate<? super T> p_143496_)
Modifier and TypeMethodDescriptionServerPlayer.changeDimension(ServerLevel p_9180_, ITeleporter teleporter)
ServerPlayer.getCamera()
ServerLevel.getEntity(int p_8597_)
ServerLevel.getEntityOrPart(int p_143318_)
Deprecated.Modifier and TypeMethodDescriptionServerLevel.getAllEntities()
ServerLevel.getEntities()
WorldGenRegion.getEntities(Entity p_9519_, AABB p_9520_, Predicate<? super Entity> p_9521_)
Modifier and TypeMethodDescriptionvoid
ServerLevel.addDuringTeleport(Entity p_143335_)
protected void
void
private boolean
boolean
ServerLevel.addFreshEntity(Entity p_8837_)
boolean
WorldGenRegion.addFreshEntity(Entity p_9580_)
boolean
ServerLevel.addWithUUID(Entity p_8848_)
void
void
ServerPlayer.awardKillScore(Entity p_9050_, int p_9051_, DamageSource p_9052_)
void
void
protected void
ChunkMap.broadcastAndSend(Entity p_140334_, Packet<?> p_140335_)
void
ServerChunkCache.broadcastAndSend(Entity p_8395_, Packet<?> p_8396_)
void
ServerLevel.broadcastEntityEvent(Entity p_8650_, byte p_8651_)
private static int
ChunkMap.checkerboardDistance(ChunkPos p_143120_, Entity p_143121_)
void
boolean
WorldGenRegion.destroyBlock(BlockPos p_9550_, boolean p_9551_, Entity p_9552_, int p_9553_)
private static double
ChunkMap.euclideanDistanceSquared(ChunkPos p_140227_, Entity p_140228_)
ServerLevel.explode(Entity p_8653_, DamageSource p_8654_, ExplosionDamageCalculator p_8655_, double p_8656_, double p_8657_, double p_8658_, float p_8659_, boolean p_8660_, Explosion.BlockInteraction p_8661_)
void
void
WorldGenRegion.getEntities(Entity p_9519_, AABB p_9520_, Predicate<? super Entity> p_9521_)
void
ServerPlayer.lookAt(EntityAnchorArgument.Anchor p_9108_, Entity p_9109_, EntityAnchorArgument.Anchor p_9110_)
void
void
void
ServerLevel.EntityCallbacks.onDestroyed(Entity p_143359_)
protected void
ServerPlayer.onEffectAdded(MobEffectInstance p_143393_, Entity p_143394_)
protected void
ServerPlayer.onEffectUpdated(MobEffectInstance p_143396_, boolean p_143397_, Entity p_143398_)
void
ServerLevel.onReputationEvent(ReputationEventType p_8671_, Entity p_8672_, ReputationEventHandler p_8673_)
void
ServerLevel.EntityCallbacks.onTickingEnd(Entity p_143367_)
void
ServerLevel.EntityCallbacks.onTickingStart(Entity p_143363_)
void
ServerLevel.EntityCallbacks.onTrackingEnd(Entity p_143375_)
void
ServerLevel.EntityCallbacks.onTrackingStart(Entity p_143371_)
void
ServerLevel.playSound(Player p_8689_, Entity p_8690_, SoundEvent p_8691_, SoundSource p_8692_, float p_8693_, float p_8694_)
protected void
ChunkMap.removeEntity(Entity p_140332_)
void
ServerChunkCache.removeEntity(Entity p_8444_)
void
ServerLevel.removeEntity(Entity entity)
void
ServerLevel.removeEntity(Entity p_8868_, boolean keepData)
void
ServerLevel.removeEntityComplete(Entity p_8865_, boolean keepData)
void
private boolean
ServerLevel.shouldDiscardEntity(Entity p_143343_)
boolean
ServerPlayer.startRiding(Entity p_9054_, boolean p_9055_)
void
void
ServerLevel.tickNonPassenger(Entity p_8648_)
private void
ServerLevel.tickPassenger(Entity p_8663_, Entity p_8664_)
boolean
ServerLevel.tryAddFreshEntityWithPassengers(Entity p_8861_)
Modifier and TypeMethodDescriptionvoid
ServerLevel.addLegacyChunkEntities(Stream<Entity> p_143312_)
void
ServerLevel.addWorldGenChunkEntities(Stream<Entity> p_143328_)
private static void
ServerLevel.dumpEntities(Writer p_8782_, Iterable<Entity> p_8783_)
ServerLevel.getEntities(EntityTypeTest<Entity,T> p_143281_, Predicate<? super T> p_143282_)
WorldGenRegion.getEntities(Entity p_9519_, AABB p_9520_, Predicate<? super Entity> p_9521_)
WorldGenRegion.getEntities(EntityTypeTest<Entity,T> p_143494_, AABB p_143495_, Predicate<? super T> p_143496_)
WorldGenRegion.getNearestPlayer(double p_9501_, double p_9502_, double p_9503_, double p_9504_, Predicate<Entity> p_9505_)
ModifierConstructorDescriptionServerEntity(ServerLevel p_8528_, Entity p_8529_, int p_8530_, boolean p_8531_, Consumer<Packet<?>> p_8532_)
TrackedEntity(Entity p_140478_, int p_140479_, int p_140480_, boolean p_140481_)
-
Uses of Entity in net.minecraft.server.network
Modifier and TypeMethodDescriptionprivate boolean
ServerGamePacketListenerImpl.noBlocksAround(Entity p_9794_)
ServerGamePacketListenerImpl.EntityInteraction.run(ServerPlayer p_143695_, Entity p_143696_, InteractionHand p_143697_)
-
Uses of Entity in net.minecraft.world
Modifier and TypeMethodDescriptionstatic void
Containers.dropContents(Level p_18999_, Entity p_19000_, Container p_19001_)
-
Uses of Entity in net.minecraft.world.damagesource
Modifier and TypeFieldDescriptionprotected Entity
EntityDamageSource.entity
private Entity
IndirectEntityDamageSource.owner
Modifier and TypeMethodDescriptionCombatEntry.getAttacker()
DamageSource.getDirectEntity()
IndirectEntityDamageSource.getDirectEntity()
DamageSource.getEntity()
EntityDamageSource.getEntity()
IndirectEntityDamageSource.getEntity()
Modifier and TypeMethodDescriptionstatic DamageSource
DamageSource.arrow(AbstractArrow p_19347_, Entity p_19348_)
static DamageSource
static DamageSource
DamageSource.fireworks(FireworkRocketEntity p_19353_, Entity p_19354_)
static DamageSource
DamageSource.indirectMagic(Entity p_19368_, Entity p_19369_)
static DamageSource
DamageSource.indirectMobAttack(Entity p_19341_, LivingEntity p_19342_)
static DamageSource
static DamageSource
static DamageSource
static DamageSource
DamageSource.witherSkull(WitherSkull p_19356_, Entity p_19357_)
ModifierConstructorDescriptionEntityDamageSource(String p_19394_, Entity p_19395_)
IndirectEntityDamageSource(String p_19406_, Entity p_19407_, Entity p_19408_)
-
Uses of Entity in net.minecraft.world.effect
Modifier and TypeMethodDescriptionvoid
MobEffect.applyInstantenousEffect(Entity p_19462_, Entity p_19463_, LivingEntity p_19464_, int p_19465_, double p_19466_)
-
Uses of Entity in net.minecraft.world.entity
Modifier and TypeClassDescriptionclass
EntityType<T extends Entity>
static class
EntityType.Builder<T extends Entity>
static interface
EntityType.EntityFactory<T extends Entity>
static interface
SpawnPlacements.SpawnPredicate<T extends Entity>
Modifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
class
class
Modifier and TypeFieldDescriptionEntitySelector.CONTAINER_ENTITY_SELECTOR
EntitySelector.ENTITY_NOT_BEING_RIDDEN
EntitySelector.ENTITY_STILL_ALIVE
LightningBolt.hitEntities
EntitySelector.LIVING_ENTITY_STILL_ALIVE
EntitySelector.NO_CREATIVE_OR_SPECTATOR
EntitySelector.NO_SPECTATORS
private com.google.common.collect.ImmutableList<Entity>
Entity.passengers
AreaEffectCloud.victims
Modifier and TypeMethodDescriptionstatic <T extends Entity>
booleanSpawnPlacements.checkSpawnRules(EntityType<T> p_21760_, ServerLevelAccessor p_21761_, MobSpawnType p_21762_, BlockPos p_21763_, Random p_21764_)
static <T extends Entity>
EntityType.Builder<T>EntityType.Builder.createNothing(MobCategory p_20711_)
static <T extends Entity>
EntityType.Builder<T>EntityType.Builder.of(EntityType.EntityFactory<T> p_20705_, MobCategory p_20706_)
private static <T extends Entity>
EntityType<T>EntityType.register(String p_20635_, EntityType.Builder<T> p_20636_)
Modifier and TypeMethodDescriptionEntity.changeDimension(ServerLevel p_20118_)
Entity.changeDimension(ServerLevel p_20118_, ITeleporter teleporter)
static Entity
private static Entity
EntityType.create(Level p_20618_, EntityType<?> p_20619_)
Entity.getControllingPassenger()
Entity.getFirstPassenger()
Mob.getLeashHolder()
OwnableEntity.getOwner()
Entity.getRootVehicle()
Entity.getVehicle()
static Entity
EntityType.loadEntityRecursive(CompoundTag p_20646_, Level p_20647_, Function<Entity,Entity> p_20648_)
EntityType.spawn(ServerLevel p_20593_, ItemStack p_20594_, Player p_20595_, BlockPos p_20596_, MobSpawnType p_20597_, boolean p_20598_, boolean p_20599_)
Modifier and TypeMethodDescriptionEntityType.create(CompoundTag p_20643_, Level p_20644_)
EntityType.getBaseClass()
LightningBolt.getHitEntities()
Entity.getIndirectPassengers()
Entity.getIndirectPassengersStream()
Entity.getPassengers()
Entity.getPassengersAndSelf()
Entity.getSelfAndPassengers()
EntityType.loadEntitiesRecursive(List<? extends Tag> p_147046_, Level p_147047_)
EntityType.loadStaticEntity(CompoundTag p_20670_, Level p_20671_)
EntitySelector.pushableBy(Entity p_20422_)
EntitySelector.withinDistance(double p_20411_, double p_20412_, double p_20413_, double p_20414_)
Modifier and TypeMethodDescriptionvoid
boolean
LivingEntity.addEffect(MobEffectInstance p_147208_, Entity p_147209_)
protected void
Entity.addPassenger(Entity p_20349_)
protected void
Marker.addPassenger(Entity p_147260_)
void
Entity.awardKillScore(Entity p_19953_, int p_19954_, DamageSource p_19955_)
protected boolean
Entity.canAddPassenger(Entity p_20354_)
boolean
Entity.canCollideWith(Entity p_20303_)
protected boolean
boolean
Entity.closerThan(Entity p_19951_, double p_19952_)
static Vec3
Entity.collideBoundingBoxHeuristically(Entity p_19960_, Vec3 p_19961_, AABB p_19962_, Level p_19963_, CollisionContext p_19964_, RewindableStream<VoxelShape> p_19965_)
void
Entity.copyPosition(Entity p_20360_)
private void
LivingEntity.dismountVehicle(Entity p_21029_)
float
Entity.distanceTo(Entity p_20271_)
double
Entity.distanceToSqr(Entity p_20281_)
void
Entity.doEnchantDamageEffects(LivingEntity p_19971_, Entity p_19972_)
boolean
LivingEntity.doHurtTarget(Entity p_20970_)
boolean
Mob.doHurtTarget(Entity p_21372_)
protected void
void
LivingEntity.forceAddEffect(MobEffectInstance p_147216_, Entity p_147217_)
void
void
double
LivingEntity.getVisibilityPercent(Entity p_20969_)
boolean
Entity.hasIndirectPassenger(Entity p_20368_)
boolean
LivingEntity.hasLineOfSight(Entity p_147185_)
boolean
Entity.hasPassenger(Entity p_20364_)
boolean
boolean
Entity.isAlliedTo(Entity p_20355_)
boolean
TamableAnimal.isAlliedTo(Entity p_21833_)
boolean
Entity.isPassengerOfSameVehicle(Entity p_20366_)
void
protected void
LivingEntity.onEffectAdded(MobEffectInstance p_147190_, Entity p_147191_)
protected void
LivingEntity.onEffectUpdated(MobEffectInstance p_147192_, boolean p_147193_, Entity p_147194_)
void
Entity.onPassengerTurned(Entity p_20320_)
void
ReputationEventHandler.onReputationEventFrom(ReputationEventType p_21712_, Entity p_21713_)
void
Entity.positionRider(Entity p_20312_)
private void
Entity.positionRider(Entity p_19957_, Entity.MoveFunction p_19958_)
void
void
EntitySelector.pushableBy(Entity p_20422_)
protected void
Entity.removePassenger(Entity p_20352_)
void
Entity.restoreFrom(Entity p_20362_)
void
LivingEntity.setLastHurtMob(Entity p_21336_)
void
Mob.setLeashedTo(Entity p_21464_, boolean p_21465_)
boolean
Entity.skipAttackInteraction(Entity p_20357_)
boolean
Entity.startRiding(Entity p_20330_)
boolean
Entity.startRiding(Entity p_19966_, boolean p_19967_)
boolean
Mob.startRiding(Entity p_21396_, boolean p_21397_)
void
boolean
static void
EntityType.updateCustomEntityTag(Level p_20621_, Player p_20622_, Entity p_20623_, CompoundTag p_20624_)
Modifier and TypeMethodDescriptionboolean
Entity.hasPassenger(Predicate<Entity> p_146863_)
static Entity
EntityType.loadEntityRecursive(CompoundTag p_20646_, Level p_20647_, Function<Entity,Entity> p_20648_)
static Entity
EntityType.loadEntityRecursive(CompoundTag p_20646_, Level p_20647_, Function<Entity,Entity> p_20648_)
-
Uses of Entity in net.minecraft.world.entity.ai.behavior
Modifier and TypeClassDescriptionclass
DismountOrSkipMounting<E extends LivingEntity,T extends Entity>
Modifier and TypeFieldDescriptionprivate BiPredicate<E,Entity>
DismountOrSkipMounting.dontRideIf
Modifier and TypeMethodDescriptionEntityTracker.getEntity()
private Entity
Mount.getRidableEntity(E p_23547_)
Modifier and TypeMethodDescriptionstatic SetWalkTargetAwayFrom<? extends Entity>
SetWalkTargetAwayFrom.entity(MemoryModuleType<? extends Entity> p_24020_, float p_24021_, int p_24022_, boolean p_24023_)
Modifier and TypeMethodDescriptionprivate boolean
DismountOrSkipMounting.isVehicleValid(E p_22837_, Entity p_22838_)
static void
BehaviorUtils.setWalkAndLookTargetMemories(LivingEntity p_22591_, Entity p_22592_, float p_22593_, int p_22594_)
Modifier and TypeMethodDescriptionstatic SetWalkTargetAwayFrom<? extends Entity>
SetWalkTargetAwayFrom.entity(MemoryModuleType<? extends Entity> p_24020_, float p_24021_, int p_24022_, boolean p_24023_)
ModifierConstructorDescriptionDismountOrSkipMounting(int p_22827_, BiPredicate<E,Entity> p_22828_)
-
Uses of Entity in net.minecraft.world.entity.ai.control
-
Uses of Entity in net.minecraft.world.entity.ai.goal
Modifier and TypeMethodDescriptionprotected BlockPos
PanicGoal.lookForWater(BlockGetter p_25695_, Entity p_25696_, int p_25697_, int p_25698_)
-
Uses of Entity in net.minecraft.world.entity.ai.memory
-
Uses of Entity in net.minecraft.world.entity.ai.sensing
-
Uses of Entity in net.minecraft.world.entity.ambient
-
Uses of Entity in net.minecraft.world.entity.animal
Modifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
Modifier and TypeMethodDescriptionprotected boolean
boolean
Bee.doHurtTarget(Entity p_27722_)
boolean
Cat.doHurtTarget(Entity p_28119_)
boolean
Dolphin.doHurtTarget(Entity p_28319_)
boolean
IronGolem.doHurtTarget(Entity p_28837_)
boolean
Ocelot.doHurtTarget(Entity p_28990_)
boolean
Panda.doHurtTarget(Entity p_29091_)
boolean
Parrot.doHurtTarget(Entity p_29365_)
boolean
PolarBear.doHurtTarget(Entity p_29522_)
boolean
Rabbit.doHurtTarget(Entity p_29659_)
boolean
Wolf.doHurtTarget(Entity p_30372_)
protected void
protected void
static boolean
Parrot.imitateNearbyMobs(Level p_29383_, Entity p_29384_)
void
Chicken.positionRider(Entity p_28269_)
-
Uses of Entity in net.minecraft.world.entity.animal.axolotl
-
Uses of Entity in net.minecraft.world.entity.animal.goat
-
Uses of Entity in net.minecraft.world.entity.animal.horse
Modifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
Modifier and TypeMethodDescriptionvoid
AbstractHorse.positionRider(Entity p_30642_)
void
Llama.positionRider(Entity p_30830_)
-
Uses of Entity in net.minecraft.world.entity.boss
-
Uses of Entity in net.minecraft.world.entity.boss.enderdragon
Modifier and TypeMethodDescriptionboolean
EnderDragon.addEffect(MobEffectInstance p_182394_, Entity p_182395_)
protected boolean
-
Uses of Entity in net.minecraft.world.entity.boss.wither
Modifier and TypeMethodDescriptionboolean
WitherBoss.addEffect(MobEffectInstance p_182397_, Entity p_182398_)
protected boolean
-
Uses of Entity in net.minecraft.world.entity.decoration
Modifier and TypeClassDescriptionclass
class
class
class
class
class
Modifier and TypeMethodDescriptionprotected void
abstract void
void
private void
void
void
boolean
ArmorStand.skipAttackInteraction(Entity p_31687_)
boolean
HangingEntity.skipAttackInteraction(Entity p_31750_)
-
Uses of Entity in net.minecraft.world.entity.item
Modifier and TypeMethodDescriptionItemEntity.changeDimension(ServerLevel p_32042_, ITeleporter teleporter)
-
Uses of Entity in net.minecraft.world.entity.monster
Modifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
Modifier and TypeMethodDescriptionRavager.getControllingPassenger()
Strider.getControllingPassenger()
Modifier and TypeMethodDescriptionprotected boolean
Strider.canAddPassenger(Entity p_33950_)
boolean
CaveSpider.doHurtTarget(Entity p_32257_)
boolean
Creeper.doHurtTarget(Entity p_32281_)
boolean
Husk.doHurtTarget(Entity p_32892_)
boolean
Ravager.doHurtTarget(Entity p_33328_)
boolean
WitherSkeleton.doHurtTarget(Entity p_34169_)
boolean
Zoglin.doHurtTarget(Entity p_34207_)
boolean
Zombie.doHurtTarget(Entity p_34276_)
boolean
Ravager.hasLineOfSight(Entity p_149755_)
boolean
Evoker.isAlliedTo(Entity p_32665_)
boolean
Illusioner.isAlliedTo(Entity p_32938_)
boolean
Pillager.isAlliedTo(Entity p_33314_)
boolean
Vindicator.isAlliedTo(Entity p_34110_)
void
void
boolean
Shulker.startRiding(Entity p_149773_, boolean p_149774_)
private void
Ravager.strongKnockback(Entity p_33340_)
(package private) boolean
EnderMan.teleportTowards(Entity p_32501_)
-
Uses of Entity in net.minecraft.world.entity.monster.hoglin
-
Uses of Entity in net.minecraft.world.entity.monster.piglin
Modifier and TypeMethodDescriptionprivate Entity
Piglin.getTopPassenger(Entity p_34731_, int p_34732_)
Modifier and TypeMethodDescriptionprivate Entity
Piglin.getTopPassenger(Entity p_34731_, int p_34732_)
boolean
Piglin.startRiding(Entity p_34701_, boolean p_34702_)
private static boolean
PiglinAi.wantsToStopRiding(Piglin p_34835_, Entity p_34836_)
-
Uses of Entity in net.minecraft.world.entity.npc
Modifier and TypeMethodDescriptionAbstractVillager.changeDimension(ServerLevel p_35295_, ITeleporter teleporter)
Modifier and TypeMethodDescriptionvoid
Villager.onReputationEventFrom(ReputationEventType p_35431_, Entity p_35432_)
private void
Villager.tellWitnessesThatIWasMurdered(Entity p_35421_)
-
Uses of Entity in net.minecraft.world.entity.player
Modifier and TypeMethodDescriptionvoid
void
Player.interactOn(Entity p_36158_, InteractionHand p_36159_)
void
private void
-
Uses of Entity in net.minecraft.world.entity.projectile
Modifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
Modifier and TypeFieldDescriptionprivate Entity
Projectile.cachedOwner
private Entity
ShulkerBullet.finalTarget
private Entity
FishingHook.hookedIn
Modifier and TypeMethodDescriptionThrownEnderpearl.changeDimension(ServerLevel p_37506_, ITeleporter teleporter)
Projectile.getEffectSource()
FishingHook.getHookedIn()
Projectile.getOwner()
Modifier and TypeMethodDescriptionprivate void
ThrownPotion.applySplash(List<MobEffectInstance> p_37548_, Entity p_37549_)
protected boolean
AbstractArrow.canHitEntity(Entity p_36743_)
protected boolean
AbstractHurtingProjectile.canHitEntity(Entity p_36842_)
protected boolean
FishingHook.canHitEntity(Entity p_37135_)
protected boolean
Projectile.canHitEntity(Entity p_37250_)
protected boolean
ShulkerBullet.canHitEntity(Entity p_37341_)
static EntityHitResult
ProjectileUtil.getEntityHitResult(Entity p_37288_, Vec3 p_37289_, Vec3 p_37290_, AABB p_37291_, Predicate<Entity> p_37292_, double p_37293_)
static EntityHitResult
ProjectileUtil.getEntityHitResult(Level p_37305_, Entity p_37306_, Vec3 p_37307_, Vec3 p_37308_, AABB p_37309_, Predicate<Entity> p_37310_)
static EntityHitResult
ProjectileUtil.getEntityHitResult(Level p_150176_, Entity p_150177_, Vec3 p_150178_, Vec3 p_150179_, AABB p_150180_, Predicate<Entity> p_150181_, float p_150182_)
static HitResult
ProjectileUtil.getHitResult(Entity p_37295_, Predicate<Entity> p_37296_)
protected boolean
protected void
FishingHook.pullEntity(Entity p_150156_)
static void
ProjectileUtil.rotateTowardsMovement(Entity p_37285_, float p_37286_)
private void
FishingHook.setHookedEntity(Entity p_150158_)
void
void
void
void
Projectile.shootFromRotation(Entity p_37252_, float p_37253_, float p_37254_, float p_37255_, float p_37256_, float p_37257_)
Modifier and TypeMethodDescriptionstatic EntityHitResult
ProjectileUtil.getEntityHitResult(Entity p_37288_, Vec3 p_37289_, Vec3 p_37290_, AABB p_37291_, Predicate<Entity> p_37292_, double p_37293_)
static EntityHitResult
ProjectileUtil.getEntityHitResult(Level p_37305_, Entity p_37306_, Vec3 p_37307_, Vec3 p_37308_, AABB p_37309_, Predicate<Entity> p_37310_)
static EntityHitResult
ProjectileUtil.getEntityHitResult(Level p_150176_, Entity p_150177_, Vec3 p_150178_, Vec3 p_150179_, AABB p_150180_, Predicate<Entity> p_150181_, float p_150182_)
static HitResult
ProjectileUtil.getHitResult(Entity p_37295_, Predicate<Entity> p_37296_)
ModifierConstructorDescriptionFireworkRocketEntity(Level p_37036_, Entity p_37037_, double p_37038_, double p_37039_, double p_37040_, ItemStack p_37041_)
FireworkRocketEntity(Level p_37050_, ItemStack p_37051_, Entity p_37052_, double p_37053_, double p_37054_, double p_37055_, boolean p_37056_)
ShulkerBullet(Level p_37330_, LivingEntity p_37331_, Entity p_37332_, Direction.Axis p_37333_)
-
Uses of Entity in net.minecraft.world.entity.raid
-
Uses of Entity in net.minecraft.world.entity.vehicle
Modifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
class
Modifier and TypeMethodDescriptionprotected void
Boat.addPassenger(Entity passenger)
protected boolean
Boat.canAddPassenger(Entity p_38390_)
boolean
AbstractMinecart.canCollideWith(Entity p_38168_)
boolean
Boat.canCollideWith(Entity p_38376_)
static boolean
Boat.canVehicleCollide(Entity p_38324_, Entity p_38325_)
protected void
Boat.clampRotation(Entity p_38322_)
void
Boat.onPassengerTurned(Entity p_38383_)
void
Boat.positionRider(Entity p_38379_)
void
void
-
Uses of Entity in net.minecraft.world.item
Modifier and TypeMethodDescriptionvoid
CompassItem.inventoryTick(ItemStack p_40720_, Level p_40721_, Entity p_40722_, int p_40723_, boolean p_40724_)
void
Item.inventoryTick(ItemStack p_41404_, Level p_41405_, Entity p_41406_, int p_41407_, boolean p_41408_)
void
ItemStack.inventoryTick(Level p_41667_, Entity p_41668_, int p_41669_, boolean p_41670_)
void
MapItem.inventoryTick(ItemStack p_42870_, Level p_42871_, Entity p_42872_, int p_42873_, boolean p_42874_)
void
ItemStack.setEntityRepresentation(Entity p_41637_)
void
MapItem.update(Level p_42894_, Entity p_42895_, MapItemSavedData p_42896_)
-
Uses of Entity in net.minecraft.world.item.enchantment
Modifier and TypeMethodDescriptionvoid
DamageEnchantment.doPostAttack(LivingEntity p_44638_, Entity p_44639_, int p_44640_)
void
Enchantment.doPostAttack(LivingEntity p_44686_, Entity p_44687_, int p_44688_)
static void
EnchantmentHelper.doPostDamageEffects(LivingEntity p_44897_, Entity p_44898_)
void
Enchantment.doPostHurt(LivingEntity p_44692_, Entity p_44693_, int p_44694_)
void
ThornsEnchantment.doPostHurt(LivingEntity p_45215_, Entity p_45216_, int p_45217_)
static void
EnchantmentHelper.doPostHurtEffects(LivingEntity p_44824_, Entity p_44825_)
-
Uses of Entity in net.minecraft.world.level
Modifier and TypeFieldDescriptionprivate Entity
BaseSpawner.displayEntity
private Entity
CollisionSpliterator.source
private Entity
EntityBasedExplosionDamageCalculator.source
private Entity
Explosion.source
Modifier and TypeMethodDescriptionEntityGetter.getEntities(EntityTypeTest<Entity,T> p_151464_, AABB p_151465_, Predicate<? super T> p_151466_)
Level.getEntities(EntityTypeTest<Entity,T> p_151528_, AABB p_151529_, Predicate<? super T> p_151530_)
EntityGetter.getEntitiesOfClass(Class<T> p_45977_, AABB p_45978_)
EntityGetter.getEntitiesOfClass(Class<T> p_45979_, AABB p_45980_, Predicate<? super T> p_45981_)
<T extends Entity>
voidLevel.guardEntityTick(Consumer<T> p_46654_, T p_46655_)
Modifier and TypeMethodDescriptionabstract Entity
Level.getEntity(int p_46492_)
Explosion.getExploder()
BaseSpawner.getOrCreateDisplayEntity(Level p_151315_)
BaseSpawner.getSpawnerEntity()
Modifier and TypeMethodDescriptionEntityGetter.getEntities(Entity p_45934_, AABB p_45935_)
EntityGetter.getEntities(Entity p_45936_, AABB p_45937_, Predicate<? super Entity> p_45938_)
protected abstract LevelEntityGetter<Entity>
Level.getEntities()
Level.getEntities(Entity p_46536_, AABB p_46537_, Predicate<? super Entity> p_46538_)
Modifier and TypeMethodDescriptiondefault boolean
LevelWriter.addFreshEntity(Entity p_46964_)
default void
ServerLevelAccessor.addFreshEntityWithPassengers(Entity p_47206_)
void
Level.broadcastEntityEvent(Entity p_46509_, byte p_46510_)
boolean
Level.destroyBlock(BlockPos p_46626_, boolean p_46627_, Entity p_46628_, int p_46629_)
default boolean
LevelWriter.destroyBlock(BlockPos p_46954_, boolean p_46955_, Entity p_46956_)
boolean
LevelWriter.destroyBlock(BlockPos p_46957_, boolean p_46958_, Entity p_46959_, int p_46960_)
Level.explode(Entity p_46519_, double p_46520_, double p_46521_, double p_46522_, float p_46523_, boolean p_46524_, Explosion.BlockInteraction p_46525_)
Level.explode(Entity p_46512_, double p_46513_, double p_46514_, double p_46515_, float p_46516_, Explosion.BlockInteraction p_46517_)
Level.explode(Entity p_46526_, DamageSource p_46527_, ExplosionDamageCalculator p_46528_, double p_46529_, double p_46530_, double p_46531_, float p_46532_, boolean p_46533_, Explosion.BlockInteraction p_46534_)
CollisionGetter.findFreePosition(Entity p_151419_, VoxelShape p_151420_, Vec3 p_151421_, double p_151422_, double p_151423_, double p_151424_)
void
default void
default void
default Stream<VoxelShape>
CollisionGetter.getBlockCollisions(Entity p_45762_, AABB p_45763_)
default Stream<VoxelShape>
CollisionGetter.getBlockCollisions(Entity p_45765_, AABB p_45766_, BiPredicate<BlockState,BlockPos> p_45767_)
default Stream<VoxelShape>
CollisionGetter.getCollisions(Entity p_45781_, AABB p_45782_, Predicate<Entity> p_45783_)
PathNavigationRegion.getCollisions(Entity p_47182_, AABB p_47183_, Predicate<Entity> p_47184_)
EntityGetter.getEntities(Entity p_45934_, AABB p_45935_)
EntityGetter.getEntities(Entity p_45936_, AABB p_45937_, Predicate<? super Entity> p_45938_)
Level.getEntities(Entity p_46536_, AABB p_46537_, Predicate<? super Entity> p_46538_)
CollisionGetter.getEntityCollisions(Entity p_45776_, AABB p_45777_, Predicate<Entity> p_45778_)
default Stream<VoxelShape>
CommonLevelAccessor.getEntityCollisions(Entity p_45834_, AABB p_45835_, Predicate<Entity> p_45836_)
default Stream<VoxelShape>
EntityGetter.getEntityCollisions(Entity p_46005_, AABB p_46006_, Predicate<Entity> p_46007_)
PathNavigationRegion.getEntityCollisions(Entity p_47176_, AABB p_47177_, Predicate<Entity> p_47178_)
default Player
EntityGetter.getNearestPlayer(Entity p_45931_, double p_45932_)
static float
Explosion.getSeenPercent(Vec3 p_46065_, Entity p_46066_)
default boolean
CollisionGetter.hasBlockCollision(Entity p_151415_, AABB p_151416_, BiPredicate<BlockState,BlockPos> p_151417_)
default boolean
CollisionGetter.isUnobstructed(Entity p_45785_)
default boolean
CollisionGetter.isUnobstructed(Entity p_45750_, VoxelShape p_45751_)
default boolean
CommonLevelAccessor.isUnobstructed(Entity p_45828_, VoxelShape p_45829_)
default boolean
EntityGetter.isUnobstructed(Entity p_45939_, VoxelShape p_45940_)
boolean
Level.loadedAndEntityCanStandOn(BlockPos p_46576_, Entity p_46577_)
boolean
Level.loadedAndEntityCanStandOnFace(BlockPos p_46579_, Entity p_46580_, Direction p_46581_)
private ExplosionDamageCalculator
Explosion.makeDamageCalculator(Entity p_46063_)
default boolean
CollisionGetter.noCollision(Entity p_45787_)
default boolean
CollisionGetter.noCollision(Entity p_45757_, AABB p_45758_)
default boolean
CollisionGetter.noCollision(Entity p_45769_, AABB p_45770_, Predicate<Entity> p_45771_)
abstract void
Level.playSound(Player p_46551_, Entity p_46552_, SoundEvent p_46553_, SoundSource p_46554_, float p_46555_, float p_46556_)
protected void
Level.postGameEventInRadius(Entity p_151514_, GameEvent p_151515_, BlockPos p_151516_, int p_151517_)
Modifier and TypeMethodDescriptionstatic NaturalSpawner.SpawnState
NaturalSpawner.createState(int p_46985_, Iterable<Entity> p_46986_, NaturalSpawner.ChunkGetter p_46987_)
default Stream<VoxelShape>
CollisionGetter.getCollisions(Entity p_45781_, AABB p_45782_, Predicate<Entity> p_45783_)
PathNavigationRegion.getCollisions(Entity p_47182_, AABB p_47183_, Predicate<Entity> p_47184_)
EntityGetter.getEntities(Entity p_45936_, AABB p_45937_, Predicate<? super Entity> p_45938_)
EntityGetter.getEntities(EntityTypeTest<Entity,T> p_151464_, AABB p_151465_, Predicate<? super T> p_151466_)
Level.getEntities(Entity p_46536_, AABB p_46537_, Predicate<? super Entity> p_46538_)
Level.getEntities(EntityTypeTest<Entity,T> p_151528_, AABB p_151529_, Predicate<? super T> p_151530_)
CollisionGetter.getEntityCollisions(Entity p_45776_, AABB p_45777_, Predicate<Entity> p_45778_)
default Stream<VoxelShape>
CommonLevelAccessor.getEntityCollisions(Entity p_45834_, AABB p_45835_, Predicate<Entity> p_45836_)
default Stream<VoxelShape>
EntityGetter.getEntityCollisions(Entity p_46005_, AABB p_46006_, Predicate<Entity> p_46007_)
PathNavigationRegion.getEntityCollisions(Entity p_47176_, AABB p_47177_, Predicate<Entity> p_47178_)
default Player
EntityGetter.getNearestPlayer(double p_45919_, double p_45920_, double p_45921_, double p_45922_, Predicate<Entity> p_45923_)
default boolean
CollisionGetter.noCollision(Entity p_45769_, AABB p_45770_, Predicate<Entity> p_45771_)
ModifierConstructorDescriptionClipContext(Vec3 p_45688_, Vec3 p_45689_, ClipContext.Block p_45690_, ClipContext.Fluid p_45691_, Entity p_45692_)
CollisionSpliterator(CollisionGetter p_45798_, Entity p_45799_, AABB p_45800_)
CollisionSpliterator(CollisionGetter p_45802_, Entity p_45803_, AABB p_45804_, BiPredicate<BlockState,BlockPos> p_45805_)
EntityBasedExplosionDamageCalculator(Entity p_45894_)
Explosion(Level p_151471_, Entity p_151472_, double p_151473_, double p_151474_, double p_151475_, float p_151476_)
Explosion(Level p_46032_, Entity p_46033_, double p_46034_, double p_46035_, double p_46036_, float p_46037_, boolean p_46038_, Explosion.BlockInteraction p_46039_)
Explosion(Level p_46041_, Entity p_46042_, double p_46043_, double p_46044_, double p_46045_, float p_46046_, boolean p_46047_, Explosion.BlockInteraction p_46048_, List<BlockPos> p_46049_)
Explosion(Level p_46024_, Entity p_46025_, double p_46026_, double p_46027_, double p_46028_, float p_46029_, List<BlockPos> p_46030_)
Explosion(Level p_46051_, Entity p_46052_, DamageSource p_46053_, ExplosionDamageCalculator p_46054_, double p_46055_, double p_46056_, double p_46057_, float p_46058_, boolean p_46059_, Explosion.BlockInteraction p_46060_)
-
Uses of Entity in net.minecraft.world.level.block
Modifier and TypeMethodDescriptionFallable.getHurtsEntitySelector()
PointedDripstoneBlock.getHurtsEntitySelector()
Modifier and TypeMethodDescriptionboolean
BellBlock.attemptToRing(Entity p_152189_, Level p_152190_, BlockPos p_152191_, Direction p_152192_)
private void
private void
private boolean
TurtleEggBlock.canDestroyEgg(Level p_57768_, Entity p_57769_)
private static boolean
BigDripleafBlock.canEntityTilt(BlockPos p_152302_, Entity p_152303_)
static boolean
PowderSnowBlock.canEntityWalkOnPowderSnow(Entity p_154256_)
protected void
BasePressurePlateBlock.checkPressed(Entity p_152144_, Level p_152145_, BlockPos p_152146_, BlockState p_152147_, int p_152148_)
private void
TurtleEggBlock.destroyEgg(Level p_154851_, BlockState p_154852_, BlockPos p_154853_, Entity p_154854_, int p_154855_)
private static boolean
HoneyBlock.doesEntityDoHoneyBlockSlideEffects(Entity p_54013_)
private void
HoneyBlock.doSlideMovement(Entity p_54020_)
static void
CampfireBlock.dowse(Entity p_152750_, LevelAccessor p_152751_, BlockPos p_152752_, BlockState p_152753_)
static void
Block.dropResources(BlockState p_49882_, Level p_49883_, BlockPos p_49884_, BlockEntity p_49885_, Entity p_49886_, ItemStack p_49887_)
void
BaseFireBlock.entityInside(BlockState p_49260_, Level p_49261_, BlockPos p_49262_, Entity p_49263_)
void
BasePressurePlateBlock.entityInside(BlockState p_49314_, Level p_49315_, BlockPos p_49316_, Entity p_49317_)
void
BigDripleafBlock.entityInside(BlockState p_152266_, Level p_152267_, BlockPos p_152268_, Entity p_152269_)
void
BubbleColumnBlock.entityInside(BlockState p_50976_, Level p_50977_, BlockPos p_50978_, Entity p_50979_)
void
ButtonBlock.entityInside(BlockState p_51083_, Level p_51084_, BlockPos p_51085_, Entity p_51086_)
void
CactusBlock.entityInside(BlockState p_51148_, Level p_51149_, BlockPos p_51150_, Entity p_51151_)
void
CampfireBlock.entityInside(BlockState p_51269_, Level p_51270_, BlockPos p_51271_, Entity p_51272_)
void
CropBlock.entityInside(BlockState p_52277_, Level p_52278_, BlockPos p_52279_, Entity p_52280_)
void
DetectorRailBlock.entityInside(BlockState p_52458_, Level p_52459_, BlockPos p_52460_, Entity p_52461_)
void
EndPortalBlock.entityInside(BlockState p_53025_, Level p_53026_, BlockPos p_53027_, Entity p_53028_)
void
HoneyBlock.entityInside(BlockState p_54003_, Level p_54004_, BlockPos p_54005_, Entity p_54006_)
void
HopperBlock.entityInside(BlockState p_54066_, Level p_54067_, BlockPos p_54068_, Entity p_54069_)
void
LavaCauldronBlock.entityInside(BlockState p_153506_, Level p_153507_, BlockPos p_153508_, Entity p_153509_)
void
LayeredCauldronBlock.entityInside(BlockState p_153534_, Level p_153535_, BlockPos p_153536_, Entity p_153537_)
void
NetherPortalBlock.entityInside(BlockState p_54915_, Level p_54916_, BlockPos p_54917_, Entity p_54918_)
void
PowderSnowBlock.entityInside(BlockState p_154263_, Level p_154264_, BlockPos p_154265_, Entity p_154266_)
void
SweetBerryBushBlock.entityInside(BlockState p_57270_, Level p_57271_, BlockPos p_57272_, Entity p_57273_)
void
TripWireBlock.entityInside(BlockState p_57625_, Level p_57626_, BlockPos p_57627_, Entity p_57628_)
void
WaterlilyBlock.entityInside(BlockState p_58164_, Level p_58165_, BlockPos p_58166_, Entity p_58167_)
void
WebBlock.entityInside(BlockState p_58180_, Level p_58181_, BlockPos p_58182_, Entity p_58183_)
void
WitherRoseBlock.entityInside(BlockState p_58238_, Level p_58239_, BlockPos p_58240_, Entity p_58241_)
void
BedBlock.fallOn(Level p_152169_, BlockState p_152170_, BlockPos p_152171_, Entity p_152172_, float p_152173_)
void
Block.fallOn(Level p_152426_, BlockState p_152427_, BlockPos p_152428_, Entity p_152429_, float p_152430_)
void
FarmBlock.fallOn(Level p_153227_, BlockState p_153228_, BlockPos p_153229_, Entity p_153230_, float p_153231_)
void
HayBlock.fallOn(Level p_153362_, BlockState p_153363_, BlockPos p_153364_, Entity p_153365_, float p_153366_)
void
HoneyBlock.fallOn(Level p_153372_, BlockState p_153373_, BlockPos p_153374_, Entity p_153375_, float p_153376_)
void
PointedDripstoneBlock.fallOn(Level p_154047_, BlockState p_154048_, BlockPos p_154049_, Entity p_154050_, float p_154051_)
void
SlimeBlock.fallOn(Level p_154567_, BlockState p_154568_, BlockPos p_154569_, Entity p_154570_, float p_154571_)
void
TurtleEggBlock.fallOn(Level p_154845_, BlockState p_154846_, BlockPos p_154847_, Entity p_154848_, float p_154849_)
Block.getDrops(BlockState p_49875_, ServerLevel p_49876_, BlockPos p_49877_, BlockEntity p_49878_, Entity p_49879_, ItemStack p_49880_)
protected boolean
AbstractCauldronBlock.isEntityInsideContent(BlockState p_151980_, BlockPos p_151981_, Entity p_151982_)
private boolean
HoneyBlock.isSlidingDown(BlockPos p_54008_, Entity p_54009_)
private void
HoneyBlock.maybeDoSlideAchievement(Entity p_53992_, BlockPos p_53993_)
private void
HoneyBlock.maybeDoSlideEffects(Level p_53995_, Entity p_53996_)
void
DoorBlock.setOpen(Entity p_153166_, Level p_153167_, BlockState p_153168_, BlockPos p_153169_, boolean p_153170_)
static void
HoneyBlock.showJumpParticles(Entity p_54011_)
private static void
HoneyBlock.showParticles(Entity p_53989_, int p_53990_)
static void
HoneyBlock.showSlideParticles(Entity p_53987_)
void
Block.stepOn(Level p_152431_, BlockPos p_152432_, BlockState p_152433_, Entity p_152434_)
void
MagmaBlock.stepOn(Level p_153777_, BlockPos p_153778_, BlockState p_153779_, Entity p_153780_)
void
RedStoneOreBlock.stepOn(Level p_154299_, BlockPos p_154300_, BlockState p_154301_, Entity p_154302_)
void
SlimeBlock.stepOn(Level p_154573_, BlockPos p_154574_, BlockState p_154575_, Entity p_154576_)
void
StairBlock.stepOn(Level p_154720_, BlockPos p_154721_, BlockState p_154722_, Entity p_154723_)
void
TurtleEggBlock.stepOn(Level p_154857_, BlockPos p_154858_, BlockState p_154859_, Entity p_154860_)
void
BedBlock.updateEntityAfterFallOn(BlockGetter p_49483_, Entity p_49484_)
void
Block.updateEntityAfterFallOn(BlockGetter p_49821_, Entity p_49822_)
void
SlimeBlock.updateEntityAfterFallOn(BlockGetter p_56406_, Entity p_56407_)
private static int
TargetBlock.updateRedstoneOutput(LevelAccessor p_57392_, BlockState p_57393_, BlockHitResult p_57394_, Entity p_57395_)
Modifier and TypeMethodDescriptionprivate <T extends AbstractMinecart>
List<T>DetectorRailBlock.getInteractingMinecartOfType(Level p_52437_, BlockPos p_52438_, Class<T> p_52439_, Predicate<Entity> p_52440_)
-
Uses of Entity in net.minecraft.world.level.block.entity
Modifier and TypeMethodDescriptionBeehiveBlockEntity.releaseAllOccupants(BlockState p_58760_, BeehiveBlockEntity.BeeReleaseStatus p_58761_)
Modifier and TypeMethodDescriptionvoid
BeehiveBlockEntity.addOccupant(Entity p_58742_, boolean p_58743_)
void
BeehiveBlockEntity.addOccupantWithPresetTicks(Entity p_58745_, boolean p_58746_, int p_58747_)
private static void
ConduitBlockEntity.animationTick(Level p_155419_, BlockPos p_155420_, List<BlockPos> p_155421_, Entity p_155422_, int p_155423_)
static boolean
TheEndGatewayBlockEntity.canEntityTeleport(Entity p_59941_)
static void
HopperBlockEntity.entityInside(Level p_155568_, BlockPos p_155569_, BlockState p_155570_, Entity p_155571_, HopperBlockEntity p_155572_)
boolean
SculkSensorBlockEntity.shouldListen(Level p_155643_, GameEventListener p_155644_, BlockPos p_155645_, GameEvent p_155646_, Entity p_155647_)
static void
TheEndGatewayBlockEntity.teleportEntity(Level p_155829_, BlockPos p_155830_, BlockState p_155831_, Entity p_155832_, TheEndGatewayBlockEntity p_155833_)
Modifier and TypeMethodDescriptionprivate static boolean
BeehiveBlockEntity.releaseOccupant(Level p_155137_, BlockPos p_155138_, BlockState p_155139_, BeehiveBlockEntity.BeeData p_155140_, List<Entity> p_155141_, BeehiveBlockEntity.BeeReleaseStatus p_155142_, BlockPos p_155143_)
-
Uses of Entity in net.minecraft.world.level.block.piston
Modifier and TypeMethodDescriptionprivate static void
PistonMovingBlockEntity.fixEntityWithinPistonBase(BlockPos p_155921_, Entity p_155922_, Direction p_155923_, double p_155924_)
private static boolean
PistonMovingBlockEntity.matchesStickyCritera(AABB p_60365_, Entity p_60366_)
private static void
PistonMovingBlockEntity.moveEntityByPiston(Direction p_60372_, Entity p_60373_, double p_60374_, Direction p_60375_)
-
Uses of Entity in net.minecraft.world.level.block.state
Modifier and TypeMethodDescriptionboolean
BlockBehaviour.BlockStateBase.entityCanStandOn(BlockGetter p_60635_, BlockPos p_60636_, Entity p_60637_)
boolean
BlockBehaviour.BlockStateBase.entityCanStandOnFace(BlockGetter p_60639_, BlockPos p_60640_, Entity p_60641_, Direction p_60642_)
void
BlockBehaviour.BlockStateBase.entityInside(Level p_60683_, BlockPos p_60684_, Entity p_60685_)
void
BlockBehaviour.entityInside(BlockState p_60495_, Level p_60496_, BlockPos p_60497_, Entity p_60498_)
Deprecated. -
Uses of Entity in net.minecraft.world.level.border
-
Uses of Entity in net.minecraft.world.level.chunk
-
Uses of Entity in net.minecraft.world.level.chunk.storage
Modifier and TypeMethodDescriptionprivate static ChunkEntities<Entity>
EntityStorage.emptyChunk(ChunkPos p_156569_)
EntityStorage.loadEntities(ChunkPos p_156551_)
Modifier and TypeMethodDescriptionvoid
EntityStorage.storeEntities(ChunkEntities<Entity> p_156559_)
-
Uses of Entity in net.minecraft.world.level.dimension.end
-
Uses of Entity in net.minecraft.world.level.entity
Modifier and TypeFieldDescriptionprivate Entity
PersistentEntitySectionManager.Callback.realEntity
private Entity
TransientEntitySectionManager.Callback.realEntity
Modifier and TypeFieldDescriptionprivate it.unimi.dsi.fastutil.ints.Int2ObjectMap<Entity>
EntityTickList.active
private it.unimi.dsi.fastutil.ints.Int2ObjectMap<Entity>
EntityTickList.iterated
private it.unimi.dsi.fastutil.ints.Int2ObjectMap<Entity>
EntityTickList.passive
Modifier and TypeMethodDescriptionvoid
boolean
void
-
Uses of Entity in net.minecraft.world.level.gameevent
Modifier and TypeMethodDescriptionboolean
GameEventListener.handleGameEvent(Level p_157846_, GameEvent p_157847_, Entity p_157848_, BlockPos p_157849_)
void
void
private boolean
EuclideanGameEventDispatcher.postToListener(Level p_157756_, GameEvent p_157757_, Entity p_157758_, BlockPos p_157759_, GameEventListener p_157760_)
-
Uses of Entity in net.minecraft.world.level.gameevent.vibrations
Modifier and TypeMethodDescriptionboolean
VibrationListener.handleGameEvent(Level p_157901_, GameEvent p_157902_, Entity p_157903_, BlockPos p_157904_)
private boolean
VibrationListener.isValidVibration(GameEvent p_157917_, Entity p_157918_)
boolean
VibrationListener.VibrationListenerConfig.shouldListen(Level p_157924_, GameEventListener p_157925_, BlockPos p_157926_, GameEvent p_157927_, Entity p_157928_)
-
Uses of Entity in net.minecraft.world.level.levelgen.structure.templatesystem
Modifier and TypeMethodDescriptionStructureTemplate.createEntityIgnoreException(ServerLevelAccessor p_74544_, CompoundTag p_74545_)
-
Uses of Entity in net.minecraft.world.level.pathfinder
Modifier and TypeMethodDescriptionPath.getEntityPosAtNode(Entity p_77383_, int p_77384_)
Path.getNextEntityPos(Entity p_77381_)
-
Uses of Entity in net.minecraft.world.level.storage.loot
Modifier and TypeFieldDescriptionprivate LootContextParam<? extends Entity>
LootContext.EntityTarget.param
Modifier and TypeMethodDescriptionLootContextParam<? extends Entity>
LootContext.EntityTarget.getParam()
ModifierConstructorDescriptionprivate
EntityTarget(String p_79001_, LootContextParam<? extends Entity> p_79002_)
-
Uses of Entity in net.minecraft.world.level.storage.loot.parameters
Modifier and TypeFieldDescriptionstatic LootContextParam<Entity>
LootContextParams.DIRECT_KILLER_ENTITY
static LootContextParam<Entity>
LootContextParams.KILLER_ENTITY
static LootContextParam<Entity>
LootContextParams.THIS_ENTITY
-
Uses of Entity in net.minecraft.world.level.storage.loot.predicates
Modifier and TypeMethodDescriptionprotected boolean
EntityHasScoreCondition.hasScore(LootContext p_165491_, Entity p_165492_, Scoreboard p_165493_, String p_165494_, IntRange p_165495_)
-
Uses of Entity in net.minecraft.world.phys
ModifierConstructorDescriptionEntityHitResult(Entity p_82439_)
EntityHitResult(Entity p_82441_, Vec3 p_82442_)
-
Uses of Entity in net.minecraft.world.phys.shapes
-
Uses of Entity in net.minecraft.world.scores
-
Uses of Entity in net.minecraftforge.client
Modifier and TypeMethodDescriptionstatic String
ForgeHooksClient.getArmorTexture(Entity entity, ItemStack armor, String _default, EquipmentSlot slot, String type)
default Vector3d
IBlockRenderProperties.getFogColor(BlockState state, LevelReader Level, BlockPos pos, Entity entity, Vector3d originalColor, float partialTicks)
NOT CURRENTLY IMPLEMENTEDstatic boolean
ForgeHooksClient.isNameplateInRenderDistance(Entity entity, double squareDistance)
static void
ForgeHooksClient.loadEntityShader(Entity entity, GameRenderer entityRenderer)
-
Uses of Entity in net.minecraftforge.client.event
Modifier and TypeMethodDescription<T extends Entity>
voidEntityRenderersEvent.RegisterRenderers.registerEntityRenderer(EntityType<? extends T> entityType, EntityRendererProvider<T> entityRendererProvider)
Registers an entity renderer.ModifierConstructorDescriptionRenderNameplateEvent(Entity entity, Component content, EntityRenderer<?> entityRenderer, PoseStack matrixStack, MultiBufferSource renderTypeBuffer, int packedLight, float partialTicks)
-
Uses of Entity in net.minecraftforge.common
Modifier and TypeMethodDescriptionIMinecartCollisionHandler.getCollisionBox(AbstractMinecart cart, Entity other)
This function replaced the function of the same name in EntityMinecart.static CriticalHitEvent
ForgeHooks.getCriticalHit(Player player, Entity target, boolean vanillaCritical, float damageModifier)
static double
ForgeHooks.getEntityVisibilityMultiplier(LivingEntity entity, Entity lookingEntity, double originalMultiplier)
static int
ForgeHooks.getLootingLevel(Entity target, Entity killer, DamageSource cause)
void
IMinecartCollisionHandler.onEntityCollision(AbstractMinecart cart, Entity other)
This basically replaces the function of the same name in EntityMinecart.static void
ForgeHooks.onEntityEnterSection(Entity entity, long packedOldPos, long packedNewPos)
static boolean
ForgeHooks.onFarmlandTrample(Level world, BlockPos pos, BlockState state, float fallDistance, Entity entity)
static InteractionResult
ForgeHooks.onInteractEntity(Player player, Entity entity, InteractionHand hand)
static InteractionResult
ForgeHooks.onInteractEntityAt(Player player, Entity entity, HitResult ray, InteractionHand hand)
static InteractionResult
ForgeHooks.onInteractEntityAt(Player player, Entity entity, Vec3 vec3d, InteractionHand hand)
static boolean
ForgeHooks.onPlayerAttackTarget(Player player, Entity target)
static boolean
ForgeHooks.onTravelToDimension(Entity entity, ResourceKey<Level> dimension)
-
Uses of Entity in net.minecraftforge.common.extensions
Modifier and TypeMethodDescriptiondefault Entity
IForgeItem.createEntity(Level world, Entity location, ItemStack itemstack)
This function should return a new entity to replace the dropped item.private Entity
IForgeEntity.self()
Modifier and TypeMethodDescriptiondefault boolean
IForgeBlock.addRunningEffects(BlockState state, Level world, BlockPos pos, Entity entity)
Allows a block to override the standard vanilla running particles.default boolean
IForgeBlockState.addRunningEffects(Level 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, BlockGetter world, BlockPos pos, Entity entity)
Determines if this block is can be destroyed by the specified entities normal behavior.default boolean
IForgeBlockState.canEntityDestroy(BlockGetter 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, EquipmentSlot armorType, Entity entity)
Determines if the specific ItemStack can be placed in the specified armor slot, for the entity.default boolean
IForgeItemStack.canEquip(EquipmentSlot 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, BlockGetter 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(BlockGetter 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(Level world, Entity location, ItemStack itemstack)
This function should return a new entity to replace the dropped item.default String
IForgeItem.getArmorTexture(ItemStack stack, Entity entity, EquipmentSlot slot, String type)
Called by RenderBiped and RenderPlayer to determine the armor texture that should be use for the currently equipped item.default float
IForgeBlock.getFriction(BlockState state, LevelReader world, BlockPos pos, Entity entity)
Gets the slipperiness at the given location at the given state.default float
IForgeBlockState.getFriction(LevelReader world, BlockPos pos, Entity entity)
Gets the slipperiness at the given location at the given state.default SoundType
IForgeBlock.getSoundType(BlockState state, LevelReader world, BlockPos pos, Entity entity)
Sensitive version of getSoundTypedefault SoundType
IForgeBlockState.getSoundType(LevelReader world, BlockPos pos, Entity entity)
Sensitive version of getSoundTypedefault AABB
IForgeItem.getSweepHitBox(ItemStack stack, Player player, Entity target)
Get a bounding box (AABB
) of a sweep attack.default AABB
IForgeItemStack.getSweepHitBox(Player player, Entity target)
Get a bounding box (AABB
) of a sweep attack.default boolean
IForgeBlock.isBed(BlockState state, BlockGetter 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, LevelReader world, BlockPos pos, Entity entity, double yToTest, SetTag<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(LevelReader world, BlockPos pos, Entity entity, double yToTest, SetTag<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, Player player, Entity entity)
Called when the player Left Clicks (attacks) an entity. -
Uses of Entity in net.minecraftforge.common.util
Modifier and TypeMethodDescriptiondefault Entity
ITeleporter.placeEntity(Entity entity, ServerLevel currentWorld, ServerLevel destWorld, float yaw, Function<Boolean,Entity> repositionEntity)
Called to handle placing the entity in the new world.Modifier and TypeMethodDescriptiondefault PortalInfo
ITeleporter.getPortalInfo(Entity entity, ServerLevel destWorld, Function<ServerLevel,PortalInfo> defaultPortalInfo)
Gets the PortalInfo.default Entity
ITeleporter.placeEntity(Entity entity, ServerLevel currentWorld, ServerLevel destWorld, float yaw, Function<Boolean,Entity> repositionEntity)
Called to handle placing the entity in the new world.Modifier and TypeMethodDescriptiondefault Entity
ITeleporter.placeEntity(Entity entity, ServerLevel currentWorld, ServerLevel destWorld, float yaw, Function<Boolean,Entity> repositionEntity)
Called to handle placing the entity in the new world. -
Uses of Entity in net.minecraftforge.common.world
Modifier and TypeMethodDescriptionstatic boolean
ForgeChunkManager.forceChunk(ServerLevel world, String modId, Entity owner, int chunkX, int chunkZ, boolean add, boolean ticking)
Forces a chunk to be loaded for the given mod with the "owner" of the ticket being the UUID of the given entity. -
Uses of Entity in net.minecraftforge.debug.client.rendering
-
Uses of Entity in net.minecraftforge.debug.entity
Modifier and TypeClassDescriptionprivate static class
private static class
-
Uses of Entity in net.minecraftforge.entity
-
Uses of Entity in net.minecraftforge.event
Modifier and TypeMethodDescriptionstatic boolean
ForgeEventFactory.canEntityUpdate(Entity entity)
static boolean
ForgeEventFactory.canMountEntity(Entity entityMounting, Entity entityBeingMounted, boolean isMounting)
static EntityEvent.Size
ForgeEventFactory.getEntitySizeForge(Entity entity, Pose pose, EntityDimensions size, float eyeHeight)
static EntityEvent.Size
ForgeEventFactory.getEntitySizeForge(Entity entity, Pose pose, EntityDimensions oldSize, EntityDimensions newSize, float newEyeHeight)
static boolean
ForgeEventFactory.getMobGriefingEvent(Level world, Entity entity)
static boolean
ForgeEventFactory.onBlockPlace(Entity entity, BlockSnapshot blockSnapshot, Direction direction)
static boolean
ForgeEventFactory.onEntityStruckByLightning(Entity entity, LightningBolt bolt)
ForgeEventFactory.onEntityTeleportCommand(Entity entity, double targetX, double targetY, double targetZ)
ForgeEventFactory.onEntityTeleportSpreadPlayersCommand(Entity entity, double targetX, double targetY, double targetZ)
static boolean
ForgeEventFactory.onMultiBlockPlace(Entity entity, List<BlockSnapshot> blockSnapshots, Direction direction)
static PlaySoundAtEntityEvent
ForgeEventFactory.onPlaySoundAtEntity(Entity entity, SoundEvent name, SoundSource category, float volume, float pitch)
static void
ForgeEventFactory.onStartEntityTracking(Entity entity, Player player)
static void
ForgeEventFactory.onStopEntityTracking(Entity entity, Player player)
Modifier and TypeMethodDescriptionstatic void
ForgeEventFactory.onExplosionDetonate(Level world, Explosion explosion, List<Entity> list, double diameter)
-
Uses of Entity in net.minecraftforge.event.entity
Modifier and TypeFieldDescriptionprivate Entity
EntityEvent.entity
private Entity
EntityMountEvent.entityBeingMounted
private Entity
EntityMountEvent.entityMounting
Modifier and TypeMethodDescriptionEntityEvent.getEntity()
EntityMountEvent.getEntityBeingMounted()
EntityMountEvent.getEntityMounting()
ModifierConstructorDescriptionEnteringSection(Entity entity, long packedOldPos, long packedNewPos)
EntityConstructing(Entity entity)
EntityEvent(Entity entity)
EntityJoinWorldEvent(Entity entity, Level world)
EntityJoinWorldEvent(Entity entity, Level world, boolean loadedFromDisk)
EntityLeaveWorldEvent(Entity entity, Level world)
EntityMobGriefingEvent(Entity entity)
EntityMountEvent(Entity entityMounting, Entity entityBeingMounted, Level entityWorld, boolean isMounting)
EntityStruckByLightningEvent(Entity entity, LightningBolt lightning)
EntityTeleportEvent(Entity entity, double targetX, double targetY, double targetZ)
EntityTravelToDimensionEvent(Entity entity, ResourceKey<Level> dimension)
PlaySoundAtEntityEvent(Entity entity, SoundEvent name, SoundSource category, float volume, float pitch)
Size(Entity entity, Pose pose, EntityDimensions size, float defaultEyeHeight)
Size(Entity entity, Pose pose, EntityDimensions oldSize, EntityDimensions newSize, float oldEyeHeight, float newEyeHeight)
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.living
Modifier and TypeFieldDescriptionprivate Entity
LivingEvent.LivingVisibilityEvent.lookingEntity
private Entity
PotionEvent.PotionAddedEvent.source
Modifier and TypeMethodDescriptionLivingEvent.LivingVisibilityEvent.getLookingEntity()
PotionEvent.PotionAddedEvent.getPotionSource()
Returns the entity source of the effect, ornull
if none exists.ModifierConstructorDescriptionLivingVisibilityEvent(LivingEntity livingEntity, Entity lookingEntity, double originalMultiplier)
PotionAddedEvent(LivingEntity living, MobEffectInstance oldEffect, MobEffectInstance newEffect, Entity source)
-
Uses of Entity in net.minecraftforge.event.entity.player
Modifier and TypeFieldDescriptionprivate 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
Modifier and TypeMethodDescriptionAttackEntityEvent.getTarget()
CriticalHitEvent.getTarget()
The Entity that was damaged by the player.PlayerEvent.StartTracking.getTarget()
The Entity now being tracked.PlayerEvent.StopTracking.getTarget()
The Entity no longer being tracked.PlayerInteractEvent.EntityInteract.getTarget()
PlayerInteractEvent.EntityInteractSpecific.getTarget()
ModifierConstructorDescriptionAttackEntityEvent(Player player, Entity target)
CriticalHitEvent(Player player, Entity target, float damageModifier, boolean vanillaCritical)
EntityInteract(Player player, InteractionHand hand, Entity target)
EntityInteractSpecific(Player player, InteractionHand hand, Entity target, Vec3 localPos)
StartTracking(Player player, Entity target)
StopTracking(Player player, Entity target)
-
Uses of Entity in net.minecraftforge.event.world
Modifier and TypeFieldDescriptionprivate Entity
BlockEvent.EntityPlaceEvent.entity
private Entity
BlockEvent.FarmlandTrampleEvent.entity
Modifier and TypeMethodDescriptionBlockEvent.EntityPlaceEvent.getEntity()
BlockEvent.FarmlandTrampleEvent.getEntity()
Modifier and TypeMethodDescriptionExplosionEvent.Detonate.getAffectedEntities()
return the list of entities affected by the explosion.ModifierConstructorDescriptionEntityMultiPlaceEvent(List<BlockSnapshot> blockSnapshots, BlockState placedAgainst, Entity entity)
EntityPlaceEvent(BlockSnapshot blockSnapshot, BlockState placedAgainst, Entity entity)
FarmlandTrampleEvent(Level world, BlockPos pos, BlockState state, float fallDistance, Entity entity)
-
Uses of Entity in net.minecraftforge.fmlclient.registry
Modifier and TypeFieldDescriptionprivate static Map<Class<? extends Entity>,ResourceLocation>
ClientRegistry.entityShaderMap
Modifier and TypeMethodDescriptionstatic ResourceLocation
ClientRegistry.getEntityShader(Class<? extends Entity> entityClass)
static void
ClientRegistry.registerEntityShader(Class<? extends Entity> entityClass, ResourceLocation shader)
Register a shader for an entity. -
Uses of Entity in net.minecraftforge.fmllegacy.network
Modifier and TypeFieldDescriptionstatic 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)
EntityModifier and TypeMethodDescriptionstatic Packet<?>
NetworkHooks.getEntitySpawningPacket(Entity entity)
Modifier and TypeMethodDescriptionPacketDistributor.trackingEntity(Supplier<Entity> entitySupplier)
PacketDistributor.trackingEntityAndSelf(Supplier<Entity> entitySupplier)
-
Uses of Entity in net.minecraftforge.server.command
Modifier and TypeMethodDescriptionprivate static boolean
CommandSetDimension.canEntityTeleport(Entity entity)
Deprecated, for removal: This API element is subject to removal in a future version.Modifier and TypeMethodDescriptionprivate static int
CommandSetDimension.execute(com.mojang.brigadier.context.CommandContext<CommandSourceStack> ctx, Collection<? extends Entity> entities, ServerLevel dim, BlockPos pos)
Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of Entity in net.minecraftforge.server.permission.context
Modifier and TypeFieldDescriptionstatic ContextKey<Entity>
ContextKeys.TARGET
The entity can be anything that gets interacted with - a sheep when you try to dye it, skeleton that you attack, etc. -
Uses of Entity in net.minecraftforge.server.timings
Modifier and TypeFieldDescriptionstatic TimeTracker<Entity>
TimeTracker.ENTITY_UPDATE
A tracker for timing entity updates