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.criterion
Methods in net.minecraft.advancements.criterion with parameters of type EntityModifier and TypeMethodDescriptionstatic LootContextEntityPredicate.createContext(ServerPlayer player, Entity entity) static CompoundTagNbtPredicate.getEntityTagToCompare(Entity entity) booleanbooleanbooleanEntityPredicate.matches(ServerLevel level, @Nullable Vec3 position, @Nullable Entity entity) booleanEntityPredicate.matches(ServerPlayer player, @Nullable Entity entity) booleanEntitySubPredicate.matches(Entity entity, ServerLevel level, @Nullable Vec3 position) booleanFishingHookPredicate.matches(Entity entity, ServerLevel level, @Nullable Vec3 position) booleanLightningBoltPredicate.matches(Entity entity, ServerLevel level, @Nullable Vec3 position) booleanbooleanbooleanPlayerPredicate.matches(Entity entity, ServerLevel level, @Nullable Vec3 position) booleanRaiderPredicate.matches(Entity entity, ServerLevel level, @Nullable Vec3 position) booleanSheepPredicate.matches(Entity entity, ServerLevel level, @Nullable Vec3 position) booleanSlimePredicate.matches(Entity entity, ServerLevel level, @Nullable Vec3 position) voidEffectsChangedTrigger.trigger(ServerPlayer player, @Nullable Entity source) voidFallAfterExplosionTrigger.trigger(ServerPlayer player, Vec3 startPosition, @Nullable Entity cause) voidKilledTrigger.trigger(ServerPlayer player, Entity entity, DamageSource killingBlow) voidPickedUpItemTrigger.trigger(ServerPlayer player, ItemStack itemStack, @Nullable Entity entity) voidPlayerHurtEntityTrigger.trigger(ServerPlayer player, Entity victim, DamageSource source, float originalDamage, float actualDamage, boolean blocked) voidPlayerInteractTrigger.trigger(ServerPlayer player, ItemStack itemStack, Entity interactedWith) voidSummonedEntityTrigger.trigger(ServerPlayer player, Entity entity) voidTargetBlockTrigger.trigger(ServerPlayer player, Entity projectile, Vec3 hitPosition, int signalStrength) Method parameters in net.minecraft.advancements.criterion with type arguments of type EntityModifier and TypeMethodDescriptionvoidChanneledLightningTrigger.trigger(ServerPlayer player, Collection<? extends Entity> victims) voidKilledByArrowTrigger.trigger(ServerPlayer player, Collection<Entity> victims, @Nullable ItemStack firedByWeapon) voidLightningStrikeTrigger.trigger(ServerPlayer player, LightningBolt lightning, List<Entity> entitiesAround) -
Uses of Entity in net.minecraft.client
Fields in net.minecraft.client declared as EntityModifier and TypeFieldDescription@Nullable EntityMinecraft.crosshairPickEntityprivate @Nullable EntityCamera.entityMethods in net.minecraft.client that return EntityModifier and TypeMethodDescription@Nullable EntityCamera.entity()@Nullable EntityMinecraft.getCameraEntity()Methods in net.minecraft.client with parameters of type EntityModifier and TypeMethodDescriptionvoidMinecraft.setCameraEntity(@Nullable Entity cameraEntity) voidbooleanMinecraft.shouldEntityAppearGlowing(Entity entity) -
Uses of Entity in net.minecraft.client.entity
Subclasses of Entity in net.minecraft.client.entity -
Uses of Entity in net.minecraft.client.gui
Methods in net.minecraft.client.gui with parameters of type EntityModifier and TypeMethodDescriptionprivate voidGui.extractVignette(GuiGraphicsExtractor graphics, @Nullable Entity camera) private voidGui.updateVignetteBrightness(Entity camera) -
Uses of Entity in net.minecraft.client.gui.components.debug
Methods in net.minecraft.client.gui.components.debug with parameters of type EntityModifier and TypeMethodDescriptionDebugEntryLookingAt.BlockStateInfo.getHitResult(Entity cameraEntity) DebugEntryLookingAt.BlockTagInfo.getHitResult(Entity cameraEntity) DebugEntryLookingAt.FluidStateInfo.getHitResult(Entity cameraEntity) DebugEntryLookingAt.FluidTagInfo.getHitResult(Entity cameraEntity) abstract HitResultDebugEntryLookingAt.getHitResult(Entity cameraEntity) -
Uses of Entity in net.minecraft.client.multiplayer
Classes in net.minecraft.client.multiplayer that implement interfaces with type arguments of type EntityFields 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 @Nullable EntityClientPacketListener.createEntityFromPacket(ClientboundAddEntityPacket packet) @Nullable EntityClientLevel.getEntity(int id) Methods in net.minecraft.client.multiplayer that return types with arguments of type EntityModifier and TypeMethodDescriptionClientLevel.entitiesForRendering()protected LevelEntityGetter<Entity> ClientLevel.getEntities()ClientLevel.getPushableEntities(Entity pusher, AABB boundingBox) Methods in net.minecraft.client.multiplayer with parameters of type EntityModifier and TypeMethodDescriptionvoidvoidvoidClientDebugSubscriber.dropEntity(Entity entity) voidClientLevel.explode(@Nullable Entity source, @Nullable DamageSource damageSource, @Nullable ExplosionDamageCalculator damageCalculator, double x, double y, double z, float r, boolean fire, Level.ExplosionInteraction interactionType, ParticleOptions smallExplosionParticles, ParticleOptions largeExplosionParticles, WeightedList<ExplosionParticleInfo> secondaryParticles, Holder<SoundEvent> explosionSound) ClientLevel.getPushableEntities(Entity pusher, AABB boundingBox) voidMultiPlayerGameMode.handlePickItemFromEntity(Entity entity, boolean includeData) MultiPlayerGameMode.interact(Player player, Entity entity, EntityHitResult hitResult, InteractionHand hand) booleanClientLevel.isTickingEntity(Entity entity) voidClientLevel.levelEvent(@Nullable Entity source, int type, BlockPos pos, int data) voidvoidClientLevel.EntityCallbacks.onDestroyed(Entity entity) voidClientLevel.EntityCallbacks.onSectionChange(Entity entity) voidClientLevel.EntityCallbacks.onTickingEnd(Entity entity) voidClientLevel.EntityCallbacks.onTickingStart(Entity entity) voidClientLevel.EntityCallbacks.onTrackingEnd(Entity entity) voidClientLevel.EntityCallbacks.onTrackingStart(Entity entity) voidClientLevel.playLocalSound(Entity sourceEntity, SoundEvent sound, SoundSource source, float volume, float pitch) voidClientLevel.playSeededSound(@Nullable Entity except, double x, double y, double z, Holder<SoundEvent> sound, SoundSource source, float volume, float pitch, long seed) voidClientLevel.playSeededSound(@Nullable Entity except, Entity sourceEntity, Holder<SoundEvent> sound, SoundSource source, float volume, float pitch, long seed) private voidClientPacketListener.postAddEntitySoundInstance(Entity entity) private static booleanClientPacketListener.setValuesFromPositionPacket(PositionMoveRotation change, Set<Relative> relatives, Entity entity, boolean interpolate) booleanClientLevel.shouldTickDeath(Entity entity) voidvoidClientLevel.tickNonPassenger(Entity entity) private voidClientLevel.tickPassenger(Entity vehicle, Entity entity) <T> voidClientDebugSubscriber.updateEntity(long gameTime, Entity entity, DebugSubscription.Update<T> update) -
Uses of Entity in net.minecraft.client.particle
Fields in net.minecraft.client.particle declared as EntityModifier and TypeFieldDescriptionprivate final EntityTrackingEmitter.entityprivate final EntityItemPickupParticle.targetMethods in net.minecraft.client.particle with parameters of type EntityModifier and TypeMethodDescriptionvoidParticleEngine.createTrackingEmitter(Entity entity, ParticleOptions particle) voidParticleEngine.createTrackingEmitter(Entity entity, ParticleOptions particle, int lifeTime) Constructors in net.minecraft.client.particle with parameters of type EntityModifierConstructorDescriptionItemPickupParticle(ClientLevel level, EntityRenderState itemEntity, Entity target, Vec3 movement) TrackingEmitter(ClientLevel level, Entity entity, ParticleOptions particleType) TrackingEmitter(ClientLevel level, Entity entity, ParticleOptions particleType, int lifeTime) TrackingEmitter(ClientLevel level, Entity entity, ParticleOptions particleType, int lifeTime, Vec3 movement) -
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 TypeMethodDescriptionvoidvoidprivate static HitResultLocalPlayer.pick(Entity cameraEntity, double blockInteractionRange, double entityInteractionRange, float partialTicks) LocalPlayer.raycastHitResult(float a, Entity cameraEntity) booleanLocalPlayer.startRiding(Entity entity, boolean force, boolean sendEventAndTriggers) private booleanLocalPlayer.vehicleCanSprint(Entity vehicle) -
Uses of Entity in net.minecraft.client.renderer
Methods in net.minecraft.client.renderer with parameters of type EntityModifier and TypeMethodDescriptionvoidGameRenderer.checkEntityPostEffect(@Nullable Entity cameraEntity) private EntityRenderStateLevelRenderer.extractEntity(Entity entity, float partialTickTime) -
Uses of Entity in net.minecraft.client.renderer.blockentity
Methods in net.minecraft.client.renderer.blockentity with parameters of type EntityModifier and TypeMethodDescription(package private) static voidTrialSpawnerRenderer.extractSpawnerData(SpawnerRenderState state, float partialTicks, @Nullable Entity displayEntity, EntityRenderDispatcher entityRenderer, double oSpin, double spin) -
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 EntityModifier and TypeMethodDescriptionprivate @Nullable EntityEntityHitboxDebugRenderer.getServerEntity(Entity entity) Methods in net.minecraft.client.renderer.debug that return types with arguments of type EntityModifier and TypeMethodDescriptionDebugRenderer.getTargetedEntity(@Nullable Entity cameraEntity, int maxTargetingRange) Methods in net.minecraft.client.renderer.debug with parameters of type EntityModifier and TypeMethodDescriptionprivate voidSupportBlockRenderer.drawHighlights(Entity entity, DoubleSupplier biasGetter, int color) private doubleprivate StringBeeDebugRenderer.getPosDescription(Entity entity, BlockPos pos) private @Nullable EntityEntityHitboxDebugRenderer.getServerEntity(Entity entity) DebugRenderer.getTargetedEntity(@Nullable Entity cameraEntity, int maxTargetingRange) private booleanBeeDebugRenderer.isBeeSelected(Entity entity) private booleanBrainDebugRenderer.isMobSelected(Entity entity) private voidBeeDebugRenderer.renderBeeInfo(Entity entity, DebugBeeInfo beeInfo, @Nullable DebugGoalInfo goalInfo) private voidBrainDebugRenderer.renderBrainInfo(Entity entity, DebugBrainDump brainDump) private voidEntityHitboxDebugRenderer.showHitboxes(Entity entity, float partialTicks, boolean isServerEntity) -
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, S extends EntityRenderState>interfaceEntityRendererProvider<T extends Entity>classNoopRenderer<T extends Entity>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>
EntityRenderStateEntityRenderDispatcher.extractEntity(E entity, float partialTicks) <E extends Entity>
intEntityRenderDispatcher.getPackedLightCoords(E entity, float partialTickTime) <T extends Entity>
EntityRenderer<? super T, ?> EntityRenderDispatcher.getRenderer(T entity) static <T extends Entity>
voidEntityRenderers.register(EntityType<? extends T> type, EntityRendererProvider<T> renderer) <E extends Entity>
booleanEntityRenderDispatcher.shouldRender(E entity, Frustum culler, double camX, double camY, double camZ) Methods in net.minecraft.client.renderer.entity that return EntityModifier and TypeMethodDescriptionprivate static @Nullable EntityGuardianRenderer.getEntityToLookAt(Guardian entity) private static @Nullable EntityEntityRenderer.getServerSideEntity(Entity entity) Methods in net.minecraft.client.renderer.entity with parameters of type EntityModifier and TypeMethodDescriptionprotected static booleanMobRenderer.checkMagicName(Entity entity, String magicName) doubleEntityRenderDispatcher.distanceToSqr(Entity entity) private static @Nullable EntityEntityRenderer.getServerSideEntity(Entity entity) void -
Uses of Entity in net.minecraft.client.renderer.entity.state
Methods in net.minecraft.client.renderer.entity.state with parameters of type EntityModifier and TypeMethodDescriptionvoidItemClusterRenderState.extractItemGroupRenderState(Entity entity, ItemStack stack, ItemModelResolver itemModelResolver) -
Uses of Entity in net.minecraft.client.renderer.fog.environment
Methods in net.minecraft.client.renderer.fog.environment with parameters of type EntityModifier and TypeMethodDescriptionbooleanAtmosphericFogEnvironment.isApplicable(@Nullable FogType fogType, Entity entity) abstract booleanFogEnvironment.isApplicable(@Nullable FogType fogType, Entity entity) booleanLavaFogEnvironment.isApplicable(@Nullable FogType fogType, Entity entity) booleanMobEffectFogEnvironment.isApplicable(@Nullable FogType fogType, Entity entity) booleanPowderedSnowFogEnvironment.isApplicable(@Nullable FogType fogType, Entity entity) booleanWaterFogEnvironment.isApplicable(@Nullable FogType fogType, Entity entity) -
Uses of Entity in net.minecraft.client.renderer.item
Methods in net.minecraft.client.renderer.item with parameters of type EntityModifier and TypeMethodDescriptionvoidItemModelResolver.updateForNonLiving(ItemStackRenderState output, ItemStack item, ItemDisplayContext displayContext, Entity entity) -
Uses of Entity in net.minecraft.client.resources.sounds
Fields in net.minecraft.client.resources.sounds declared as EntityModifier and TypeFieldDescriptionprivate final EntityEntityBoundSoundInstance.entityprivate final EntityRidingEntitySoundInstance.entityConstructors in net.minecraft.client.resources.sounds with parameters of type EntityModifierConstructorDescriptionEntityBoundSoundInstance(SoundEvent event, SoundSource source, float volume, float pitch, Entity entity, long seed) RidingEntitySoundInstance(Player player, Entity entity, boolean underwaterSound, SoundEvent soundEvent, SoundSource soundSource, float volumeMin, float volumeMax, float volumeAmplifier) -
Uses of Entity in net.minecraft.client.waypoints
Methods in net.minecraft.client.waypoints with parameters of type EntityModifier and TypeMethodDescriptionvoidClientWaypointManager.forEachWaypoint(Entity fromEntity, Consumer<TrackedWaypoint> consumer) -
Uses of Entity in net.minecraft.commands
Fields in net.minecraft.commands declared as EntityMethods in net.minecraft.commands that return EntityModifier and TypeMethodDescription@Nullable EntityCommandSourceStack.getEntity()CommandSourceStack.getEntityOrException()Methods in net.minecraft.commands with parameters of type EntityModifier and TypeMethodDescriptionCommandSourceStack.facing(Entity entity, EntityAnchorArgument.Anchor anchor) CommandSourceStack.withEntity(Entity entity) Constructors in net.minecraft.commands with parameters of type EntityModifierConstructorDescriptionCommandSourceStack(CommandSource source, Vec3 position, Vec2 rotation, ServerLevel level, PermissionSet permissions, String textName, Component displayName, MinecraftServer server, @Nullable Entity entity) privateCommandSourceStack(CommandSource source, Vec3 position, Vec2 rotation, ServerLevel level, PermissionSet permissions, String textName, Component displayName, MinecraftServer server, @Nullable Entity entity, boolean silent, CommandResultCallback resultCallback, EntityAnchorArgument.Anchor anchor, CommandSigningContext signingContext, TaskChainer chatMessageChainer) -
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(CommandContext<CommandSourceStack> context, String name) Methods in net.minecraft.commands.arguments that return types with arguments of type EntityModifier and TypeMethodDescriptionstatic Collection<? extends Entity> EntityArgument.getEntities(CommandContext<CommandSourceStack> context, String name) static Collection<? extends Entity> EntityArgument.getOptionalEntities(CommandContext<CommandSourceStack> context, String name) Methods in net.minecraft.commands.arguments with parameters of type EntityModifier and TypeMethodDescriptionstatic ComponentComponentArgument.getResolvedComponent(CommandContext<CommandSourceStack> context, String name, Entity contentEntity) Constructor 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(MinMaxBounds.FloatDegrees range, ToFloatFunction<Entity> function) EntitySelector.findEntities(CommandSourceStack sender) BiConsumer<Vec3, List<? extends Entity>> EntitySelectorParser.getOrder()EntitySelector.getPredicate(Vec3 pos, @Nullable AABB absoluteAabb, @Nullable FeatureFlagSet enabledFeatures) Method parameters in net.minecraft.commands.arguments.selector with type arguments of type EntityModifier and TypeMethodDescriptionprivate voidEntitySelector.addEntities(List<Entity> result, ServerLevel level, @Nullable AABB absoluteAABB, Predicate<Entity> predicate) private voidEntitySelector.addEntities(List<Entity> result, ServerLevel level, @Nullable AABB absoluteAABB, Predicate<Entity> predicate) voidEntitySelectorParser.addPredicate(Predicate<Entity> predicate) EntitySelectorParser.createRotationPredicate(MinMaxBounds.FloatDegrees range, ToFloatFunction<Entity> function) static ComponentvoidEntitySelectorParser.setOrder(BiConsumer<Vec3, List<? extends Entity>> order) Constructor parameters in net.minecraft.commands.arguments.selector with type arguments of type EntityModifierConstructorDescriptionEntitySelector(int maxResults, boolean includesEntities, boolean worldLimited, List<Predicate<Entity>> contextFreePredicates, @Nullable MinMaxBounds.Doubles range, Function<Vec3, Vec3> position, @Nullable AABB aabb, BiConsumer<Vec3, List<? extends Entity>> order, boolean currentEntity, @Nullable String playerName, @Nullable UUID entityUUID, @Nullable EntityType<?> type, boolean usesSelector) EntitySelector(int maxResults, boolean includesEntities, boolean worldLimited, List<Predicate<Entity>> contextFreePredicates, @Nullable MinMaxBounds.Doubles range, Function<Vec3, Vec3> position, @Nullable AABB aabb, BiConsumer<Vec3, List<? extends Entity>> order, boolean currentEntity, @Nullable String playerName, @Nullable UUID entityUUID, @Nullable EntityType<?> type, boolean usesSelector) -
Uses of Entity in net.minecraft.core
Methods in net.minecraft.core with parameters of type EntityModifier and TypeMethodDescriptionstatic DirectionDirection.getFacingAxis(Entity entity, Direction.Axis axis) static Direction[]Direction.orderedByNearest(Entity entity) -
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 pos, EntityType<E> entityType, Function<? super E, T> dataAccessor, @Nullable T data) <E extends Entity, T>
voidGameTestHelper.assertEntityData(BlockPos pos, EntityType<E> entityType, Predicate<E> test) <E extends Entity, T>
voidGameTestHelper.assertEntityData(AABB box, EntityType<E> entityType, Function<? super E, T> dataAccessor, @Nullable T data) <E extends Entity & InventoryCarrier>
voidGameTestHelper.assertEntityInventoryContains(BlockPos pos, EntityType<E> entityType, Item item) <E extends Entity, T>
voidGameTestHelper.assertEntityProperty(E entity, Function<E, T> test, T expected, Component description) <E extends Entity>
voidGameTestHelper.assertEntityProperty(E entity, Predicate<E> test, Component description) <E extends Entity>
EGameTestHelper.findClosestEntity(EntityType<E> entityType, int x, int y, int z, double distance) GameTestHelper.findEntities(EntityType<E> entityType, int x, int y, int z, double distance) GameTestHelper.findEntities(EntityType<E> entityType, Vec3 pos, double distance) <E extends Entity>
EGameTestHelper.findOneEntity(EntityType<E> entityType) GameTestHelper.getEntities(EntityType<T> entityType) GameTestHelper.getEntities(EntityType<T> entityType, BlockPos pos, double distance) <E extends Entity>
EGameTestHelper.spawn(EntityType<E> entityType, float x, float y, float z) <E extends Entity>
EGameTestHelper.spawn(EntityType<E> entityType, int x, int y, int z) <E extends Entity>
EGameTestHelper.spawn(EntityType<E> entityType, BlockPos pos) GameTestHelper.spawn(EntityType<E> entityType, BlockPos pos, int amount) <E extends Entity>
EGameTestHelper.spawn(EntityType<E> entityType, Vec3 pos) GameTestHelper.spawn(EntityType<E> entityType, Vec3 pos, int amount) <E extends Entity>
EGameTestHelper.spawn(EntityType<E> entityType, Vec3 pos, @Nullable EntitySpawnReason spawnReason) <E extends Entity, T>
voidGameTestHelper.succeedWhenEntityData(BlockPos pos, EntityType<E> entityType, Function<E, T> dataAccessor, T data) Methods in net.minecraft.gametest.framework with parameters of type EntityModifier and TypeMethodDescriptionvoidGameTestHelper.assertEntityInstancePresent(Entity entity, int x, int y, int z) voidGameTestHelper.assertEntityInstancePresent(Entity entity, BlockPos pos) voidGameTestHelper.assertEntityInstancePresent(Entity entity, BlockPos pos, double inflate) voidvoidvoidGameTestHelper.hurt(Entity entity, DamageSource source, float damage) voidStructureUtils.lookedAtTestPos(BlockPos pos, Entity camera, ServerLevel level) Method parameters in net.minecraft.gametest.framework with type arguments of type EntityModifier and TypeMethodDescriptionvoidGameTestHelper.killAllEntitiesOfClass(Class<? extends Entity> baseClass) -
Uses of Entity in net.minecraft.gizmos
Methods in net.minecraft.gizmos with parameters of type EntityModifier and TypeMethodDescriptionstatic GizmoPropertiesGizmos.billboardTextOverMob(Entity entity, int row, String text, int color, float scale) -
Uses of Entity in net.minecraft.network.chat
Fields in net.minecraft.network.chat declared as EntityModifier and TypeFieldDescriptionprivate @Nullable EntityResolutionContext.Builder.defaultScoreboardEntityprivate final @Nullable EntityResolutionContext.defaultScoreboardEntityThe field for thedefaultScoreboardEntityrecord component.Methods in net.minecraft.network.chat that return EntityModifier and TypeMethodDescription@Nullable EntityResolutionContext.defaultScoreboardEntity()Returns the value of thedefaultScoreboardEntityrecord component.Methods in net.minecraft.network.chat with parameters of type EntityModifier and TypeMethodDescriptionstatic ChatType.BoundChatType.bind(ResourceKey<ChatType> chatType, Entity entity) ResolutionContext.Builder.withEntityOverride(@Nullable Entity defaultScoreboardEntity) Constructors in net.minecraft.network.chat with parameters of type EntityModifierConstructorDescriptionResolutionContext(@Nullable CommandSourceStack source, @Nullable Entity defaultScoreboardEntity, Predicate<ObjectInfo> objectInfoValidator, int depthLimit, ResolutionContext.LimitBehavior depthLimitBehavior) Creates an instance of aResolutionContextrecord class. -
Uses of Entity in net.minecraft.network.protocol.game
Methods in net.minecraft.network.protocol.game that return EntityModifier and TypeMethodDescription@Nullable Entity@Nullable Entity@Nullable Entity@Nullable Entity@Nullable Entity@Nullable Entity@Nullable EntityServerboundTeleportToEntityPacket.getEntity(ServerLevel level) Methods in net.minecraft.network.protocol.game with parameters of type EntityModifier and TypeMethodDescriptionstatic ClientboundMoveVehiclePacketClientboundMoveVehiclePacket.fromEntity(Entity entity) static ServerboundMoveVehiclePacketServerboundMoveVehiclePacket.fromEntity(Entity entity) static StringDebugEntityNameGenerator.getEntityName(Entity entity) Constructors in net.minecraft.network.protocol.game with parameters of type EntityModifierConstructorDescriptionClientboundAddEntityPacket(Entity entity, int data, BlockPos pos) ClientboundAddEntityPacket(Entity entity, ServerEntity serverEntity) ClientboundAddEntityPacket(Entity entity, ServerEntity serverEntity, int data) ClientboundAnimatePacket(Entity entity, int action) ClientboundDamageEventPacket(Entity entity, DamageSource source) ClientboundEntityEventPacket(Entity entity, byte eventId) ClientboundPlayerLookAtPacket(EntityAnchorArgument.Anchor fromAnchor, Entity entity, EntityAnchorArgument.Anchor toAnchor) ClientboundRotateHeadPacket(Entity entity, byte yHeadRot) ClientboundSetCameraPacket(Entity camera) ClientboundSetEntityLinkPacket(Entity sourceEntity, @Nullable Entity destEntity) ClientboundSetPassengersPacket(Entity vehicle) ClientboundSoundEntityPacket(Holder<SoundEvent> sound, SoundSource source, Entity sourceEntity, float volume, float pitch, long seed) ServerboundPlayerCommandPacket(Entity entity, ServerboundPlayerCommandPacket.Action action, int data) -
Uses of Entity in net.minecraft.server.commands
Fields in net.minecraft.server.commands declared as EntityModifier and TypeFieldDescriptionprivate final EntityLookAt.LookAtEntity.entityThe field for theentityrecord component.Methods in net.minecraft.server.commands that return EntityModifier and TypeMethodDescriptionstatic EntitySummonCommand.createEntity(CommandSourceStack source, Holder.Reference<EntityType<?>> type, Vec3 pos, CompoundTag nbt, boolean finalize) LookAt.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 source, Entity target, Holder<Attribute> attribute, Identifier id, double value, AttributeModifier.Operation operation) private static intDamageCommand.damage(CommandSourceStack stack, Entity target, float amount, DamageSource source) private static intRideCommand.dismount(CommandSourceStack source, Entity target) private static intLootCommand.dropKillLoot(CommandContext<CommandSourceStack> context, Entity target, LootCommand.DropConsumer output) private static intItemCommands.entityToBlock(CommandSourceStack source, Entity sourceEntity, int sourceSlot, BlockPos targetPos, int targetSlot) private static intItemCommands.entityToBlock(CommandSourceStack source, Entity sourceEntity, int sourceSlot, BlockPos targetPos, int targetSlot, Holder<LootItemFunction> modifier) private static intItemCommands.entityToEntities(CommandSourceStack source, Entity sourceEntity, int sourceSlot, Collection<? extends Entity> targetEntities, int targetSlot) private static intItemCommands.entityToEntities(CommandSourceStack source, Entity sourceEntity, int sourceSlot, Collection<? extends Entity> targetEntities, int targetSlot, Holder<LootItemFunction> modifier) private static intAttributeCommand.getAttributeBase(CommandSourceStack source, Entity target, Holder<Attribute> attribute, double scale) private static AttributeInstanceAttributeCommand.getAttributeInstance(Entity target, Holder<Attribute> attribute) private static intAttributeCommand.getAttributeModifier(CommandSourceStack source, Entity target, Holder<Attribute> attribute, Identifier id, double scale) private static Stream<Identifier> AttributeCommand.getAttributeModifiers(Entity target, Holder<Attribute> attribute) private static intAttributeCommand.getAttributeValue(CommandSourceStack source, Entity target, Holder<Attribute> attribute, double scale) private static LivingEntityAttributeCommand.getEntityWithAttribute(Entity target, Holder<Attribute> attribute) private static LivingEntityAttributeCommand.getLivingEntity(Entity target) private static intRideCommand.mount(CommandSourceStack source, Entity target, Entity vehicle) voidLookAt.LookAtEntity.perform(CommandSourceStack source, Entity target) voidLookAt.LookAtPosition.perform(CommandSourceStack source, Entity target) voidLookAt.perform(CommandSourceStack source, Entity target) private static voidTeleportCommand.performTeleport(CommandSourceStack source, Entity victim, ServerLevel level, double x, double y, double z, Set<Relative> relatives, float yRot, float xRot, @Nullable LookAt lookAt) private static intFetchProfileCommand.printForEntity(CommandSourceStack source, Entity entity) private static intAttributeCommand.removeModifier(CommandSourceStack source, Entity target, Holder<Attribute> attribute, Identifier id) private static intAttributeCommand.resetAttributeBase(CommandSourceStack source, Entity target, Holder<Attribute> attribute) private static intRotateCommand.rotate(CommandSourceStack source, Entity entity, Coordinates rotation) private static intRotateCommand.rotate(CommandSourceStack source, Entity entity, LookAt facing) private static voidTeamMsgCommand.sendMessage(CommandSourceStack source, Entity entity, PlayerTeam team, List<ServerPlayer> receivers, PlayerChatMessage message) private static intAttributeCommand.setAttributeBase(CommandSourceStack source, Entity target, Holder<Attribute> attribute, double value) private static voidLootCommand.setSlots(Entity entity, List<ItemStack> itemsToSet, int startSlot, int count, List<ItemStack> usedItems) private static intSpectateCommand.spectate(CommandSourceStack source, @Nullable Entity target, ServerPlayer player) private static intTeleportCommand.teleportToEntity(CommandSourceStack source, Collection<? extends Entity> entities, Entity destination) Method parameters in net.minecraft.server.commands with type arguments of type EntityModifier and TypeMethodDescriptionprivate static intTagCommand.addTag(CommandSourceStack source, Collection<? extends Entity> targets, String name) private static intItemCommands.blockToEntities(CommandSourceStack source, BlockPos sourcePos, int sourceSlot, Collection<? extends Entity> targetEntities, int targetSlot) private static intItemCommands.blockToEntities(CommandSourceStack source, BlockPos sourcePos, int sourceSlot, Collection<? extends Entity> targetEntities, int targetSlot, Holder<LootItemFunction> modifier) private static intEffectCommands.clearEffect(CommandSourceStack source, Collection<? extends Entity> entities, Holder<MobEffect> effectHolder) private static intEffectCommands.clearEffects(CommandSourceStack source, Collection<? extends Entity> entities) private static intEnchantCommand.enchant(CommandSourceStack source, Collection<? extends Entity> targets, Holder<Enchantment> enchantmentHolder, int level) private static intLootCommand.entityReplace(Collection<? extends Entity> entities, int startSlot, int count, List<ItemStack> drops, LootCommand.Callback callback) private static intItemCommands.entityToEntities(CommandSourceStack source, Entity sourceEntity, int sourceSlot, Collection<? extends Entity> targetEntities, int targetSlot) private static intItemCommands.entityToEntities(CommandSourceStack source, Entity sourceEntity, int sourceSlot, Collection<? extends Entity> targetEntities, int targetSlot, Holder<LootItemFunction> modifier) private static RedirectModifier<CommandSourceStack> ExecuteCommand.expandOneToManyEntityRelation(Function<Entity, Stream<Entity>> unpacker) private static RedirectModifier<CommandSourceStack> ExecuteCommand.expandOneToManyEntityRelation(Function<Entity, Stream<Entity>> unpacker) private static RedirectModifier<CommandSourceStack> ExecuteCommand.expandOneToOneEntityRelation(Function<Entity, Optional<Entity>> unpacker) private static RedirectModifier<CommandSourceStack> ExecuteCommand.expandOneToOneEntityRelation(Function<Entity, Optional<Entity>> unpacker) private static intSpreadPlayersCommand.getNumberOfTeams(Collection<? extends Entity> players) private static Collection<String> TagCommand.getTags(Collection<? extends Entity> entities) private static intEffectCommands.giveEffect(CommandSourceStack source, Collection<? extends Entity> entities, Holder<MobEffect> effectHolder, @Nullable Integer seconds, int amplifier, boolean particles) private static intKillCommand.kill(CommandSourceStack source, Collection<? extends Entity> victims) private static intTagCommand.listTags(CommandSourceStack source, Collection<? extends Entity> targets) private static intItemCommands.modifyEntityItem(CommandSourceStack source, Collection<? extends Entity> entities, int slot, Holder<LootItemFunction> modifier) private static intTagCommand.removeTag(CommandSourceStack source, Collection<? extends Entity> targets, String name) private static intItemCommands.setEntityItem(CommandSourceStack source, Collection<? extends Entity> entities, int slot, ItemStack itemStack) private static doubleSpreadPlayersCommand.setPlayerPositions(Collection<? extends Entity> entities, ServerLevel level, SpreadPlayersCommand.Position[] positions, int maxHeight, boolean respectTeams) private static intSpreadPlayersCommand.spreadPlayers(CommandSourceStack source, Vec2 center, float spreadDistance, float maxRange, int maxHeight, boolean respectTeams, Collection<? extends Entity> entities) private static intSwingCommand.swing(CommandSourceStack source, Collection<? extends Entity> targets, InteractionHand hand) private static intTeleportCommand.teleportToEntity(CommandSourceStack source, Collection<? extends Entity> entities, Entity destination) private static intTeleportCommand.teleportToPos(CommandSourceStack source, Collection<? extends Entity> entities, ServerLevel level, Coordinates destination, @Nullable Coordinates rotation, @Nullable LookAt lookAt) Constructors in net.minecraft.server.commands with parameters of type EntityModifierConstructorDescriptionLookAtEntity(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.levelClasses in net.minecraft.server.level that implement interfaces with type arguments of type EntityFields in net.minecraft.server.level declared as EntityModifier and TypeFieldDescriptionprivate @Nullable EntityServerPlayer.cameraprivate 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> type, Predicate<? super T> selector) <T extends Entity>
voidServerLevel.getEntities(EntityTypeTest<Entity, T> type, Predicate<? super T> selector, List<? super T> result) <T extends Entity>
voidServerLevel.getEntities(EntityTypeTest<Entity, T> type, Predicate<? super T> selector, List<? super T> result, int maxResults) WorldGenRegion.getEntities(EntityTypeTest<Entity, T> type, AABB bb, Predicate<? super T> selector) Methods in net.minecraft.server.level that return EntityModifier and TypeMethodDescriptionServerPlayer.getCamera()@Nullable EntityServerLevel.getEntity(int id) @Nullable EntityServerLevel.getEntityInAnyDimension(UUID uuid) @Nullable EntityServerLevel.getEntityOrPart(int id) Deprecated.Methods in net.minecraft.server.level that return types with arguments of type EntityModifier and TypeMethodDescriptionServerLevel.getAllEntities()ServerLevel.getEntities()WorldGenRegion.getEntities(@Nullable Entity except, AABB bb, @Nullable Predicate<? super Entity> selector) Methods in net.minecraft.server.level with parameters of type EntityModifier and TypeMethodDescriptionvoidServerLevel.addDuringTeleport(Entity entity) protected voidvoidprivate booleanbooleanServerLevel.addFreshEntity(Entity entity) booleanWorldGenRegion.addFreshEntity(Entity entity) booleanServerLevel.addWithUUID(Entity entity) voidServerPlayer.awardKillScore(Entity victim, DamageSource killingBlow) voidServerLevel.broadcastDamageEvent(Entity entity, DamageSource source) voidServerLevel.broadcastEntityEvent(Entity entity, byte event) voidbooleanWorldGenRegion.destroyBlock(BlockPos pos, boolean dropResources, @Nullable Entity breaker, int updateLimit) voidServerLevel.explode(@Nullable Entity source, @Nullable DamageSource damageSource, @Nullable ExplosionDamageCalculator damageCalculator, double x, double y, double z, float r, boolean fire, Level.ExplosionInteraction interactionType, ParticleOptions smallExplosionParticles, ParticleOptions largeExplosionParticles, WeightedList<ExplosionParticleInfo> blockParticles, Holder<SoundEvent> explosionSound) protected floatServerPlayer.getEnchantedDamage(Entity entity, float dmg, DamageSource damageSource) WorldGenRegion.getEntities(@Nullable Entity except, AABB bb, @Nullable Predicate<? super Entity> selector) ChunkMap.getPlayersWatching(Entity entity) booleanChunkMap.isTrackedByAnyPlayer(Entity entity) voidServerLevel.levelEvent(@Nullable Entity source, int type, BlockPos pos, int data) voidWorldGenRegion.levelEvent(@Nullable Entity source, int type, BlockPos pos, int data) voidServerPlayer.lookAt(EntityAnchorArgument.Anchor fromAnchor, Entity entity, EntityAnchorArgument.Anchor toAnchor) voidbooleanServerLevel.mayInteract(Entity entity, BlockPos pos) voidvoidServerLevel.EntityCallbacks.onDestroyed(Entity entity) protected voidServerPlayer.onEffectAdded(MobEffectInstance effect, @Nullable Entity source) protected voidServerPlayer.onEffectUpdated(MobEffectInstance effect, boolean doRefreshAttributes, @Nullable Entity source) voidServerPlayer.onExplosionHit(@Nullable Entity explosionCausedBy) voidServerLevel.onReputationEvent(ReputationEventType type, Entity source, ReputationEventHandler target) voidServerLevel.EntityCallbacks.onSectionChange(Entity entity) voidServerLevel.EntityCallbacks.onTickingEnd(Entity entity) voidServerLevel.EntityCallbacks.onTickingStart(Entity entity) voidServerLevel.EntityCallbacks.onTrackingEnd(Entity entity) voidServerLevel.EntityCallbacks.onTrackingStart(Entity entity) voidServerLevel.playSeededSound(@Nullable Entity except, double x, double y, double z, Holder<SoundEvent> sound, SoundSource source, float volume, float pitch, long seed) voidServerLevel.playSeededSound(@Nullable Entity except, Entity sourceEntity, Holder<SoundEvent> sound, SoundSource source, float volume, float pitch, long seed) voidWorldGenRegion.playSound(@Nullable Entity except, BlockPos pos, SoundEvent sound, SoundSource source, float volume, float pitch) protected voidChunkMap.removeEntity(Entity entity) voidServerChunkCache.removeEntity(Entity entity) voidChunkMap.sendToTrackingPlayers(Entity entity, Packet<? super ClientGamePacketListener> packet) voidServerChunkCache.sendToTrackingPlayers(Entity entity, Packet<? super ClientGamePacketListener> packet) protected voidChunkMap.sendToTrackingPlayersAndSelf(Entity entity, Packet<? super ClientGamePacketListener> packet) voidServerChunkCache.sendToTrackingPlayersAndSelf(Entity entity, Packet<? super ClientGamePacketListener> packet) voidChunkMap.sendToTrackingPlayersFiltered(Entity entity, Packet<? super ClientGamePacketListener> packet, Predicate<ServerPlayer> targetPredicate) voidbooleanServerPlayer.startRiding(Entity entityToRide, boolean force, boolean sendEventAndTriggers) voidvoidServerLevel.tickNonPassenger(Entity entity) private voidServerLevel.tickPassenger(Entity vehicle, Entity entity) booleanServerLevel.tryAddFreshEntityWithPassengers(Entity entity) Method parameters in net.minecraft.server.level with type arguments of type EntityModifier and TypeMethodDescriptionvoidServerLevel.addLegacyChunkEntities(Stream<Entity> loaded) voidServerLevel.addWorldGenChunkEntities(Stream<Entity> loaded) private static voidServerLevel.dumpEntities(Writer output, Iterable<Entity> entities) voidChunkMap.forEachEntityTrackedBy(ServerPlayer player, Consumer<Entity> consumer) ServerLevel.getEntities(EntityTypeTest<Entity, T> type, Predicate<? super T> selector) <T extends Entity>
voidServerLevel.getEntities(EntityTypeTest<Entity, T> type, Predicate<? super T> selector, List<? super T> result) <T extends Entity>
voidServerLevel.getEntities(EntityTypeTest<Entity, T> type, Predicate<? super T> selector, List<? super T> result, int maxResults) WorldGenRegion.getEntities(@Nullable Entity except, AABB bb, @Nullable Predicate<? super Entity> selector) WorldGenRegion.getEntities(EntityTypeTest<Entity, T> type, AABB bb, Predicate<? super T> selector) @Nullable PlayerWorldGenRegion.getNearestPlayer(double x, double y, double z, double maxDist, @Nullable Predicate<Entity> predicate) Constructors in net.minecraft.server.level with parameters of type EntityModifierConstructorDescriptionServerEntity(ServerLevel level, Entity entity, int updateInterval, boolean trackDelta, ServerEntity.Synchronizer synchronizer) TrackedEntity(Entity entity, int range, int updateInterval, boolean trackDelta) -
Uses of Entity in net.minecraft.server.network
Fields in net.minecraft.server.network declared as EntityModifier and TypeFieldDescriptionprivate @Nullable EntityServerGamePacketListenerImpl.lastVehicleMethods in net.minecraft.server.network with parameters of type EntityModifier and TypeMethodDescriptionprivate intServerGamePacketListenerImpl.getMaximumFlyingTicks(Entity entity) private booleanServerGamePacketListenerImpl.isEntityCollidingWithAnythingNew(LevelReader level, Entity entity, AABB oldAABB, double newX, double newY, double newZ) private booleanServerGamePacketListenerImpl.noBlocksAround(Entity entity) private voidServerGamePacketListenerImpl.resyncPlayerWithVehicle(Entity vehicle) -
Uses of Entity in net.minecraft.util.debug
Methods in net.minecraft.util.debug with parameters of type EntityModifier and TypeMethodDescriptionprivate voidLevelDebugSynchronizers.broadcastToTracking(Entity trackedEntity, DebugSubscription<?> subscription, Packet<? super ClientGamePacketListener> packet) <T> voidLevelDebugSynchronizers.clearEntityValue(Entity entity, DebugSubscription<T> subscription) voidLevelDebugSynchronizers.dropEntity(Entity entity) voidTrackingDebugSynchronizer.SourceSynchronizer.dropEntity(Entity entity) <T> @Nullable TDebugValueAccess.getEntityValue(DebugSubscription<T> subscription, Entity entity) voidLevelDebugSynchronizers.registerEntity(Entity entity) <T> voidLevelDebugSynchronizers.sendEntityValue(Entity entity, DebugSubscription<T> subscription, T value) protected voidTrackingDebugSynchronizer.sendInitialEntity(ServerPlayer player, Entity entity) protected voidTrackingDebugSynchronizer.SourceSynchronizer.sendInitialEntity(ServerPlayer player, Entity entity) protected final voidTrackingDebugSynchronizer.sendToPlayersTrackingEntity(ServerLevel level, Entity trackedEntity, Packet<? super ClientGamePacketListener> packet) voidLevelDebugSynchronizers.startTrackingEntity(ServerPlayer player, Entity entity) final voidTrackingDebugSynchronizer.startTrackingEntity(ServerPlayer player, Entity entity) Method parameters in net.minecraft.util.debug with type arguments of type EntityModifier and TypeMethodDescription<T> voidDebugValueAccess.forEachEntity(DebugSubscription<T> subscription, BiConsumer<Entity, T> consumer) -
Uses of Entity in net.minecraft.world
Methods in net.minecraft.world with parameters of type EntityModifier and TypeMethodDescriptionstatic voidContainers.dropContents(Level level, Entity entity, Container container) booleanTickRateManager.isEntityFrozen(Entity entity) -
Uses of Entity in net.minecraft.world.damagesource
Fields in net.minecraft.world.damagesource declared as EntityModifier and TypeFieldDescriptionprivate final @Nullable EntityDamageSource.causingEntityprivate final @Nullable EntityDamageSource.directEntityMethods in net.minecraft.world.damagesource that return EntityModifier and TypeMethodDescription@Nullable EntityDamageSource.getDirectEntity()@Nullable EntityDamageSource.getEntity()Methods in net.minecraft.world.damagesource with parameters of type EntityModifier and TypeMethodDescriptionDamageSources.arrow(AbstractArrow arrow, @Nullable Entity owner) DamageSources.fallingBlock(Entity entity) DamageSources.fallingStalactite(Entity entity) DamageSources.fireworks(FireworkRocketEntity rocket, @Nullable Entity owner) private static @Nullable ComponentCombatTracker.getDisplayName(@Nullable Entity entity) CombatTracker.getFallMessage(CombatEntry knockOffEntry, @Nullable Entity killingEntity) private ComponentCombatTracker.getMessageForAssistedFall(Entity attackerEntity, Component attackerName, String messageWithItem, String messageWithoutItem) DamageSources.indirectMagic(Entity entity, @Nullable Entity owner) DamageSources.mobProjectile(Entity entity, @Nullable LivingEntity mob) DamageSources.source(ResourceKey<DamageType> key, @Nullable Entity cause) DamageSources.source(ResourceKey<DamageType> key, @Nullable Entity directEntity, @Nullable Entity causingEntity) DamageSources.spit(Entity entity, @Nullable LivingEntity mob) DamageSources.windCharge(Entity entity, @Nullable LivingEntity mob) DamageSources.witherSkull(WitherSkull witherSkull, Entity owner) Constructors in net.minecraft.world.damagesource with parameters of type EntityModifierConstructorDescriptionDamageSource(Holder<DamageType> type, @Nullable Entity causingEntity) DamageSource(Holder<DamageType> type, @Nullable Entity directEntity, @Nullable Entity causingEntity) DamageSource(Holder<DamageType> type, @Nullable Entity directEntity, @Nullable Entity causingEntity, @Nullable Vec3 damageSourcePosition) -
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 level, @Nullable Entity source, Vec3 position, double radius, MobEffectInstance effectInstance, int displayEffectLimit) voidHealOrHarmMobEffect.applyInstantenousEffect(ServerLevel serverLevel, @Nullable Entity source, @Nullable Entity owner, LivingEntity mob, int amplification, double scale) voidMobEffect.applyInstantenousEffect(ServerLevel level, @Nullable Entity source, @Nullable Entity owner, LivingEntity mob, int amplification, double scale) -
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 TypeClassDescriptionclassclassclassclassstatic classstatic classstatic classclassclassclassclassclassclassclassclassclassClasses in net.minecraft.world.entity that implement interfaces with type arguments of type EntityFields in net.minecraft.world.entity declared as EntityModifier and TypeFieldDescription@Nullable EntityLivingEntity.currentExplosionCauseprivate final EntityEntity.EntityPathElement.entityThe field for theentityrecord component.private final EntityInterpolationHandler.entity@Nullable EntityLeashable.LeashData.leashHolderprivate @Nullable EntityEntity.vehicleFields in net.minecraft.world.entity with type parameters of type EntityModifier and TypeFieldDescriptionprivate final Map<InsideBlockEffectType, List<Consumer<Entity>>> InsideBlockEffectApplier.StepBasedCollector.afterEffectsInStepprivate final Map<InsideBlockEffectType, List<Consumer<Entity>>> InsideBlockEffectApplier.StepBasedCollector.beforeEffectsInStepEntitySelector.CAN_BE_COLLIDED_WITHEntitySelector.CAN_BE_PICKEDEntitySelector.CONTAINER_ENTITY_SELECTORInsideBlockEffectType.effectEntitySelector.ENTITY_NOT_BEING_RIDDENEntitySelector.ENTITY_STILL_ALIVEInsideBlockEffectApplier.StepBasedCollector.finalEffectsLightningBolt.hitEntitiesEntitySelector.LIVING_ENTITY_STILL_ALIVEEntitySelector.NO_CREATIVE_OR_SPECTATOREntitySelector.NO_SPECTATORSprivate com.google.common.collect.ImmutableList<Entity> Entity.passengersprotected @Nullable it.unimi.dsi.fastutil.objects.Object2LongMap<Entity> LivingEntity.recentKineticEnemiesAreaEffectCloud.victimsMethods in net.minecraft.world.entity with type parameters of type EntityModifier and TypeMethodDescriptionLeashable.angularFriction(E entity) EntityType.appendComponentsConfig(Consumer<T> initialConfig, ItemStack itemStack) EntityType.appendCustomEntityStackConfig(Consumer<T> initialConfig, Level level, ItemStack itemStack, @Nullable LivingEntity user) EntityType.appendDefaultStackConfig(Consumer<T> initialConfig, Level level, ItemStack itemStack, @Nullable LivingEntity user) static <T extends Entity>
booleanSpawnPlacements.checkSpawnRules(EntityType<T> type, ServerLevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) private static <E extends Entity & Leashable>
List<Leashable.Wrench> Leashable.computeElasticInteraction(E entity, Entity leashHolder, List<Vec3> entityAttachmentPoints, List<Vec3> leasherAttachmentPoints) EntityType.createDefaultStackConfig(Level level, ItemStack itemStack, @Nullable LivingEntity user) static <T extends Entity>
EntityType.Builder<T> EntityType.Builder.createNothing(MobCategory category) Leashable.dropLeash(E entity, boolean sendPacket, boolean dropLead) Leashable.getLeashHolder(E entity) static <T extends Entity>
EntityType.Builder<T> EntityType.Builder.of(EntityType.EntityFactory<T> factory, MobCategory category) private static <T extends Entity>
EntityType<T> EntityType.register(String vanillaId, EntityType.Builder<T> builder) private static <T extends Entity>
EntityType<T> EntityType.register(ResourceKey<EntityType<?>> id, EntityType.Builder<T> builder) Leashable.restoreLeashFromSave(E entity, Leashable.LeashData leashData) Leashable.setLeashedTo(E entity, Entity holder, boolean synch) Leashable.tickLeash(ServerLevel level, E entity) Methods in net.minecraft.world.entity that return EntityModifier and TypeMethodDescriptionEntity.EntityPathElement.entity()Returns the value of theentityrecord component.@Nullable EntityEntity.getControlledVehicle()static @Nullable EntityEntityReference.getEntity(@Nullable EntityReference<Entity> reference, Level level) @Nullable EntityEntity.getFirstPassenger()default @Nullable EntityLeashable.getLeashHolder()Leashable.getLeashHolder(E entity) @Nullable EntityTraceableEntity.getOwner()Entity.getRootVehicle()@Nullable EntityEntity.getVehicle()static @Nullable EntityEntityType.loadEntityRecursive(CompoundTag tag, Level level, EntitySpawnReason reason, EntityProcessor postLoad) static @Nullable EntityEntityType.loadEntityRecursive(EntityType<?> type, CompoundTag tag, Level level, EntitySpawnReason reason, EntityProcessor postLoad) static @Nullable EntityEntityType.loadEntityRecursive(EntityType<?> type, ValueInput input, Level level, EntitySpawnReason reason, EntityProcessor postLoad) static @Nullable EntityEntityType.loadEntityRecursive(ValueInput input, Level level, EntitySpawnReason reason, EntityProcessor postLoad) private static EntityEntityType.loadPassengersRecursive(Entity entity, ValueInput input, Level level, EntitySpawnReason reason, EntityProcessor postLoad) @Nullable Entityprivate EntityOminousItemSpawner.spawnProjectile(ServerLevel level, ProjectileItem projectileItem, ItemStack item) @Nullable EntityEntity.teleport(TeleportTransition transition) private @Nullable EntityEntity.teleportCrossDimension(ServerLevel oldLevel, ServerLevel newLevel, TeleportTransition transition) private EntityEntity.teleportSameDimension(ServerLevel level, TeleportTransition transition) Methods in net.minecraft.world.entity that return types with arguments of type EntityModifier and TypeMethodDescriptionEntityType.create(EntityType<?> type, ValueInput input, Level level, EntitySpawnReason reason) EntityType.create(ValueInput input, Level level, EntitySpawnReason reason) InsideBlockEffectType.effect()EntityType.getBaseClass()LightningBolt.getHitEntities()Entity.getIndirectPassengers()Entity.getIndirectPassengersStream()Entity.getPassengers()Entity.getPassengersAndSelf()Entity.getSelfAndPassengers()EntityType.loadEntitiesRecursive(ValueInput.ValueInputList entities, Level level, EntitySpawnReason reason) EntityType.loadStaticEntity(EntityType<?> type, ValueInput input, Level level, EntitySpawnReason reason) EntityType.loadStaticEntity(ValueInput input, Level level, EntitySpawnReason reason) EntitySelector.pushableBy(Entity entity) EntitySelector.withinDistance(double centerX, double centerY, double centerZ, double distance) Methods in net.minecraft.world.entity with parameters of type EntityModifier and TypeMethodDescriptionvoidbooleanLivingEntity.addEffect(MobEffectInstance newEffect, @Nullable Entity source) protected voidEntity.addPassenger(Entity passenger) protected voidMarker.addPassenger(Entity passenger) protected voidOminousItemSpawner.addPassenger(Entity passenger) voidInsideBlockEffectApplier.StepBasedCollector.applyAndClear(Entity entity) voidEntityFluidInteraction.applyCurrentTo(TagKey<Fluid> fluid, Entity entity, double scale) voidEntityFluidInteraction.Tracker.applyCurrentTo(Entity entity, double scale) voidEntity.awardKillScore(Entity victim, DamageSource killingBlow) private TeleportTransitionEntity.calculatePassengerTransition(TeleportTransition transition, Entity passenger) protected booleanEntity.canAddPassenger(Entity passenger) protected booleanMarker.canAddPassenger(Entity passenger) protected booleanOminousItemSpawner.canAddPassenger(Entity passenger) booleanEntity.canBeCollidedWith(@Nullable Entity other) booleanEntity.canCollideWith(Entity entity) default booleanLeashable.canHaveALeashAttachedTo(Entity entity) protected booleanvoidLivingEntity.causeExtraKnockback(Entity target, float knockback, Vec3 oldMovement) default booleanLeashable.checkElasticInteractions(Entity leashHolder, Leashable.LeashData leashData) default voidLeashable.closeRangeLeashBehaviour(Entity leashHolder) voidPathfinderMob.closeRangeLeashBehaviour(Entity leashHolder) booleanEntity.closerThan(Entity other, double distance) booleanEntity.closerThan(Entity other, double distanceXZ, double distanceY) static List<VoxelShape> Entity.collectAllColliders(@Nullable Entity source, Level level, AABB boundingBox) private static List<VoxelShape> Entity.collectColliders(@Nullable Entity source, Level level, List<VoxelShape> entityColliders, AABB boundingBox) static Vec3Entity.collideBoundingBox(@Nullable Entity source, Vec3 movement, AABB boundingBox, Level level, List<VoxelShape> entityColliders) private static <E extends Entity & Leashable>
List<Leashable.Wrench> Leashable.computeElasticInteraction(E entity, Entity leashHolder, List<Vec3> entityAttachmentPoints, List<Vec3> leasherAttachmentPoints) protected booleanEntity.considersEntityAsAlly(Entity other) protected booleanTamableAnimal.considersEntityAsAlly(Entity other) voidEntity.copyPosition(Entity target) static Vec3[]Leashable.createQuadLeashOffsets(Entity entity, double frontOffset, double frontBack, double leftRight, double height) private voidLivingEntity.dismountVehicle(Entity vehicle) floatEntity.distanceTo(Entity entity) doubleEntity.distanceToSqr(Entity entity) booleanLivingEntity.doHurtTarget(ServerLevel level, Entity target) booleanMob.doHurtTarget(ServerLevel level, Entity target) protected voidprotected voidLivingEntity.dropExperience(ServerLevel level, @Nullable Entity killer) booleanLivingEntity.dropFromEntityInteractLootTable(ServerLevel level, ResourceKey<LootTable> key, @Nullable Entity interactingEntity, ItemInstance tool, BiConsumer<ServerLevel, ItemStack> consumer) voidLivingEntity.forceAddEffect(MobEffectInstance newEffect, @Nullable Entity source) voidprotected static Vec3Entity.getDefaultPassengerAttachmentPoint(Entity vehicle, Entity passenger, EntityAttachments attachments) final intLivingEntity.getExperienceReward(ServerLevel level, @Nullable Entity killer) private static Vec3Leashable.getHolderMovement(Entity leashHolder) protected floatLivingEntity.getKnockback(Entity target, DamageSource damageSource) protected Vec3Entity.getPassengerAttachmentPoint(Entity passenger, EntityDimensions dimensions, float scale) Entity.getPassengerRidingPosition(Entity passenger) LivingEntity.getPassengerRidingPosition(Entity passenger) @Nullable TeleportTransitionPortalProcessor.getPortalDestination(ServerLevel serverLevel, Entity entity) Entity.getVehicleAttachmentPoint(Entity vehicle) doubleLivingEntity.getVisibilityPercent(@Nullable Entity targetingEntity) protected static voidEntity.handleOnAboveBubbleColumn(Entity entity, boolean dragDown, BlockPos pos) protected static voidEntity.handleOnInsideBubbleColumn(Entity entity, boolean dragDown) booleanEntity.hasIndirectPassenger(Entity entity) booleanLivingEntity.hasLineOfSight(Entity target) booleanLivingEntity.hasLineOfSight(Entity target, ClipContext.Block blockCollidingContext, ClipContext.Fluid fluidCollidingContext, double eyeHeight) booleanEntity.hasPassenger(Entity entity) booleanfinal booleanEntity.isAlliedTo(@Nullable Entity other) booleanEntity.isPassengerOfSameVehicle(Entity other) Leashable.leashableInArea(Entity entity, Predicate<Leashable> test) Leashable.leashableLeashedTo(Entity entity) default doubleLeashable.leashDistanceTo(Entity entity) private static EntityEntityType.loadPassengersRecursive(Entity entity, ValueInput input, Level level, EntitySpawnReason reason, EntityProcessor postLoad) voidstatic PositionMoveRotationprotected voidLivingEntity.onEffectAdded(MobEffectInstance effect, @Nullable Entity source) protected voidLivingEntity.onEffectUpdated(MobEffectInstance effect, boolean doRefreshAttributes, @Nullable Entity source) voidEntity.onExplosionHit(@Nullable Entity explosionCausedBy) voidEntity.onPassengerTurned(Entity passenger) voidReputationEventHandler.onReputationEventFrom(ReputationEventType type, Entity source) final voidEntity.positionRider(Entity passenger) protected voidEntity.positionRider(Entity passenger, Entity.MoveFunction moveFunction) @Nullable EntitybooleanPortalProcessor.processPortalTeleportation(ServerLevel serverLevel, Entity entity, boolean allowedToTeleport) voidvoidEntitySelector.pushableBy(Entity entity) voidLivingEntity.rememberStabbedEntity(Entity target) protected voidEntity.removePassenger(Entity passenger) voidEntity.restoreFrom(Entity oldEntity) voidLivingEntity.setLastHurtMob(Entity target) Leashable.setLeashedTo(E entity, Entity holder, boolean synch) default voidLeashable.setLeashedTo(Entity holder, boolean synch) voidLeashable.LeashData.setLeashHolder(Entity leashHolder) booleanEntity.skipAttackInteraction(Entity source) booleanInteraction.skipAttackInteraction(Entity source) booleanLivingEntity.stabAttack(EquipmentSlot weaponSlot, Entity target, float baseDamage, boolean dealsDamage, boolean dealsKnockback, boolean dismounts) final booleanEntity.startRiding(Entity entity) booleanEntity.startRiding(Entity entityToRide, boolean force, boolean sendEventAndTriggers) booleanMob.startRiding(Entity entity, boolean force, boolean sendEventAndTriggers) voidvoid@Nullable Tvoidstatic voidEntityType.updateCustomEntityTag(Level level, @Nullable LivingEntity user, @Nullable Entity entity, TypedEntityData<EntityType<?>> entityData) booleanLivingEntity.wasRecentlyStabbed(Entity target, int allowedTime) default voidLeashable.whenLeashedTo(Entity leashHolder) voidPathfinderMob.whenLeashedTo(Entity leashHolder) Method parameters in net.minecraft.world.entity with type arguments of type EntityModifier and TypeMethodDescriptionstatic @Nullable EntityEntityReference.getEntity(@Nullable EntityReference<Entity> reference, Level level) booleanEntity.hasPassenger(Predicate<Entity> test) voidInsideBlockEffectApplier.runAfter(InsideBlockEffectType type, Consumer<Entity> effect) voidInsideBlockEffectApplier.StepBasedCollector.runAfter(InsideBlockEffectType type, Consumer<Entity> effect) voidInsideBlockEffectApplier.runBefore(InsideBlockEffectType type, Consumer<Entity> effect) voidInsideBlockEffectApplier.StepBasedCollector.runBefore(InsideBlockEffectType type, Consumer<Entity> effect) intLivingEntity.stabbedEntities(Predicate<Entity> filter) Constructors in net.minecraft.world.entity with parameters of type EntityModifierConstructorDescriptionprivateEntityPathElement(Entity entity) Creates an instance of aEntityPathElementrecord class.InterpolationHandler(Entity entity) InterpolationHandler(Entity entity, int interpolationSteps) InterpolationHandler(Entity entity, int interpolationSteps, @Nullable Consumer<InterpolationHandler> onInterpolationStart) InterpolationHandler(Entity entity, @Nullable Consumer<InterpolationHandler> onInterpolationStart) privateConstructor parameters in net.minecraft.world.entity with type arguments 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 body, Entity vehicle, int maxWalkDistToRideTarget) AnimalPanic.lookForWater(BlockGetter level, Entity mob) static voidBehaviorUtils.setWalkAndLookTargetMemories(LivingEntity walker, Entity targetEntity, float speedModifier, int closeEnoughDistance) 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 maxWalkDistToRideTarget, BiPredicate<E, Entity> dontRideIf) static OneShot<PathfinderMob> SetWalkTargetAwayFrom.entity(MemoryModuleType<? extends Entity> memory, float speedModifier, int desiredDistance, boolean interruptCurrentWalk) Constructors in net.minecraft.world.entity.ai.behavior with parameters of type EntityModifierConstructorDescriptionEntityTracker(Entity entity, boolean trackEyeHeight) EntityTracker(Entity entity, boolean trackEyeHeight, boolean targetEyeHeight) -
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 EntityFields in net.minecraft.world.entity.ai.goal with type parameters of type EntityMethods in net.minecraft.world.entity.ai.goal with parameters of type EntityModifier and TypeMethodDescriptionprotected static ServerLevelGoal.getServerLevel(Entity entity) protected @Nullable BlockPosPanicGoal.lookForWater(BlockGetter level, Entity mob, int xzDist) Constructor parameters in net.minecraft.world.entity.ai.goal with type arguments of type EntityModifierConstructorDescriptionFollowPlayerRiddenEntityGoal(PathfinderMob mob, Class<? extends Entity> entityTypeToFollow) -
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 EntityModifierConstructorDescriptionWalkTarget(Entity target, float speedModifier, int closeEnoughDist) -
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.animal -
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 TypeMethodDescriptionprotected booleanAllay.considersEntityAsAlly(Entity other) private booleanAllay.isLikedPlayer(@Nullable Entity other) voidAllay.VibrationUser.onReceiveVibration(ServerLevel level, BlockPos pos, Holder<GameEvent> event, @Nullable Entity sourceEntity, @Nullable Entity projectileOwner, float receivingDistance) -
Uses of Entity in net.minecraft.world.entity.animal.armadillo
Subclasses of Entity in net.minecraft.world.entity.animal.armadilloMethods in net.minecraft.world.entity.animal.armadillo with parameters of type EntityModifier and TypeMethodDescriptionbooleanArmadillo.brushOffScute(@Nullable Entity interactingEntity, ItemStack tool) -
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.bee
Subclasses of Entity in net.minecraft.world.entity.animal.beeMethods in net.minecraft.world.entity.animal.bee with parameters of type Entity -
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 passenger) protected Vec3Camel.getPassengerAttachmentPoint(Entity passenger, EntityDimensions dimensions, float scale) -
Uses of Entity in net.minecraft.world.entity.animal.chicken
Subclasses of Entity in net.minecraft.world.entity.animal.chickenMethods in net.minecraft.world.entity.animal.chicken with parameters of type EntityModifier and TypeMethodDescriptionprotected voidChicken.positionRider(Entity passenger, Entity.MoveFunction moveFunction) -
Uses of Entity in net.minecraft.world.entity.animal.cow
Subclasses of Entity in net.minecraft.world.entity.animal.cow -
Uses of Entity in net.minecraft.world.entity.animal.dolphin
Subclasses of Entity in net.minecraft.world.entity.animal.dolphinMethods in net.minecraft.world.entity.animal.dolphin with parameters of type Entity -
Uses of Entity in net.minecraft.world.entity.animal.equine
Subclasses of Entity in net.minecraft.world.entity.animal.equineModifier and TypeClassDescriptionclassclassclassclassclassclassclassclassclassMethods in net.minecraft.world.entity.animal.equine with parameters of type EntityModifier and TypeMethodDescriptionprotected voidAbstractHorse.addPassenger(Entity passenger) protected Vec3AbstractHorse.getPassengerAttachmentPoint(Entity passenger, EntityDimensions dimensions, float scale) protected Vec3Llama.getPassengerAttachmentPoint(Entity passenger, EntityDimensions dimensions, float scale) protected voidAbstractHorse.positionRider(Entity passenger, Entity.MoveFunction moveFunction) -
Uses of Entity in net.minecraft.world.entity.animal.feline
Subclasses of Entity in net.minecraft.world.entity.animal.feline -
Uses of Entity in net.minecraft.world.entity.animal.fish
Subclasses of Entity in net.minecraft.world.entity.animal.fishModifier and TypeClassDescriptionclassclassclassclassclassclassclass -
Uses of Entity in net.minecraft.world.entity.animal.fox
Subclasses of Entity in net.minecraft.world.entity.animal.foxFields in net.minecraft.world.entity.animal.fox with type parameters of type Entity -
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.golem
Subclasses of Entity in net.minecraft.world.entity.animal.golemModifier and TypeClassDescriptionclassclassclassclassMethods in net.minecraft.world.entity.animal.golem with parameters of type EntityModifier and TypeMethodDescriptionbooleanIronGolem.doHurtTarget(ServerLevel level, Entity target) protected void -
Uses of Entity in net.minecraft.world.entity.animal.happyghast
Subclasses of Entity in net.minecraft.world.entity.animal.happyghastMethods in net.minecraft.world.entity.animal.happyghast with parameters of type EntityModifier and TypeMethodDescriptionprotected voidHappyGhast.addPassenger(Entity passenger) protected booleanHappyGhast.canAddPassenger(Entity passenger) booleanHappyGhast.canBeCollidedWith(@Nullable Entity other) protected voidHappyGhast.removePassenger(Entity passenger) -
Uses of Entity in net.minecraft.world.entity.animal.nautilus
Subclasses of Entity in net.minecraft.world.entity.animal.nautilusMethods in net.minecraft.world.entity.animal.nautilus with parameters of type EntityModifier and TypeMethodDescriptionprotected booleanAbstractNautilus.canAddPassenger(Entity passenger) -
Uses of Entity in net.minecraft.world.entity.animal.panda
Subclasses of Entity in net.minecraft.world.entity.animal.pandaMethods in net.minecraft.world.entity.animal.panda with parameters of type Entity -
Uses of Entity in net.minecraft.world.entity.animal.parrot
Subclasses of Entity in net.minecraft.world.entity.animal.parrotMethods in net.minecraft.world.entity.animal.parrot with parameters of type EntityModifier and TypeMethodDescriptionprotected voidstatic booleanParrot.imitateNearbyMobs(Level level, Entity entity) -
Uses of Entity in net.minecraft.world.entity.animal.pig
Subclasses of Entity in net.minecraft.world.entity.animal.pig -
Uses of Entity in net.minecraft.world.entity.animal.polarbear
Subclasses of Entity in net.minecraft.world.entity.animal.polarbear -
Uses of Entity in net.minecraft.world.entity.animal.rabbit
Subclasses of Entity in net.minecraft.world.entity.animal.rabbit -
Uses of Entity in net.minecraft.world.entity.animal.sheep
Subclasses of Entity in net.minecraft.world.entity.animal.sheep -
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.animal.squid
Subclasses of Entity in net.minecraft.world.entity.animal.squid -
Uses of Entity in net.minecraft.world.entity.animal.turtle
Subclasses of Entity in net.minecraft.world.entity.animal.turtle -
Uses of Entity in net.minecraft.world.entity.animal.wolf
Subclasses of Entity in net.minecraft.world.entity.animal.wolf -
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 newEffect, @Nullable Entity source) protected booleanbooleanMethod parameters in net.minecraft.world.entity.boss.enderdragon with type arguments of type EntityModifier and TypeMethodDescriptionprivate voidEnderDragon.hurt(ServerLevel level, List<Entity> entities) private voidEnderDragon.knockBack(ServerLevel serverLevel, List<Entity> entities) -
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 newEffect, @Nullable Entity source) 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 voidBlockAttachedEntity.dropItem(ServerLevel level, @Nullable Entity causedBy) voidItemFrame.dropItem(ServerLevel level, @Nullable Entity causedBy) private voidItemFrame.dropItem(ServerLevel level, @Nullable Entity causedBy, boolean withFrame) voidLeashFenceKnotEntity.dropItem(ServerLevel level, @Nullable Entity causedBy) booleanArmorStand.skipAttackInteraction(Entity source) booleanBlockAttachedEntity.skipAttackInteraction(Entity source) -
Uses of Entity in net.minecraft.world.entity.decoration.painting
Subclasses of Entity in net.minecraft.world.entity.decoration.paintingMethods in net.minecraft.world.entity.decoration.painting with parameters of type EntityModifier and TypeMethodDescriptionvoidPainting.dropItem(ServerLevel level, @Nullable Entity causedBy) -
Uses of Entity in net.minecraft.world.entity.item
Subclasses of Entity in net.minecraft.world.entity.itemFields in net.minecraft.world.entity.item with type parameters of type EntityMethods in net.minecraft.world.entity.item that return EntityModifier and TypeMethodDescription@Nullable EntityItemEntity.getOwner()@Nullable EntityFallingBlockEntity.teleport(TeleportTransition transition) @Nullable EntityItemEntity.teleport(TeleportTransition transition) @Nullable EntityPrimedTnt.teleport(TeleportTransition transition) Methods in net.minecraft.world.entity.item with parameters of type EntityModifier and TypeMethodDescriptionvoidItemEntity.restoreFrom(Entity oldEntity) voidPrimedTnt.restoreFrom(Entity oldEntity) voidItemEntity.setThrower(Entity thrower) -
Uses of Entity in net.minecraft.world.entity.monster
Subclasses of Entity in net.minecraft.world.entity.monsterModifier and TypeClassDescriptionclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassFields in net.minecraft.world.entity.monster with type parameters of type EntityModifier and TypeFieldDescriptionRavager.ROAR_TARGET_WITH_GRIEFINGRavager.ROAR_TARGET_WITHOUT_GRIEFINGMethods in net.minecraft.world.entity.monster with parameters of type EntityModifier and TypeMethodDescriptionprotected booleanStrider.canAddPassenger(Entity passenger) booleanShulker.canBeCollidedWith(@Nullable Entity other) booleanCreeper.doHurtTarget(ServerLevel level, Entity target) booleanRavager.doHurtTarget(ServerLevel level, Entity target) booleanZoglin.doHurtTarget(ServerLevel level, Entity target) protected Vec3Slime.getPassengerAttachmentPoint(Entity passenger, EntityDimensions dimensions, float scale) protected Vec3Strider.getPassengerAttachmentPoint(Entity passenger, EntityDimensions dimensions, float scale) booleanRavager.hasLineOfSight(Entity target) voidvoidvoidVex.restoreFrom(Entity oldEntity) booleanShulker.startRiding(Entity entity, boolean force, boolean sendEventAndTriggers) private voidRavager.strongKnockback(Entity entity) private booleanEnderMan.teleportTowards(Entity entity) -
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.creaking
Subclasses of Entity in net.minecraft.world.entity.monster.creakingMethods in net.minecraft.world.entity.monster.creaking with parameters of type EntityModifier and TypeMethodDescriptionbooleanCreaking.doHurtTarget(ServerLevel level, Entity target) -
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.illager
Subclasses of Entity in net.minecraft.world.entity.monster.illagerModifier and TypeClassDescriptionclassclassclassclassclassclassMethods in net.minecraft.world.entity.monster.illager with parameters of type EntityModifier and TypeMethodDescriptionprotected booleanAbstractIllager.considersEntityAsAlly(Entity other) protected booleanEvoker.considersEntityAsAlly(Entity other) -
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 vehicle, int counter) Methods in net.minecraft.world.entity.monster.piglin with parameters of type EntityModifier and TypeMethodDescriptionprivate EntityPiglin.getTopPassenger(Entity vehicle, int counter) static booleanPiglinAi.isZombified(Entity entity) booleanPiglin.startRiding(Entity entityToRide, boolean force, boolean sendEventAndTriggers) private static booleanPiglinAi.wantsToStopRiding(Piglin body, Entity entityBeingRidden) -
Uses of Entity in net.minecraft.world.entity.monster.skeleton
Subclasses of Entity in net.minecraft.world.entity.monster.skeletonModifier and TypeClassDescriptionclassclassclassclassclassclassMethods in net.minecraft.world.entity.monster.skeleton with parameters of type EntityModifier and TypeMethodDescriptionbooleanWitherSkeleton.doHurtTarget(ServerLevel level, Entity target) -
Uses of Entity in net.minecraft.world.entity.monster.spider
Subclasses of Entity in net.minecraft.world.entity.monster.spiderMethods in net.minecraft.world.entity.monster.spider with parameters of type EntityModifier and TypeMethodDescriptionbooleanCaveSpider.doHurtTarget(ServerLevel level, Entity target) CaveSpider.getVehicleAttachmentPoint(Entity vehicle) Spider.getVehicleAttachmentPoint(Entity vehicle) -
Uses of Entity in net.minecraft.world.entity.monster.warden
Subclasses of Entity in net.minecraft.world.entity.monster.wardenClasses in net.minecraft.world.entity.monster.warden that implement interfaces with type arguments of type EntityFields 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 level, Vec3 position, @Nullable Entity source, int darknessRadius) protected booleanbooleanWarden.canTargetEntity(@Nullable Entity entity) voidAngerManagement.clearAnger(Entity entity) voidWarden.clearAnger(Entity entity) intbooleanWarden.doHurtTarget(ServerLevel level, Entity target) protected voidintAngerManagement.getActiveAnger(@Nullable Entity currentTarget) intAngerManagement.increaseAnger(Entity entity, int increment) voidWarden.increaseAngerAt(@Nullable Entity entity) voidWarden.increaseAngerAt(@Nullable Entity entity, int amount, boolean playSound) voidWarden.VibrationUser.onReceiveVibration(ServerLevel level, BlockPos pos, Holder<GameEvent> event, @Nullable Entity sourceEntity, @Nullable Entity projectileOwner, float receivingDistance) Method parameters in net.minecraft.world.entity.monster.warden with type arguments of type EntityModifier and TypeMethodDescriptionstatic Codec<AngerManagement> voidAngerManagement.tick(ServerLevel level, Predicate<Entity> validEntity) Constructor parameters in net.minecraft.world.entity.monster.warden with type arguments of type Entity -
Uses of Entity in net.minecraft.world.entity.monster.zombie
Subclasses of Entity in net.minecraft.world.entity.monster.zombieModifier and TypeClassDescriptionclassclassclassclassclassMethods in net.minecraft.world.entity.monster.zombie with parameters of type EntityModifier and TypeMethodDescriptionbooleanHusk.doHurtTarget(ServerLevel level, Entity target) booleanZombie.doHurtTarget(ServerLevel level, Entity target) -
Uses of Entity in net.minecraft.world.entity.npc.villager
Subclasses of Entity in net.minecraft.world.entity.npc.villagerMethods in net.minecraft.world.entity.npc.villager that return EntityModifier and TypeMethodDescription@Nullable EntityAbstractVillager.teleport(TeleportTransition transition) Methods in net.minecraft.world.entity.npc.villager with parameters of type EntityModifier and TypeMethodDescriptionvoidVillager.onReputationEventFrom(ReputationEventType type, Entity source) private voidVillager.tellWitnessesThatIWasMurdered(Entity murderer) -
Uses of Entity in net.minecraft.world.entity.npc.wanderingtrader
Subclasses of Entity in net.minecraft.world.entity.npc.wanderingtrader -
Uses of Entity in net.minecraft.world.entity.player
Subclasses of Entity in net.minecraft.world.entity.playerMethods in net.minecraft.world.entity.player with parameters of type EntityModifier and TypeMethodDescriptionvoidprivate voidPlayer.attackVisualEffects(Entity entity, boolean criticalAttack, boolean sweepAttack, boolean fullStrengthAttack, boolean stabAttack, float magicBoost) private booleanPlayer.canCriticalAttack(Entity entity) private booleanPlayer.cannotAttack(Entity entity) voidPlayer.causeExtraKnockback(Entity entity, float knockbackAmount, Vec3 oldMovement) voidprivate voidPlayer.damageStatsAndHearts(Entity entity, float oldLivingEntityHealth) private booleanPlayer.deflectProjectile(Entity entity) private voidPlayer.doSweepAttack(Entity entity, float baseDamage, DamageSource damageSource, float attackStrengthScale) Deprecated.private voidPlayer.doSweepAttack(Entity entity, float baseDamage, DamageSource damageSource, float attackStrengthScale, AABB sweepHitBox) protected floatPlayer.getEnchantedDamage(Entity entity, float dmg, DamageSource damageSource) Player.interactOn(Entity entity, InteractionHand hand, Vec3 location) booleanPlayer.isWithinEntityInteractionRange(Entity entity, double buffer) private voidPlayer.itemAttackInteraction(Entity entity, ItemStack attackingItemStack, DamageSource damageSource, boolean applyToTarget) voidbooleanPlayer.stabAttack(EquipmentSlot slot, Entity target, float baseDamage, boolean dealsDamage, boolean dealsKnockback, boolean dismounts) private void -
Uses of Entity in net.minecraft.world.entity.projectile
Subclasses of Entity in net.minecraft.world.entity.projectileModifier and TypeClassDescriptionclassclassclassclassclassclassclassclassFields in net.minecraft.world.entity.projectile declared as EntityModifier and TypeFieldDescriptionprivate @Nullable EntityFishingHook.hookedInprivate @Nullable EntityProjectile.lastDeflectedByFields in net.minecraft.world.entity.projectile with type parameters of type EntityModifier and TypeFieldDescriptionprivate @Nullable EntityReference<Entity> ShulkerBullet.finalTargetprotected @Nullable EntityReference<Entity> Projectile.ownerMethods in net.minecraft.world.entity.projectile that return EntityModifier and TypeMethodDescriptionProjectile.getEffectSource()@Nullable EntityFishingHook.getHookedIn()@Nullable EntityProjectile.getOwner()Methods in net.minecraft.world.entity.projectile with parameters of type EntityModifier and TypeMethodDescriptionprotected booleanFishingHook.canHitEntity(Entity entity) protected booleanProjectile.canHitEntity(Entity entity) protected booleanShulkerBullet.canHitEntity(Entity entity) static floatProjectileUtil.computeMargin(Entity source) booleanProjectile.deflect(ProjectileDeflection deflection, @Nullable Entity deflectingEntity, @Nullable EntityReference<Entity> newOwner, boolean byAttack) voidProjectileDeflection.deflect(Projectile projectile, @Nullable Entity entity, RandomSource random) static @Nullable EntityHitResultProjectileUtil.getEntityHitResult(Entity except, Vec3 from, Vec3 to, AABB box, Predicate<Entity> matching, double maxValue) static @Nullable EntityHitResultProjectileUtil.getEntityHitResult(Level level, Entity source, Vec3 from, Vec3 to, AABB targetSearchArea, Predicate<Entity> matching, float entityMargin) static Either<BlockHitResult, Collection<EntityHitResult>> ProjectileUtil.getHitEntitiesAlong(Entity attacker, AttackRange attackRange, Predicate<Entity> matching, ClipContext.Block blockClipType) private static Either<BlockHitResult, Collection<EntityHitResult>> ProjectileUtil.getHitEntitiesAlong(Entity source, Vec3 origin, Vec3 from, Predicate<Entity> matching, Vec3 to, float entityMargin, ClipContext.Block clipType) private static HitResultProjectileUtil.getHitResult(Vec3 from, Entity source, Predicate<Entity> matching, Vec3 delta, Level level, float entityMargin, ClipContext.Block clipType) static HitResultProjectileUtil.getHitResultOnMoveVector(Entity source, Predicate<Entity> matching) static HitResultProjectileUtil.getHitResultOnMoveVector(Entity source, Predicate<Entity> matching, ClipContext.Block clipType) static HitResultProjectileUtil.getHitResultOnViewVector(Entity source, Predicate<Entity> matching, double distance) static Collection<EntityHitResult> ProjectileUtil.getManyEntityHitResult(Level level, Entity source, Vec3 from, Vec3 to, AABB targetSearchArea, Predicate<Entity> matching, boolean includeFromEntity) static Collection<EntityHitResult> ProjectileUtil.getManyEntityHitResult(Level level, Entity source, Vec3 from, Vec3 to, AABB targetSearchArea, Predicate<Entity> matching, float entityMargin, ClipContext.Block clipType, boolean includeFromEntity) protected booleanprotected voidFishingHook.pullEntity(Entity entity) voidProjectile.restoreFrom(Entity oldEntity) static voidProjectileUtil.rotateTowardsMovement(Entity projectile, float rotationSpeed) private voidShulkerBullet.selectNextMoveDirection(@Nullable Direction.Axis avoidAxis, @Nullable Entity target) private voidFishingHook.setHookedEntity(@Nullable Entity hookedIn) voidvoidvoidProjectile.shootFromRotation(Entity source, float xRot, float yRot, float yOffset, float pow, float uncertainty) Method parameters in net.minecraft.world.entity.projectile with type arguments of type EntityModifier and TypeMethodDescriptionbooleanProjectile.deflect(ProjectileDeflection deflection, @Nullable Entity deflectingEntity, @Nullable EntityReference<Entity> newOwner, boolean byAttack) static @Nullable EntityHitResultProjectileUtil.getEntityHitResult(Entity except, Vec3 from, Vec3 to, AABB box, Predicate<Entity> matching, double maxValue) static @Nullable EntityHitResultProjectileUtil.getEntityHitResult(Level level, Entity source, Vec3 from, Vec3 to, AABB targetSearchArea, Predicate<Entity> matching, float entityMargin) static @Nullable EntityHitResultProjectileUtil.getEntityHitResult(Level level, Projectile source, Vec3 from, Vec3 to, AABB targetSearchArea, Predicate<Entity> matching) static Either<BlockHitResult, Collection<EntityHitResult>> ProjectileUtil.getHitEntitiesAlong(Entity attacker, AttackRange attackRange, Predicate<Entity> matching, ClipContext.Block blockClipType) private static Either<BlockHitResult, Collection<EntityHitResult>> ProjectileUtil.getHitEntitiesAlong(Entity source, Vec3 origin, Vec3 from, Predicate<Entity> matching, Vec3 to, float entityMargin, ClipContext.Block clipType) private static HitResultProjectileUtil.getHitResult(Vec3 from, Entity source, Predicate<Entity> matching, Vec3 delta, Level level, float entityMargin, ClipContext.Block clipType) static HitResultProjectileUtil.getHitResultOnMoveVector(Entity source, Predicate<Entity> matching) static HitResultProjectileUtil.getHitResultOnMoveVector(Entity source, Predicate<Entity> matching, ClipContext.Block clipType) static HitResultProjectileUtil.getHitResultOnViewVector(Entity source, Predicate<Entity> matching, double distance) static Collection<EntityHitResult> ProjectileUtil.getManyEntityHitResult(Level level, Entity source, Vec3 from, Vec3 to, AABB targetSearchArea, Predicate<Entity> matching, boolean includeFromEntity) static Collection<EntityHitResult> ProjectileUtil.getManyEntityHitResult(Level level, Entity source, Vec3 from, Vec3 to, AABB targetSearchArea, Predicate<Entity> matching, float entityMargin, ClipContext.Block clipType, boolean includeFromEntity) protected voidProjectile.setOwner(@Nullable EntityReference<Entity> owner) Constructors in net.minecraft.world.entity.projectile with parameters of type EntityModifierConstructorDescriptionFireworkRocketEntity(Level level, @Nullable Entity owner, double x, double y, double z, ItemStack sourceItemStack) FireworkRocketEntity(Level level, ItemStack sourceItemStack, Entity owner, double x, double y, double z, boolean shotAtAngle) ShulkerBullet(Level level, LivingEntity owner, Entity target, Direction.Axis invalidStartAxis) -
Uses of Entity in net.minecraft.world.entity.projectile.arrow
Subclasses of Entity in net.minecraft.world.entity.projectile.arrowModifier and TypeClassDescriptionclassclassclassclassFields in net.minecraft.world.entity.projectile.arrow with type parameters of type EntityMethods in net.minecraft.world.entity.projectile.arrow with parameters of type EntityModifier and TypeMethodDescriptionprotected booleanAbstractArrow.canHitEntity(Entity entity) void -
Uses of Entity in net.minecraft.world.entity.projectile.hurtingprojectile
Subclasses of Entity in net.minecraft.world.entity.projectile.hurtingprojectileModifier and TypeClassDescriptionclassclassclassclassclassclassMethods in net.minecraft.world.entity.projectile.hurtingprojectile with parameters of type EntityModifier and TypeMethodDescriptionprotected booleanAbstractHurtingProjectile.canHitEntity(Entity entity) -
Uses of Entity in net.minecraft.world.entity.projectile.hurtingprojectile.windcharge
Subclasses of Entity in net.minecraft.world.entity.projectile.hurtingprojectile.windchargeModifier and TypeClassDescriptionclassclassclassMethods in net.minecraft.world.entity.projectile.hurtingprojectile.windcharge with parameters of type EntityModifier and TypeMethodDescriptionbooleanAbstractWindCharge.canCollideWith(Entity entity) protected booleanAbstractWindCharge.canHitEntity(Entity entity) booleanWindCharge.deflect(ProjectileDeflection deflection, @Nullable Entity deflectingEntity, @Nullable EntityReference<Entity> newOwner, boolean byAttack) Method parameters in net.minecraft.world.entity.projectile.hurtingprojectile.windcharge with type arguments of type EntityModifier and TypeMethodDescriptionbooleanWindCharge.deflect(ProjectileDeflection deflection, @Nullable Entity deflectingEntity, @Nullable EntityReference<Entity> newOwner, boolean byAttack) Constructors in net.minecraft.world.entity.projectile.hurtingprojectile.windcharge with parameters of type EntityModifierConstructorDescriptionAbstractWindCharge(EntityType<? extends AbstractWindCharge> type, Level level, Entity owner, double x, double y, double z) -
Uses of Entity in net.minecraft.world.entity.projectile.throwableitemprojectile
Subclasses of Entity in net.minecraft.world.entity.projectile.throwableitemprojectileModifier and TypeClassDescriptionclassclassclassclassclassclassclassclassMethods in net.minecraft.world.entity.projectile.throwableitemprojectile that return EntityModifier and TypeMethodDescriptionprivate static @Nullable EntityThrownEnderpearl.findOwnerIncludingDeadPlayer(ServerLevel serverLevel, UUID uuid) @Nullable EntityThrownEnderpearl.getOwner()@Nullable EntityThrownEnderpearl.teleport(TeleportTransition transition) Methods in net.minecraft.world.entity.projectile.throwableitemprojectile with parameters of type EntityModifier and TypeMethodDescriptionprivate static booleanThrownEnderpearl.isAllowedToTeleportOwner(Entity owner, Level newLevel) Method parameters in net.minecraft.world.entity.projectile.throwableitemprojectile with type arguments of type EntityModifier and TypeMethodDescriptionprotected voidThrownEnderpearl.setOwner(@Nullable EntityReference<Entity> owner) -
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.vehicleMethods in net.minecraft.world.entity.vehicle with parameters of type EntityModifier and TypeMethodDescriptiondefault voidContainerEntity.chestVehicleDestroyed(DamageSource source, ServerLevel level, Entity entity) -
Uses of Entity in net.minecraft.world.entity.vehicle.boat
Subclasses of Entity in net.minecraft.world.entity.vehicle.boatModifier and TypeClassDescriptionclassclassclassclassclassclassMethods in net.minecraft.world.entity.vehicle.boat with parameters of type EntityModifier and TypeMethodDescriptionprotected booleanAbstractBoat.canAddPassenger(Entity passenger) booleanAbstractBoat.canBeCollidedWith(@Nullable Entity other) booleanAbstractBoat.canCollideWith(Entity entity) static booleanAbstractBoat.canVehicleCollide(Entity vehicle, Entity entity) protected voidAbstractBoat.clampRotation(Entity passenger) protected Vec3AbstractBoat.getPassengerAttachmentPoint(Entity passenger, EntityDimensions dimensions, float scale) booleanAbstractBoat.hasEnoughSpaceFor(Entity entity) voidAbstractBoat.onPassengerTurned(Entity passenger) protected voidAbstractBoat.positionRider(Entity passenger, Entity.MoveFunction moveFunction) void -
Uses of Entity in net.minecraft.world.entity.vehicle.minecart
Subclasses of Entity in net.minecraft.world.entity.vehicle.minecartModifier and TypeClassDescriptionclassclassclassclassclassclassclassclassclassMethods in net.minecraft.world.entity.vehicle.minecart with parameters of type EntityModifier and TypeMethodDescriptionbooleanAbstractMinecart.canCollideWith(Entity entity) protected Vec3AbstractMinecart.getPassengerAttachmentPoint(Entity passenger, EntityDimensions dimensions, float scale) protected voidMinecart.positionRider(Entity passenger, Entity.MoveFunction moveFunction) void -
Uses of Entity in net.minecraft.world.item
Classes in net.minecraft.world.item with type parameters of type EntityMethods in net.minecraft.world.item with parameters of type EntityModifier and TypeMethodDescriptionvoidItemStack.causeUseVibration(Entity causer, Holder.Reference<GameEvent> event) floatItem.getAttackDamageBonus(Entity victim, float damage, DamageSource damageSource) floatMaceItem.getAttackDamageBonus(Entity victim, float ignoredDamage, DamageSource damageSource) private static doubleMaceItem.getKnockbackPower(Entity attacker, LivingEntity nearby, Vec3 direction) voidCompassItem.inventoryTick(ItemStack itemStack, ServerLevel level, Entity owner, @Nullable EquipmentSlot slot) voidItem.inventoryTick(ItemStack itemStack, ServerLevel level, Entity owner, @Nullable EquipmentSlot slot) voidItemStack.inventoryTick(Level level, Entity owner, @Nullable EquipmentSlot slot) voidMapItem.inventoryTick(ItemStack itemStack, ServerLevel level, Entity owner, @Nullable EquipmentSlot slot) private static voidprivate static Predicate<LivingEntity> MaceItem.knockbackPredicate(Entity attacker, Entity entity) private static voidBundleItem.playDropContentsSound(Level level, Entity entity) private static voidBundleItem.playInsertFailSound(Entity entity) private static voidBundleItem.playInsertSound(Entity entity) private static voidBundleItem.playRemoveOneSound(Entity entity) voidMapItem.update(Level level, Entity player, MapItemSavedData data) -
Uses of Entity in net.minecraft.world.item.component
Methods in net.minecraft.world.item.component with parameters of type EntityModifier and TypeMethodDescriptionstatic booleanPiercingWeapon.canHitEntity(Entity jabber, Entity target) floatAttackRange.effectiveMaxRange(Entity entity) floatAttackRange.effectiveMinRange(Entity entity) AttackRange.getClosesetHit(Entity attacker, float partial, Predicate<Entity> matching) static Vec3voidvoidPiercingWeapon.makeHitSound(Entity causer) voidKineticWeapon.makeLocalHitSound(Entity causer) voidvoidMethod parameters in net.minecraft.world.item.component with type arguments of type EntityModifier and TypeMethodDescriptionAttackRange.getClosesetHit(Entity attacker, float partial, Predicate<Entity> matching) -
Uses of Entity in net.minecraft.world.item.enchantment
Methods in net.minecraft.world.item.enchantment with parameters of type EntityModifier and TypeMethodDescriptionstatic LootContextEnchantment.blockHitContext(ServerLevel serverLevel, int enchantmentLevel, Entity entity, Vec3 position, BlockState hitBlock) static LootContextEnchantment.damageContext(ServerLevel serverLevel, int enchantmentLevel, Entity victim, DamageSource source) voidEnchantment.doPostAttack(ServerLevel serverLevel, int enchantmentLevel, EnchantedItemInUse item, EnchantmentTarget forTarget, Entity victim, DamageSource damageSource) static voidEnchantment.doPostAttack(TargetedConditionalEffect<EnchantmentEntityEffect> effect, ServerLevel serverLevel, int enchantmentLevel, EnchantedItemInUse item, Entity victim, DamageSource damageSource) static voidEnchantmentHelper.doPostAttackEffects(ServerLevel serverLevel, Entity victim, DamageSource damageSource) static voidEnchantmentHelper.doPostAttackEffectsWithItemSource(ServerLevel serverLevel, Entity victim, DamageSource damageSource, @Nullable ItemStack source) static voidEnchantmentHelper.doPostAttackEffectsWithItemSourceOnBreak(ServerLevel serverLevel, Entity victim, DamageSource damageSource, @Nullable ItemStack source, @Nullable Consumer<Item> attackerlessOnBreak) voidEnchantment.doPostPiercingAttack(ServerLevel serverLevel, int enchantmentLevel, EnchantedItemInUse item, Entity user) static LootContextEnchantment.entityContext(ServerLevel serverLevel, int enchantmentLevel, Entity entity, Vec3 position) static intEnchantmentHelper.getFishingLuckBonus(ServerLevel serverLevel, ItemStack rod, Entity fisher) static floatEnchantmentHelper.getFishingTimeReduction(ServerLevel serverLevel, ItemStack rod, Entity fisher) static intEnchantmentHelper.getTridentReturnToOwnerAcceleration(ServerLevel serverLevel, ItemStack weapon, Entity trident) booleanEnchantment.isImmuneToDamage(ServerLevel serverLevel, int enchantmentLevel, Entity victim, DamageSource source) static LootContextEnchantment.locationContext(ServerLevel serverLevel, int enchantmentLevel, Entity entity, boolean active) static floatEnchantmentHelper.modifyArmorEffectiveness(ServerLevel serverLevel, ItemStack itemStack, Entity victim, DamageSource damageSource, float armorFraction) voidEnchantment.modifyArmorEffectivness(ServerLevel serverLevel, int enchantmentLevel, ItemStack itemStack, Entity victim, DamageSource damageSource, org.apache.commons.lang3.mutable.MutableFloat amount) voidEnchantment.modifyDamage(ServerLevel serverLevel, int enchantmentLevel, ItemStack itemStack, Entity victim, DamageSource damageSource, org.apache.commons.lang3.mutable.MutableFloat amount) static floatEnchantmentHelper.modifyDamage(ServerLevel serverLevel, ItemStack itemStack, Entity victim, DamageSource damageSource, float damage) voidEnchantment.modifyDamageFilteredValue(DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>> effectType, ServerLevel serverLevel, int enchantmentLevel, ItemStack itemStack, Entity victim, DamageSource damageSource, org.apache.commons.lang3.mutable.MutableFloat value) voidEnchantment.modifyDamageProtection(ServerLevel serverLevel, int enchantmentLevel, ItemStack item, Entity victim, DamageSource source, org.apache.commons.lang3.mutable.MutableFloat protection) voidEnchantment.modifyEntityFilteredValue(DataComponentType<List<ConditionalEffect<EnchantmentValueEffect>>> effectType, ServerLevel serverLevel, int enchantmentLevel, ItemStack itemStack, Entity entity, org.apache.commons.lang3.mutable.MutableFloat value) voidEnchantment.modifyFallBasedDamage(ServerLevel serverLevel, int enchantmentLevel, ItemStack itemStack, Entity victim, DamageSource damageSource, org.apache.commons.lang3.mutable.MutableFloat amount) static floatEnchantmentHelper.modifyFallBasedDamage(ServerLevel serverLevel, ItemStack itemStack, Entity victim, DamageSource damageSource, float damage) voidEnchantment.modifyFishingLuckBonus(ServerLevel serverLevel, int enchantmentLevel, ItemStack itemStack, Entity fisher, org.apache.commons.lang3.mutable.MutableFloat luck) voidEnchantment.modifyFishingTimeReduction(ServerLevel serverLevel, int enchantmentLevel, ItemStack itemStack, Entity fisher, org.apache.commons.lang3.mutable.MutableFloat timeReduction) voidEnchantment.modifyKnockback(ServerLevel serverLevel, int enchantmentLevel, ItemStack itemStack, Entity victim, DamageSource damageSource, org.apache.commons.lang3.mutable.MutableFloat amount) static floatEnchantmentHelper.modifyKnockback(ServerLevel serverLevel, ItemStack itemStack, Entity victim, DamageSource damageSource, float knockback) voidEnchantment.modifyMobExperience(ServerLevel serverLevel, int enchantmentLevel, ItemStack itemStack, Entity killer, org.apache.commons.lang3.mutable.MutableFloat experience) voidEnchantment.modifyProjectileCount(ServerLevel serverLevel, int enchantmentLevel, ItemStack weapon, Entity shooter, org.apache.commons.lang3.mutable.MutableFloat count) voidEnchantment.modifyProjectileSpread(ServerLevel serverLevel, int enchantmentLevel, ItemStack weapon, Entity shooter, org.apache.commons.lang3.mutable.MutableFloat angle) voidEnchantment.modifyTridentReturnToOwnerAcceleration(ServerLevel serverLevel, int enchantmentLevel, ItemStack itemStack, Entity trident, org.apache.commons.lang3.mutable.MutableFloat count) voidEnchantment.onHitBlock(ServerLevel serverLevel, int enchantmentLevel, EnchantedItemInUse weapon, Entity projectile, Vec3 position, BlockState hitBlock) static voidEnchantmentHelper.onHitBlock(ServerLevel serverLevel, ItemStack weapon, @Nullable LivingEntity owner, Entity entity, @Nullable EquipmentSlot slot, Vec3 hitLocation, BlockState hitBlock, Consumer<Item> onBreak) voidEnchantment.onProjectileSpawned(ServerLevel serverLevel, int enchantmentLevel, EnchantedItemInUse weapon, Entity projectile) static intEnchantmentHelper.processMobExperience(ServerLevel serverLevel, @Nullable Entity killer, Entity killed, int amount) static intEnchantmentHelper.processProjectileCount(ServerLevel serverLevel, ItemStack weapon, Entity shooter, int count) static floatEnchantmentHelper.processProjectileSpread(ServerLevel serverLevel, ItemStack weapon, Entity shooter, float angle) voidEnchantment.tick(ServerLevel serverLevel, int enchantmentLevel, EnchantedItemInUse item, Entity entity) -
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 serverLevel, int enchantmentLevel, EnchantedItemInUse item, Entity entity, Vec3 position) voidApplyEntityImpulse.apply(ServerLevel serverLevel, int enchantmentLevel, EnchantedItemInUse item, Entity entity, Vec3 position) voidApplyExhaustion.apply(ServerLevel serverLevel, int enchantmentLevel, EnchantedItemInUse item, Entity entity, Vec3 position) voidApplyMobEffect.apply(ServerLevel serverLevel, int enchantmentLevel, EnchantedItemInUse item, Entity entity, Vec3 position) voidChangeItemDamage.apply(ServerLevel serverLevel, int enchantmentLevel, EnchantedItemInUse item, Entity entity, Vec3 position) voidDamageEntity.apply(ServerLevel serverLevel, int enchantmentLevel, EnchantedItemInUse item, Entity entity, Vec3 position) voidEnchantmentEntityEffect.apply(ServerLevel serverLevel, int enchantmentLevel, EnchantedItemInUse item, Entity entity, Vec3 position) voidExplodeEffect.apply(ServerLevel serverLevel, int enchantmentLevel, EnchantedItemInUse item, Entity entity, Vec3 position) voidIgnite.apply(ServerLevel serverLevel, int enchantmentLevel, EnchantedItemInUse item, Entity entity, Vec3 position) voidPlaySoundEffect.apply(ServerLevel serverLevel, int enchantmentLevel, EnchantedItemInUse item, Entity entity, Vec3 position) voidReplaceBlock.apply(ServerLevel serverLevel, int enchantmentLevel, EnchantedItemInUse item, Entity entity, Vec3 position) voidReplaceDisk.apply(ServerLevel serverLevel, int enchantmentLevel, EnchantedItemInUse item, Entity entity, Vec3 position) voidRunFunction.apply(ServerLevel serverLevel, int enchantmentLevel, EnchantedItemInUse item, Entity entity, Vec3 position) voidSetBlockProperties.apply(ServerLevel serverLevel, int enchantmentLevel, EnchantedItemInUse item, Entity entity, Vec3 position) voidSpawnParticlesEffect.apply(ServerLevel serverLevel, int enchantmentLevel, EnchantedItemInUse item, Entity entity, Vec3 position) voidSummonEntityEffect.apply(ServerLevel serverLevel, int enchantmentLevel, EnchantedItemInUse item, Entity entity, Vec3 position) private @Nullable DamageSourceExplodeEffect.getDamageSource(Entity entity, Vec3 position) voidAllOf.LocationBasedEffects.onChangedBlock(ServerLevel serverLevel, int enchantmentLevel, EnchantedItemInUse item, Entity entity, Vec3 position, boolean becameActive) voidEnchantmentAttributeEffect.onChangedBlock(ServerLevel serverLevel, int enchantmentLevel, EnchantedItemInUse item, Entity entity, Vec3 position, boolean becameActive) default voidEnchantmentEntityEffect.onChangedBlock(ServerLevel serverLevel, int enchantmentLevel, EnchantedItemInUse item, Entity entity, Vec3 position, boolean becameActive) voidEnchantmentLocationBasedEffect.onChangedBlock(ServerLevel serverLevel, int enchantmentLevel, EnchantedItemInUse item, Entity entity, Vec3 position, boolean becameActive) voidAllOf.LocationBasedEffects.onDeactivated(EnchantedItemInUse item, Entity entity, Vec3 position, int level) voidEnchantmentAttributeEffect.onDeactivated(EnchantedItemInUse item, Entity entity, Vec3 position, int level) default voidEnchantmentLocationBasedEffect.onDeactivated(EnchantedItemInUse item, Entity entity, Vec3 position, int level) -
Uses of Entity in net.minecraft.world.level
Fields in net.minecraft.world.level declared as EntityModifier and TypeFieldDescriptionprivate @Nullable EntityBaseSpawner.displayEntityprivate final EntityEntityBasedExplosionDamageCalculator.sourceprivate final @Nullable EntityServerExplosion.sourceMethods in net.minecraft.world.level with type parameters of type EntityModifier and TypeMethodDescriptionEntityGetter.getEntities(EntityTypeTest<Entity, T> type, AABB bb, Predicate<? super T> selector) Level.getEntities(EntityTypeTest<Entity, T> type, AABB bb, Predicate<? super T> selector) <T extends Entity>
voidLevel.getEntities(EntityTypeTest<Entity, T> type, AABB bb, Predicate<? super T> selector, List<? super T> output) <T extends Entity>
voidLevel.getEntities(EntityTypeTest<Entity, T> type, AABB bb, Predicate<? super T> selector, List<? super T> output, int maxResults) EntityGetter.getEntitiesOfClass(Class<T> baseClass, AABB bb) EntityGetter.getEntitiesOfClass(Class<T> baseClass, AABB bb, Predicate<? super T> selector) <T extends Entity>
voidLevel.guardEntityTick(Consumer<T> tick, T entity) <T extends Entity>
booleanLevel.hasEntities(EntityTypeTest<Entity, T> type, AABB bb, Predicate<? super T> selector) Methods in net.minecraft.world.level that return EntityModifier and TypeMethodDescription@Nullable EntityExplosion.getDirectSourceEntity()@Nullable EntityServerExplosion.getDirectSourceEntity()abstract @Nullable EntityLevel.getEntity(int id) @Nullable Entity@Nullable EntityLevel.getEntityInAnyDimension(UUID uuid) @Nullable EntityBaseSpawner.getOrCreateDisplayEntity(Level level, BlockPos pos) Methods in net.minecraft.world.level that return types with arguments of type EntityModifier and TypeMethodDescriptionEntityGetter.getEntities(@Nullable Entity except, AABB bb) EntityGetter.getEntities(@Nullable Entity except, AABB bb, Predicate<? super Entity> selector) protected abstract LevelEntityGetter<Entity> Level.getEntities()Level.getEntities(@Nullable Entity except, AABB bb, Predicate<? super Entity> selector) @Nullable Either<BlockEntity, Entity> BaseSpawner.getOwner()Level.getPushableEntities(Entity pusher, AABB boundingBox) Methods in net.minecraft.world.level with parameters of type EntityModifier and TypeMethodDescriptiondefault booleanLevelWriter.addFreshEntity(Entity entity) default voidServerLevelAccessor.addFreshEntityWithPassengers(Entity entity) private @Nullable VoxelShapeCollisionGetter.borderCollision(Entity source, AABB box) voidLevel.broadcastDamageEvent(Entity entity, DamageSource source) voidLevel.broadcastEntityEvent(Entity entity, byte event) default booleanCollisionGetter.collidesWithSuffocatingBlock(@Nullable Entity source, AABB box) booleanLevel.destroyBlock(BlockPos pos, boolean dropResources, @Nullable Entity breaker, int updateLimit) default booleanLevelWriter.destroyBlock(BlockPos pos, boolean dropResources, @Nullable Entity breaker) booleanLevelWriter.destroyBlock(BlockPos pos, boolean dropResources, @Nullable Entity breaker, int updateLimit) voidLevel.explode(@Nullable Entity source, double x, double y, double z, float r, boolean fire, Level.ExplosionInteraction blockInteraction) voidLevel.explode(@Nullable Entity source, double x, double y, double z, float r, Level.ExplosionInteraction blockInteraction) voidLevel.explode(@Nullable Entity source, @Nullable DamageSource damageSource, @Nullable ExplosionDamageCalculator damageCalculator, double x, double y, double z, float r, boolean fire, Level.ExplosionInteraction interactionType) abstract voidLevel.explode(@Nullable Entity source, @Nullable DamageSource damageSource, @Nullable ExplosionDamageCalculator damageCalculator, double x, double y, double z, float r, boolean fire, Level.ExplosionInteraction interactionType, ParticleOptions smallExplosionParticles, ParticleOptions largeExplosionParticles, WeightedList<ExplosionParticleInfo> blockParticles, Holder<SoundEvent> explosionSound) voidLevel.explode(@Nullable Entity source, @Nullable DamageSource damageSource, @Nullable ExplosionDamageCalculator damageCalculator, Vec3 boomPos, float r, boolean fire, Level.ExplosionInteraction blockInteraction) CollisionGetter.findFreePosition(@Nullable Entity source, VoxelShape allowedCenters, Vec3 preferredCenter, double sizeX, double sizeY, double sizeZ) CollisionGetter.findSupportingBlock(Entity source, AABB box) default voiddefault voiddefault Iterable<VoxelShape> CollisionGetter.getBlockAndLiquidCollisions(@Nullable Entity source, AABB box) default Iterable<VoxelShape> CollisionGetter.getBlockCollisions(@Nullable Entity source, AABB box) default Iterable<VoxelShape> CollisionGetter.getCollisions(@Nullable Entity source, AABB box) static DamageSourceExplosion.getDefaultDamageSource(Level level, @Nullable Entity source) EntityGetter.getEntities(@Nullable Entity except, AABB bb) EntityGetter.getEntities(@Nullable Entity except, AABB bb, Predicate<? super Entity> selector) Level.getEntities(@Nullable Entity except, AABB bb, Predicate<? super Entity> selector) CollisionGetter.getEntityCollisions(@Nullable Entity source, AABB testArea) default List<VoxelShape> CommonLevelAccessor.getEntityCollisions(@Nullable Entity source, AABB testArea) default List<VoxelShape> EntityGetter.getEntityCollisions(@Nullable Entity source, AABB testArea) PathNavigationRegion.getEntityCollisions(@Nullable Entity source, AABB testArea) floatExplosionDamageCalculator.getEntityDamageAmount(Explosion explosion, Entity entity, float exposure) static @Nullable LivingEntityExplosion.getIndirectSourceEntity(@Nullable Entity source) floatExplosionDamageCalculator.getKnockbackMultiplier(Entity entity) floatSimpleExplosionDamageCalculator.getKnockbackMultiplier(Entity entity) default @Nullable PlayerEntityGetter.getNearestPlayer(Entity source, double maxDist) default Iterable<VoxelShape> CollisionGetter.getPreMoveCollisions(@Nullable Entity source, AABB box, Vec3 oldPos) Level.getPushableEntities(Entity pusher, AABB boundingBox) static floatServerExplosion.getSeenPercent(Vec3 center, Entity entity) default booleanCollisionGetter.isUnobstructed(@Nullable Entity source, VoxelShape shape) default booleanCollisionGetter.isUnobstructed(Entity ignore) default booleanCommonLevelAccessor.isUnobstructed(@Nullable Entity source, VoxelShape shape) default booleanEntityGetter.isUnobstructed(@Nullable Entity source, VoxelShape shape) voidLevelAccessor.levelEvent(@Nullable Entity source, int type, BlockPos pos, int data) booleanLevel.loadedAndEntityCanStandOn(BlockPos pos, Entity entity) booleanLevel.loadedAndEntityCanStandOnFace(BlockPos pos, Entity entity, Direction faceDirection) private ExplosionDamageCalculatorServerExplosion.makeDamageCalculator(@Nullable Entity source) booleanLevel.mayInteract(Entity entity, BlockPos pos) default booleanCollisionGetter.noBlockCollision(@Nullable Entity entity, AABB aabb) default booleanCollisionGetter.noBlockCollision(@Nullable Entity entity, AABB aabb, boolean alwaysCollideWithFluids) default booleanCollisionGetter.noBorderCollision(@Nullable Entity entity, AABB aabb) default booleanCollisionGetter.noCollision(@Nullable Entity entity, AABB aabb) default booleanCollisionGetter.noCollision(@Nullable Entity entity, AABB aabb, boolean alwaysCollideWithFluids) default booleanCollisionGetter.noCollision(Entity source) default booleanCollisionGetter.noEntityCollision(@Nullable Entity entity, AABB aabb) voidLevel.playLocalSound(Entity sourceEntity, SoundEvent sound, SoundSource source, float volume, float pitch) abstract voidLevel.playSeededSound(@Nullable Entity except, double x, double y, double z, Holder<SoundEvent> sound, SoundSource source, float volume, float pitch, long seed) voidLevel.playSeededSound(@Nullable Entity except, double x, double y, double z, SoundEvent sound, SoundSource source, float volume, float pitch, long seed) abstract voidLevel.playSeededSound(@Nullable Entity except, Entity sourceEntity, Holder<SoundEvent> sound, SoundSource source, float volume, float pitch, long seed) voidLevel.playSound(@Nullable Entity except, double x, double y, double z, Holder<SoundEvent> sound, SoundSource source, float volume, float pitch) voidLevel.playSound(@Nullable Entity except, double x, double y, double z, SoundEvent sound, SoundSource source) voidLevel.playSound(@Nullable Entity except, double x, double y, double z, SoundEvent sound, SoundSource source, float volume, float pitch) voidLevel.playSound(@Nullable Entity except, BlockPos pos, SoundEvent sound, SoundSource source, float volume, float pitch) voidLevel.playSound(@Nullable Entity except, Entity sourceEntity, SoundEvent sound, SoundSource source, float volume, float pitch) default voidLevelAccessor.playSound(@Nullable Entity except, BlockPos pos, SoundEvent soundEvent, SoundSource source) voidLevelAccessor.playSound(@Nullable Entity except, BlockPos pos, SoundEvent sound, SoundSource source, float volume, float pitch) booleanExplosionDamageCalculator.shouldDamageEntity(Explosion explosion, Entity entity) booleanSimpleExplosionDamageCalculator.shouldDamageEntity(Explosion explosion, Entity entity) booleanLevel.shouldTickDeath(Entity entity) Method parameters in net.minecraft.world.level with type arguments of type EntityModifier and TypeMethodDescriptionstatic NaturalSpawner.SpawnStateNaturalSpawner.createState(int spawnableChunkCount, Iterable<Entity> entities, NaturalSpawner.ChunkGetter chunkGetter, LocalMobCapCalculator localMobCapCalculator) EntityGetter.getEntities(@Nullable Entity except, AABB bb, Predicate<? super Entity> selector) EntityGetter.getEntities(EntityTypeTest<Entity, T> type, AABB bb, Predicate<? super T> selector) Level.getEntities(@Nullable Entity except, AABB bb, Predicate<? super Entity> selector) Level.getEntities(EntityTypeTest<Entity, T> type, AABB bb, Predicate<? super T> selector) <T extends Entity>
voidLevel.getEntities(EntityTypeTest<Entity, T> type, AABB bb, Predicate<? super T> selector, List<? super T> output) <T extends Entity>
voidLevel.getEntities(EntityTypeTest<Entity, T> type, AABB bb, Predicate<? super T> selector, List<? super T> output, int maxResults) default @Nullable PlayerEntityGetter.getNearestPlayer(double x, double y, double z, double range, @Nullable Predicate<Entity> predicate) <T extends Entity>
booleanLevel.hasEntities(EntityTypeTest<Entity, T> type, AABB bb, Predicate<? super T> selector) Constructors in net.minecraft.world.level with parameters of type EntityModifierConstructorDescriptionBlockCollisions(CollisionGetter collisionGetter, @Nullable Entity source, AABB box, boolean onlySuffocatingBlocks, BiFunction<BlockPos.MutableBlockPos, VoxelShape, T> resultProvider) ClipContext(Vec3 from, Vec3 to, ClipContext.Block block, ClipContext.Fluid fluid, Entity entity) ServerExplosion(ServerLevel level, @Nullable Entity source, @Nullable DamageSource damageSource, @Nullable ExplosionDamageCalculator damageCalculator, Vec3 center, float radius, boolean fire, Explosion.BlockInteraction blockInteraction) -
Uses of Entity in net.minecraft.world.level.block
Methods in net.minecraft.world.level.block with parameters of type EntityModifier and TypeMethodDescriptionvoidSculkSensorBlock.activate(@Nullable Entity sourceEntity, Level level, BlockPos pos, BlockState state, int calculatedPower, int vibrationFrequency) private static BlockStateComposterBlock.addItem(@Nullable Entity sourceEntity, BlockState state, LevelAccessor level, BlockPos pos, ItemStack itemStack) booleanBellBlock.attemptToRing(@Nullable Entity ringingEntity, Level level, BlockPos pos, @Nullable Direction direction) private voidprivate voidprivate booleanTurtleEggBlock.canDestroyEgg(ServerLevel level, Entity entity) private static booleanBigDripleafBlock.canEntityTilt(BlockPos pos, Entity entity) static booleanPowderSnowBlock.canEntityWalkOnPowderSnow(Entity entity) static voidRespawnAnchorBlock.charge(@Nullable Entity sourceEntity, Level level, BlockPos pos, BlockState state) private voidBasePressurePlateBlock.checkPressed(@Nullable Entity sourceEntity, Level level, BlockPos pos, BlockState state, int oldSignal) private static TeleportTransitionNetherPortalBlock.createDimensionTransition(ServerLevel newLevel, BlockUtil.FoundRectangle foundRectangle, Direction.Axis portalAxis, Vec3 offset, Entity entity, TeleportTransition.PostTeleportTransition postTeleportTransition) private voidTurtleEggBlock.destroyEgg(Level level, BlockState state, BlockPos pos, Entity entity, int randomness) private static booleanHoneyBlock.doesEntityDoHoneyBlockSlideEffects(Entity entity) private voidHoneyBlock.doSlideMovement(Entity entity) static voidCampfireBlock.dowse(@Nullable Entity source, LevelAccessor level, BlockPos pos, BlockState state) protected static booleanBlock.dropFromBlockInteractLootTable(ServerLevel level, ResourceKey<LootTable> key, BlockState interactedBlockState, @Nullable BlockEntity interactedBlockEntity, @Nullable ItemInstance tool, @Nullable Entity interactingEntity, BiConsumer<ServerLevel, ItemStack> consumer) static voidBeehiveBlock.dropHoneycomb(ServerLevel level, ItemStack tool, BlockState blockState, @Nullable BlockEntity blockEntity, @Nullable Entity entity, BlockPos pos) static voidBlock.dropResources(BlockState state, Level level, BlockPos pos, @Nullable BlockEntity blockEntity, @Nullable Entity breaker, ItemStack tool) private static BlockStateComposterBlock.empty(@Nullable Entity sourceEntity, BlockState state, LevelAccessor level, BlockPos pos) protected voidBaseFireBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise) protected voidBasePressurePlateBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise) protected voidBigDripleafBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise) protected voidBubbleColumnBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise) protected voidButtonBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise) protected voidCactusBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise) protected voidCampfireBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise) protected voidCropBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise) protected voidDetectorRailBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise) protected voidEndGatewayBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise) protected voidEndPortalBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise) protected voidEyeblossomBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise) protected voidFrogspawnBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise) protected voidHoneyBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise) protected voidHopperBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise) protected voidLavaCauldronBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise) protected voidLayeredCauldronBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise) protected voidLilyPadBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise) protected voidNetherPortalBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise) voidPitcherCropBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise) protected voidPowderSnowBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise) protected voidSweetBerryBushBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise) protected voidTripWireBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise) protected voidWebBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise) protected voidWitherRoseBlock.entityInside(BlockState state, Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise) static BlockStateComposterBlock.extractProduce(Entity sourceEntity, BlockState state, Level level, BlockPos pos) voidBedBlock.fallOn(Level level, BlockState state, BlockPos pos, Entity entity, double fallDistance) voidBlock.fallOn(Level level, BlockState state, BlockPos pos, Entity entity, double fallDistance) voidFarmlandBlock.fallOn(Level level, BlockState state, BlockPos pos, Entity entity, double fallDistance) voidHayBlock.fallOn(Level level, BlockState state, BlockPos pos, Entity entity, double fallDistance) voidHoneyBlock.fallOn(Level level, BlockState state, BlockPos pos, Entity entity, double fallDistance) voidPointedDripstoneBlock.fallOn(Level level, BlockState state, BlockPos pos, Entity entity, double fallDistance) voidPowderSnowBlock.fallOn(Level level, BlockState state, BlockPos pos, Entity entity, double fallDistance) voidSlimeBlock.fallOn(Level level, BlockState state, BlockPos pos, Entity entity, double fallDistance) voidTurtleEggBlock.fallOn(Level level, BlockState state, BlockPos pos, Entity entity, double fallDistance) static voidBaseFireBlock.fireIgnite(Entity entity) private static TeleportTransitionNetherPortalBlock.getDimensionTransitionFromExit(Entity entity, BlockPos portalEntryPos, BlockUtil.FoundRectangle exitPortal, ServerLevel newLevel, TeleportTransition.PostTeleportTransition postTeleportTransition) Block.getDrops(BlockState state, ServerLevel level, BlockPos pos, @Nullable BlockEntity blockEntity, @Nullable Entity breaker, ItemInstance tool) protected VoxelShapeEndPortalBlock.getEntityInsideCollisionShape(BlockState state, BlockGetter level, BlockPos pos, Entity entity) protected VoxelShapeLavaCauldronBlock.getEntityInsideCollisionShape(BlockState state, BlockGetter level, BlockPos pos, Entity entity) protected VoxelShapeLayeredCauldronBlock.getEntityInsideCollisionShape(BlockState state, BlockGetter level, BlockPos pos, Entity entity) protected VoxelShapePowderSnowBlock.getEntityInsideCollisionShape(BlockState state, BlockGetter level, BlockPos pos, Entity entity) protected VoxelShapeTripWireBlock.getEntityInsideCollisionShape(BlockState state, BlockGetter level, BlockPos pos, Entity entity) private @Nullable TeleportTransitionNetherPortalBlock.getExitPortal(ServerLevel newLevel, Entity entity, BlockPos portalEntryPos, BlockPos approximateExitPos, boolean toNether, WorldBorder worldBorder) intDropExperienceBlock.getExpDrop(BlockState state, LevelAccessor level, BlockPos pos, @Nullable BlockEntity blockEntity, @Nullable Entity breaker, ItemStack tool) intRedStoneOreBlock.getExpDrop(BlockState state, LevelAccessor level, BlockPos pos, @Nullable BlockEntity blockEntity, @Nullable Entity breaker, ItemStack tool) intSculkCatalystBlock.getExpDrop(BlockState state, LevelAccessor level, BlockPos pos, @Nullable BlockEntity blockEntity, @Nullable Entity breaker, ItemStack tool) intSculkSensorBlock.getExpDrop(BlockState state, LevelAccessor level, BlockPos pos, @Nullable BlockEntity blockEntity, @Nullable Entity breaker, ItemStack tool) intSculkShriekerBlock.getExpDrop(BlockState state, LevelAccessor level, BlockPos pos, @Nullable BlockEntity blockEntity, @Nullable Entity breaker, ItemStack tool) intSpawnerBlock.getExpDrop(BlockState state, LevelAccessor level, BlockPos pos, @Nullable BlockEntity blockEntity, @Nullable Entity breaker, ItemStack tool) AnvilBlock.getFallDamageSource(Entity entity) default DamageSourceFallable.getFallDamageSource(Entity entity) PointedDripstoneBlock.getFallDamageSource(Entity entity) @Nullable TeleportTransitionEndGatewayBlock.getPortalDestination(ServerLevel currentLevel, Entity entity, BlockPos portalEntryPos) @Nullable TeleportTransitionEndPortalBlock.getPortalDestination(ServerLevel currentLevel, Entity entity, BlockPos portalEntryPos) @Nullable TeleportTransitionNetherPortalBlock.getPortalDestination(ServerLevel currentLevel, Entity entity, BlockPos portalEntryPos) @Nullable TeleportTransitionPortal.getPortalDestination(ServerLevel currentLevel, Entity entity, BlockPos portalEntryPos) intNetherPortalBlock.getPortalTransitionTime(ServerLevel level, Entity entity) default intPortal.getPortalTransitionTime(ServerLevel level, Entity entity) static BlockStateComposterBlock.insertItem(Entity sourceEntity, BlockState state, ServerLevel level, ItemStack itemStack, BlockPos pos) private booleanHoneyBlock.isSlidingDown(BlockPos pos, Entity entity) private voidHoneyBlock.maybeDoSlideAchievement(Entity entity, BlockPos pos) private voidHoneyBlock.maybeDoSlideEffects(Level level, Entity entity) private voidNoteBlock.playNote(@Nullable Entity source, BlockState state, Level level, BlockPos pos) private voidstatic voidLecternBlock.resetBookState(@Nullable Entity sourceEntity, Level level, BlockPos pos, BlockState state, boolean hasBook) voidDoorBlock.setOpen(@Nullable Entity sourceEntity, Level level, BlockState state, BlockPos pos, boolean shouldOpen) static voidHoneyBlock.showJumpParticles(Entity entity) private static voidHoneyBlock.showParticles(Entity entity, int count) static voidHoneyBlock.showSlideParticles(Entity entity) private static voidCarvedPumpkinBlock.spawnGolemInWorld(Level level, BlockPattern.BlockPatternMatch match, Entity golem, BlockPos spawnPos) voidBlock.stepOn(Level level, BlockPos pos, BlockState onState, Entity entity) voidMagmaBlock.stepOn(Level level, BlockPos pos, BlockState onState, Entity entity) voidRedStoneOreBlock.stepOn(Level level, BlockPos pos, BlockState onState, Entity entity) voidSculkSensorBlock.stepOn(Level level, BlockPos pos, BlockState onState, Entity entity) voidSculkShriekerBlock.stepOn(Level level, BlockPos pos, BlockState onState, Entity entity) voidSlimeBlock.stepOn(Level level, BlockPos pos, BlockState onState, Entity entity) voidTurtleEggBlock.stepOn(Level level, BlockPos pos, BlockState onState, Entity entity) static voidSculkSensorBlock.tryResonateVibration(@Nullable Entity sourceEntity, Level level, BlockPos pos, int vibrationFrequency) static voidFarmlandBlock.turnToDirt(@Nullable Entity sourceEntity, BlockState state, Level level, BlockPos pos) voidBedBlock.updateEntityMovementAfterFallOn(BlockGetter level, Entity entity) voidBlock.updateEntityMovementAfterFallOn(BlockGetter level, Entity entity) voidSlimeBlock.updateEntityMovementAfterFallOn(BlockGetter level, Entity entity) private static intTargetBlock.updateRedstoneOutput(LevelAccessor level, BlockState state, BlockHitResult hitResult, Entity entity) static InteractionResultCaveVines.use(Entity sourceEntity, BlockState state, Level level, BlockPos pos) Method parameters in net.minecraft.world.level.block with type arguments of type EntityModifier and TypeMethodDescriptionprivate voidTripWireBlock.checkPressed(Level level, BlockPos pos, List<? extends Entity> entities) protected static intBasePressurePlateBlock.getEntityCount(Level level, AABB entityDetectionBox, Class<? extends Entity> entityClass) private <T extends AbstractMinecart>
List<T> DetectorRailBlock.getInteractingMinecartOfType(Level level, BlockPos pos, Class<T> type, Predicate<Entity> containerEntitySelector) -
Uses of Entity in net.minecraft.world.level.block.entity
Methods in net.minecraft.world.level.block.entity that return EntityModifier and TypeMethodDescription@Nullable EntityBeehiveBlockEntity.Occupant.createEntity(Level level, BlockPos hivePos) Methods in net.minecraft.world.level.block.entity that return types with arguments of type EntityModifier and TypeMethodDescriptionBeehiveBlockEntity.releaseAllOccupants(BlockState state, BeehiveBlockEntity.BeeReleaseStatus releaseStatus) Methods in net.minecraft.world.level.block.entity with parameters of type EntityModifier and TypeMethodDescriptionprivate static voidConduitBlockEntity.animationTick(Level level, BlockPos worldPosition, List<BlockPos> effectBlocks, @Nullable Entity destroyTarget, int tickCount) static voidHopperBlockEntity.entityInside(Level level, BlockPos pos, BlockState blockState, Entity entity, HopperBlockEntity hopper) private booleanContainerOpenersCounter.hasContainerOpen(Entity entity, BlockPos blockPos) static BeehiveBlockEntity.OccupantvoidSculkSensorBlockEntity.VibrationUser.onReceiveVibration(ServerLevel level, BlockPos pos, Holder<GameEvent> event, @Nullable Entity sourceEntity, @Nullable Entity projectileOwner, float receivingDistance) voidSculkShriekerBlockEntity.VibrationUser.onReceiveVibration(ServerLevel level, BlockPos pos, Holder<GameEvent> event, @Nullable Entity sourceEntity, @Nullable Entity projectileOwner, float receivingDistance) private voidSculkShriekerBlockEntity.shriek(ServerLevel level, @Nullable Entity sourceEntity) static @Nullable ServerPlayerSculkShriekerBlockEntity.tryGetPlayer(@Nullable Entity sourceEntity) Method parameters in net.minecraft.world.level.block.entity with type arguments of type EntityModifier and TypeMethodDescriptionprivate static booleanBeehiveBlockEntity.releaseOccupant(Level level, BlockPos blockPos, BlockState state, BeehiveBlockEntity.Occupant beeData, @Nullable List<Entity> spawned, BeehiveBlockEntity.BeeReleaseStatus releaseStatus, @Nullable BlockPos savedFlowerPos) -
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 TypeMethodDescriptionTrialSpawnerConfigs.customSpawnData(EntityType<T> type, Consumer<CompoundTag> tagModifier) TrialSpawnerConfigs.customSpawnDataWithEquipment(EntityType<T> type, Consumer<CompoundTag> tagModifier, @Nullable ResourceKey<LootTable> equipmentLootTable) PlayerDetector.EntitySelector.getEntities(ServerLevel level, EntityTypeTest<Entity, T> type, AABB bb, Predicate<? super T> selector) TrialSpawnerConfigs.spawnData(EntityType<T> type) TrialSpawnerConfigs.spawnDataWithEquipment(EntityType<T> type, ResourceKey<LootTable> equipmentLootTable) Methods in net.minecraft.world.level.block.entity.trialspawner that return EntityModifier and TypeMethodDescription@Nullable EntityTrialSpawnerStateData.getOrCreateDisplayEntity(TrialSpawner trialSpawner, Level level, TrialSpawnerState state) private static @Nullable EntityTrialSpawnerState.selectEntityToSpawnItemAbove(List<Player> nearbyPlayers, Set<UUID> mobIds, TrialSpawner trialSpawner, BlockPos spawnerPos, ServerLevel level) Methods in net.minecraft.world.level.block.entity.trialspawner that return types with arguments of type EntityMethods in net.minecraft.world.level.block.entity.trialspawner with parameters of type EntityModifier and TypeMethodDescriptionTrialSpawnerState.calculatePositionAbove(Entity entityToSpawnItemAbove, ServerLevel level) Method parameters in net.minecraft.world.level.block.entity.trialspawner with type arguments of type EntityModifier and TypeMethodDescriptionPlayerDetector.EntitySelector.getEntities(ServerLevel level, EntityTypeTest<Entity, T> type, AABB bb, Predicate<? super T> selector) -
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 pos, Entity entity, Direction direction, double deltaProgress) private static booleanPistonMovingBlockEntity.matchesStickyCritera(AABB aabb, Entity entity, BlockPos pos) private static voidPistonMovingBlockEntity.moveEntityByPiston(Direction pistonDirection, Entity entity, double delta, Direction movement) -
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 level, BlockPos pos, Entity entity) final booleanBlockBehaviour.BlockStateBase.entityCanStandOnFace(BlockGetter level, BlockPos pos, Entity entity, Direction faceDirection) voidBlockBehaviour.BlockStateBase.entityInside(Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise) protected voidBlockBehaviour.entityInside(BlockState state, Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise) BlockBehaviour.BlockStateBase.getEntityInsideCollisionShape(BlockGetter level, BlockPos pos, Entity entity) protected VoxelShapeBlockBehaviour.getEntityInsideCollisionShape(BlockState state, BlockGetter level, BlockPos pos, Entity entity) -
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 entity) booleanWorldBorder.isInsideCloseToBorder(Entity source, AABB boundingBox) -
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
Classes in net.minecraft.world.level.chunk.storage that implement interfaces with type arguments of type EntityMethods in net.minecraft.world.level.chunk.storage that return types with arguments of type EntityModifier and TypeMethodDescriptionprivate static ChunkEntities<Entity> EntityStorage.emptyChunk(ChunkPos pos) EntityStorage.loadEntities(ChunkPos pos) Method parameters in net.minecraft.world.level.chunk.storage with type arguments of type Entity -
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 @Nullable 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 @Nullable 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 TypeMethodDescription@Nullable EntityGameEvent.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(@Nullable Entity sourceEntity, @Nullable BlockState state) Constructors in net.minecraft.world.level.gameevent with parameters of type EntityModifierConstructorDescriptionContext(@Nullable Entity sourceEntity, @Nullable BlockState affectedState) Creates an instance of aContextrecord class.EntityPositionSource(Entity entity, float yOffset) Constructor parameters in net.minecraft.world.level.gameevent with type arguments of type Entity -
Uses of Entity in net.minecraft.world.level.gameevent.vibrations
Fields in net.minecraft.world.level.gameevent.vibrations declared as EntityModifier and TypeFieldDescriptionprivate final @Nullable EntityVibrationInfo.entityThe field for theentityrecord component.Methods in net.minecraft.world.level.gameevent.vibrations that return EntityModifier and TypeMethodDescription@Nullable EntityVibrationInfo.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 level) VibrationInfo.getProjectileOwner(ServerLevel level) Methods in net.minecraft.world.level.gameevent.vibrations with parameters of type EntityModifier and TypeMethodDescriptionprivate static @Nullable UUIDVibrationInfo.getProjectileOwner(@Nullable Entity entity) voidVibrationSystem.User.onReceiveVibration(ServerLevel level, BlockPos pos, Holder<GameEvent> event, @Nullable Entity sourceEntity, @Nullable Entity projectileOwner, float receivingDistance) Constructors in net.minecraft.world.level.gameevent.vibrations with parameters of type EntityModifierConstructorDescriptionVibrationInfo(Holder<GameEvent> gameEvent, float distance, Vec3 pos, @Nullable UUID uuid, @Nullable UUID projectileOwnerUuid, @Nullable Entity entity) Creates an instance of aVibrationInforecord class.VibrationInfo(Holder<GameEvent> gameEvent, float distance, Vec3 pos, @Nullable Entity entity) -
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(ProblemReporter reporter, ServerLevelAccessor level, CompoundTag tag) -
Uses of Entity in net.minecraft.world.level.material
Methods in net.minecraft.world.level.material with parameters of type EntityModifier and TypeMethodDescriptionprotected voidFluid.entityInside(Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier) voidFluidState.entityInside(Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier) protected voidLavaFluid.entityInside(Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier) protected voidWaterFluid.entityInside(Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier) -
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 entity, int index) Path.getNextEntityPos(Entity entity) -
Uses of Entity in net.minecraft.world.level.portal
Methods in net.minecraft.world.level.portal with parameters of type EntityModifier and TypeMethodDescriptionprivate static Vec3TeleportTransition.findAdjustedSharedSpawnPos(ServerLevel newLevel, Entity entity) static Vec3PortalShape.findCollisionFreePosition(Vec3 bottomCenter, ServerLevel serverLevel, Entity entity, EntityDimensions dimensions) voidTeleportTransition.PostTeleportTransition.onTransition(Entity entity) private static voidTeleportTransition.placePortalTicket(Entity entity) private static voidTeleportTransition.playPortalSound(Entity entity) -
Uses of Entity in net.minecraft.world.level.storage.loot
Classes in net.minecraft.world.level.storage.loot that implement interfaces with type arguments of type EntityFields in net.minecraft.world.level.storage.loot with type parameters of type EntityModifier and TypeFieldDescriptionprivate final ContextKey<? extends Entity> LootContext.EntityTarget.paramMethods in net.minecraft.world.level.storage.loot that return types with arguments of type EntityModifier and TypeMethodDescriptionContextKey<? extends Entity> LootContext.EntityTarget.contextParam()Method parameters in net.minecraft.world.level.storage.loot with type arguments of type EntityModifier and TypeMethodDescriptionLootContextArg.ArgCodecBuilder.anyEntity(Function<? super ContextKey<? extends Entity>, ? extends LootContextArg<R>> function) Constructor parameters in net.minecraft.world.level.storage.loot with type arguments of type EntityModifierConstructorDescriptionprivateEntityTarget(String name, ContextKey<? extends Entity> param) -
Uses of Entity in net.minecraft.world.level.storage.loot.functions
Method parameters in net.minecraft.world.level.storage.loot.functions with type arguments of type EntityModifier and TypeMethodDescriptionCopyComponentsFunction.copyComponentsFromEntity(ContextKey<? extends Entity> source) -
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 ContextKey<Entity> LootContextParams.ATTACKING_ENTITYstatic final ContextKey<Entity> LootContextParams.DIRECT_ATTACKING_ENTITYstatic final ContextKey<Entity> LootContextParams.INTERACTING_ENTITYstatic final ContextKey<Entity> LootContextParams.TARGET_ENTITYstatic final ContextKey<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 context, Entity entity, Scoreboard scoreboard, String objectiveName, IntRange range) -
Uses of Entity in net.minecraft.world.level.storage.loot.providers.nbt
Classes in net.minecraft.world.level.storage.loot.providers.nbt that implement interfaces with type arguments of type EntityFields in net.minecraft.world.level.storage.loot.providers.nbt with type parameters of type EntityModifier and TypeFieldDescriptionprivate final ContextKey<? extends Entity> ContextNbtProvider.EntitySource.contextParamThe field for thecontextParamrecord component.Methods in net.minecraft.world.level.storage.loot.providers.nbt that return types with arguments of type EntityModifier and TypeMethodDescriptionContextKey<? extends Entity> ContextNbtProvider.EntitySource.contextParam()Returns the value of thecontextParamrecord component.Methods in net.minecraft.world.level.storage.loot.providers.nbt with parameters of type EntityConstructor parameters in net.minecraft.world.level.storage.loot.providers.nbt with type arguments of type EntityModifierConstructorDescriptionprivateEntitySource(ContextKey<? extends Entity> contextParam) Creates an instance of aEntitySourcerecord class. -
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 entity) EntityHitResult(Entity entity, Vec3 location) -
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 EntityModifier and TypeMethodDescriptionstatic CollisionContextstatic CollisionContextstatic CollisionContextCollisionContext.withPosition(@Nullable Entity entity, double position) Constructors in net.minecraft.world.phys.shapes with parameters of type EntityModifierConstructorDescriptionprotectedEntityCollisionContext(boolean descending, boolean placement, double entityBottom, ItemStack heldItem, boolean alwaysCollideWithFluid, @Nullable Entity entity) protectedEntityCollisionContext(Entity entity, boolean alwaysCollideWithFluid, boolean placement) 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.minecraft.world.waypoints
Methods in net.minecraft.world.waypoints with parameters of type EntityModifier and TypeMethodDescriptionfloatdoubleTrackedWaypoint.AzimuthWaypoint.distanceSquared(Entity fromEntity) doubleTrackedWaypoint.ChunkWaypoint.distanceSquared(Entity fromEntity) abstract doubleTrackedWaypoint.distanceSquared(Entity fromEntity) doubleTrackedWaypoint.EmptyWaypoint.distanceSquared(Entity fromEntity) doubleTrackedWaypoint.Vec3iWaypoint.distanceSquared(Entity fromEntity) -
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).static voidAttachmentSync.syncEntityUpdate(Entity entity, AttachmentType<?> type) static voidAttachmentSync.syncInitialEntityAttachments(Entity entity, ServerPlayer to, Consumer<Packet<? super ClientGamePacketListener>> packetConsumer) Handles initial syncing of entity attachments, except for a player's own attachments. -
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 TypeMethodDescriptionRegisterCapabilitiesEvent.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 EntityModifier and TypeMethodDescription@Nullable TEntityCapability.getCapability(Entity entity, C context) -
Uses of Entity in net.neoforged.neoforge.client
Methods in net.neoforged.neoforge.client with parameters of type EntityModifier and TypeMethodDescriptionstatic booleanClientHooks.loadEntityShader(@Nullable Entity entity, GameRenderer gameRenderer) Constructors in net.neoforged.neoforge.client with parameters of type EntityModifierConstructorDescriptionClientCommandSourceStack(CommandSource source, Vec3 position, Vec2 rotation, PermissionSet permissions, String plainTextName, Component displayName, Entity executing) -
Uses of Entity in net.neoforged.neoforge.client.event
Fields in net.neoforged.neoforge.client.event declared as EntityMethods in net.neoforged.neoforge.client.event with type parameters of type EntityModifier and TypeMethodDescription<T extends Entity, R extends EntityRenderer<T,?>>
@Nullable 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.Methods in net.neoforged.neoforge.client.event that return EntityModifier and TypeMethodDescriptionRenderNameTagEvent.CanRender.getEntity()Returns the entity whose nameplate is being rendered.Constructors in net.neoforged.neoforge.client.event with parameters of type EntityModifierConstructorDescriptionCanRender(Entity entity, EntityRenderState renderState, @Nullable Component content, EntityRenderer<?, ?> entityRenderer, 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.client.renderstate
Methods in net.neoforged.neoforge.client.renderstate with type parameters of type EntityModifier and TypeMethodDescriptionstatic <E extends Entity, S extends EntityRenderState>
voidRenderStateExtensions.onUpdateEntityRenderState(EntityRenderer<E, S> renderer, E entity, S renderState) <E extends Entity, S extends EntityRenderState>
voidRegisterRenderStateModifiersEvent.registerEntityModifier(com.google.common.reflect.TypeToken<? extends EntityRenderer<? extends E, ? extends S>> baseRenderer, BiConsumer<E, S> modifier) Registers a render state modifier forEntityRenderStates which are run after all vanilla data is extracted.<E extends Entity, S extends EntityRenderState>
voidRegisterRenderStateModifiersEvent.registerEntityModifier(Class<? extends EntityRenderer<? extends E, ? extends S>> baseRenderer, BiConsumer<E, S> modifier) Convenience method for cases where generics are not present.Method parameters in net.neoforged.neoforge.client.renderstate with type arguments of type EntityModifier and TypeMethodDescriptionprivate static voidRegisterRenderStateModifiersEvent.ensureParametersMatchBounds(com.google.common.reflect.TypeToken<? extends EntityRenderer<? extends Entity, ? extends EntityRenderState>> baseRenderer) -
Uses of Entity in net.neoforged.neoforge.common
Methods in net.neoforged.neoforge.common with parameters of type EntityModifier and TypeMethodDescriptionstatic booleanCommonHooks.canMobEffectBeApplied(LivingEntity entity, MobEffectInstance effect, @Nullable Entity source) Checks if a mob effect can be applied to an entity by firingMobEffectEvent.Applicable.static CriticalHitEventCommonHooks.fireCriticalHit(Player player, Entity target, boolean vanillaCritical, float damageModifier) Fires theCriticalHitEventand returns the resulting event.static SweepAttackEventCommonHooks.fireSweepAttack(Player player, Entity target, boolean isVanillaSweep) Fires theSweepAttackEventand 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) 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.static booleanCommonHooks.isEntityInvulnerableTo(Entity entity, DamageSource source, boolean isInvul) Creates and posts anEntityInvulnerabilityCheckEvent.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(ServerLevel level, BlockPos pos, BlockState state, double 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) booleanSnowBootsEntityPredicate.matches(Entity entity, ServerLevel level, @Nullable Vec3 position) booleanTridentEntityPredicate.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 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 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 voidSame asGameTestHelper.fail(Component, Entity), but for untranslated messages.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.default voidIBlockExtension.playStepSound(BlockState state, Level level, BlockPos pos, Entity entity, float volumeMultiplier, float pitchMultiplier) Allows a block to override the standard step sound played in:Entity.playCombinationStepSounds(BlockState, BlockState, BlockPos, BlockPos)(primary step sound only)Entity.playMuffledStepSound(BlockState, BlockPos)(usually the secondary sound in a call to the above method)Entity.playStepSound(BlockPos, BlockState)(simple step sound) The volume and pitch of any sound played in this method should be multiplied with the provided multipliers to replicate the behaviour of the callers.default voidIBlockStateExtension.playStepSound(Level level, BlockPos pos, Entity entity, float volumeMultiplier, float pitchMultiplier) Allows a block to override the standard step sound played in:Entity.playCombinationStepSounds(BlockState, BlockState, BlockPos, BlockPos)(primary step sound only)Entity.playMuffledStepSound(BlockState, BlockPos)(usually the secondary sound in a call to the above method)Entity.playStepSound(BlockPos, BlockState)(simple step sound) The volume and pitch of any sound played in this method should be multiplied with the provided multipliers to replicate the behaviour of the callers.default voidIServerChunkCacheExtension.sendToTrackingPlayers(Entity entity, CustomPacketPayload payload) Sends a payload to all players watching the given entity.default voidIServerChunkCacheExtension.sendToTrackingPlayersAndSelf(Entity entity, CustomPacketPayload payload) Sends a payload to all players watching the given 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.Methods in net.neoforged.neoforge.common.util with parameters of type EntityModifier and TypeMethodDescriptionbooleanFakePlayer.startRiding(Entity entityToRide, boolean force, boolean sendEventAndTriggers) -
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 forceNaturalSpawning) 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.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(ServerLevel 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) static EntityEvent.SizeEventHooks.getEntitySizeForge(Entity entity, Pose pose, EntityDimensions oldSize, EntityDimensions newSize) static Vec3EventHooks.getExplosionKnockback(Level level, ServerExplosion explosion, Entity entity, Vec3 initialVelocity, List<BlockPos> blocks) 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, ServerExplosion explosion, List<Entity> entities, List<BlockPos> blocks) 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>
voidRegisterSpawnPlacementsEvent.register(EntityType<T> entityType, @Nullable SpawnPlacementType placementType, @Nullable Heightmap.Types heightmap, SpawnPlacements.SpawnPredicate<T> predicate, RegisterSpawnPlacementsEvent.Operation operation) Register apredicatefor a givenentityTypeandoperationWith the option of changing theplacementTypeandheightmap.<T extends Entity>
voidRegisterSpawnPlacementsEvent.register(EntityType<T> entityType, SpawnPlacements.SpawnPredicate<T> predicate) Register an optional spawn placementpredicatefor a givenentityType<T extends Entity>
voidRegisterSpawnPlacementsEvent.register(EntityType<T> entityType, SpawnPlacements.SpawnPredicate<T> predicate, RegisterSpawnPlacementsEvent.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) EntityInvulnerabilityCheckEvent(Entity entity, DamageSource source, boolean isVanillaInvulnerable) EntityJoinLevelEvent(Entity entity, Level level) EntityJoinLevelEvent(Entity entity, Level level, boolean loadedFromDisk) EntityLeaveLevelEvent(Entity entity, Level level) EntityMobGriefingEvent(ServerLevel 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) Size(Entity entity, Pose pose, EntityDimensions oldSize, EntityDimensions newSize) 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.sourceprivate final @Nullable EntityMobEffectEvent.Applicable.sourceFields in net.neoforged.neoforge.event.entity.living with type parameters of type EntityModifier and TypeFieldDescriptionprivate final @Nullable Either<BlockEntity, Entity> FinalizeSpawnEvent.spawnerMethods in net.neoforged.neoforge.event.entity.living that return EntityModifier and TypeMethodDescription@Nullable EntityMobEffectEvent.Added.getEffectSource()@Nullable EntityMobEffectEvent.Applicable.getEffectSource()@Nullable EntityLivingEvent.LivingVisibilityEvent.getLookingEntity()Methods in net.neoforged.neoforge.event.entity.living that return types with arguments of type EntityModifier and TypeMethodDescription@Nullable 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) Applicable(LivingEntity living, MobEffectInstance effectInstance, @Nullable 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, EntitySpawnReason spawnType, @Nullable SpawnGroupData spawnData, @Nullable 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.targetprivate final EntitySweepAttackEvent.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()SweepAttackEvent.getTarget()Returns the target of the attack, which is guaranteed to be a valid attack target.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) SweepAttackEvent(Player player, Entity target, boolean isVanillaSweep) -
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, ServerExplosion explosion, Entity entity, Vec3 knockbackVelocity, List<BlockPos> blockList) FarmlandTrampleEvent(Level level, BlockPos pos, BlockState state, double 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.registries
Methods in net.neoforged.neoforge.registries with type parameters of type EntityModifier and TypeMethodDescription<E extends Entity>
DeferredHolder<EntityType<?>, EntityType<E>> DeferredRegister.Entities.registerEntityType(String name, EntityType.EntityFactory<E> factory, MobCategory category) Convenience method that constructs a builder.<E extends Entity>
DeferredHolder<EntityType<?>, EntityType<E>> DeferredRegister.Entities.registerEntityType(String name, EntityType.EntityFactory<E> factory, MobCategory category, UnaryOperator<EntityType.Builder<E>> builder) Convenience method that constructs a builder for use in the operator. -
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