Uses of Class
net.minecraft.world.entity.Entity
Packages that use Entity
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
-
Uses of Entity in net.minecraft.advancements.critereon
Fields in net.minecraft.advancements.critereon with type parameters of type EntityModifier and TypeFieldDescriptionEntitySubPredicates.EntityHolderVariantPredicateType.getterEntitySubPredicates.EntityVariantPredicateType.getterMethods in net.minecraft.advancements.critereon with parameters of type EntityModifier and TypeMethodDescriptionstatic LootContextEntityPredicate.createContext(ServerPlayer p_36617_, Entity p_36618_) static CompoundTagNbtPredicate.getEntityTagToCompare(Entity p_57486_) booleanbooleanbooleanEntityPredicate.matches(ServerLevel p_36608_, Vec3 p_36609_, Entity p_36610_) booleanEntityPredicate.matches(ServerPlayer p_36612_, Entity p_36613_) booleanEntitySubPredicate.matches(Entity p_218828_, ServerLevel p_218829_, Vec3 p_218830_) booleanEntitySubPredicates.EntityHolderVariantPredicateType.Instance.matches(Entity p_335756_, ServerLevel p_335539_, Vec3 p_336193_) booleanEntitySubPredicates.EntityVariantPredicateType.Instance.matches(Entity p_334092_, ServerLevel p_333810_, Vec3 p_333907_) booleanFishingHookPredicate.matches(Entity p_219716_, ServerLevel p_219717_, Vec3 p_219718_) booleanLightningBoltPredicate.matches(Entity p_299034_, ServerLevel p_299101_, Vec3 p_298929_) booleanbooleanbooleanPlayerPredicate.matches(Entity p_222484_, ServerLevel p_222485_, Vec3 p_222486_) booleanRaiderPredicate.matches(Entity p_338232_, ServerLevel p_338194_, Vec3 p_338564_) booleanSlimePredicate.matches(Entity p_223423_, ServerLevel p_223424_, Vec3 p_223425_) booleanprivate static booleanSlotsPredicate.matchSlots(Entity p_332687_, ItemPredicate p_332814_, it.unimi.dsi.fastutil.ints.IntList p_332676_) voidEffectsChangedTrigger.trigger(ServerPlayer p_149263_, Entity p_149264_) voidFallAfterExplosionTrigger.trigger(ServerPlayer p_335648_, Vec3 p_336086_, Entity p_336120_) voidKilledTrigger.trigger(ServerPlayer p_48105_, Entity p_48106_, DamageSource p_48107_) voidPickedUpItemTrigger.trigger(ServerPlayer p_221299_, ItemStack p_221300_, Entity p_221301_) voidPlayerHurtEntityTrigger.trigger(ServerPlayer p_60113_, Entity p_60114_, DamageSource p_60115_, float p_60116_, float p_60117_, boolean p_60118_) voidPlayerInteractTrigger.trigger(ServerPlayer p_61495_, ItemStack p_61496_, Entity p_61497_) voidSummonedEntityTrigger.trigger(ServerPlayer p_68257_, Entity p_68258_) voidTargetBlockTrigger.trigger(ServerPlayer p_70212_, Entity p_70213_, Vec3 p_70214_, int p_70215_) Method parameters in net.minecraft.advancements.critereon with type arguments of type EntityModifier and TypeMethodDescriptionstatic <V> EntitySubPredicates.EntityHolderVariantPredicateType<V> EntitySubPredicates.EntityHolderVariantPredicateType.create(ResourceKey<? extends Registry<V>> p_335749_, Function<Entity, Optional<Holder<V>>> p_336155_) static <V> EntitySubPredicates.EntityVariantPredicateType<V> EntitySubPredicates.EntityVariantPredicateType.create(com.mojang.serialization.Codec<V> p_333837_, Function<Entity, Optional<V>> p_334017_) static <V> EntitySubPredicates.EntityVariantPredicateType<V> EntitySubPredicates.EntityVariantPredicateType.create(Registry<V> p_333921_, Function<Entity, Optional<V>> p_334088_) voidChanneledLightningTrigger.trigger(ServerPlayer p_21722_, Collection<? extends Entity> p_21723_) voidKilledByCrossbowTrigger.trigger(ServerPlayer p_46872_, Collection<Entity> p_46873_) voidLightningStrikeTrigger.trigger(ServerPlayer p_153392_, LightningBolt p_153393_, List<Entity> p_153394_) Constructor parameters in net.minecraft.advancements.critereon with type arguments of type EntityModifierConstructorDescriptionEntityHolderVariantPredicateType(ResourceKey<? extends Registry<V>> p_336141_, Function<Entity, Optional<Holder<V>>> p_336167_) EntityVariantPredicateType(com.mojang.serialization.Codec<V> p_333738_, Function<Entity, Optional<V>> p_333805_) -
Uses of Entity in net.minecraft.client
Fields in net.minecraft.client declared as EntityModifier and TypeFieldDescriptionMinecraft.cameraEntityMinecraft.crosshairPickEntityprivate EntityCamera.entityMethods in net.minecraft.client that return EntityMethods in net.minecraft.client with parameters of type EntityModifier and TypeMethodDescriptionvoidMinecraft.setCameraEntity(Entity p_91119_) voidCamera.setup(BlockGetter p_90576_, Entity p_90577_, boolean p_90578_, boolean p_90579_, float p_90580_) booleanMinecraft.shouldEntityAppearGlowing(Entity p_91315_) -
Uses of Entity in net.minecraft.client.gui
Methods in net.minecraft.client.gui with parameters of type EntityModifier and TypeMethodDescriptionprivate voidGui.renderVignette(GuiGraphics p_283063_, Entity p_283439_) private voidGui.updateVignetteBrightness(Entity p_93021_) -
Uses of Entity in net.minecraft.client.model
Classes in net.minecraft.client.model with type parameters of type EntityModifier and TypeClassDescriptionclassAgeableHierarchicalModel<E extends Entity>classAgeableListModel<E extends Entity>classBlazeModel<T extends Entity>classChickenModel<T extends Entity>classclassColorableAgeableListModel<E extends Entity>classColorableHierarchicalModel<E extends Entity>classclassCreeperModel<T extends Entity>classDolphinModel<T extends Entity>classEndermiteModel<T extends Entity>classEntityModel<T extends Entity>classEvokerFangsModel<T extends Entity>classGhastModel<T extends Entity>classHierarchicalModel<E extends Entity>classLeashKnotModel<T extends Entity>classclassLlamaSpitModel<T extends Entity>classMinecartModel<T extends Entity>classOcelotModel<T extends Entity>classclassPufferfishBigModel<T extends Entity>classPufferfishMidModel<T extends Entity>classPufferfishSmallModel<T extends Entity>classQuadrupedModel<T extends Entity>classSalmonModel<T extends Entity>classShulkerBulletModel<T extends Entity>classSilverfishModel<T extends Entity>classSlimeModel<T extends Entity>classSnowGolemModel<T extends Entity>classSpiderModel<T extends Entity>classSquidModel<T extends Entity>classTropicalFishModelA<T extends Entity>classTropicalFishModelB<T extends Entity>classVillagerModel<T extends Entity>classWitchModel<T extends Entity> -
Uses of Entity in net.minecraft.client.multiplayer
Fields in net.minecraft.client.multiplayer with type parameters of type EntityModifier and TypeFieldDescriptionprivate final TransientEntitySectionManager<Entity> ClientLevel.entityStorageMethods in net.minecraft.client.multiplayer that return EntityModifier and TypeMethodDescriptionprivate EntityClientPacketListener.createEntityFromPacket(ClientboundAddEntityPacket p_302232_) ClientLevel.getEntity(int p_104609_) Methods in net.minecraft.client.multiplayer that return types with arguments of type EntityModifier and TypeMethodDescriptionClientLevel.entitiesForRendering()protected LevelEntityGetter<Entity> ClientLevel.getEntities()Methods in net.minecraft.client.multiplayer with parameters of type EntityModifier and TypeMethodDescriptionvoidvoidMultiPlayerGameMode.interact(Player p_105227_, Entity p_105228_, InteractionHand p_105229_) MultiPlayerGameMode.interactAt(Player p_105231_, Entity p_105232_, EntityHitResult p_105233_, InteractionHand p_105234_) voidvoidClientLevel.EntityCallbacks.onDestroyed(Entity p_171700_) voidClientLevel.EntityCallbacks.onSectionChange(Entity p_233660_) voidClientLevel.EntityCallbacks.onTickingEnd(Entity p_171708_) voidClientLevel.EntityCallbacks.onTickingStart(Entity p_171704_) voidClientLevel.EntityCallbacks.onTrackingEnd(Entity p_171716_) voidClientLevel.EntityCallbacks.onTrackingStart(Entity p_171712_) voidClientLevel.playLocalSound(Entity p_312749_, SoundEvent p_312635_, SoundSource p_312007_, float p_312298_, float p_312772_) voidClientLevel.playSeededSound(Player p_263514_, Entity p_263536_, Holder<SoundEvent> p_263518_, SoundSource p_263487_, float p_263538_, float p_263524_, long p_263509_) private voidClientPacketListener.postAddEntitySoundInstance(Entity p_233664_) booleanClientLevel.shouldTickDeath(Entity p_194185_) voidClientLevel.tickNonPassenger(Entity p_104640_) private voidClientLevel.tickPassenger(Entity p_104642_, Entity p_104643_) -
Uses of Entity in net.minecraft.client.particle
Fields in net.minecraft.client.particle declared as EntityModifier and TypeFieldDescriptionprivate final EntityTrackingEmitter.entityprivate final EntityItemPickupParticle.itemEntityprivate final EntityItemPickupParticle.targetMethods in net.minecraft.client.particle that return EntityModifier and TypeMethodDescriptionprivate EntityItemPickupParticle.getSafeCopy(Entity p_107037_) Methods in net.minecraft.client.particle with parameters of type EntityModifier and TypeMethodDescriptionvoidParticleEngine.createTrackingEmitter(Entity p_107330_, ParticleOptions p_107331_) voidParticleEngine.createTrackingEmitter(Entity p_107333_, ParticleOptions p_107334_, int p_107335_) private EntityItemPickupParticle.getSafeCopy(Entity p_107037_) Constructors in net.minecraft.client.particle with parameters of type EntityModifierConstructorDescriptionItemPickupParticle(EntityRenderDispatcher p_107023_, RenderBuffers p_107024_, ClientLevel p_107025_, Entity p_107026_, Entity p_107027_) privateItemPickupParticle(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_) privateTrackingEmitter(ClientLevel p_108399_, Entity p_108400_, ParticleOptions p_108401_, int p_108402_, Vec3 p_108403_) -
Uses of Entity in net.minecraft.client.player
Subclasses of Entity in net.minecraft.client.playerMethods in net.minecraft.client.player with parameters of type EntityModifier and TypeMethodDescriptionvoidvoidbooleanLocalPlayer.startRiding(Entity p_108667_, boolean p_108668_) private booleanLocalPlayer.vehicleCanSprint(Entity p_265184_) -
Uses of Entity in net.minecraft.client.renderer
Methods in net.minecraft.client.renderer with parameters of type EntityModifier and TypeMethodDescriptionvoidGameRenderer.checkEntityPostEffect(Entity p_109107_) private static FogRenderer.MobEffectFogFunctionFogRenderer.getPriorityFogFunction(Entity p_234166_, float p_234167_) private HitResultprivate voidLevelRenderer.renderEntity(Entity p_109518_, double p_109519_, double p_109520_, double p_109521_, float p_109522_, PoseStack p_109523_, MultiBufferSource p_109524_) private voidLevelRenderer.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.blockentity
Methods in net.minecraft.client.renderer.blockentity with parameters of type EntityModifier and TypeMethodDescriptionstatic voidSpawnerRenderer.renderEntityInSpawner(float p_311943_, PoseStack p_312805_, MultiBufferSource p_312394_, int p_311996_, Entity p_312223_, EntityRenderDispatcher p_312703_, double p_312192_, double p_312929_) -
Uses of Entity in net.minecraft.client.renderer.debug
Fields in net.minecraft.client.renderer.debug with type parameters of type EntityMethods in net.minecraft.client.renderer.debug that return types with arguments of type EntityModifier and TypeMethodDescriptionDebugRenderer.getTargetedEntity(Entity p_113449_, int p_113450_) Methods in net.minecraft.client.renderer.debug with parameters of type EntityModifier and TypeMethodDescriptionprivate voidSupportBlockRenderer.drawHighlights(PoseStack p_286525_, MultiBufferSource p_286495_, double p_286696_, double p_286417_, double p_286386_, Entity p_286273_, DoubleSupplier p_286458_, float p_286487_, float p_286710_, float p_286793_) private doubleDebugRenderer.getTargetedEntity(Entity p_113449_, int p_113450_) -
Uses of Entity in net.minecraft.client.renderer.entity
Classes in net.minecraft.client.renderer.entity with type parameters of type EntityModifier and TypeClassDescriptionclassEntityRenderer<T extends Entity>interfaceEntityRendererProvider<T extends Entity>classNoopRenderer<T extends Entity>interfaceRenderLayerParent<T extends Entity,M extends EntityModel<T>> classThrownItemRenderer<T extends Entity & ItemSupplier>Fields in net.minecraft.client.renderer.entity declared as EntityMethods in net.minecraft.client.renderer.entity with type parameters of type EntityModifier 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>
voidEntityRenderer.renderLeash(T p_352225_, float p_352465_, PoseStack p_352205_, MultiBufferSource p_352444_, E p_352269_) <E extends Entity>
booleanEntityRenderDispatcher.shouldRender(E p_114398_, Frustum p_114399_, double p_114400_, double p_114401_, double p_114402_) Methods in net.minecraft.client.renderer.entity that return EntityModifier and TypeMethodDescriptionprivate static EntityEntityRenderDispatcher.getServerSideEntity(Entity p_353043_) Methods in net.minecraft.client.renderer.entity with parameters of type EntityModifier and TypeMethodDescriptiondoubleEntityRenderDispatcher.distanceToSqr(Entity p_114472_) private static EntityEntityRenderDispatcher.getServerSideEntity(Entity p_353043_) ThrownItemRenderer.getTextureLocation(Entity p_116083_) voidprivate voidEntityRenderDispatcher.renderFlame(PoseStack p_114454_, MultiBufferSource p_114455_, Entity p_114456_, org.joml.Quaternionf p_304964_) private static voidEntityRenderDispatcher.renderHitbox(PoseStack p_114442_, VertexConsumer p_114443_, Entity p_114444_, float p_114445_, float p_353064_, float p_353059_, float p_353042_) private static voidEntityRenderDispatcher.renderServerSideHitbox(PoseStack p_353069_, Entity p_353061_, MultiBufferSource p_353074_) private static voidEntityRenderDispatcher.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
Classes in net.minecraft.client.renderer.entity.layers with type parameters of type EntityModifier and TypeClassDescriptionclassEnergySwirlLayer<T extends Entity & PowerableMob,M extends EntityModel<T>> classEyesLayer<T extends Entity,M extends EntityModel<T>> classRenderLayer<T extends Entity,M extends EntityModel<T>> classSaddleLayer<T extends Entity & Saddleable,M extends EntityModel<T>> classSpiderEyesLayer<T extends Entity,M extends SpiderModel<T>> Methods in net.minecraft.client.renderer.entity.layers with parameters of type EntityModifier and TypeMethodDescriptionprotected voidArrowLayer.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 voidBeeStingerLayer.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 voidStuckInBodyLayer.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.renderer.item
Methods in net.minecraft.client.renderer.item with parameters of type EntityModifier and TypeMethodDescriptionprivate doubleCompassItemPropertyFunction.getAngleFromEntityToPos(Entity p_234949_, BlockPos p_234950_) private floatCompassItemPropertyFunction.getCompassRotation(ItemStack p_234955_, ClientLevel p_234956_, int p_234957_, Entity p_234958_) CompassItemPropertyFunction.CompassTarget.getPos(ClientLevel p_234965_, ItemStack p_234966_, Entity p_234967_) private floatCompassItemPropertyFunction.getRotationTowardsCompassTarget(Entity p_234942_, long p_234943_, BlockPos p_234944_) private doubleCompassItemPropertyFunction.getWrappedVisualRotationY(Entity p_234940_) private booleanCompassItemPropertyFunction.isValidCompassTargetPos(Entity p_234952_, GlobalPos p_234953_) private ClientLevelCompassItemPropertyFunction.tryFetchLevelIfMissing(Entity p_234946_, ClientLevel p_234947_) -
Uses of Entity in net.minecraft.client.resources.sounds
Fields in net.minecraft.client.resources.sounds declared as EntityConstructors in net.minecraft.client.resources.sounds with parameters of type EntityModifierConstructorDescriptionEntityBoundSoundInstance(SoundEvent p_235080_, SoundSource p_235081_, float p_235082_, float p_235083_, Entity p_235084_, long p_235085_) -
Uses of Entity in net.minecraft.commands
Fields in net.minecraft.commands declared as EntityMethods in net.minecraft.commands that return EntityModifier and TypeMethodDescriptionCommandSourceStack.getEntity()CommandSourceStack.getEntityOrException()Methods in net.minecraft.commands with parameters of type EntityModifier and TypeMethodDescriptionCommandSourceStack.facing(Entity p_81332_, EntityAnchorArgument.Anchor p_81333_) CommandSourceStack.withEntity(Entity p_81330_) Constructors in net.minecraft.commands with parameters of type EntityModifierConstructorDescriptionCommandSourceStack(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_) protectedCommandSourceStack(CommandSource p_282943_, Vec3 p_282023_, Vec2 p_282896_, ServerLevel p_282659_, int p_283075_, String p_282379_, Component p_282469_, MinecraftServer p_281590_, Entity p_281515_, boolean p_282415_, CommandResultCallback p_309630_, EntityAnchorArgument.Anchor p_282332_, CommandSigningContext p_283585_, TaskChainer p_282376_) -
Uses of Entity in net.minecraft.commands.arguments
Fields in net.minecraft.commands.arguments with type parameters of type EntityModifier and TypeFieldDescriptionprivate final BiFunction<Vec3, Entity, Vec3> EntityAnchorArgument.Anchor.transformMethods in net.minecraft.commands.arguments that return EntityModifier and TypeMethodDescriptionstatic EntityEntityArgument.getEntity(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_91453_, String p_91454_) Methods in net.minecraft.commands.arguments that return types with arguments of type EntityModifier 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_) Methods in net.minecraft.commands.arguments with parameters of type EntityConstructor parameters in net.minecraft.commands.arguments with type arguments of type Entity -
Uses of Entity in net.minecraft.commands.arguments.selector
Fields in net.minecraft.commands.arguments.selector with type parameters of type EntityModifier and TypeFieldDescriptionprivate static final EntityTypeTest<Entity, ?> EntitySelector.ANY_TYPEEntitySelector.contextFreePredicatesprivate final BiConsumer<Vec3, List<? extends Entity>> EntitySelector.orderprivate BiConsumer<Vec3, List<? extends Entity>> EntitySelectorParser.orderstatic final BiConsumer<Vec3, List<? extends Entity>> EntitySelector.ORDER_ARBITRARYstatic final BiConsumer<Vec3, List<? extends Entity>> EntitySelectorParser.ORDER_FURTHESTstatic final BiConsumer<Vec3, List<? extends Entity>> EntitySelectorParser.ORDER_NEARESTstatic final BiConsumer<Vec3, List<? extends Entity>> EntitySelectorParser.ORDER_RANDOMEntitySelectorParser.predicatesprivate final EntityTypeTest<Entity, ?> EntitySelector.typeMethods in net.minecraft.commands.arguments.selector with type parameters of type EntityMethods in net.minecraft.commands.arguments.selector that return EntityMethods in net.minecraft.commands.arguments.selector that return types with arguments of type EntityModifier 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_, AABB p_352908_, FeatureFlagSet p_352911_) Method parameters in net.minecraft.commands.arguments.selector with type arguments of type EntityModifier and TypeMethodDescriptionprivate voidEntitySelector.addEntities(List<Entity> p_121155_, ServerLevel p_121156_, AABB p_352947_, Predicate<Entity> p_121158_) private voidEntitySelector.addEntities(List<Entity> p_121155_, ServerLevel p_121156_, AABB p_352947_, Predicate<Entity> p_121158_) voidEntitySelectorParser.addPredicate(Predicate<Entity> p_121273_) EntitySelectorParser.createRotationPredicate(WrappedMinMaxBounds p_121255_, ToDoubleFunction<Entity> p_121256_) static ComponentvoidEntitySelectorParser.setOrder(BiConsumer<Vec3, List<? extends Entity>> p_121269_) Constructor parameters in net.minecraft.commands.arguments.selector with type arguments of type EntityModifierConstructorDescriptionEntitySelector(int p_121125_, boolean p_121126_, boolean p_121127_, List<Predicate<Entity>> p_352913_, 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_, List<Predicate<Entity>> p_352913_, 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
Methods in net.minecraft.core with parameters of type EntityModifier and TypeMethodDescriptionstatic DirectionDirection.getFacingAxis(Entity p_175358_, Direction.Axis p_175359_) static Direction[]Direction.orderedByNearest(Entity p_122383_) -
Uses of Entity in net.minecraft.gametest.framework
Methods in net.minecraft.gametest.framework with type parameters of type EntityModifier 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 & InventoryCarrier>
voidGameTestHelper.assertEntityInventoryContains(BlockPos p_263495_, EntityType<E> p_263521_, Item p_263502_) <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.findClosestEntity(EntityType<E> p_320915_, int p_320152_, int p_319868_, int p_319912_, double p_320874_) GameTestHelper.findEntities(EntityType<E> p_320065_, int p_320533_, int p_320279_, int p_320721_, double p_320280_) GameTestHelper.findEntities(EntityType<E> p_320878_, Vec3 p_320734_, double p_320825_) <E extends Entity>
EGameTestHelper.findOneEntity(EntityType<E> p_320756_) GameTestHelper.getEntities(EntityType<T> p_320029_) GameTestHelper.getEntities(EntityType<T> p_238400_, BlockPos p_238401_, double p_238402_) <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_) Methods in net.minecraft.gametest.framework with parameters of type EntityModifier and TypeMethodDescriptionvoidGameTestHelper.assertEntityInstancePresent(Entity p_177133_, int p_177134_, int p_177135_, int p_177136_) voidGameTestHelper.assertEntityInstancePresent(Entity p_177141_, BlockPos p_177142_) voidGameTestHelper.assertEntityPosition(Entity p_353077_, AABB p_353054_, String p_353075_) voidStructureUtils.lookedAtStructureBlockPos(BlockPos p_320206_, Entity p_320494_, ServerLevel p_320139_) -
Uses of Entity in net.minecraft.network.chat
Methods in net.minecraft.network.chat with parameters of type EntityModifier and TypeMethodDescriptionstatic ChatType.BoundChatType.bind(ResourceKey<ChatType> p_241279_, Entity p_241483_) default MutableComponentComponentContents.resolve(CommandSourceStack p_237126_, Entity p_237127_, int p_237128_) private static StyleComponentUtils.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 MutableComponentComponentUtils.updateForEntity(CommandSourceStack p_130732_, Component p_130733_, Entity p_130734_, int p_130735_) -
Uses of Entity in net.minecraft.network.chat.contents
Methods in net.minecraft.network.chat.contents with parameters of type EntityModifier and TypeMethodDescriptionNbtContents.resolve(CommandSourceStack p_237401_, Entity p_237402_, int p_237403_) ScoreContents.resolve(CommandSourceStack p_237444_, Entity p_237445_, int p_237446_) SelectorContents.resolve(CommandSourceStack p_237468_, Entity p_237469_, int p_237470_) TranslatableContents.resolve(CommandSourceStack p_237512_, Entity p_237513_, int p_237514_) -
Uses of Entity in net.minecraft.network.protocol.game
Methods in net.minecraft.network.protocol.game that return EntityModifier and TypeMethodDescriptionServerboundTeleportToEntityPacket.getEntity(ServerLevel p_134682_) ServerboundInteractPacket.getTarget(ServerLevel p_179604_) Methods in net.minecraft.network.protocol.game with parameters of type EntityModifier and TypeMethodDescriptionstatic ServerboundInteractPacketServerboundInteractPacket.createAttackPacket(Entity p_179606_, boolean p_179607_) static ServerboundInteractPacketServerboundInteractPacket.createInteractionPacket(Entity p_179609_, boolean p_179610_, InteractionHand p_179611_) static ServerboundInteractPacketServerboundInteractPacket.createInteractionPacket(Entity p_179613_, boolean p_179614_, InteractionHand p_179615_, Vec3 p_179616_) static StringDebugEntityNameGenerator.getEntityName(Entity p_179487_) Constructors in net.minecraft.network.protocol.game with parameters of type EntityModifierConstructorDescriptionClientboundAddEntityPacket(Entity p_237558_, int p_237559_, BlockPos p_237560_) ClientboundAddEntityPacket(Entity p_131483_, ServerEntity p_352367_) ClientboundAddEntityPacket(Entity p_131481_, ServerEntity p_352292_, int p_352422_) ClientboundAnimatePacket(Entity p_131616_, int p_131617_) ClientboundDamageEventPacket(Entity p_270474_, DamageSource p_270781_) 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(Holder<SoundEvent> p_263513_, SoundSource p_263511_, Entity p_263496_, float p_263519_, float p_263523_, long p_263532_) 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.server.commands
Fields in net.minecraft.server.commands declared as EntityModifier and TypeFieldDescriptionprivate final EntityTeleportCommand.LookAtEntity.entityThe field for theentityrecord component.Methods in net.minecraft.server.commands that return EntityModifier and TypeMethodDescriptionstatic EntitySummonCommand.createEntity(CommandSourceStack p_270582_, Holder.Reference<EntityType<?>> p_270277_, Vec3 p_270366_, CompoundTag p_270197_, boolean p_270947_) TeleportCommand.LookAtEntity.entity()Returns the value of theentityrecord component.Methods in net.minecraft.server.commands with parameters of type EntityModifier and TypeMethodDescriptionprivate static intAttributeCommand.addModifier(CommandSourceStack p_136470_, Entity p_136471_, Holder<Attribute> p_251636_, ResourceLocation p_350414_, double p_136475_, AttributeModifier.Operation p_136476_) private static intDamageCommand.damage(CommandSourceStack p_270409_, Entity p_270496_, float p_270836_, DamageSource p_270727_) private static intRideCommand.dismount(CommandSourceStack p_265724_, Entity p_265678_) private static intLootCommand.dropKillLoot(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_137906_, Entity p_137907_, LootCommand.DropConsumer p_137908_) private static intItemCommands.entityToBlock(CommandSourceStack p_180258_, Entity p_180259_, int p_180260_, BlockPos p_180261_, int p_180262_) private static intItemCommands.entityToBlock(CommandSourceStack p_180264_, Entity p_180265_, int p_180266_, BlockPos p_180267_, int p_180268_, Holder<LootItemFunction> p_335965_) private static intItemCommands.entityToEntities(CommandSourceStack p_180271_, Entity p_180272_, int p_180273_, Collection<? extends Entity> p_180274_, int p_180275_) private static intItemCommands.entityToEntities(CommandSourceStack p_180277_, Entity p_180278_, int p_180279_, Collection<? extends Entity> p_180280_, int p_180281_, Holder<LootItemFunction> p_335469_) private static intAttributeCommand.getAttributeBase(CommandSourceStack p_248780_, Entity p_251083_, Holder<Attribute> p_250388_, double p_250194_) private static AttributeInstanceAttributeCommand.getAttributeInstance(Entity p_252177_, Holder<Attribute> p_249942_) private static intAttributeCommand.getAttributeModifier(CommandSourceStack p_136464_, Entity p_136465_, Holder<Attribute> p_250680_, ResourceLocation p_350277_, double p_136468_) private static intAttributeCommand.getAttributeValue(CommandSourceStack p_251776_, Entity p_249647_, Holder<Attribute> p_250986_, double p_251395_) private static ItemStackItemCommands.getEntityItem(Entity p_180246_, int p_180247_) private static LivingEntityAttributeCommand.getEntityWithAttribute(Entity p_252105_, Holder<Attribute> p_248921_) private static LivingEntityAttributeCommand.getLivingEntity(Entity p_136440_) private static intRideCommand.mount(CommandSourceStack p_265285_, Entity p_265711_, Entity p_265339_) voidTeleportCommand.LookAt.perform(CommandSourceStack p_139061_, Entity p_139062_) voidTeleportCommand.LookAtEntity.perform(CommandSourceStack p_326864_, Entity p_326807_) voidTeleportCommand.LookAtPosition.perform(CommandSourceStack p_326870_, Entity p_326894_) private static voidTeleportCommand.performTeleport(CommandSourceStack p_139015_, Entity p_139016_, ServerLevel p_139017_, double p_139018_, double p_139019_, double p_139020_, Set<RelativeMovement> p_139021_, float p_139022_, float p_139023_, TeleportCommand.LookAt p_139024_) private static intAttributeCommand.removeModifier(CommandSourceStack p_136459_, Entity p_136460_, Holder<Attribute> p_250830_, ResourceLocation p_350686_) private static voidTeamMsgCommand.sendMessage(CommandSourceStack p_248778_, Entity p_248891_, PlayerTeam p_250504_, List<ServerPlayer> p_249706_, PlayerChatMessage p_249707_) private static intAttributeCommand.setAttributeBase(CommandSourceStack p_248556_, Entity p_248620_, Holder<Attribute> p_249456_, double p_252212_) private static voidLootCommand.setSlots(Entity p_137889_, List<ItemStack> p_137890_, int p_137891_, int p_137892_, List<ItemStack> p_137893_) private static intSpectateCommand.spectate(CommandSourceStack p_138684_, Entity p_138685_, ServerPlayer p_138686_) private static intTeleportCommand.teleportToEntity(CommandSourceStack p_139033_, Collection<? extends Entity> p_139034_, Entity p_139035_) Method parameters in net.minecraft.server.commands with type arguments of type EntityModifier and TypeMethodDescriptionprivate static intTagCommand.addTag(CommandSourceStack p_138849_, Collection<? extends Entity> p_138850_, String p_138851_) private static intItemCommands.blockToEntities(CommandSourceStack p_180315_, BlockPos p_180316_, int p_180317_, Collection<? extends Entity> p_180318_, int p_180319_) private static intItemCommands.blockToEntities(CommandSourceStack p_180321_, BlockPos p_180322_, int p_180323_, Collection<? extends Entity> p_180324_, int p_180325_, Holder<LootItemFunction> p_336168_) private static intEffectCommands.clearEffect(CommandSourceStack p_250069_, Collection<? extends Entity> p_248561_, Holder<MobEffect> p_249198_) private static intEffectCommands.clearEffects(CommandSourceStack p_136960_, Collection<? extends Entity> p_136961_) private static intExecuteCommand.countItems(Iterable<? extends Entity> p_332642_, SlotRange p_332729_, Predicate<ItemStack> p_332803_) private static intEnchantCommand.enchant(CommandSourceStack p_249815_, Collection<? extends Entity> p_248848_, Holder<Enchantment> p_251252_, int p_249941_) private static intLootCommand.entityReplace(Collection<? extends Entity> p_137979_, int p_137980_, int p_137981_, List<ItemStack> p_137982_, LootCommand.Callback p_137983_) private static intItemCommands.entityToEntities(CommandSourceStack p_180271_, Entity p_180272_, int p_180273_, Collection<? extends Entity> p_180274_, int p_180275_) private static intItemCommands.entityToEntities(CommandSourceStack p_180277_, Entity p_180278_, int p_180279_, Collection<? extends Entity> p_180280_, int p_180281_, Holder<LootItemFunction> p_335469_) private static com.mojang.brigadier.RedirectModifier<CommandSourceStack> ExecuteCommand.expandOneToManyEntityRelation(Function<Entity, Stream<Entity>> p_265496_) private static com.mojang.brigadier.RedirectModifier<CommandSourceStack> ExecuteCommand.expandOneToManyEntityRelation(Function<Entity, Stream<Entity>> p_265496_) private static com.mojang.brigadier.RedirectModifier<CommandSourceStack> ExecuteCommand.expandOneToOneEntityRelation(Function<Entity, Optional<Entity>> p_265114_) private static com.mojang.brigadier.RedirectModifier<CommandSourceStack> ExecuteCommand.expandOneToOneEntityRelation(Function<Entity, Optional<Entity>> p_265114_) private static intSpreadPlayersCommand.getNumberOfTeams(Collection<? extends Entity> p_138728_) private static Collection<String> TagCommand.getTags(Collection<? extends Entity> p_138853_) private static intEffectCommands.giveEffect(CommandSourceStack p_250553_, Collection<? extends Entity> p_250411_, Holder<MobEffect> p_249495_, Integer p_249652_, int p_251498_, boolean p_249944_) private static intKillCommand.kill(CommandSourceStack p_137814_, Collection<? extends Entity> p_137815_) private static intTagCommand.listTags(CommandSourceStack p_138846_, Collection<? extends Entity> p_138847_) private static intItemCommands.modifyEntityItem(CommandSourceStack p_180337_, Collection<? extends Entity> p_180338_, int p_180339_, Holder<LootItemFunction> p_335904_) private static intTagCommand.removeTag(CommandSourceStack p_138857_, Collection<? extends Entity> p_138858_, String p_138859_) private static intItemCommands.setEntityItem(CommandSourceStack p_180332_, Collection<? extends Entity> p_180333_, int p_180334_, ItemStack p_180335_) private static doubleSpreadPlayersCommand.setPlayerPositions(Collection<? extends Entity> p_138730_, ServerLevel p_138731_, SpreadPlayersCommand.Position[] p_138732_, int p_138733_, boolean p_138734_) private static intSpreadPlayersCommand.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 intTeleportCommand.teleportToEntity(CommandSourceStack p_139033_, Collection<? extends Entity> p_139034_, Entity p_139035_) private static intTeleportCommand.teleportToPos(CommandSourceStack p_139026_, Collection<? extends Entity> p_139027_, ServerLevel p_139028_, Coordinates p_139029_, Coordinates p_139030_, TeleportCommand.LookAt p_139031_) Constructors in net.minecraft.server.commands with parameters of type EntityModifierConstructorDescription(package private)LookAtEntity(Entity entity, EntityAnchorArgument.Anchor anchor) Creates an instance of aLookAtEntityrecord class. -
Uses of Entity in net.minecraft.server.commands.data
Fields in net.minecraft.server.commands.data declared as EntityConstructors in net.minecraft.server.commands.data with parameters of type Entity -
Uses of Entity in net.minecraft.server.level
Subclasses of Entity in net.minecraft.server.levelFields in net.minecraft.server.level declared as EntityModifier and TypeFieldDescriptionprivate EntityServerPlayer.camera(package private) final EntityChunkMap.TrackedEntity.entityprivate final EntityServerEntity.entityFields in net.minecraft.server.level with type parameters of type EntityModifier and TypeFieldDescriptionprivate final PersistentEntitySectionManager<Entity> ServerLevel.entityManagerServerEntity.lastPassengersMethods in net.minecraft.server.level with type parameters of type EntityModifier and TypeMethodDescriptionServerLevel.getEntities(EntityTypeTest<Entity, T> p_143281_, Predicate<? super T> p_143282_) <T extends Entity>
voidServerLevel.getEntities(EntityTypeTest<Entity, T> p_262152_, Predicate<? super T> p_261808_, List<? super T> p_261583_) <T extends Entity>
voidServerLevel.getEntities(EntityTypeTest<Entity, T> p_261842_, Predicate<? super T> p_262091_, List<? super T> p_261703_, int p_261907_) WorldGenRegion.getEntities(EntityTypeTest<Entity, T> p_143494_, AABB p_143495_, Predicate<? super T> p_143496_) Methods in net.minecraft.server.level that return EntityModifier and TypeMethodDescriptionServerPlayer.changeDimension(DimensionTransition p_350472_) ServerPlayer.getCamera()ServerLevel.getEntity(int p_8597_) ServerLevel.getEntityOrPart(int p_143318_) Deprecated.Methods in net.minecraft.server.level that return types with arguments of type EntityModifier and TypeMethodDescriptionServerLevel.getAllEntities()ServerLevel.getEntities()WorldGenRegion.getEntities(Entity p_9519_, AABB p_9520_, Predicate<? super Entity> p_9521_) ServerEntity.removedPassengers(List<Entity> p_277592_, List<Entity> p_277658_) Methods in net.minecraft.server.level with parameters of type EntityModifier and TypeMethodDescriptionvoidServerLevel.addDuringTeleport(Entity p_143335_) protected voidvoidprivate booleanbooleanServerLevel.addFreshEntity(Entity p_8837_) booleanWorldGenRegion.addFreshEntity(Entity p_9580_) booleanServerLevel.addWithUUID(Entity p_8848_) voidvoidServerPlayer.awardKillScore(Entity p_9050_, int p_9051_, DamageSource p_9052_) voidvoidprotected voidChunkMap.broadcastAndSend(Entity p_140334_, Packet<?> p_140335_) voidServerChunkCache.broadcastAndSend(Entity p_8395_, Packet<?> p_8396_) voidServerLevel.broadcastDamageEvent(Entity p_270420_, DamageSource p_270311_) voidServerLevel.broadcastEntityEvent(Entity p_8650_, byte p_8651_) voidbooleanWorldGenRegion.destroyBlock(BlockPos p_9550_, boolean p_9551_, Entity p_9552_, int p_9553_) private static doubleChunkMap.euclideanDistanceSquared(ChunkPos p_140227_, Entity p_140228_) ServerLevel.explode(Entity p_256039_, DamageSource p_255778_, ExplosionDamageCalculator p_256002_, double p_256067_, double p_256370_, double p_256153_, float p_256045_, boolean p_255686_, Level.ExplosionInteraction p_255827_, ParticleOptions p_312436_, ParticleOptions p_312391_, Holder<SoundEvent> p_320497_) protected floatServerPlayer.getEnchantedDamage(Entity p_346252_, float p_346142_, DamageSource p_345841_) WorldGenRegion.getEntities(Entity p_9519_, AABB p_9520_, Predicate<? super Entity> p_9521_) voidServerPlayer.lookAt(EntityAnchorArgument.Anchor p_9108_, Entity p_9109_, EntityAnchorArgument.Anchor p_9110_) voidvoidvoidServerLevel.EntityCallbacks.onDestroyed(Entity p_143359_) protected voidServerPlayer.onEffectAdded(MobEffectInstance p_143393_, Entity p_143394_) protected voidServerPlayer.onEffectUpdated(MobEffectInstance p_143396_, boolean p_143397_, Entity p_143398_) voidServerPlayer.onExplosionHit(Entity p_326351_) voidServerLevel.onReputationEvent(ReputationEventType p_8671_, Entity p_8672_, ReputationEventHandler p_8673_) voidServerLevel.EntityCallbacks.onSectionChange(Entity p_215086_) voidServerLevel.EntityCallbacks.onTickingEnd(Entity p_143367_) voidServerLevel.EntityCallbacks.onTickingStart(Entity p_143363_) voidServerLevel.EntityCallbacks.onTrackingEnd(Entity p_143375_) voidServerLevel.EntityCallbacks.onTrackingStart(Entity p_143371_) voidServerLevel.playSeededSound(Player p_263545_, Entity p_263544_, Holder<SoundEvent> p_263491_, SoundSource p_263542_, float p_263530_, float p_263520_, long p_263490_) protected voidChunkMap.removeEntity(Entity p_140332_) voidServerChunkCache.removeEntity(Entity p_8444_) voidprivate booleanServerLevel.shouldDiscardEntity(Entity p_143343_) booleanServerPlayer.startRiding(Entity p_277395_, boolean p_278062_) voidvoidServerLevel.tickNonPassenger(Entity p_8648_) private voidServerLevel.tickPassenger(Entity p_8663_, Entity p_8664_) booleanServerLevel.tryAddFreshEntityWithPassengers(Entity p_8861_) Method parameters in net.minecraft.server.level with type arguments of type EntityModifier and TypeMethodDescriptionvoidServerLevel.addLegacyChunkEntities(Stream<Entity> p_143312_) voidServerLevel.addWorldGenChunkEntities(Stream<Entity> p_143328_) private static voidServerLevel.dumpEntities(Writer p_8782_, Iterable<Entity> p_8783_) ServerLevel.getEntities(EntityTypeTest<Entity, T> p_143281_, Predicate<? super T> p_143282_) <T extends Entity>
voidServerLevel.getEntities(EntityTypeTest<Entity, T> p_262152_, Predicate<? super T> p_261808_, List<? super T> p_261583_) <T extends Entity>
voidServerLevel.getEntities(EntityTypeTest<Entity, T> p_261842_, Predicate<? super T> p_262091_, List<? super T> p_261703_, int p_261907_) 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_) ServerEntity.removedPassengers(List<Entity> p_277592_, List<Entity> p_277658_) Constructors in net.minecraft.server.level with parameters of type EntityModifierConstructorDescriptionServerEntity(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
Fields in net.minecraft.server.network declared as EntityMethods in net.minecraft.server.network with parameters of type EntityModifier and TypeMethodDescriptionprivate intServerGamePacketListenerImpl.getMaximumFlyingTicks(Entity p_326388_) private booleanServerGamePacketListenerImpl.noBlocksAround(Entity p_9794_) private voidServerGamePacketListenerImpl.resyncPlayerWithVehicle(Entity vehicle) ServerGamePacketListenerImpl.EntityInteraction.run(ServerPlayer p_143695_, Entity p_143696_, InteractionHand p_143697_) -
Uses of Entity in net.minecraft.world
Methods in net.minecraft.world with parameters of type EntityModifier and TypeMethodDescriptionstatic voidContainers.dropContents(Level p_18999_, Entity p_19000_, Container p_19001_) booleanTickRateManager.isEntityFrozen(Entity p_308960_) -
Uses of Entity in net.minecraft.world.damagesource
Fields in net.minecraft.world.damagesource declared as EntityModifier and TypeFieldDescriptionprivate final EntityDamageSource.causingEntityprivate final EntityDamageSource.directEntityMethods in net.minecraft.world.damagesource that return EntityMethods in net.minecraft.world.damagesource with parameters of type EntityModifier and TypeMethodDescriptionDamageSources.arrow(AbstractArrow p_270570_, Entity p_270857_) DamageSources.fallingBlock(Entity p_270643_) DamageSources.fallingStalactite(Entity p_270720_) DamageSources.fireworks(FireworkRocketEntity p_270571_, Entity p_270768_) private static ComponentCombatTracker.getDisplayName(Entity p_289557_) CombatTracker.getFallMessage(CombatEntry p_289570_, Entity p_289561_) private ComponentCombatTracker.getMessageForAssistedFall(Entity p_289547_, Component p_289532_, String p_289555_, String p_289548_) DamageSources.indirectMagic(Entity p_270560_, Entity p_270646_) DamageSources.mobProjectile(Entity p_270210_, LivingEntity p_270757_) DamageSources.source(ResourceKey<DamageType> p_270142_, Entity p_270696_) DamageSources.source(ResourceKey<DamageType> p_270076_, Entity p_270656_, Entity p_270242_) DamageSources.spit(Entity p_316508_, LivingEntity p_316581_) DamageSources.windCharge(Entity p_316454_, LivingEntity p_316891_) DamageSources.witherSkull(WitherSkull p_270367_, Entity p_270887_) Constructors in net.minecraft.world.damagesource with parameters of type EntityModifierConstructorDescriptionDamageSource(Holder<DamageType> p_270811_, Entity p_270660_) DamageSource(Holder<DamageType> p_270818_, Entity p_270162_, Entity p_270115_) DamageSource(Holder<DamageType> p_270906_, Entity p_270796_, Entity p_270459_, Vec3 p_270623_) -
Uses of Entity in net.minecraft.world.effect
Methods in net.minecraft.world.effect with parameters of type EntityModifier and TypeMethodDescriptionstatic List<ServerPlayer> MobEffectUtil.addEffectToPlayersAround(ServerLevel p_216947_, Entity p_216948_, Vec3 p_216949_, double p_216950_, MobEffectInstance p_216951_, int p_216952_) voidHealOrHarmMobEffect.applyInstantenousEffect(Entity p_294574_, Entity p_295692_, LivingEntity p_296483_, int p_296095_, double p_295178_) voidMobEffect.applyInstantenousEffect(Entity p_19462_, Entity p_19463_, LivingEntity p_19464_, int p_19465_, double p_19466_) -
Uses of Entity in net.minecraft.world.entity
Classes in net.minecraft.world.entity with type parameters of type EntityModifier and TypeClassDescriptionclassEntityType<T extends Entity>static classEntityType.Builder<T extends Entity>static interfaceEntityType.EntityFactory<T extends Entity>static interfaceSpawnPlacements.SpawnPredicate<T extends Entity>Subclasses of Entity in net.minecraft.world.entityModifier and TypeClassDescriptionclassclassclassstatic classstatic classstatic classclassclassclassclassclassclassclassclassclassclassclassFields in net.minecraft.world.entity declared as EntityFields in net.minecraft.world.entity with type parameters of type EntityModifier and TypeFieldDescriptionEntitySelector.CAN_BE_COLLIDED_WITHEntitySelector.CONTAINER_ENTITY_SELECTOREntitySelector.ENTITY_NOT_BEING_RIDDENEntitySelector.ENTITY_STILL_ALIVELightningBolt.hitEntitiesEntitySelector.LIVING_ENTITY_STILL_ALIVEEntitySelector.NO_CREATIVE_OR_SPECTATOREntitySelector.NO_SPECTATORSprivate com.google.common.collect.ImmutableList<Entity> Entity.passengersAreaEffectCloud.victimsMethods in net.minecraft.world.entity with type parameters of type EntityModifier and TypeMethodDescriptionEntityType.appendCustomEntityStackConfig(Consumer<T> p_263579_, ServerLevel p_263571_, ItemStack p_263582_, Player p_263574_) EntityType.appendCustomNameConfig(Consumer<T> p_263567_, ItemStack p_263564_) EntityType.appendDefaultStackConfig(Consumer<T> p_265154_, ServerLevel p_265733_, ItemStack p_265598_, Player p_265666_) static <T extends Entity>
booleanSpawnPlacements.checkSpawnRules(EntityType<T> p_217075_, ServerLevelAccessor p_217076_, MobSpawnType p_217077_, BlockPos p_217078_, RandomSource p_217079_) EntityType.createDefaultStackConfig(ServerLevel p_263583_, ItemStack p_263568_, Player p_263575_) static <T extends Entity>
EntityType.Builder<T> EntityType.Builder.createNothing(MobCategory p_20711_) Leashable.dropLeash(E p_352163_, boolean p_352286_, boolean p_352272_) Leashable.getLeashHolder(E p_352466_) Leashable.legacyElasticRangeLeashBehaviour(E p_353048_, Entity p_353039_, float p_353053_) 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_) Leashable.restoreLeashFromSave(E p_352354_, Leashable.LeashData p_352106_) Leashable.setLeashedTo(E p_352280_, Entity p_352109_, boolean p_352239_) Leashable.tickLeash(E p_352082_) Methods in net.minecraft.world.entity that return EntityModifier and TypeMethodDescriptionEntity.changeDimension(DimensionTransition p_350951_) Entity.getControlledVehicle()Entity.getFirstPassenger()default EntityLeashable.getLeashHolder()Leashable.getLeashHolder(E p_352466_) TraceableEntity.getOwner()Entity.getRootVehicle()Entity.getVehicle()static EntityEntityType.loadEntityRecursive(CompoundTag p_20646_, Level p_20647_, Function<Entity, Entity> p_20648_) Methods in net.minecraft.world.entity that return types with arguments of type EntityModifier 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_) Methods in net.minecraft.world.entity with parameters of type EntityModifier and TypeMethodDescriptionvoidbooleanLivingEntity.addEffect(MobEffectInstance p_147208_, Entity p_147209_) protected voidEntity.addPassenger(Entity p_20349_) protected voidMarker.addPassenger(Entity p_270306_) protected voidOminousItemSpawner.addPassenger(Entity p_338681_) (package private) voidDisplay.PosRotInterpolationTarget.applyLerpStep(Entity p_294423_) (package private) voidDisplay.PosRotInterpolationTarget.applyTargetPosAndRot(Entity p_294993_) voidEntity.awardKillScore(Entity p_19953_, int p_19954_, DamageSource p_19955_) protected booleanEntity.canAddPassenger(Entity p_20354_) protected booleanMarker.canAddPassenger(Entity p_265289_) protected booleanOminousItemSpawner.canAddPassenger(Entity p_338282_) booleanEntity.canCollideWith(Entity p_20303_) protected booleandefault voidLeashable.closeRangeLeashBehaviour(Entity p_352073_) voidPathfinderMob.closeRangeLeashBehaviour(Entity p_352153_) booleanEntity.closerThan(Entity p_19951_, double p_19952_) booleanEntity.closerThan(Entity p_216993_, double p_216994_, double p_216995_) private static List<VoxelShape> Entity.collectColliders(Entity p_344804_, Level p_345583_, List<VoxelShape> p_345198_, AABB p_345837_) static Vec3Entity.collideBoundingBox(Entity p_198895_, Vec3 p_198896_, AABB p_198897_, Level p_198898_, List<VoxelShape> p_198899_) voidEntity.copyPosition(Entity p_20360_) private voidLivingEntity.dismountVehicle(Entity p_21029_) floatEntity.distanceTo(Entity p_20271_) doubleEntity.distanceToSqr(Entity p_20281_) booleanLivingEntity.doHurtTarget(Entity p_20970_) booleanMob.doHurtTarget(Entity p_21372_) protected voidprotected voidLivingEntity.dropExperience(Entity p_345346_) default voidLeashable.elasticRangeLeashBehaviour(Entity p_353036_, float p_353047_) voidLivingEntity.forceAddEffect(MobEffectInstance p_147216_, Entity p_147217_) voidprotected static Vec3Entity.getDefaultPassengerAttachmentPoint(Entity p_316557_, Entity p_316799_, EntityAttachments p_316167_) final intLivingEntity.getExperienceReward(ServerLevel p_345212_, Entity p_345512_) protected floatLivingEntity.getKnockback(Entity p_344813_, DamageSource p_344976_) protected Vec3Entity.getPassengerAttachmentPoint(Entity p_294756_, EntityDimensions p_295396_, float p_296362_) Entity.getPassengerRidingPosition(Entity p_294938_) LivingEntity.getPassengerRidingPosition(Entity p_295664_) PortalProcessor.getPortalDestination(ServerLevel p_350593_, Entity p_350987_) Entity.getVehicleAttachmentPoint(Entity p_316322_) doubleLivingEntity.getVisibilityPercent(Entity p_20969_) default booleanLeashable.handleLeashAtDistance(Entity p_352458_, float p_352101_) booleanPathfinderMob.handleLeashAtDistance(Entity p_352071_, float p_352237_) booleanTamableAnimal.handleLeashAtDistance(Entity p_352258_, float p_352278_) booleanEntity.hasIndirectPassenger(Entity p_20368_) booleanLivingEntity.hasLineOfSight(Entity p_147185_) booleanEntity.hasPassenger(Entity p_20364_) booleanbooleanEntity.isAlliedTo(Entity p_20355_) booleanTamableAnimal.isAlliedTo(Entity p_21833_) booleanEntity.isPassengerOfSameVehicle(Entity p_20366_) Leashable.legacyElasticRangeLeashBehaviour(E p_353048_, Entity p_353039_, float p_353053_) voidprotected voidLivingEntity.onEffectAdded(MobEffectInstance p_147190_, Entity p_147191_) protected voidLivingEntity.onEffectUpdated(MobEffectInstance p_147192_, boolean p_147193_, Entity p_147194_) voidEntity.onExplosionHit(Entity p_326352_) voidEntity.onPassengerTurned(Entity p_20320_) voidReputationEventHandler.onReputationEventFrom(ReputationEventType p_21712_, Entity p_21713_) final voidEntity.positionRider(Entity p_20312_) protected voidEntity.positionRider(Entity p_19957_, Entity.MoveFunction p_19958_) booleanPortalProcessor.processPortalTeleportation(ServerLevel p_350279_, Entity p_350646_, boolean p_350822_) voidvoidEntitySelector.pushableBy(Entity p_20422_) protected voidEntity.removePassenger(Entity p_20352_) voidEntity.restoreFrom(Entity p_20362_) voidLivingEntity.setLastHurtMob(Entity p_21336_) Leashable.setLeashedTo(E p_352280_, Entity p_352109_, boolean p_352239_) default voidLeashable.setLeashedTo(Entity p_352411_, boolean p_352183_) voidLeashable.LeashData.setLeashHolder(Entity p_352464_) booleanEntity.skipAttackInteraction(Entity p_20357_) booleanInteraction.skipAttackInteraction(Entity p_273553_) booleanEntity.startRiding(Entity p_20330_) booleanEntity.startRiding(Entity p_19966_, boolean p_19967_) booleanMob.startRiding(Entity p_21396_, boolean p_21397_) voidbooleanstatic voidEntityType.updateCustomEntityTag(Level p_20621_, Player p_20622_, Entity p_20623_, CustomData p_331752_) Method parameters in net.minecraft.world.entity with type arguments of type EntityModifier and TypeMethodDescriptionbooleanEntity.hasPassenger(Predicate<Entity> p_146863_) static EntityEntityType.loadEntityRecursive(CompoundTag p_20646_, Level p_20647_, Function<Entity, Entity> p_20648_) static EntityEntityType.loadEntityRecursive(CompoundTag p_20646_, Level p_20647_, Function<Entity, Entity> p_20648_) Constructors in net.minecraft.world.entity with parameters of type Entity -
Uses of Entity in net.minecraft.world.entity.ai.behavior
Fields in net.minecraft.world.entity.ai.behavior declared as EntityMethods in net.minecraft.world.entity.ai.behavior that return EntityMethods in net.minecraft.world.entity.ai.behavior with parameters of type EntityModifier and TypeMethodDescriptionprivate static booleanDismountOrSkipMounting.isVehicleValid(LivingEntity p_259293_, Entity p_260023_, int p_259048_) AnimalPanic.lookForWater(BlockGetter p_196642_, Entity p_196643_) static voidBehaviorUtils.setWalkAndLookTargetMemories(LivingEntity p_22591_, Entity p_22592_, float p_22593_, int p_22594_) Method parameters in net.minecraft.world.entity.ai.behavior with type arguments of type EntityModifier and TypeMethodDescriptionstatic <E extends LivingEntity>
BehaviorControl<E> DismountOrSkipMounting.create(int p_259945_, BiPredicate<E, Entity> p_259837_) static OneShot<PathfinderMob> SetWalkTargetAwayFrom.entity(MemoryModuleType<? extends Entity> p_259598_, float p_260183_, int p_260077_, boolean p_259761_) Constructors in net.minecraft.world.entity.ai.behavior with parameters of type Entity -
Uses of Entity in net.minecraft.world.entity.ai.control
Methods in net.minecraft.world.entity.ai.control with parameters of type Entity -
Uses of Entity in net.minecraft.world.entity.ai.goal
Fields in net.minecraft.world.entity.ai.goal declared as EntityMethods in net.minecraft.world.entity.ai.goal with parameters of type EntityModifier and TypeMethodDescriptionprotected BlockPosPanicGoal.lookForWater(BlockGetter p_198173_, Entity p_198174_, int p_198175_) -
Uses of Entity in net.minecraft.world.entity.ai.memory
Fields in net.minecraft.world.entity.ai.memory with type parameters of type EntityModifier and TypeFieldDescriptionstatic final MemoryModuleType<Entity> MemoryModuleType.RIDE_TARGETConstructors in net.minecraft.world.entity.ai.memory with parameters of type Entity -
Uses of Entity in net.minecraft.world.entity.ai.sensing
Methods in net.minecraft.world.entity.ai.sensing with parameters of type Entity -
Uses of Entity in net.minecraft.world.entity.ambient
Subclasses of Entity in net.minecraft.world.entity.ambientMethods in net.minecraft.world.entity.ambient with parameters of type Entity -
Uses of Entity in net.minecraft.world.entity.animal
Subclasses of Entity in net.minecraft.world.entity.animalModifier and TypeClassDescriptionclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassFields in net.minecraft.world.entity.animal with type parameters of type EntityMethods in net.minecraft.world.entity.animal with parameters of type EntityModifier and TypeMethodDescriptionprotected booleanbooleanBee.doHurtTarget(Entity p_27722_) booleanIronGolem.doHurtTarget(Entity p_28837_) booleanPanda.doHurtTarget(Entity p_29091_) protected voidprotected voidstatic booleanParrot.imitateNearbyMobs(Level p_29383_, Entity p_29384_) protected voidChicken.positionRider(Entity p_289537_, Entity.MoveFunction p_289541_) -
Uses of Entity in net.minecraft.world.entity.animal.allay
Subclasses of Entity in net.minecraft.world.entity.animal.allayMethods in net.minecraft.world.entity.animal.allay with parameters of type EntityModifier and TypeMethodDescriptionvoidAllay.VibrationUser.onReceiveVibration(ServerLevel p_281422_, BlockPos p_281449_, Holder<GameEvent> p_316630_, Entity p_281794_, Entity p_281864_, float p_281642_) -
Uses of Entity in net.minecraft.world.entity.animal.armadillo
Subclasses of Entity in net.minecraft.world.entity.animal.armadillo -
Uses of Entity in net.minecraft.world.entity.animal.axolotl
Subclasses of Entity in net.minecraft.world.entity.animal.axolotl -
Uses of Entity in net.minecraft.world.entity.animal.camel
Subclasses of Entity in net.minecraft.world.entity.animal.camelMethods in net.minecraft.world.entity.animal.camel with parameters of type EntityModifier and TypeMethodDescriptionprotected booleanCamel.canAddPassenger(Entity p_248594_) protected Vec3Camel.getPassengerAttachmentPoint(Entity p_295101_, EntityDimensions p_294765_, float p_294716_) booleanCamel.handleLeashAtDistance(Entity p_352419_, float p_352358_) -
Uses of Entity in net.minecraft.world.entity.animal.frog
Subclasses of Entity in net.minecraft.world.entity.animal.frogMethods in net.minecraft.world.entity.animal.frog that return types with arguments of type EntityMethods in net.minecraft.world.entity.animal.frog with parameters of type Entity -
Uses of Entity in net.minecraft.world.entity.animal.goat
Subclasses of Entity in net.minecraft.world.entity.animal.goat -
Uses of Entity in net.minecraft.world.entity.animal.horse
Subclasses of Entity in net.minecraft.world.entity.animal.horseModifier and TypeClassDescriptionclassclassclassclassclassclassclassclassclassMethods in net.minecraft.world.entity.animal.horse with parameters of type EntityModifier and TypeMethodDescriptionprotected Vec3AbstractHorse.getPassengerAttachmentPoint(Entity p_295612_, EntityDimensions p_296023_, float p_295509_) protected Vec3Llama.getPassengerAttachmentPoint(Entity p_294968_, EntityDimensions p_296042_, float p_295134_) booleanAbstractHorse.handleLeashAtDistance(Entity p_352072_, float p_352350_) protected voidAbstractHorse.positionRider(Entity p_289569_, Entity.MoveFunction p_289558_) -
Uses of Entity in net.minecraft.world.entity.animal.sniffer
Subclasses of Entity in net.minecraft.world.entity.animal.sniffer -
Uses of Entity in net.minecraft.world.entity.boss
Subclasses of Entity in net.minecraft.world.entity.bossMethods in net.minecraft.world.entity.boss with parameters of type Entity -
Uses of Entity in net.minecraft.world.entity.boss.enderdragon
Subclasses of Entity in net.minecraft.world.entity.boss.enderdragonMethods in net.minecraft.world.entity.boss.enderdragon with parameters of type EntityModifier and TypeMethodDescriptionbooleanEnderDragon.addEffect(MobEffectInstance p_182394_, Entity p_182395_) protected booleanMethod parameters in net.minecraft.world.entity.boss.enderdragon with type arguments of type Entity -
Uses of Entity in net.minecraft.world.entity.boss.wither
Subclasses of Entity in net.minecraft.world.entity.boss.witherMethods in net.minecraft.world.entity.boss.wither with parameters of type EntityModifier and TypeMethodDescriptionbooleanWitherBoss.addEffect(MobEffectInstance p_182397_, Entity p_182398_) protected boolean -
Uses of Entity in net.minecraft.world.entity.decoration
Subclasses of Entity in net.minecraft.world.entity.decorationModifier and TypeClassDescriptionclassclassclassclassclassclassclassFields in net.minecraft.world.entity.decoration with type parameters of type EntityMethods in net.minecraft.world.entity.decoration with parameters of type EntityModifier and TypeMethodDescriptionprotected voidabstract voidvoidprivate voidvoidvoidbooleanArmorStand.skipAttackInteraction(Entity p_31687_) booleanBlockAttachedEntity.skipAttackInteraction(Entity p_346423_) -
Uses of Entity in net.minecraft.world.entity.item
Subclasses of Entity in net.minecraft.world.entity.itemFields in net.minecraft.world.entity.item declared as EntityMethods in net.minecraft.world.entity.item that return EntityModifier and TypeMethodDescriptionFallingBlockEntity.changeDimension(DimensionTransition p_351015_) ItemEntity.changeDimension(DimensionTransition p_350598_) PrimedTnt.changeDimension(DimensionTransition p_353097_) ItemEntity.getOwner()Methods in net.minecraft.world.entity.item with parameters of type EntityModifier and TypeMethodDescriptionvoidItemEntity.restoreFrom(Entity p_305965_) voidPrimedTnt.restoreFrom(Entity p_306185_) voidItemEntity.setThrower(Entity p_306324_) -
Uses of Entity in net.minecraft.world.entity.monster
Subclasses of Entity in net.minecraft.world.entity.monsterModifier and TypeClassDescriptionclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassFields in net.minecraft.world.entity.monster with type parameters of type EntityMethods in net.minecraft.world.entity.monster with parameters of type EntityModifier and TypeMethodDescriptionprotected booleanStrider.canAddPassenger(Entity p_33950_) booleanCaveSpider.doHurtTarget(Entity p_32257_) booleanCreeper.doHurtTarget(Entity p_32281_) booleanHusk.doHurtTarget(Entity p_32892_) booleanRavager.doHurtTarget(Entity p_33328_) booleanWitherSkeleton.doHurtTarget(Entity p_34169_) booleanZoglin.doHurtTarget(Entity p_34207_) booleanZombie.doHurtTarget(Entity p_34276_) protected Vec3Slime.getPassengerAttachmentPoint(Entity p_296103_, EntityDimensions p_295741_, float p_295572_) protected Vec3Strider.getPassengerAttachmentPoint(Entity p_294748_, EntityDimensions p_295089_, float p_295230_) CaveSpider.getVehicleAttachmentPoint(Entity p_316479_) Spider.getVehicleAttachmentPoint(Entity p_316696_) booleanRavager.hasLineOfSight(Entity p_149755_) booleanAbstractIllager.isAlliedTo(Entity p_320563_) booleanEvoker.isAlliedTo(Entity p_32665_) voidvoidvoidVex.restoreFrom(Entity p_306094_) booleanShulker.startRiding(Entity p_149773_, boolean p_149774_) private voidRavager.strongKnockback(Entity p_33340_) (package private) booleanEnderMan.teleportTowards(Entity p_32501_) -
Uses of Entity in net.minecraft.world.entity.monster.breeze
Subclasses of Entity in net.minecraft.world.entity.monster.breeze -
Uses of Entity in net.minecraft.world.entity.monster.hoglin
Subclasses of Entity in net.minecraft.world.entity.monster.hoglinMethods in net.minecraft.world.entity.monster.hoglin with parameters of type Entity -
Uses of Entity in net.minecraft.world.entity.monster.piglin
Subclasses of Entity in net.minecraft.world.entity.monster.piglinMethods in net.minecraft.world.entity.monster.piglin that return EntityModifier and TypeMethodDescriptionprivate EntityPiglin.getTopPassenger(Entity p_34731_, int p_34732_) Methods in net.minecraft.world.entity.monster.piglin with parameters of type EntityModifier and TypeMethodDescriptionprivate EntityPiglin.getTopPassenger(Entity p_34731_, int p_34732_) booleanPiglin.startRiding(Entity p_34701_, boolean p_34702_) private static booleanPiglinAi.wantsToStopRiding(Piglin p_34835_, Entity p_34836_) -
Uses of Entity in net.minecraft.world.entity.monster.warden
Subclasses of Entity in net.minecraft.world.entity.monster.wardenFields in net.minecraft.world.entity.monster.warden with type parameters of type EntityModifier and TypeFieldDescriptionprotected final it.unimi.dsi.fastutil.objects.Object2IntMap<Entity> AngerManagement.angerBySuspectAngerManagement.filterAngerManagement.suspectsMethods in net.minecraft.world.entity.monster.warden that return EntityMethods in net.minecraft.world.entity.monster.warden with parameters of type EntityModifier and TypeMethodDescriptionstatic voidWarden.applyDarknessAround(ServerLevel p_219376_, Vec3 p_219377_, Entity p_219378_, int p_219379_) protected booleanbooleanWarden.canTargetEntity(Entity p_219386_) voidAngerManagement.clearAnger(Entity p_219267_) voidWarden.clearAnger(Entity p_219429_) intbooleanWarden.doHurtTarget(Entity p_219472_) protected voidintAngerManagement.getActiveAnger(Entity p_219287_) intAngerManagement.increaseAnger(Entity p_219269_, int p_219270_) voidWarden.increaseAngerAt(Entity p_219442_) voidWarden.increaseAngerAt(Entity p_219388_, int p_219389_, boolean p_219390_) voidWarden.VibrationUser.onReceiveVibration(ServerLevel p_281325_, BlockPos p_282386_, Holder<GameEvent> p_316139_, Entity p_281438_, Entity p_282582_, float p_283699_) Method parameters in net.minecraft.world.entity.monster.warden with type arguments of type EntityModifier and TypeMethodDescriptionstatic com.mojang.serialization.Codec<AngerManagement> voidAngerManagement.tick(ServerLevel p_219264_, Predicate<Entity> p_219265_) Constructor parameters in net.minecraft.world.entity.monster.warden with type arguments of type Entity -
Uses of Entity in net.minecraft.world.entity.npc
Subclasses of Entity in net.minecraft.world.entity.npcMethods in net.minecraft.world.entity.npc with parameters of type EntityModifier and TypeMethodDescriptionVillagerTrades.DyedArmorForEmeralds.getOffer(Entity p_219679_, RandomSource p_219680_) VillagerTrades.EmeraldForItems.getOffer(Entity p_219682_, RandomSource p_219683_) VillagerTrades.EmeraldsForVillagerTypeItem.getOffer(Entity p_219685_, RandomSource p_219686_) VillagerTrades.EnchantBookForEmeralds.getOffer(Entity p_219688_, RandomSource p_219689_) VillagerTrades.EnchantedItemForEmeralds.getOffer(Entity p_219691_, RandomSource p_219692_) VillagerTrades.FailureItemListing.getOffer(Entity p_302036_, RandomSource p_301986_) VillagerTrades.ItemListing.getOffer(Entity p_219693_, RandomSource p_219694_) VillagerTrades.ItemsAndEmeraldsToItems.getOffer(Entity p_219696_, RandomSource p_219697_) VillagerTrades.ItemsForEmeralds.getOffer(Entity p_219699_, RandomSource p_219700_) VillagerTrades.SuspiciousStewForEmerald.getOffer(Entity p_219702_, RandomSource p_219703_) VillagerTrades.TippedArrowForItemsAndEmeralds.getOffer(Entity p_219705_, RandomSource p_219706_) VillagerTrades.TreasureMapForEmeralds.getOffer(Entity p_219708_, RandomSource p_219709_) VillagerTrades.TypeSpecificTrade.getOffer(Entity p_296480_, RandomSource p_295729_) voidVillager.onReputationEventFrom(ReputationEventType p_35431_, Entity p_35432_) private voidVillager.tellWitnessesThatIWasMurdered(Entity p_35421_) -
Uses of Entity in net.minecraft.world.entity.player
Subclasses of Entity in net.minecraft.world.entity.playerFields in net.minecraft.world.entity.player declared as EntityMethods in net.minecraft.world.entity.player with parameters of type EntityModifier and TypeMethodDescriptionvoidbooleanPlayer.canInteractWithEntity(Entity p_320327_, double p_320632_) voidprotected floatPlayer.getEnchantedDamage(Entity p_345248_, float p_345836_, DamageSource p_345745_) Player.interactOn(Entity p_36158_, InteractionHand p_36159_) voidprivate void -
Uses of Entity in net.minecraft.world.entity.projectile
Subclasses of Entity in net.minecraft.world.entity.projectileModifier and TypeClassDescriptionclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassFields in net.minecraft.world.entity.projectile declared as EntityModifier and TypeFieldDescriptionprivate EntityProjectile.cachedOwnerprivate EntityShulkerBullet.finalTargetprivate EntityFishingHook.hookedInprivate EntityProjectile.lastDeflectedByFields in net.minecraft.world.entity.projectile with type parameters of type EntityMethods in net.minecraft.world.entity.projectile that return EntityModifier and TypeMethodDescriptionProjectile.getEffectSource()FishingHook.getHookedIn()Projectile.getOwner()Methods in net.minecraft.world.entity.projectile with parameters of type EntityModifier and TypeMethodDescriptionprivate voidThrownPotion.applySplash(Iterable<MobEffectInstance> p_330815_, Entity p_37549_) protected booleanAbstractArrow.canHitEntity(Entity p_36743_) protected booleanAbstractHurtingProjectile.canHitEntity(Entity p_36842_) protected booleanFishingHook.canHitEntity(Entity p_37135_) protected booleanProjectile.canHitEntity(Entity p_37250_) protected booleanShulkerBullet.canHitEntity(Entity p_37341_) booleanProjectile.deflect(ProjectileDeflection p_341900_, Entity p_341912_, Entity p_341932_, boolean p_341948_) voidProjectileDeflection.deflect(Projectile p_320311_, Entity p_320130_, RandomSource p_320125_) static EntityHitResultProjectileUtil.getEntityHitResult(Entity p_37288_, Vec3 p_37289_, Vec3 p_37290_, AABB p_37291_, Predicate<Entity> p_37292_, double p_37293_) static EntityHitResultProjectileUtil.getEntityHitResult(Level p_37305_, Entity p_37306_, Vec3 p_37307_, Vec3 p_37308_, AABB p_37309_, Predicate<Entity> p_37310_) static EntityHitResultProjectileUtil.getEntityHitResult(Level p_150176_, Entity p_150177_, Vec3 p_150178_, Vec3 p_150179_, AABB p_150180_, Predicate<Entity> p_150181_, float p_150182_) private static HitResultProjectileUtil.getHitResult(Vec3 p_278237_, Entity p_278320_, Predicate<Entity> p_278257_, Vec3 p_278342_, Level p_278321_, float p_305813_, ClipContext.Block p_312920_) static HitResultProjectileUtil.getHitResultOnMoveVector(Entity p_278228_, Predicate<Entity> p_278315_) static HitResultProjectileUtil.getHitResultOnMoveVector(Entity p_312047_, Predicate<Entity> p_312251_, ClipContext.Block p_311921_) static HitResultProjectileUtil.getHitResultOnViewVector(Entity p_278281_, Predicate<Entity> p_278306_, double p_278293_) private static booleanThrownEnderpearl.isAllowedToTeleportOwner(Entity p_352055_, Level p_352453_) protected voidAbstractHurtingProjectile.onDeflection(Entity p_341940_, boolean p_341895_) protected voidProjectile.onDeflection(Entity p_341918_, boolean p_341907_) protected booleanprotected voidFishingHook.pullEntity(Entity p_150156_) voidProjectile.restoreFrom(Entity p_305838_) static voidProjectileUtil.rotateTowardsMovement(Entity p_37285_, float p_37286_) private voidFishingHook.setHookedEntity(Entity p_150158_) voidvoidvoidvoidProjectile.shootFromRotation(Entity p_37252_, float p_37253_, float p_37254_, float p_37255_, float p_37256_, float p_37257_) Method parameters in net.minecraft.world.entity.projectile with type arguments of type EntityModifier and TypeMethodDescriptionstatic EntityHitResultProjectileUtil.getEntityHitResult(Entity p_37288_, Vec3 p_37289_, Vec3 p_37290_, AABB p_37291_, Predicate<Entity> p_37292_, double p_37293_) static EntityHitResultProjectileUtil.getEntityHitResult(Level p_37305_, Entity p_37306_, Vec3 p_37307_, Vec3 p_37308_, AABB p_37309_, Predicate<Entity> p_37310_) static EntityHitResultProjectileUtil.getEntityHitResult(Level p_150176_, Entity p_150177_, Vec3 p_150178_, Vec3 p_150179_, AABB p_150180_, Predicate<Entity> p_150181_, float p_150182_) private static HitResultProjectileUtil.getHitResult(Vec3 p_278237_, Entity p_278320_, Predicate<Entity> p_278257_, Vec3 p_278342_, Level p_278321_, float p_305813_, ClipContext.Block p_312920_) static HitResultProjectileUtil.getHitResultOnMoveVector(Entity p_278228_, Predicate<Entity> p_278315_) static HitResultProjectileUtil.getHitResultOnMoveVector(Entity p_312047_, Predicate<Entity> p_312251_, ClipContext.Block p_311921_) static HitResultProjectileUtil.getHitResultOnViewVector(Entity p_278281_, Predicate<Entity> p_278306_, double p_278293_) Constructors in net.minecraft.world.entity.projectile with parameters of type EntityModifierConstructorDescriptionFireworkRocketEntity(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.projectile.windcharge
Subclasses of Entity in net.minecraft.world.entity.projectile.windchargeModifier and TypeClassDescriptionclassclassclassMethods in net.minecraft.world.entity.projectile.windcharge with parameters of type EntityModifier and TypeMethodDescriptionbooleanAbstractWindCharge.canCollideWith(Entity p_326023_) protected booleanAbstractWindCharge.canHitEntity(Entity p_326159_) booleanWindCharge.deflect(ProjectileDeflection p_350880_, Entity p_350728_, Entity p_350716_, boolean p_350553_) Constructors in net.minecraft.world.entity.projectile.windcharge with parameters of type EntityModifierConstructorDescriptionAbstractWindCharge(EntityType<? extends AbstractWindCharge> p_326427_, Level p_325931_, Entity p_325997_, double p_326275_, double p_325936_, double p_326369_) -
Uses of Entity in net.minecraft.world.entity.raid
Subclasses of Entity in net.minecraft.world.entity.raidMethods in net.minecraft.world.entity.raid with parameters of type Entity -
Uses of Entity in net.minecraft.world.entity.vehicle
Subclasses of Entity in net.minecraft.world.entity.vehicleModifier and TypeClassDescriptionclassclassclassclassclassclassclassclassclassclassclassclassMethods in net.minecraft.world.entity.vehicle with parameters of type EntityModifier and TypeMethodDescriptionprotected booleanBoat.canAddPassenger(Entity p_38390_) booleanAbstractMinecart.canCollideWith(Entity p_38168_) booleanBoat.canCollideWith(Entity p_38376_) static booleanBoat.canVehicleCollide(Entity p_38324_, Entity p_38325_) default voidContainerEntity.chestVehicleDestroyed(DamageSource p_219928_, Level p_219929_, Entity p_219930_) protected voidBoat.clampRotation(Entity p_38322_) voidBoat.elasticRangeLeashBehaviour(Entity p_353067_, float p_353071_) protected Vec3AbstractMinecart.getPassengerAttachmentPoint(Entity p_294753_, EntityDimensions p_295251_, float p_296054_) protected Vec3Boat.getPassengerAttachmentPoint(Entity p_294665_, EntityDimensions p_295933_, float p_295585_) booleanBoat.hasEnoughSpaceFor(Entity p_273171_) voidBoat.onPassengerTurned(Entity p_38383_) protected voidBoat.positionRider(Entity p_289552_, Entity.MoveFunction p_289571_) voidvoid -
Uses of Entity in net.minecraft.world.item
Classes in net.minecraft.world.item with type parameters of type EntityFields in net.minecraft.world.item declared as EntityFields in net.minecraft.world.item with type parameters of type EntityMethods in net.minecraft.world.item that return EntityMethods in net.minecraft.world.item with parameters of type EntityModifier and TypeMethodDescriptionfloatItem.getAttackDamageBonus(Entity p_345249_, float p_336179_, DamageSource p_345403_) floatMaceItem.getAttackDamageBonus(Entity p_344900_, float p_335575_, DamageSource p_344972_) voidCompassItem.inventoryTick(ItemStack p_40720_, Level p_40721_, Entity p_40722_, int p_40723_, boolean p_40724_) voidItem.inventoryTick(ItemStack p_41404_, Level p_41405_, Entity p_41406_, int p_41407_, boolean p_41408_) voidItemStack.inventoryTick(Level p_41667_, Entity p_41668_, int p_41669_, boolean p_41670_) voidMapItem.inventoryTick(ItemStack p_42870_, Level p_42871_, Entity p_42872_, int p_42873_, boolean p_42874_) private static voidprivate static Predicate<LivingEntity> MaceItem.knockbackPredicate(Player p_338613_, Entity p_338698_) private voidBundleItem.playDropContentsSound(Entity p_186354_) private voidBundleItem.playInsertSound(Entity p_186352_) private voidBundleItem.playRemoveOneSound(Entity p_186343_) voidItemStack.setEntityRepresentation(Entity p_41637_) voidMapItem.update(Level p_42894_, Entity p_42895_, MapItemSavedData p_42896_) -
Uses of Entity in net.minecraft.world.item.component
Methods in net.minecraft.world.item.component with parameters of type Entity -
Uses of Entity in net.minecraft.world.item.enchantment
Methods in net.minecraft.world.item.enchantment with parameters of type EntityModifier and TypeMethodDescriptionprivate static LootContextEnchantment.blockHitContext(ServerLevel p_350329_, int p_350503_, Entity p_350451_, Vec3 p_350874_, BlockState p_350311_) static LootContextEnchantment.damageContext(ServerLevel p_346018_, int p_345520_, Entity p_345257_, DamageSource p_346340_) voidEnchantment.doPostAttack(ServerLevel p_344857_, int p_44688_, EnchantedItemInUse p_345323_, EnchantmentTarget p_345287_, Entity p_44687_, DamageSource p_345177_) static voidEnchantment.doPostAttack(TargetedConditionalEffect<EnchantmentEntityEffect> p_346387_, ServerLevel p_345844_, int p_344928_, EnchantedItemInUse p_345486_, Entity p_345472_, DamageSource p_345022_) static voidEnchantmentHelper.doPostAttackEffects(ServerLevel p_345941_, Entity p_345661_, DamageSource p_345580_) static voidEnchantmentHelper.doPostAttackEffectsWithItemSource(ServerLevel p_348463_, Entity p_348545_, DamageSource p_348552_, ItemStack p_348507_) private static LootContextEnchantment.entityContext(ServerLevel p_346134_, int p_346059_, Entity p_346146_, Vec3 p_345814_) static intEnchantmentHelper.getFishingLuckBonus(ServerLevel p_346163_, ItemStack p_44905_, Entity p_345772_) static floatEnchantmentHelper.getFishingTimeReduction(ServerLevel p_345589_, ItemStack p_344902_, Entity p_346054_) static intEnchantmentHelper.getTridentReturnToOwnerAcceleration(ServerLevel p_344814_, ItemStack p_346255_, Entity p_346332_) booleanEnchantment.isImmuneToDamage(ServerLevel p_345480_, int p_345043_, Entity p_346344_, DamageSource p_344985_) private static LootContextEnchantment.locationContext(ServerLevel p_345134_, int p_346182_, Entity p_345416_, boolean p_345862_) static floatEnchantmentHelper.modifyArmorEffectiveness(ServerLevel p_345426_, ItemStack p_345454_, Entity p_345834_, DamageSource p_345082_, float p_344790_) voidEnchantment.modifyArmorEffectivness(ServerLevel p_345449_, int p_346129_, ItemStack p_345436_, Entity p_345815_, DamageSource p_346172_, org.apache.commons.lang3.mutable.MutableFloat p_345265_) voidEnchantment.modifyDamage(ServerLevel p_345743_, int p_345544_, ItemStack p_345269_, Entity p_346011_, DamageSource p_344755_, org.apache.commons.lang3.mutable.MutableFloat p_345551_) static floatEnchantmentHelper.modifyDamage(ServerLevel p_345523_, ItemStack p_345856_, Entity p_344995_, DamageSource p_345216_, float p_346025_) private voidEnchantment.modifyDamageFilteredValue(DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>> p_345367_, ServerLevel p_345784_, int p_344796_, ItemStack p_345410_, Entity p_345673_, DamageSource p_345768_, org.apache.commons.lang3.mutable.MutableFloat p_345664_) voidEnchantment.modifyDamageProtection(ServerLevel p_345336_, int p_345347_, ItemStack p_346270_, Entity p_346395_, DamageSource p_345595_, org.apache.commons.lang3.mutable.MutableFloat p_345579_) private voidEnchantment.modifyEntityFilteredValue(DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>> p_345986_, ServerLevel p_345473_, int p_345352_, ItemStack p_345076_, Entity p_345170_, org.apache.commons.lang3.mutable.MutableFloat p_345910_) voidEnchantment.modifyFallBasedDamage(ServerLevel p_345164_, int p_344793_, ItemStack p_345159_, Entity p_345653_, DamageSource p_344870_, org.apache.commons.lang3.mutable.MutableFloat p_346329_) static floatEnchantmentHelper.modifyFallBasedDamage(ServerLevel p_345433_, ItemStack p_345368_, Entity p_345047_, DamageSource p_345711_, float p_346245_) voidEnchantment.modifyFishingLuckBonus(ServerLevel p_344932_, int p_346280_, ItemStack p_344733_, Entity p_346035_, org.apache.commons.lang3.mutable.MutableFloat p_345897_) voidEnchantment.modifyFishingTimeReduction(ServerLevel p_344910_, int p_345466_, ItemStack p_345847_, Entity p_346092_, org.apache.commons.lang3.mutable.MutableFloat p_346295_) voidEnchantment.modifyKnockback(ServerLevel p_346266_, int p_344905_, ItemStack p_345602_, Entity p_346190_, DamageSource p_345911_, org.apache.commons.lang3.mutable.MutableFloat p_345127_) static floatEnchantmentHelper.modifyKnockback(ServerLevel p_346221_, ItemStack p_344862_, Entity p_345720_, DamageSource p_345322_, float p_345116_) voidEnchantment.modifyMobExperience(ServerLevel p_346393_, int p_345762_, ItemStack p_345945_, Entity p_345849_, org.apache.commons.lang3.mutable.MutableFloat p_345252_) voidEnchantment.modifyProjectileCount(ServerLevel p_345353_, int p_344837_, ItemStack p_346382_, Entity p_345611_, org.apache.commons.lang3.mutable.MutableFloat p_344765_) voidEnchantment.modifyProjectileSpread(ServerLevel p_346170_, int p_345846_, ItemStack p_346147_, Entity p_345832_, org.apache.commons.lang3.mutable.MutableFloat p_345361_) voidEnchantment.modifyTridentReturnToOwnerAcceleration(ServerLevel p_345534_, int p_345845_, ItemStack p_345558_, Entity p_345333_, org.apache.commons.lang3.mutable.MutableFloat p_344912_) voidEnchantment.onHitBlock(ServerLevel p_345175_, int p_346193_, EnchantedItemInUse p_344721_, Entity p_345951_, Vec3 p_344878_, BlockState p_351026_) static voidEnchantmentHelper.onHitBlock(ServerLevel p_346213_, ItemStack p_344826_, LivingEntity p_345015_, Entity p_345210_, EquipmentSlot p_345889_, Vec3 p_345922_, BlockState p_350787_, Consumer<Item> p_348575_) voidEnchantment.onProjectileSpawned(ServerLevel p_345440_, int p_346424_, EnchantedItemInUse p_346046_, Entity p_345958_) static intEnchantmentHelper.processMobExperience(ServerLevel p_344940_, Entity p_345838_, Entity p_345369_, int p_344901_) static intEnchantmentHelper.processProjectileCount(ServerLevel p_345598_, ItemStack p_346421_, Entity p_346006_, int p_346388_) static floatEnchantmentHelper.processProjectileSpread(ServerLevel p_346048_, ItemStack p_345702_, Entity p_346314_, float p_346070_) voidEnchantment.tick(ServerLevel p_345064_, int p_346148_, EnchantedItemInUse p_345056_, Entity p_345139_) -
Uses of Entity in net.minecraft.world.item.enchantment.effects
Methods in net.minecraft.world.item.enchantment.effects with parameters of type EntityModifier and TypeMethodDescriptionvoidAllOf.EntityEffects.apply(ServerLevel p_346093_, int p_345940_, EnchantedItemInUse p_344929_, Entity p_345319_, Vec3 p_345200_) voidApplyMobEffect.apply(ServerLevel p_345355_, int p_346112_, EnchantedItemInUse p_344766_, Entity p_345996_, Vec3 p_345315_) voidDamageEntity.apply(ServerLevel p_345710_, int p_344734_, EnchantedItemInUse p_345002_, Entity p_345450_, Vec3 p_345442_) voidDamageItem.apply(ServerLevel p_345496_, int p_344926_, EnchantedItemInUse p_345827_, Entity p_345408_, Vec3 p_345110_) voidEnchantmentEntityEffect.apply(ServerLevel p_345106_, int p_346004_, EnchantedItemInUse p_344966_, Entity p_346140_, Vec3 p_345890_) voidExplodeEffect.apply(ServerLevel p_346186_, int p_345966_, EnchantedItemInUse p_346324_, Entity p_345305_, Vec3 p_344916_) voidIgnite.apply(ServerLevel p_345606_, int p_344968_, EnchantedItemInUse p_346032_, Entity p_346370_, Vec3 p_344775_) voidPlaySoundEffect.apply(ServerLevel p_344971_, int p_344872_, EnchantedItemInUse p_345016_, Entity p_346106_, Vec3 p_345017_) voidReplaceBlock.apply(ServerLevel p_345756_, int p_346215_, EnchantedItemInUse p_345202_, Entity p_346293_, Vec3 p_345339_) voidReplaceDisk.apply(ServerLevel p_353045_, int p_353076_, EnchantedItemInUse p_353050_, Entity p_353038_, Vec3 p_353044_) voidRunFunction.apply(ServerLevel p_346152_, int p_344788_, EnchantedItemInUse p_344801_, Entity p_346210_, Vec3 p_345413_) voidSetBlockProperties.apply(ServerLevel p_346105_, int p_345373_, EnchantedItemInUse p_346028_, Entity p_346068_, Vec3 p_345511_) voidSpawnParticlesEffect.apply(ServerLevel p_345529_, int p_346425_, EnchantedItemInUse p_346391_, Entity p_345668_, Vec3 p_344842_) voidSummonEntityEffect.apply(ServerLevel p_345900_, int p_346183_, EnchantedItemInUse p_345549_, Entity p_346414_, Vec3 p_346284_) private DamageSourceExplodeEffect.getDamageSource(Entity p_346246_, Vec3 p_345332_) voidAllOf.LocationBasedEffects.onChangedBlock(ServerLevel p_345329_, int p_345154_, EnchantedItemInUse p_344984_, Entity p_345671_, Vec3 p_344781_, boolean p_345113_) voidEnchantmentAttributeEffect.onChangedBlock(ServerLevel p_346176_, int p_345071_, EnchantedItemInUse p_345394_, Entity p_345539_, Vec3 p_346261_, boolean p_345801_) default voidEnchantmentEntityEffect.onChangedBlock(ServerLevel p_345419_, int p_345173_, EnchantedItemInUse p_344724_, Entity p_346126_, Vec3 p_345614_, boolean p_346410_) voidEnchantmentLocationBasedEffect.onChangedBlock(ServerLevel p_345577_, int p_345675_, EnchantedItemInUse p_345807_, Entity p_345378_, Vec3 p_344844_, boolean p_345637_) voidAllOf.LocationBasedEffects.onDeactivated(EnchantedItemInUse p_346024_, Entity p_346234_, Vec3 p_346036_, int p_345698_) voidEnchantmentAttributeEffect.onDeactivated(EnchantedItemInUse p_346016_, Entity p_346371_, Vec3 p_345145_, int p_346185_) default voidEnchantmentLocationBasedEffect.onDeactivated(EnchantedItemInUse p_346131_, Entity p_345920_, Vec3 p_345758_, int p_344750_) -
Uses of Entity in net.minecraft.world.level
Fields in net.minecraft.world.level declared as EntityModifier and TypeFieldDescriptionprivate EntityBaseSpawner.displayEntityprivate final EntityEntityBasedExplosionDamageCalculator.sourceprivate final EntityExplosion.sourceMethods in net.minecraft.world.level with type parameters of type EntityModifier 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_) <T extends Entity>
voidLevel.getEntities(EntityTypeTest<Entity, T> p_261899_, AABB p_261837_, Predicate<? super T> p_261519_, List<? super T> p_262046_) <T extends Entity>
voidLevel.getEntities(EntityTypeTest<Entity, T> p_261885_, AABB p_262086_, Predicate<? super T> p_261688_, List<? super T> p_262071_, int p_261858_) 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_) Methods in net.minecraft.world.level that return EntityModifier and TypeMethodDescriptionExplosion.getDirectSourceEntity()abstract EntityLevel.getEntity(int p_46492_) BaseSpawner.getOrCreateDisplayEntity(Level p_254323_, BlockPos p_254313_) Methods in net.minecraft.world.level that return types with arguments of type EntityModifier 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_) com.mojang.datafixers.util.Either<BlockEntity, Entity> BaseSpawner.getOwner()Methods in net.minecraft.world.level with parameters of type EntityModifier and TypeMethodDescriptiondefault booleanLevelWriter.addFreshEntity(Entity p_46964_) default voidServerLevelAccessor.addFreshEntityWithPassengers(Entity p_47206_) private VoxelShapeCollisionGetter.borderCollision(Entity p_186441_, AABB p_186442_) voidLevel.broadcastDamageEvent(Entity p_270831_, DamageSource p_270361_) voidLevel.broadcastEntityEvent(Entity p_46509_, byte p_46510_) default booleanCollisionGetter.collidesWithSuffocatingBlock(Entity p_186438_, AABB p_186439_) booleanLevel.destroyBlock(BlockPos p_46626_, boolean p_46627_, Entity p_46628_, int p_46629_) default booleanLevelWriter.destroyBlock(BlockPos p_46954_, boolean p_46955_, Entity p_46956_) booleanLevelWriter.destroyBlock(BlockPos p_46957_, boolean p_46958_, Entity p_46959_, int p_46960_) Level.explode(Entity p_255682_, double p_255803_, double p_256403_, double p_256538_, float p_255674_, boolean p_256634_, Level.ExplosionInteraction p_256111_) Level.explode(Entity p_256599_, double p_255914_, double p_255684_, double p_255843_, float p_256310_, Level.ExplosionInteraction p_256178_) Level.explode(Entity p_256145_, DamageSource p_256004_, ExplosionDamageCalculator p_255696_, double p_256208_, double p_256036_, double p_255746_, float p_256647_, boolean p_256098_, Level.ExplosionInteraction p_256104_) Level.explode(Entity p_311934_, DamageSource p_312790_, ExplosionDamageCalculator p_311975_, double p_312493_, double p_312456_, double p_312719_, float p_312292_, boolean p_312144_, Level.ExplosionInteraction p_312265_, boolean p_312145_, ParticleOptions p_312842_, ParticleOptions p_312060_, Holder<SoundEvent> p_320283_) Level.explode(Entity p_256233_, DamageSource p_255861_, ExplosionDamageCalculator p_255867_, double p_256447_, double p_255732_, double p_255717_, float p_256013_, boolean p_256228_, Level.ExplosionInteraction p_255784_, ParticleOptions p_311886_, ParticleOptions p_311887_, Holder<SoundEvent> p_320084_) Level.explode(Entity p_255653_, DamageSource p_256558_, ExplosionDamageCalculator p_255929_, Vec3 p_256001_, float p_255963_, boolean p_256099_, Level.ExplosionInteraction p_256371_) CollisionGetter.findFreePosition(Entity p_151419_, VoxelShape p_151420_, Vec3 p_151421_, double p_151422_, double p_151423_, double p_151424_) CollisionGetter.findSupportingBlock(Entity p_286468_, AABB p_286792_) default voiddefault voiddefault Iterable<VoxelShape> CollisionGetter.getBlockCollisions(Entity p_186435_, AABB p_186436_) default Iterable<VoxelShape> CollisionGetter.getCollisions(Entity p_186432_, AABB p_186433_) static DamageSourceExplosion.getDefaultDamageSource(Level p_312716_, Entity p_312608_) 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_186427_, AABB p_186428_) default List<VoxelShape> CommonLevelAccessor.getEntityCollisions(Entity p_186447_, AABB p_186448_) default List<VoxelShape> EntityGetter.getEntityCollisions(Entity p_186451_, AABB p_186452_) PathNavigationRegion.getEntityCollisions(Entity p_186557_, AABB p_186558_) floatExplosionDamageCalculator.getEntityDamageAmount(Explosion p_311793_, Entity p_311929_) private static LivingEntityExplosion.getIndirectSourceEntityInternal(Entity p_312444_) floatExplosionDamageCalculator.getKnockbackMultiplier(Entity p_340973_) floatSimpleExplosionDamageCalculator.getKnockbackMultiplier(Entity p_345651_) default PlayerEntityGetter.getNearestPlayer(Entity p_45931_, double p_45932_) static floatExplosion.getSeenPercent(Vec3 p_46065_, Entity p_46066_) default booleanCollisionGetter.isUnobstructed(Entity p_45785_) default booleanCollisionGetter.isUnobstructed(Entity p_45750_, VoxelShape p_45751_) default booleanCommonLevelAccessor.isUnobstructed(Entity p_45828_, VoxelShape p_45829_) default booleanEntityGetter.isUnobstructed(Entity p_45939_, VoxelShape p_45940_) booleanLevel.loadedAndEntityCanStandOn(BlockPos p_46576_, Entity p_46577_) booleanLevel.loadedAndEntityCanStandOnFace(BlockPos p_46579_, Entity p_46580_, Direction p_46581_) private ExplosionDamageCalculatorExplosion.makeDamageCalculator(Entity p_46063_) default booleanCollisionGetter.noBlockCollision(Entity p_295728_, AABB p_294209_) default booleanCollisionGetter.noCollision(Entity p_45787_) default booleanCollisionGetter.noCollision(Entity p_45757_, AABB p_45758_) voidLevel.playLocalSound(Entity p_312189_, SoundEvent p_312080_, SoundSource p_312905_, float p_312914_, float p_312831_) abstract voidLevel.playSeededSound(Player p_220372_, Entity p_220373_, Holder<SoundEvent> p_263500_, SoundSource p_220375_, float p_220376_, float p_220377_, long p_220378_) voidLevel.playSound(Entity p_252137_, BlockPos p_251749_, SoundEvent p_248842_, SoundSource p_251104_, float p_249531_, float p_250763_) voidLevel.playSound(Player p_46551_, Entity p_46552_, SoundEvent p_46553_, SoundSource p_46554_, float p_46555_, float p_46556_) booleanExplosionDamageCalculator.shouldDamageEntity(Explosion p_314652_, Entity p_314454_) booleanSimpleExplosionDamageCalculator.shouldDamageEntity(Explosion p_346248_, Entity p_344983_) booleanLevel.shouldTickDeath(Entity p_186458_) Method parameters in net.minecraft.world.level with type arguments of type EntityModifier and TypeMethodDescriptionstatic NaturalSpawner.SpawnStateNaturalSpawner.createState(int p_186525_, Iterable<Entity> p_186526_, NaturalSpawner.ChunkGetter p_186527_, LocalMobCapCalculator p_186528_) 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_) <T extends Entity>
voidLevel.getEntities(EntityTypeTest<Entity, T> p_261899_, AABB p_261837_, Predicate<? super T> p_261519_, List<? super T> p_262046_) <T extends Entity>
voidLevel.getEntities(EntityTypeTest<Entity, T> p_261885_, AABB p_262086_, Predicate<? super T> p_261688_, List<? super T> p_262071_, int p_261858_) default PlayerEntityGetter.getNearestPlayer(double p_45919_, double p_45920_, double p_45921_, double p_45922_, Predicate<Entity> p_45923_) Constructors in net.minecraft.world.level with parameters of type EntityModifierConstructorDescriptionBlockCollisions(CollisionGetter p_286817_, Entity p_286246_, AABB p_286624_, boolean p_286354_, BiFunction<BlockPos.MutableBlockPos, VoxelShape, T> p_286303_) ClipContext(Vec3 p_45688_, Vec3 p_45689_, ClipContext.Block p_45690_, ClipContext.Fluid p_45691_, Entity p_45692_) EntityBasedExplosionDamageCalculator(Entity p_45894_) 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_46051_, Entity p_46052_, double p_46055_, double p_46056_, double p_46057_, float p_46058_, List<BlockPos> p_312600_, Explosion.BlockInteraction p_46060_, ParticleOptions p_312560_, ParticleOptions p_312844_, Holder<SoundEvent> p_320054_) Explosion(Level p_46024_, Entity p_46025_, DamageSource p_312268_, ExplosionDamageCalculator p_312205_, double p_46026_, double p_46027_, double p_46028_, float p_46029_, boolean p_312333_, Explosion.BlockInteraction p_312294_, ParticleOptions p_312158_, ParticleOptions p_311904_, Holder<SoundEvent> p_320270_) -
Uses of Entity in net.minecraft.world.level.block
Methods in net.minecraft.world.level.block with parameters of type EntityModifier and TypeMethodDescriptionvoidSculkSensorBlock.activate(Entity p_277529_, Level p_277340_, BlockPos p_277386_, BlockState p_277799_, int p_277993_, int p_278003_) (package private) static BlockStateComposterBlock.addItem(Entity p_270464_, BlockState p_270603_, LevelAccessor p_270151_, BlockPos p_270547_, ItemStack p_270354_) booleanBellBlock.attemptToRing(Entity p_152189_, Level p_152190_, BlockPos p_152191_, Direction p_152192_) private voidprivate voidprivate static Vec3EndGatewayBlock.calculateExitMovement(Entity p_352063_) private booleanTurtleEggBlock.canDestroyEgg(Level p_57768_, Entity p_57769_) private static booleanBigDripleafBlock.canEntityTilt(BlockPos p_152302_, Entity p_152303_) static booleanPowderSnowBlock.canEntityWalkOnPowderSnow(Entity p_154256_) static voidRespawnAnchorBlock.charge(Entity p_270997_, Level p_270172_, BlockPos p_270534_, BlockState p_270661_) private voidBasePressurePlateBlock.checkPressed(Entity p_152144_, Level p_152145_, BlockPos p_152146_, BlockState p_152147_, int p_152148_) private static DimensionTransitionNetherPortalBlock.createDimensionTransition(ServerLevel p_350955_, BlockUtil.FoundRectangle p_350865_, Direction.Axis p_351013_, Vec3 p_351020_, Entity p_350578_, Vec3 p_350266_, float p_350648_, float p_350338_, DimensionTransition.PostDimensionTransition p_352441_) private voidTurtleEggBlock.destroyEgg(Level p_154851_, BlockState p_154852_, BlockPos p_154853_, Entity p_154854_, int p_154855_) private static booleanHoneyBlock.doesEntityDoHoneyBlockSlideEffects(Entity p_54013_) private voidHoneyBlock.doSlideMovement(Entity p_54020_) static voidCampfireBlock.dowse(Entity p_152750_, LevelAccessor p_152751_, BlockPos p_152752_, BlockState p_152753_) static voidBlock.dropResources(BlockState p_49882_, Level p_49883_, BlockPos p_49884_, BlockEntity p_49885_, Entity p_49886_, ItemStack p_49887_) (package private) static BlockStateComposterBlock.empty(Entity p_270236_, BlockState p_270873_, LevelAccessor p_270963_, BlockPos p_270211_) protected voidBaseFireBlock.entityInside(BlockState p_49260_, Level p_49261_, BlockPos p_49262_, Entity p_49263_) protected voidBasePressurePlateBlock.entityInside(BlockState p_49314_, Level p_49315_, BlockPos p_49316_, Entity p_49317_) protected voidBigDripleafBlock.entityInside(BlockState p_152266_, Level p_152267_, BlockPos p_152268_, Entity p_152269_) protected voidBubbleColumnBlock.entityInside(BlockState p_50976_, Level p_50977_, BlockPos p_50978_, Entity p_50979_) protected voidButtonBlock.entityInside(BlockState p_51083_, Level p_51084_, BlockPos p_51085_, Entity p_51086_) protected voidCactusBlock.entityInside(BlockState p_51148_, Level p_51149_, BlockPos p_51150_, Entity p_51151_) protected voidCampfireBlock.entityInside(BlockState p_51269_, Level p_51270_, BlockPos p_51271_, Entity p_51272_) protected voidCropBlock.entityInside(BlockState p_52277_, Level p_52278_, BlockPos p_52279_, Entity p_52280_) protected voidDetectorRailBlock.entityInside(BlockState p_52458_, Level p_52459_, BlockPos p_52460_, Entity p_52461_) protected voidEndGatewayBlock.entityInside(BlockState p_350647_, Level p_350785_, BlockPos p_350610_, Entity p_350849_) protected voidEndPortalBlock.entityInside(BlockState p_53025_, Level p_53026_, BlockPos p_53027_, Entity p_53028_) protected voidFrogspawnBlock.entityInside(BlockState p_221204_, Level p_221205_, BlockPos p_221206_, Entity p_221207_) protected voidHoneyBlock.entityInside(BlockState p_54003_, Level p_54004_, BlockPos p_54005_, Entity p_54006_) protected voidHopperBlock.entityInside(BlockState p_54066_, Level p_54067_, BlockPos p_54068_, Entity p_54069_) protected voidLavaCauldronBlock.entityInside(BlockState p_153506_, Level p_153507_, BlockPos p_153508_, Entity p_153509_) protected voidLayeredCauldronBlock.entityInside(BlockState p_153534_, Level p_153535_, BlockPos p_153536_, Entity p_153537_) protected voidNetherPortalBlock.entityInside(BlockState p_54915_, Level p_54916_, BlockPos p_54917_, Entity p_54918_) voidPitcherCropBlock.entityInside(BlockState p_279266_, Level p_279469_, BlockPos p_279119_, Entity p_279372_) protected voidPowderSnowBlock.entityInside(BlockState p_154263_, Level p_154264_, BlockPos p_154265_, Entity p_154266_) protected voidSweetBerryBushBlock.entityInside(BlockState p_57270_, Level p_57271_, BlockPos p_57272_, Entity p_57273_) protected voidTripWireBlock.entityInside(BlockState p_57625_, Level p_57626_, BlockPos p_57627_, Entity p_57628_) protected voidWaterlilyBlock.entityInside(BlockState p_58164_, Level p_58165_, BlockPos p_58166_, Entity p_58167_) protected voidWebBlock.entityInside(BlockState p_58180_, Level p_58181_, BlockPos p_58182_, Entity p_58183_) protected voidWitherRoseBlock.entityInside(BlockState p_58238_, Level p_58239_, BlockPos p_58240_, Entity p_58241_) static BlockStateComposterBlock.extractProduce(Entity p_270467_, BlockState p_51999_, Level p_52000_, BlockPos p_52001_) voidBedBlock.fallOn(Level p_152169_, BlockState p_152170_, BlockPos p_152171_, Entity p_152172_, float p_152173_) voidBlock.fallOn(Level p_152426_, BlockState p_152427_, BlockPos p_152428_, Entity p_152429_, float p_152430_) voidFarmBlock.fallOn(Level p_153227_, BlockState p_153228_, BlockPos p_153229_, Entity p_153230_, float p_153231_) voidHayBlock.fallOn(Level p_153362_, BlockState p_153363_, BlockPos p_153364_, Entity p_153365_, float p_153366_) voidHoneyBlock.fallOn(Level p_153372_, BlockState p_153373_, BlockPos p_153374_, Entity p_153375_, float p_153376_) voidPointedDripstoneBlock.fallOn(Level p_154047_, BlockState p_154048_, BlockPos p_154049_, Entity p_154050_, float p_154051_) voidPowderSnowBlock.fallOn(Level p_196695_, BlockState p_196696_, BlockPos p_196697_, Entity p_196698_, float p_196699_) voidSlimeBlock.fallOn(Level p_154567_, BlockState p_154568_, BlockPos p_154569_, Entity p_154570_, float p_154571_) voidTurtleEggBlock.fallOn(Level p_154845_, BlockState p_154846_, BlockPos p_154847_, Entity p_154848_, float p_154849_) private static DimensionTransitionNetherPortalBlock.getDimensionTransitionFromExit(Entity p_350906_, BlockPos p_350376_, BlockUtil.FoundRectangle p_350428_, ServerLevel p_350928_, DimensionTransition.PostDimensionTransition p_352093_) Block.getDrops(BlockState p_49875_, ServerLevel p_49876_, BlockPos p_49877_, BlockEntity p_49878_, Entity p_49879_, ItemStack p_49880_) private DimensionTransitionNetherPortalBlock.getExitPortal(ServerLevel p_350564_, Entity p_350493_, BlockPos p_350379_, BlockPos p_350747_, boolean p_350326_, WorldBorder p_350718_) intDropExperienceBlock.getExpDrop(BlockState state, LevelAccessor level, BlockPos pos, BlockEntity blockEntity, Entity breaker, ItemStack tool) intRedStoneOreBlock.getExpDrop(BlockState state, LevelAccessor level, BlockPos pos, BlockEntity blockEntity, Entity breaker, ItemStack tool) intSculkCatalystBlock.getExpDrop(BlockState state, LevelAccessor level, BlockPos pos, BlockEntity blockEntity, Entity breaker, ItemStack tool) intSculkSensorBlock.getExpDrop(BlockState state, LevelAccessor level, BlockPos pos, BlockEntity blockEntity, Entity breaker, ItemStack tool) intSculkShriekerBlock.getExpDrop(BlockState state, LevelAccessor level, BlockPos pos, BlockEntity blockEntity, Entity breaker, ItemStack tool) intSpawnerBlock.getExpDrop(BlockState state, LevelAccessor level, BlockPos pos, BlockEntity blockEntity, Entity breaker, ItemStack tool) AnvilBlock.getFallDamageSource(Entity p_254036_) default DamageSourceFallable.getFallDamageSource(Entity p_253907_) PointedDripstoneBlock.getFallDamageSource(Entity p_254432_) EndGatewayBlock.getPortalDestination(ServerLevel p_350958_, Entity p_350650_, BlockPos p_350525_) EndPortalBlock.getPortalDestination(ServerLevel p_351032_, Entity p_350274_, BlockPos p_350589_) NetherPortalBlock.getPortalDestination(ServerLevel p_350444_, Entity p_350334_, BlockPos p_350764_) Portal.getPortalDestination(ServerLevel p_350469_, Entity p_350401_, BlockPos p_350443_) intNetherPortalBlock.getPortalTransitionTime(ServerLevel p_350689_, Entity p_350280_) default intPortal.getPortalTransitionTime(ServerLevel p_350613_, Entity p_350544_) static BlockStateComposterBlock.insertItem(Entity p_270919_, BlockState p_270087_, ServerLevel p_270284_, ItemStack p_270253_, BlockPos p_270678_) protected booleanAbstractCauldronBlock.isEntityInsideContent(BlockState p_151980_, BlockPos p_151981_, Entity p_151982_) private booleanHoneyBlock.isSlidingDown(BlockPos p_54008_, Entity p_54009_) private voidHoneyBlock.maybeDoSlideAchievement(Entity p_53992_, BlockPos p_53993_) private voidHoneyBlock.maybeDoSlideEffects(Level p_53995_, Entity p_53996_) private voidNoteBlock.playNote(Entity p_261664_, BlockState p_261606_, Level p_261819_, BlockPos p_262042_) private voidstatic voidLecternBlock.resetBookState(Entity p_270231_, Level p_270114_, BlockPos p_270251_, BlockState p_270758_, boolean p_270452_) voidDoorBlock.setOpen(Entity p_153166_, Level p_153167_, BlockState p_153168_, BlockPos p_153169_, boolean p_153170_) static voidHoneyBlock.showJumpParticles(Entity p_54011_) private static voidHoneyBlock.showParticles(Entity p_53989_, int p_53990_) static voidHoneyBlock.showSlideParticles(Entity p_53987_) private static voidCarvedPumpkinBlock.spawnGolemInWorld(Level p_249110_, BlockPattern.BlockPatternMatch p_251293_, Entity p_251251_, BlockPos p_251189_) voidBlock.stepOn(Level p_152431_, BlockPos p_152432_, BlockState p_152433_, Entity p_152434_) voidMagmaBlock.stepOn(Level p_153777_, BlockPos p_153778_, BlockState p_153779_, Entity p_153780_) voidRedStoneOreBlock.stepOn(Level p_154299_, BlockPos p_154300_, BlockState p_154301_, Entity p_154302_) voidSculkSensorBlock.stepOn(Level p_222132_, BlockPos p_222133_, BlockState p_222134_, Entity p_222135_) voidSculkShriekerBlock.stepOn(Level p_222177_, BlockPos p_222178_, BlockState p_222179_, Entity p_222180_) voidSlimeBlock.stepOn(Level p_154573_, BlockPos p_154574_, BlockState p_154575_, Entity p_154576_) voidTurtleEggBlock.stepOn(Level p_154857_, BlockPos p_154858_, BlockState p_154859_, Entity p_154860_) static voidSculkSensorBlock.tryResonateVibration(Entity p_279315_, Level p_277804_, BlockPos p_277458_, int p_277347_) static voidFarmBlock.turnToDirt(Entity p_270981_, BlockState p_270402_, Level p_270568_, BlockPos p_270551_) voidBedBlock.updateEntityAfterFallOn(BlockGetter p_49483_, Entity p_49484_) voidBlock.updateEntityAfterFallOn(BlockGetter p_49821_, Entity p_49822_) voidSlimeBlock.updateEntityAfterFallOn(BlockGetter p_56406_, Entity p_56407_) private static intTargetBlock.updateRedstoneOutput(LevelAccessor p_57392_, BlockState p_57393_, BlockHitResult p_57394_, Entity p_57395_) static InteractionResultCaveVines.use(Entity p_270738_, BlockState p_270772_, Level p_270721_, BlockPos p_270587_) Method parameters in net.minecraft.world.level.block with type arguments of type EntityModifier and TypeMethodDescriptionprotected static intBasePressurePlateBlock.getEntityCount(Level p_289656_, AABB p_289647_, Class<? extends Entity> p_289686_) private <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
Methods in net.minecraft.world.level.block.entity that return EntityModifier and TypeMethodDescriptionBeehiveBlockEntity.Occupant.createEntity(Level p_331790_, BlockPos p_330712_) Methods in net.minecraft.world.level.block.entity that return types with arguments of type EntityModifier and TypeMethodDescriptionBeehiveBlockEntity.releaseAllOccupants(BlockState p_58760_, BeehiveBlockEntity.BeeReleaseStatus p_58761_) Methods in net.minecraft.world.level.block.entity with parameters of type EntityModifier and TypeMethodDescriptionvoidBeehiveBlockEntity.addOccupant(Entity p_58742_) private static voidConduitBlockEntity.animationTick(Level p_155419_, BlockPos p_155420_, List<BlockPos> p_155421_, Entity p_155422_, int p_155423_) static voidHopperBlockEntity.entityInside(Level p_155568_, BlockPos p_155569_, BlockState p_155570_, Entity p_155571_, HopperBlockEntity p_155572_) static BeehiveBlockEntity.OccupantvoidSculkSensorBlockEntity.VibrationUser.onReceiveVibration(ServerLevel p_282851_, BlockPos p_281608_, Holder<GameEvent> p_316423_, Entity p_282123_, Entity p_283090_, float p_283130_) voidSculkShriekerBlockEntity.VibrationUser.onReceiveVibration(ServerLevel p_283372_, BlockPos p_281679_, Holder<GameEvent> p_316155_, Entity p_282286_, Entity p_281384_, float p_283119_) private voidSculkShriekerBlockEntity.shriek(ServerLevel p_222845_, Entity p_222846_) static ServerPlayerSculkShriekerBlockEntity.tryGetPlayer(Entity p_222862_) Method parameters in net.minecraft.world.level.block.entity with type arguments of type EntityModifier and TypeMethodDescriptionprivate static booleanBeehiveBlockEntity.releaseOccupant(Level p_155137_, BlockPos p_155138_, BlockState p_155139_, BeehiveBlockEntity.Occupant p_332184_, List<Entity> p_155141_, BeehiveBlockEntity.BeeReleaseStatus p_155142_, BlockPos p_155143_) -
Uses of Entity in net.minecraft.world.level.block.entity.trialspawner
Fields in net.minecraft.world.level.block.entity.trialspawner declared as EntityMethods in net.minecraft.world.level.block.entity.trialspawner with type parameters of type EntityModifier and TypeMethodDescriptionPlayerDetector.EntitySelector.getEntities(ServerLevel p_324233_, EntityTypeTest<Entity, T> p_324216_, AABB p_324151_, Predicate<? super T> p_323700_) Methods in net.minecraft.world.level.block.entity.trialspawner that return EntityModifier and TypeMethodDescriptionTrialSpawnerData.getOrCreateDisplayEntity(TrialSpawner p_312366_, Level p_312148_, TrialSpawnerState p_311790_) private static EntityTrialSpawnerState.selectEntityToSpawnItemAbove(List<Player> p_338467_, Set<UUID> p_338224_, TrialSpawner p_338687_, BlockPos p_338268_, ServerLevel p_338524_) Methods in net.minecraft.world.level.block.entity.trialspawner that return types with arguments of type EntityModifier and TypeMethodDescriptioncom.mojang.datafixers.util.Either<BlockEntity, Entity> TrialSpawner.getOwner()Methods in net.minecraft.world.level.block.entity.trialspawner with parameters of type EntityModifier and TypeMethodDescriptionTrialSpawnerState.calculatePositionAbove(Entity p_338791_, ServerLevel p_338807_) Method parameters in net.minecraft.world.level.block.entity.trialspawner with type arguments of type EntityModifier and TypeMethodDescriptionPlayerDetector.EntitySelector.getEntities(ServerLevel p_324233_, EntityTypeTest<Entity, T> p_324216_, AABB p_324151_, Predicate<? super T> p_323700_) -
Uses of Entity in net.minecraft.world.level.block.piston
Methods in net.minecraft.world.level.block.piston with parameters of type EntityModifier and TypeMethodDescriptionprivate static voidPistonMovingBlockEntity.fixEntityWithinPistonBase(BlockPos p_155921_, Entity p_155922_, Direction p_155923_, double p_155924_) private static booleanPistonMovingBlockEntity.matchesStickyCritera(AABB p_287782_, Entity p_287720_, BlockPos p_287775_) private static voidPistonMovingBlockEntity.moveEntityByPiston(Direction p_60372_, Entity p_60373_, double p_60374_, Direction p_60375_) -
Uses of Entity in net.minecraft.world.level.block.state
Methods in net.minecraft.world.level.block.state with parameters of type EntityModifier and TypeMethodDescriptionfinal booleanBlockBehaviour.BlockStateBase.entityCanStandOn(BlockGetter p_60635_, BlockPos p_60636_, Entity p_60637_) final booleanBlockBehaviour.BlockStateBase.entityCanStandOnFace(BlockGetter p_60639_, BlockPos p_60640_, Entity p_60641_, Direction p_60642_) voidBlockBehaviour.BlockStateBase.entityInside(Level p_60683_, BlockPos p_60684_, Entity p_60685_) protected voidBlockBehaviour.entityInside(BlockState p_60495_, Level p_60496_, BlockPos p_60497_, Entity p_60498_) -
Uses of Entity in net.minecraft.world.level.border
Methods in net.minecraft.world.level.border with parameters of type EntityModifier and TypeMethodDescriptiondoubleWorldBorder.getDistanceToBorder(Entity p_61926_) booleanWorldBorder.isInsideCloseToBorder(Entity p_187567_, AABB p_187568_) -
Uses of Entity in net.minecraft.world.level.chunk
Methods in net.minecraft.world.level.chunk with parameters of type Entity -
Uses of Entity in net.minecraft.world.level.chunk.storage
Methods in net.minecraft.world.level.chunk.storage that return types with arguments of type EntityModifier and TypeMethodDescriptionprivate static ChunkEntities<Entity> EntityStorage.emptyChunk(ChunkPos p_156569_) EntityStorage.loadEntities(ChunkPos p_156551_) Method parameters in net.minecraft.world.level.chunk.storage with type arguments of type EntityModifier and TypeMethodDescriptionvoidEntityStorage.storeEntities(ChunkEntities<Entity> p_156559_) -
Uses of Entity in net.minecraft.world.level.dimension.end
Fields in net.minecraft.world.level.dimension.end with type parameters of type Entity -
Uses of Entity in net.minecraft.world.level.entity
Fields in net.minecraft.world.level.entity declared as EntityModifier and TypeFieldDescriptionprivate final EntityPersistentEntitySectionManager.Callback.realEntityprivate final EntityTransientEntitySectionManager.Callback.realEntityFields in net.minecraft.world.level.entity with type parameters of type EntityModifier and TypeFieldDescriptionprivate it.unimi.dsi.fastutil.ints.Int2ObjectMap<Entity> EntityTickList.activeprivate it.unimi.dsi.fastutil.ints.Int2ObjectMap<Entity> EntityTickList.iteratedprivate it.unimi.dsi.fastutil.ints.Int2ObjectMap<Entity> EntityTickList.passiveMethods in net.minecraft.world.level.entity with parameters of type EntityModifier and TypeMethodDescriptionvoidbooleanvoidMethod parameters in net.minecraft.world.level.entity with type arguments of type Entity -
Uses of Entity in net.minecraft.world.level.gameevent
Fields in net.minecraft.world.level.gameevent declared as EntityModifier and TypeFieldDescriptionprivate final EntityGameEvent.Context.sourceEntityThe field for thesourceEntityrecord component.Fields in net.minecraft.world.level.gameevent with type parameters of type EntityMethods in net.minecraft.world.level.gameevent that return EntityModifier and TypeMethodDescriptionGameEvent.Context.sourceEntity()Returns the value of thesourceEntityrecord component.Methods in net.minecraft.world.level.gameevent with parameters of type EntityModifier and TypeMethodDescriptionstatic GameEvent.Contextstatic GameEvent.ContextGameEvent.Context.of(Entity p_223720_, BlockState p_223721_) Constructors in net.minecraft.world.level.gameevent with parameters of type EntityModifierConstructorDescriptionContext(Entity sourceEntity, BlockState affectedState) Creates an instance of aContextrecord class.EntityPositionSource(Entity p_223648_, float p_223649_) Constructor parameters in net.minecraft.world.level.gameevent with type arguments of type EntityModifierConstructorDescriptionprivateEntityPositionSource(com.mojang.datafixers.util.Either<Entity, com.mojang.datafixers.util.Either<UUID, Integer>> p_223651_, float p_223652_) -
Uses of Entity in net.minecraft.world.level.gameevent.vibrations
Fields in net.minecraft.world.level.gameevent.vibrations declared as EntityModifier and TypeFieldDescriptionprivate final EntityVibrationInfo.entityThe field for theentityrecord component.Methods in net.minecraft.world.level.gameevent.vibrations that return EntityModifier and TypeMethodDescriptionVibrationInfo.entity()Returns the value of theentityrecord component.Methods in net.minecraft.world.level.gameevent.vibrations that return types with arguments of type EntityModifier and TypeMethodDescriptionVibrationInfo.getEntity(ServerLevel p_249184_) VibrationInfo.getProjectileOwner(ServerLevel p_249217_) Methods in net.minecraft.world.level.gameevent.vibrations with parameters of type EntityModifier and TypeMethodDescriptionprivate static UUIDVibrationInfo.getProjectileOwner(Entity p_251531_) voidVibrationSystem.User.onReceiveVibration(ServerLevel p_282148_, BlockPos p_282090_, Holder<GameEvent> p_316773_, Entity p_281578_, Entity p_281308_, float p_281707_) Constructors in net.minecraft.world.level.gameevent.vibrations with parameters of type EntityModifierConstructorDescriptionVibrationInfo(Holder<GameEvent> gameEvent, float distance, Vec3 pos, UUID uuid, UUID projectileOwnerUuid, Entity entity) Creates an instance of aVibrationInforecord class.VibrationInfo(Holder<GameEvent> p_316851_, float p_250190_, Vec3 p_251692_, Entity p_316868_) -
Uses of Entity in net.minecraft.world.level.levelgen.structure.templatesystem
Methods in net.minecraft.world.level.levelgen.structure.templatesystem that return types with arguments of type EntityModifier and TypeMethodDescriptionStructureTemplate.createEntityIgnoreException(ServerLevelAccessor p_74544_, CompoundTag p_74545_) -
Uses of Entity in net.minecraft.world.level.pathfinder
Methods in net.minecraft.world.level.pathfinder with parameters of type EntityModifier and TypeMethodDescriptionPath.getEntityPosAtNode(Entity p_77383_, int p_77384_) Path.getNextEntityPos(Entity p_77381_) -
Uses of Entity in net.minecraft.world.level.portal
Methods in net.minecraft.world.level.portal with parameters of type EntityModifier and TypeMethodDescriptionprivate static Vec3DimensionTransition.findAdjustedSharedSpawnPos(ServerLevel p_352080_, Entity p_352400_) static Vec3PortalShape.findCollisionFreePosition(Vec3 p_260315_, ServerLevel p_259704_, Entity p_259626_, EntityDimensions p_259816_) static DimensionTransitionDimensionTransition.missingRespawnBlock(ServerLevel p_348517_, Entity p_352420_, DimensionTransition.PostDimensionTransition p_352305_) voidDimensionTransition.PostDimensionTransition.onTransition(Entity p_352279_) private static voidDimensionTransition.placePortalTicket(Entity p_352447_) private static voidDimensionTransition.playPortalSound(Entity p_352075_) Constructors in net.minecraft.world.level.portal with parameters of type EntityModifierConstructorDescriptionDimensionTransition(ServerLevel p_348609_, Entity p_352432_, DimensionTransition.PostDimensionTransition p_352373_) -
Uses of Entity in net.minecraft.world.level.storage.loot
Fields in net.minecraft.world.level.storage.loot with type parameters of type EntityModifier and TypeFieldDescriptionprivate final LootContextParam<? extends Entity> LootContext.EntityTarget.paramMethods in net.minecraft.world.level.storage.loot that return types with arguments of type EntityModifier and TypeMethodDescriptionLootContextParam<? extends Entity> LootContext.EntityTarget.getParam()Constructor parameters in net.minecraft.world.level.storage.loot with type arguments of type EntityModifierConstructorDescriptionprivateEntityTarget(String p_79001_, LootContextParam<? extends Entity> p_79002_) -
Uses of Entity in net.minecraft.world.level.storage.loot.parameters
Fields in net.minecraft.world.level.storage.loot.parameters with type parameters of type EntityModifier and TypeFieldDescriptionstatic final LootContextParam<Entity> LootContextParams.ATTACKING_ENTITYstatic final LootContextParam<Entity> LootContextParams.DIRECT_ATTACKING_ENTITYstatic final LootContextParam<Entity> LootContextParams.THIS_ENTITY -
Uses of Entity in net.minecraft.world.level.storage.loot.predicates
Methods in net.minecraft.world.level.storage.loot.predicates with parameters of type EntityModifier and TypeMethodDescriptionprotected booleanEntityHasScoreCondition.hasScore(LootContext p_165491_, Entity p_165492_, Scoreboard p_165493_, String p_165494_, IntRange p_165495_) -
Uses of Entity in net.minecraft.world.phys
Fields in net.minecraft.world.phys declared as EntityMethods in net.minecraft.world.phys that return EntityMethods in net.minecraft.world.phys with parameters of type EntityConstructors in net.minecraft.world.phys with parameters of type EntityModifierConstructorDescriptionEntityHitResult(Entity p_82439_) EntityHitResult(Entity p_82441_, Vec3 p_82442_) -
Uses of Entity in net.minecraft.world.phys.shapes
Fields in net.minecraft.world.phys.shapes declared as EntityMethods in net.minecraft.world.phys.shapes that return EntityMethods in net.minecraft.world.phys.shapes with parameters of type EntityConstructors in net.minecraft.world.phys.shapes with parameters of type EntityModifierConstructorDescriptionprotectedEntityCollisionContext(boolean p_198916_, double p_198917_, ItemStack p_198918_, Predicate<FluidState> p_198919_, Entity p_198920_) protectedEntityCollisionContext(Entity p_82872_) Deprecated. -
Uses of Entity in net.minecraft.world.scores
Methods in net.minecraft.world.scores with parameters of type Entity -
Uses of Entity in net.neoforged.neoforge.attachment
Methods in net.neoforged.neoforge.attachment with parameters of type EntityModifier and TypeMethodDescriptionstatic voidAttachmentInternals.copyEntityAttachments(Entity from, Entity to, boolean isDeath) Do not call directly, useIEntityExtension.copyAttachmentsFrom(Entity, boolean). -
Uses of Entity in net.neoforged.neoforge.capabilities
Fields in net.neoforged.neoforge.capabilities with type parameters of type EntityModifier and TypeFieldDescription(package private) final Map<EntityType<?>, List<ICapabilityProvider<Entity, C, T>>> EntityCapability.providersMethods in net.neoforged.neoforge.capabilities with type parameters of type EntityModifier and TypeMethodDescription<T,C, E extends Entity>
voidRegisterCapabilitiesEvent.registerEntity(EntityCapability<T, C> capability, EntityType<E> entityType, ICapabilityProvider<? super E, C, T> provider) Register a capability provider for some entity type.Methods in net.neoforged.neoforge.capabilities with parameters of type Entity -
Uses of Entity in net.neoforged.neoforge.client
Methods in net.neoforged.neoforge.client with parameters of type EntityModifier and TypeMethodDescriptionstatic ResourceLocationClientHooks.getArmorTexture(Entity entity, ItemStack armor, ArmorMaterial.Layer layer, boolean innerModel, EquipmentSlot slot) static booleanClientHooks.isNameplateInRenderDistance(Entity entity, double squareDistance) static voidClientHooks.loadEntityShader(Entity entity, GameRenderer entityRenderer) Constructors in net.neoforged.neoforge.client with parameters of type EntityModifierConstructorDescriptionClientCommandSourceStack(CommandSource source, Vec3 position, Vec2 rotation, int permission, String plainTextName, Component displayName, Entity executing) -
Uses of Entity in net.neoforged.neoforge.client.event
Methods in net.neoforged.neoforge.client.event with type parameters of type EntityModifier and TypeMethodDescription<T extends Entity,R extends EntityRenderer<T>>
REntityRenderersEvent.AddLayers.getRenderer(EntityType<? extends T> entityType) Returns an entity renderer for the given entity type.<T extends Entity>
voidEntityRenderersEvent.RegisterRenderers.registerEntityRenderer(EntityType<? extends T> entityType, EntityRendererProvider<T> entityRendererProvider) Registers an entity renderer for the given entity type.Constructors in net.neoforged.neoforge.client.event with parameters of type EntityModifierConstructorDescriptionRenderNameTagEvent(Entity entity, Component content, EntityRenderer<?> entityRenderer, PoseStack poseStack, MultiBufferSource multiBufferSource, int packedLight, float partialTick) -
Uses of Entity in net.neoforged.neoforge.client.extensions.common
Methods in net.neoforged.neoforge.client.extensions.common with parameters of type EntityModifier and TypeMethodDescriptiondefault org.joml.Vector3dIClientBlockExtensions.getFogColor(BlockState state, LevelReader level, BlockPos pos, Entity entity, org.joml.Vector3d originalColor, float partialTick) NOT CURRENTLY IMPLEMENTED -
Uses of Entity in net.neoforged.neoforge.common
Methods in net.neoforged.neoforge.common with parameters of type EntityModifier and TypeMethodDescriptionstatic CriticalHitEventCommonHooks.fireCriticalHit(Player player, Entity target, boolean vanillaCritical, float damageModifier) Fires theCriticalHitEventand returns the resulting event.IMinecartCollisionHandler.getCollisionBox(AbstractMinecart cart, Entity other) This function replaced the function of the same name in EntityMinecart.static doubleCommonHooks.getEntityVisibilityMultiplier(LivingEntity entity, Entity lookingEntity, double originalMultiplier) @Nullable MerchantOfferBasicItemListing.getOffer(Entity p_219693_, RandomSource p_219694_) static voidCommonHooks.handleBlockDrops(ServerLevel level, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, List<ItemEntity> drops, @Nullable Entity breaker, ItemStack tool) Fires theBlockDropsEventwhen block drops (items and experience) are determined.voidIMinecartCollisionHandler.onEntityCollision(AbstractMinecart cart, Entity other) This basically replaces the function of the same name in EntityMinecart.static voidCommonHooks.onEntityEnterSection(Entity entity, long packedOldPos, long packedNewPos) static booleanCommonHooks.onFarmlandTrample(Level level, BlockPos pos, BlockState state, float fallDistance, Entity entity) static @Nullable InteractionResultCommonHooks.onInteractEntity(Player player, Entity entity, InteractionHand hand) static @Nullable InteractionResultCommonHooks.onInteractEntityAt(Player player, Entity entity, HitResult ray, InteractionHand hand) static @Nullable InteractionResultCommonHooks.onInteractEntityAt(Player player, Entity entity, Vec3 vec3d, InteractionHand hand) static booleanCommonHooks.onPlayerAttackTarget(Player player, Entity target) static booleanCommonHooks.onTravelToDimension(Entity entity, ResourceKey<Level> dimension) -
Uses of Entity in net.neoforged.neoforge.common.advancements.critereon
Methods in net.neoforged.neoforge.common.advancements.critereon with parameters of type EntityModifier and TypeMethodDescriptionbooleanPiglinNeutralArmorEntityPredicate.matches(Entity entity, ServerLevel level, @Nullable Vec3 position) -
Uses of Entity in net.neoforged.neoforge.common.extensions
Methods in net.neoforged.neoforge.common.extensions that return EntityModifier and TypeMethodDescriptiondefault @Nullable EntityIItemExtension.createEntity(Level level, Entity location, ItemStack stack) This function should return a new entity to replace the dropped item.private EntityIEntityExtension.self()Methods in net.neoforged.neoforge.common.extensions that return types with arguments of type EntityModifier and TypeMethodDescription@Nullable com.mojang.datafixers.util.Either<BlockEntity, Entity> IOwnedSpawner.getOwner()Returns the block entity or entity which owns this spawner object.Methods in net.neoforged.neoforge.common.extensions with parameters of type EntityModifier and TypeMethodDescriptiondefault booleanIBlockExtension.addRunningEffects(BlockState state, Level level, BlockPos pos, Entity entity) Allows a block to override the standard vanilla running particles.default booleanIBlockStateExtension.addRunningEffects(Level level, BlockPos pos, Entity entity) Allows a block to override the standard vanilla running particles.default voidIServerChunkCacheExtension.broadcast(Entity entity, CustomPacketPayload payload) Sends a payload to all players watching the given entity.default voidIServerChunkCacheExtension.broadcastAndSend(Entity entity, CustomPacketPayload payload) Sends a payload to all players watching the given entity.default booleanIEntityExtension.canBeRiddenUnderFluidType(FluidType type, Entity rider) Returns whether the entity can ride in this vehicle under the fluid.default booleanIBlockExtension.canEntityDestroy(BlockState state, BlockGetter level, BlockPos pos, Entity entity) Determines if this block is can be destroyed by the specified entities normal behavior.default booleanIBlockStateExtension.canEntityDestroy(BlockGetter level, BlockPos pos, Entity entity) Determines if this block is can be destroyed by the specified entities normal behavior.default booleanIBlockExtension.collisionExtendsVertically(BlockState state, BlockGetter level, BlockPos pos, Entity collidingEntity) Determines if this block's collision box should be treated as though it can extend above its block space.default booleanIBlockStateExtension.collisionExtendsVertically(BlockGetter level, BlockPos pos, Entity collidingEntity) Determines if this block's collision box should be treated as though it can extend above its block space.default voidIEntityExtension.copyAttachmentsFrom(Entity other, boolean isDeath) Copies the serialized attachments from another entity to this entity.default @Nullable EntityIItemExtension.createEntity(Level level, Entity location, ItemStack stack) This function should return a new entity to replace the dropped item.default @Nullable ResourceLocationIItemExtension.getArmorTexture(ItemStack stack, Entity entity, EquipmentSlot slot, ArmorMaterial.Layer layer, boolean innerModel) Called by RenderBiped and RenderPlayer to determine the armor texture that should be use for the currently equipped item.default intIBlockExtension.getExpDrop(BlockState state, LevelAccessor level, BlockPos pos, @Nullable BlockEntity blockEntity, @Nullable Entity breaker, ItemStack tool) Returns how many experience points this block drops when broken, before application of enchantments.default intIBlockStateExtension.getExpDrop(LevelAccessor level, BlockPos pos, @Nullable BlockEntity blockEntity, @Nullable Entity breaker, ItemStack tool) Returns how many experience points this block drops when broken, before application of enchantments.default floatIBlockExtension.getFriction(BlockState state, LevelReader level, BlockPos pos, @Nullable Entity entity) Gets the slipperiness at the given location at the given state.default floatIBlockStateExtension.getFriction(LevelReader level, BlockPos pos, @Nullable Entity entity) Gets the slipperiness at the given location at the given state.default SoundTypeIBlockExtension.getSoundType(BlockState state, LevelReader level, BlockPos pos, @Nullable Entity entity) Sensitive version of getSoundTypedefault SoundTypeIBlockStateExtension.getSoundType(LevelReader level, BlockPos pos, @Nullable Entity entity) Sensitive version of getSoundTypedefault AABBIItemExtension.getSweepHitBox(ItemStack stack, Player player, Entity target) Get a bounding box (AABB) of a sweep attack.default AABBIItemStackExtension.getSweepHitBox(Player player, Entity target) Get a bounding box (AABB) of a sweep attack.default booleanIPlayerExtension.isCloseEnough(Entity entity, double dist) Utility check to see if the player is close enough to a target entity.default booleanIItemExtension.onLeftClickEntity(ItemStack stack, Player player, Entity entity) Called when the player Left Clicks (attacks) an entity. -
Uses of Entity in net.neoforged.neoforge.common.util
Subclasses of Entity in net.neoforged.neoforge.common.utilModifier and TypeClassDescriptionclassA basic fake server player implementation that can be used to simulate player actions. -
Uses of Entity in net.neoforged.neoforge.common.world.chunk
Methods in net.neoforged.neoforge.common.world.chunk with parameters of type EntityModifier and TypeMethodDescriptionbooleanTicketController.forceChunk(ServerLevel level, Entity owner, int chunkX, int chunkZ, boolean add, boolean ticking) Forces a chunk to be loaded with the "owner" of the ticket being the UUID of the given entity. -
Uses of Entity in net.neoforged.neoforge.debug.chat
Constructors in net.neoforged.neoforge.debug.chat with parameters of type EntityModifierConstructorDescriptionErrorCatchingStack(CommandSource p_81302_, Vec3 p_81303_, Vec2 p_81304_, ServerLevel p_81305_, int p_81306_, String p_81307_, Component p_81308_, MinecraftServer p_81309_, @Nullable Entity p_81310_) -
Uses of Entity in net.neoforged.neoforge.debug.entity
Subclasses of Entity in net.neoforged.neoforge.debug.entityModifier and TypeClassDescriptionprivate static classstatic final classstatic final classstatic final classConstructor parameters in net.neoforged.neoforge.debug.entity with type arguments of type Entity -
Uses of Entity in net.neoforged.neoforge.debug.resources
Methods in net.neoforged.neoforge.debug.resources with parameters of type EntityModifier and TypeMethodDescriptionvoidBulkKnownPackTest.Listener.onEnabled(TestFramework framework, Test test, @Nullable Entity changer) -
Uses of Entity in net.neoforged.neoforge.entity
Classes in net.neoforged.neoforge.entity with type parameters of type EntitySubclasses of Entity in net.neoforged.neoforge.entityFields in net.neoforged.neoforge.entity declared as Entity -
Uses of Entity in net.neoforged.neoforge.event
Fields in net.neoforged.neoforge.event declared as EntityMethods in net.neoforged.neoforge.event that return EntityModifier and TypeMethodDescription@Nullable EntityVanillaGameEvent.getCause()PlayLevelSoundEvent.AtEntity.getEntity()Returns the entity the sound is being played on.Methods in net.neoforged.neoforge.event with parameters of type EntityModifier and TypeMethodDescriptionstatic booleanEventHooks.canEntityGrief(Level level, @Nullable Entity entity) Checks if an entity can perform a griefing action.static booleanEventHooks.canMountEntity(Entity entityMounting, Entity entityBeingMounted, boolean isMounting) static voidEventHooks.fireEntityTickPost(Entity entity) FiresEntityTickEvent.Post.static EntityTickEvent.PreEventHooks.fireEntityTickPre(Entity entity) FiresEntityTickEvent.Pre.static EntityEvent.SizeEventHooks.getEntitySizeForge(Entity entity, Pose pose, EntityDimensions size, float eyeHeight) static EntityEvent.SizeEventHooks.getEntitySizeForge(Entity entity, Pose pose, EntityDimensions oldSize, EntityDimensions newSize, float newEyeHeight) static Vec3EventHooks.getExplosionKnockback(Level level, Explosion explosion, Entity entity, Vec3 initialVelocity) To be called when an explosion has calculated the knockback velocity but has not yet added the knockback to the entity caught in blast.static booleanEventHooks.onBlockPlace(@Nullable Entity entity, BlockSnapshot blockSnapshot, Direction direction) static booleanEventHooks.onEntityStruckByLightning(Entity entity, LightningBolt bolt) EventHooks.onEntityTeleportCommand(Entity entity, double targetX, double targetY, double targetZ) EventHooks.onEntityTeleportSpreadPlayersCommand(Entity entity, double targetX, double targetY, double targetZ) static booleanEventHooks.onMultiBlockPlace(@Nullable Entity entity, List<BlockSnapshot> blockSnapshots, Direction direction) static PlayLevelSoundEvent.AtEntityEventHooks.onPlaySoundAtEntity(Entity entity, Holder<SoundEvent> name, SoundSource category, float volume, float pitch) static voidEventHooks.onStartEntityTracking(Entity entity, Player player) static voidEventHooks.onStopEntityTracking(Entity entity, Player player) Method parameters in net.neoforged.neoforge.event with type arguments of type EntityModifier and TypeMethodDescriptionstatic voidEventHooks.onExplosionDetonate(Level level, Explosion explosion, List<Entity> list, double diameter) Constructors in net.neoforged.neoforge.event with parameters of type EntityModifierConstructorDescriptionAtEntity(Entity entity, Holder<SoundEvent> sound, SoundSource source, float volume, float pitch) -
Uses of Entity in net.neoforged.neoforge.event.entity
Classes in net.neoforged.neoforge.event.entity with type parameters of type EntityModifier and TypeClassDescriptionstatic classFields in net.neoforged.neoforge.event.entity declared as EntityModifier and TypeFieldDescriptionprivate final EntityEntityEvent.entityprivate final EntityEntityMountEvent.entityBeingMountedprivate final EntityEntityMountEvent.entityMountingMethods in net.neoforged.neoforge.event.entity with type parameters of type EntityModifier and TypeMethodDescription<T extends Entity>
voidSpawnPlacementRegisterEvent.register(EntityType<T> entityType, @Nullable SpawnPlacementType placementType, Heightmap.Types heightmap, SpawnPlacements.SpawnPredicate<T> predicate, SpawnPlacementRegisterEvent.Operation operation) Register apredicatefor a givenentityTypeandoperationWith the option of changing theplacementTypeandheightmap.<T extends Entity>
voidSpawnPlacementRegisterEvent.register(EntityType<T> entityType, SpawnPlacements.SpawnPredicate<T> predicate) Register an optional spawn placementpredicatefor a givenentityType<T extends Entity>
voidSpawnPlacementRegisterEvent.register(EntityType<T> entityType, SpawnPlacements.SpawnPredicate<T> predicate, SpawnPlacementRegisterEvent.Operation operation) Register apredicatefor a givenentityTypewith a givenoperationfor handlingMethods in net.neoforged.neoforge.event.entity that return EntityModifier and TypeMethodDescriptionEntityEvent.getEntity()EntityMountEvent.getEntityBeingMounted()EntityMountEvent.getEntityMounting()Constructors in net.neoforged.neoforge.event.entity with parameters of type EntityModifierConstructorDescriptionEnteringSection(Entity entity, long packedOldPos, long packedNewPos) EntityConstructing(Entity entity) EntityEvent(Entity entity) EntityJoinLevelEvent(Entity entity, Level level) EntityJoinLevelEvent(Entity entity, Level level, boolean loadedFromDisk) EntityLeaveLevelEvent(Entity entity, Level level) EntityMobGriefingEvent(Level level, Entity entity) EntityMountEvent(Entity entityMounting, Entity entityBeingMounted, Level level, boolean isMounting) EntityStruckByLightningEvent(Entity entity, LightningBolt lightning) EntityTeleportEvent(Entity entity, double targetX, double targetY, double targetZ) EntityTravelToDimensionEvent(Entity entity, ResourceKey<Level> dimension) 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.neoforged.neoforge.event.entity.living
Fields in net.neoforged.neoforge.event.entity.living declared as EntityModifier and TypeFieldDescriptionprivate final @Nullable EntityLivingEvent.LivingVisibilityEvent.lookingEntityprivate final EntityMobEffectEvent.Added.sourceFields in net.neoforged.neoforge.event.entity.living with type parameters of type EntityModifier and TypeFieldDescriptionprivate final @Nullable com.mojang.datafixers.util.Either<BlockEntity, Entity> FinalizeSpawnEvent.spawnerMethods in net.neoforged.neoforge.event.entity.living that return EntityModifier and TypeMethodDescription@Nullable EntityMobEffectEvent.Added.getEffectSource()@Nullable EntityLivingEvent.LivingVisibilityEvent.getLookingEntity()Methods in net.neoforged.neoforge.event.entity.living that return types with arguments of type EntityModifier and TypeMethodDescription@Nullable com.mojang.datafixers.util.Either<BlockEntity, Entity> FinalizeSpawnEvent.getSpawner()Retrieves the underlyingBlockEntityorEntitythat performed the spawn.Constructors in net.neoforged.neoforge.event.entity.living with parameters of type EntityModifierConstructorDescriptionAdded(LivingEntity living, MobEffectInstance oldEffectInstance, MobEffectInstance newEffectInstance, Entity source) LivingVisibilityEvent(LivingEntity livingEntity, @Nullable Entity lookingEntity, double originalMultiplier) Constructor parameters in net.neoforged.neoforge.event.entity.living with type arguments of type EntityModifierConstructorDescriptionFinalizeSpawnEvent(Mob entity, ServerLevelAccessor level, double x, double y, double z, DifficultyInstance difficulty, MobSpawnType spawnType, @Nullable SpawnGroupData spawnData, @Nullable com.mojang.datafixers.util.Either<BlockEntity, Entity> spawner) -
Uses of Entity in net.neoforged.neoforge.event.entity.player
Fields in net.neoforged.neoforge.event.entity.player declared as EntityModifier and TypeFieldDescriptionprivate final EntityAttackEntityEvent.targetprivate final EntityCriticalHitEvent.targetprivate final EntityPlayerEvent.StartTracking.targetprivate final EntityPlayerEvent.StopTracking.targetprivate final EntityPlayerInteractEvent.EntityInteract.targetprivate final EntityPlayerInteractEvent.EntityInteractSpecific.targetMethods in net.neoforged.neoforge.event.entity.player that return EntityModifier and TypeMethodDescriptionAttackEntityEvent.getTarget()CriticalHitEvent.getTarget()Returns the entity that was attacked 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()Constructors in net.neoforged.neoforge.event.entity.player with parameters of type EntityModifierConstructorDescriptionAttackEntityEvent(Player player, Entity target) CriticalHitEvent(Player player, Entity target, float dmgMultiplier, boolean isCriticalHit) 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.neoforged.neoforge.event.level
Fields in net.neoforged.neoforge.event.level declared as EntityModifier and TypeFieldDescriptionprivate final @Nullable EntityBlockDropsEvent.breakerprivate final EntityBlockEvent.EntityPlaceEvent.entityprivate final EntityBlockEvent.FarmlandTrampleEvent.entityprivate final EntityExplosionKnockbackEvent.entityFields in net.neoforged.neoforge.event.level with type parameters of type EntityMethods in net.neoforged.neoforge.event.level that return EntityModifier and TypeMethodDescriptionExplosionKnockbackEvent.getAffectedEntity()return the entity affected by the explosion knockback.@Nullable EntityBlockDropsEvent.getBreaker()Returns the entity that broke the block, or null if unknown.@Nullable EntityBlockEvent.EntityPlaceEvent.getEntity()BlockEvent.FarmlandTrampleEvent.getEntity()Methods in net.neoforged.neoforge.event.level that return types with arguments of type EntityModifier and TypeMethodDescriptionExplosionEvent.Detonate.getAffectedEntities()return the list of entities affected by the explosion.Constructors in net.neoforged.neoforge.event.level with parameters of type EntityModifierConstructorDescriptionBlockDropsEvent(ServerLevel level, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, List<ItemEntity> drops, @Nullable Entity breaker, ItemStack tool) Constructs a new BlockDropsEventEntityMultiPlaceEvent(List<BlockSnapshot> blockSnapshots, BlockState placedAgainst, @Nullable Entity entity) EntityPlaceEvent(BlockSnapshot blockSnapshot, BlockState placedAgainst, @Nullable Entity entity) ExplosionKnockbackEvent(Level level, Explosion explosion, Entity entity, Vec3 knockbackVelocity) FarmlandTrampleEvent(Level level, BlockPos pos, BlockState state, float fallDistance, Entity entity) Constructor parameters in net.neoforged.neoforge.event.level with type arguments of type Entity -
Uses of Entity in net.neoforged.neoforge.event.tick
Constructors in net.neoforged.neoforge.event.tick with parameters of type Entity -
Uses of Entity in net.neoforged.neoforge.fluids
Methods in net.neoforged.neoforge.fluids with parameters of type EntityModifier and TypeMethodDescriptionbooleanFluidType.canExtinguish(Entity entity) Returns whether the entity can be extinguished by this fluid.booleanFluidType.canHydrate(Entity entity) Returns whether the entity can be hydrated by this fluid.booleanFluidType.canPushEntity(Entity entity) Returns whether the fluid can push an entity.booleanFluidType.canRideVehicleUnder(Entity vehicle, Entity rider) Returns whether the entity can ride in this vehicle under the fluid.booleanReturns whether the entity can swim in the fluid.floatFluidType.getFallDistanceModifier(Entity entity) Returns how much the fluid should scale the damage done to a falling entity when hitting the ground per tick.@Nullable SoundEventFluidType.getSound(Entity entity, SoundAction action) Returns a sound to play when a certain action is performed by the entity in the fluid.doubleFluidType.motionScale(Entity entity) Returns how much the velocity of the fluid should be scaled by when applied to an entity. -
Uses of Entity in net.neoforged.neoforge.network
Methods in net.neoforged.neoforge.network with parameters of type EntityModifier and TypeMethodDescriptionstatic voidPacketDistributor.sendToPlayersTrackingEntity(Entity entity, CustomPacketPayload payload, CustomPacketPayload... payloads) Send the given payload(s) to all players tracking the given entitystatic voidPacketDistributor.sendToPlayersTrackingEntityAndSelf(Entity entity, CustomPacketPayload payload, CustomPacketPayload... payloads) Send the given payload(s) to all players tracking the given entity and the entity itself if it is a player -
Uses of Entity in net.neoforged.neoforge.network.payload
Methods in net.neoforged.neoforge.network.payload with parameters of type EntityModifier and TypeMethodDescriptionprivate static byte[]AdvancedAddEntityPayload.writeCustomData(Entity entity) Constructors in net.neoforged.neoforge.network.payload with parameters of type Entity -
Uses of Entity in net.neoforged.neoforge.oldtest.client
Methods in net.neoforged.neoforge.oldtest.client with parameters of type EntityModifier and TypeMethodDescription@Nullable ResourceLocationCustomArmorModelTest.EndermanArmorItem.getArmorTexture(ItemStack stack, Entity entity, EquipmentSlot slot, ArmorMaterial.Layer layer, boolean innerModel) -
Uses of Entity in net.neoforged.neoforge.oldtest.client.rendering
Subclasses of Entity in net.neoforged.neoforge.oldtest.client.rendering -
Uses of Entity in net.neoforged.neoforge.oldtest.entity
Subclasses of Entity in net.neoforged.neoforge.oldtest.entityModifier and TypeClassDescriptionprivate static classprivate static classMethods in net.neoforged.neoforge.oldtest.entity with parameters of type Entity -
Uses of Entity in net.neoforged.neoforge.server.timings
Fields in net.neoforged.neoforge.server.timings with type parameters of type EntityModifier and TypeFieldDescriptionstatic final TimeTracker<Entity> TimeTracker.ENTITY_UPDATEA tracker for timing entity updates -
Uses of Entity in net.neoforged.testframework
Methods in net.neoforged.testframework with parameters of type EntityModifier and TypeMethodDescriptionvoidTestFramework.changeStatus(Test test, Test.Status newStatus, @Nullable Entity changer) Changes the status of a test.default voidTestListener.onDisabled(TestFramework framework, Test test, @Nullable Entity changer) This method is called when a test is disabled.default voidTestListener.onEnabled(TestFramework framework, Test test, @Nullable Entity changer) This method is called when a test is enabled.default voidTestListener.onStatusChange(TestFramework framework, Test test, Test.Status oldStatus, Test.Status newStatus, @Nullable Entity changer) This method is called when a test changes its status.voidTestFramework.setEnabled(Test test, boolean enabled, @Nullable Entity changer) Enables or disables a test.default voidDynamicTest.updateStatus(Test.Status newStatus, @Nullable Entity updater) Updates the status of the test. -
Uses of Entity in net.neoforged.testframework.gametest
Subclasses of Entity in net.neoforged.testframework.gametestMethods in net.neoforged.testframework.gametest with type parameters of type EntityModifier and TypeMethodDescription<T,E extends Entity>
voidExtendedGameTestHelper.assertEntityProperty(E entity, Function<E, T> function, String valueName, T expected, BiPredicate<T, T> tester) <T extends Entity>
TExtendedGameTestHelper.knockbackResistant(T entity) <T extends Entity>
TExtendedGameTestHelper.requireEntityAt(EntityType<T> type, int x, int y, int z) <T extends Entity>
TExtendedGameTestHelper.requireEntityAt(EntityType<T> type, BlockPos pos) Methods in net.neoforged.testframework.gametest with parameters of type EntityModifier and TypeMethodDescriptionvoidExtendedGameTestHelper.breakBlock(BlockPos relativePos, ItemStack tool, @Nullable Entity breakingEntity) -
Uses of Entity in net.neoforged.testframework.impl
Methods in net.neoforged.testframework.impl with parameters of type EntityModifier and TypeMethodDescriptionvoidTestFrameworkImpl.changeStatus(Test test, Test.Status newStatus, @Nullable Entity changer) voidTestFrameworkImpl.setEnabled(Test test, boolean enabled, @Nullable Entity changer) -
Uses of Entity in net.neoforged.testframework.impl.test
Methods in net.neoforged.testframework.impl.test with parameters of type EntityModifier and TypeMethodDescriptionvoidAbstractTest.updateStatus(Test.Status status, @Nullable Entity changer) -
Uses of Entity in net.neoforged.testframework.registration
Classes in net.neoforged.testframework.registration with type parameters of type EntityModifier and TypeClassDescriptionclassDeferredEntityTypeBuilder<E extends Entity,T extends EntityType<E>> Methods in net.neoforged.testframework.registration with type parameters of type EntityModifier and TypeMethodDescription<E extends Entity>
DeferredEntityTypeBuilder<E, EntityType<E>> DeferredEntityTypes.registerType(String name, Supplier<EntityType.Builder<E>> sup)