Uses of Class
net.minecraft.entity.Entity
-
Uses of Entity in net.minecraft.advancement.criterion
Methods in net.minecraft.advancement.criterion with parameters of type Entity Modifier and Type Method Description voidPlayerInteractedWithEntityCriterion. test(ServerPlayerEntity player, ItemStack stack, Entity entity)voidOnKilledCriterion. trigger(ServerPlayerEntity player, Entity entity, DamageSource killingDamage)voidPlayerHurtEntityCriterion. trigger(ServerPlayerEntity player, Entity entity, DamageSource damage, float dealt, float taken, boolean blocked)voidSummonedEntityCriterion. trigger(ServerPlayerEntity player, Entity entity)voidTargetHitCriterion. trigger(ServerPlayerEntity player, Entity projectile, Vec3d hitPos, int signalStrength)voidThrownItemPickedUpByEntityCriterion. trigger(ServerPlayerEntity player, ItemStack stack, Entity entity)Method parameters in net.minecraft.advancement.criterion with type arguments of type Entity Modifier and Type Method Description voidChanneledLightningCriterion. trigger(ServerPlayerEntity player, Collection<? extends Entity> victims)voidKilledByCrossbowCriterion. trigger(ServerPlayerEntity player, Collection<Entity> piercingKilledEntities) -
Uses of Entity in net.minecraft.block
Fields in net.minecraft.block with type parameters of type Entity Modifier and Type Field Description private Optional<Entity>EntityShapeContext. entityMethods in net.minecraft.block that return types with arguments of type Entity Modifier and Type Method Description Optional<Entity>EntityShapeContext. getEntity()default Predicate<Entity>LandingBlock. getEntityPredicate()Predicate<Entity>PointedDripstoneBlock. getEntityPredicate()Methods in net.minecraft.block with parameters of type Entity Modifier and Type Method Description private voidHoneyBlock. addCollisionEffects(World world, Entity entity)private static voidHoneyBlock. addParticles(Entity entity, int count)static voidHoneyBlock. addRegularParticles(Entity entity)static voidHoneyBlock. addRichParticles(Entity entity)private voidSlimeBlock. bounce(Entity entity)private voidBedBlock. bounceEntity(Entity entity)private booleanTurtleEggBlock. breaksEgg(World world, Entity entity)static booleanPowderSnowBlock. canWalkOnPowderSnow(Entity entity)static voidBlock. dropStacks(BlockState state, World world, BlockPos pos, @Nullable BlockEntity blockEntity, Entity entity, ItemStack stack)static voidCampfireBlock. extinguish(@Nullable Entity entity, WorldAccess world, BlockPos pos, BlockState state)static List<ItemStack>Block. getDroppedStacks(BlockState state, ServerWorld world, BlockPos pos, @Nullable BlockEntity blockEntity, @Nullable Entity entity, ItemStack stack)private static booleanHoneyBlock. hasHoneyBlockEffects(Entity entity)booleanAbstractBlock.AbstractBlockState. hasSolidTopSurface(BlockView world, BlockPos pos, Entity entity)booleanAbstractBlock.AbstractBlockState. hasSolidTopSurface(BlockView world, BlockPos pos, Entity entity, Direction direction)private static booleanBigDripleafBlock. isEntityAbove(BlockPos pos, Entity entity)protected booleanAbstractCauldronBlock. isEntityTouchingFluid(BlockState state, BlockPos pos, Entity entity)private booleanHoneyBlock. isSliding(BlockPos pos, Entity entity)static ShapeContextShapeContext. of(Entity entity)voidAbstractBlock.AbstractBlockState. onEntityCollision(World world, BlockPos pos, Entity entity)voidAbstractBlock. onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)Deprecated.voidAbstractButtonBlock. onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)voidAbstractFireBlock. onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)voidAbstractPressurePlateBlock. onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)voidBigDripleafBlock. onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)voidBubbleColumnBlock. onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)voidCactusBlock. onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)voidCampfireBlock. onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)voidCobwebBlock. onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)voidCropBlock. onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)voidDetectorRailBlock. onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)voidEndPortalBlock. onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)voidHoneyBlock. onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)voidHopperBlock. onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)voidLavaCauldronBlock. onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)voidLeveledCauldronBlock. onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)voidLilyPadBlock. onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)voidNetherPortalBlock. onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)voidPowderSnowBlock. onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)voidSweetBerryBushBlock. onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)voidTripwireBlock. onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)voidWitherRoseBlock. onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)voidBedBlock. onEntityLand(BlockView world, Entity entity)voidBlock. onEntityLand(BlockView world, Entity entity)voidSlimeBlock. onEntityLand(BlockView world, Entity entity)voidBedBlock. onLandedUpon(World world, BlockPos pos, Entity entity, float distance)voidBlock. onLandedUpon(World world, BlockPos pos, Entity entity, float distance)voidFarmlandBlock. onLandedUpon(World world, BlockPos pos, Entity entity, float distance)voidHayBlock. onLandedUpon(World world, BlockPos pos, Entity entity, float distance)voidHoneyBlock. onLandedUpon(World world, BlockPos pos, Entity entity, float distance)voidPointedDripstoneBlock. onLandedUpon(World world, BlockPos pos, Entity entity, float distance)voidSlimeBlock. onLandedUpon(World world, BlockPos pos, Entity entity, float distance)voidTurtleEggBlock. onLandedUpon(World world, BlockPos pos, Entity entity, float distance)voidBlock. onSteppedOn(World world, BlockPos pos, Entity entity)Called when an entity steps on this block.voidMagmaBlock. onSteppedOn(World world, BlockPos pos, Entity entity)Called when an entity steps on this block.voidRedstoneOreBlock. onSteppedOn(World world, BlockPos pos, Entity entity)Called when an entity steps on this block.voidSlimeBlock. onSteppedOn(World world, BlockPos pos, Entity entity)Called when an entity steps on this block.voidStairsBlock. onSteppedOn(World world, BlockPos pos, Entity entity)Called when an entity steps on this block.voidTurtleEggBlock. onSteppedOn(World world, BlockPos pos, Entity entity)Called when an entity steps on this block.booleanBellBlock. ring(@Nullable Entity entity, World world, BlockPos pos, @Nullable Direction direction)voidDoorBlock. setOpen(@Nullable Entity entity, World world, BlockState state, BlockPos pos, boolean open)private static intTargetBlock. trigger(WorldAccess world, BlockState state, BlockHitResult hitResult, Entity entity)private voidHoneyBlock. triggerAdvancement(Entity entity, BlockPos pos)private voidTurtleEggBlock. tryBreakEgg(World world, BlockPos pos, Entity entity, int inverseChance)protected voidAbstractPressurePlateBlock. updatePlateState(@Nullable Entity entity, World world, BlockPos pos, BlockState state, int output)private voidHoneyBlock. updateSlidingVelocity(Entity entity)Method parameters in net.minecraft.block with type arguments of type Entity Modifier and Type Method Description private <T extends AbstractMinecartEntity>
List<T>DetectorRailBlock. getCarts(World world, BlockPos pos, Class<T> entityClass, Predicate<Entity> entityPredicate)Constructors in net.minecraft.block with parameters of type Entity Constructor Description EntityShapeContext(Entity entity)Deprecated.Constructor parameters in net.minecraft.block with type arguments of type Entity Constructor Description EntityShapeContext(boolean descending, double minY, ItemStack boots, ItemStack heldItem, Predicate<Fluid> walkOnFluidPredicate, Optional<Entity> entity) -
Uses of Entity in net.minecraft.block.dispenser
Methods in net.minecraft.block.dispenser with parameters of type Entity Modifier and Type Method Description static voidDispenserBehavior. setEntityPosition(BlockPointer pointer, Entity entity, Direction direction) -
Uses of Entity in net.minecraft.block.entity
Methods in net.minecraft.block.entity that return types with arguments of type Entity Modifier and Type Method Description private List<Entity>BeehiveBlockEntity. tryReleaseBee(BlockState state, BeehiveBlockEntity.BeeState beeState)Methods in net.minecraft.block.entity with parameters of type Entity Modifier and Type Method Description booleanSculkSensorBlockEntity. accepts(World world, GameEventListener listener, BlockPos pos, GameEvent event, @Nullable Entity entity)Returns whether the callback wants to accept this event.private static booleanPistonBlockEntity. canMoveEntity(Box box, Entity entity)static booleanEndGatewayBlockEntity. canTeleport(Entity entity)private static voidPistonBlockEntity. moveEntity(Direction direction, Entity entity, double double2, Direction direction2)static voidHopperBlockEntity. onEntityCollided(World world, BlockPos pos, BlockState state, Entity entity, HopperBlockEntity blockEntity)private static voidPistonBlockEntity. push(BlockPos pos, Entity entity, Direction direction, double amount)private static voidConduitBlockEntity. spawnNautilusParticles(World world, BlockPos pos, List<BlockPos> activatingBlocks, @Nullable Entity entity, int int2)voidBeehiveBlockEntity. tryEnterHive(Entity entity, boolean hasNectar)voidBeehiveBlockEntity. tryEnterHive(Entity entity, boolean hasNectar, int ticksInHive)static voidEndGatewayBlockEntity. tryTeleportingEntity(World world, BlockPos pos, BlockState state, Entity entity, EndGatewayBlockEntity blockEntity)Method parameters in net.minecraft.block.entity with type arguments of type Entity Modifier and Type Method Description private static booleanBeehiveBlockEntity. releaseBee(World world, BlockPos blockPos, BlockState state, BeehiveBlockEntity.Bee bee, @Nullable List<Entity> list, BeehiveBlockEntity.BeeState beeState, @Nullable BlockPos blockPos2) -
Uses of Entity in net.minecraft.client
Fields in net.minecraft.client declared as Entity Modifier and Type Field Description @Nullable EntityMinecraftClient. cameraEntity@Nullable EntityMinecraftClient. targetedEntityMethods in net.minecraft.client that return Entity Modifier and Type Method Description @Nullable EntityMinecraftClient. getCameraEntity()Methods in net.minecraft.client with parameters of type Entity Modifier and Type Method Description booleanMinecraftClient. hasOutline(Entity entity)Checks if the providedentityshould display an outline around its model.voidMinecraftClient. setCameraEntity(Entity entity) -
Uses of Entity in net.minecraft.client.gui.hud
Methods in net.minecraft.client.gui.hud with parameters of type Entity Modifier and Type Method Description private voidInGameHud. renderVignetteOverlay(Entity entity)private voidInGameHud. updateVignetteDarkness(Entity entity) -
Uses of Entity in net.minecraft.client.network
Subclasses of Entity in net.minecraft.client.network Modifier and Type Class Description classAbstractClientPlayerEntityclassClientPlayerEntityRepresents the client's own player entity.classOtherClientPlayerEntityRepresents a player entity that is present on the client but is not the client's own player.Methods in net.minecraft.client.network with parameters of type Entity Modifier and Type Method Description voidClientPlayerEntity. addCritParticles(Entity target)voidClientPlayerEntity. addEnchantedHitParticles(Entity target)voidClientPlayerInteractionManager. attackEntity(PlayerEntity player, Entity target)ActionResultClientPlayerInteractionManager. interactEntity(PlayerEntity player, Entity entity, Hand hand)ActionResultClientPlayerInteractionManager. interactEntityAtLocation(PlayerEntity player, Entity entity, EntityHitResult hitResult, Hand hand)booleanClientPlayerEntity. startRiding(Entity entity, boolean force) -
Uses of Entity in net.minecraft.client.particle
Fields in net.minecraft.client.particle declared as Entity Modifier and Type Field Description private EntityEmitterParticle. entityprivate EntityItemPickupParticle. interactingEntityprivate EntityItemPickupParticle. itemEntityMethods in net.minecraft.client.particle that return Entity Modifier and Type Method Description private EntityItemPickupParticle. getOrCopy(Entity entity)Methods in net.minecraft.client.particle with parameters of type Entity Modifier and Type Method Description voidParticleManager. addEmitter(Entity entity, ParticleEffect parameters)voidParticleManager. addEmitter(Entity entity, ParticleEffect parameters, int maxAge)private EntityItemPickupParticle. getOrCopy(Entity entity)Constructors in net.minecraft.client.particle with parameters of type Entity Constructor Description EmitterParticle(ClientWorld world, Entity entity, ParticleEffect parameters)EmitterParticle(ClientWorld world, Entity entity, ParticleEffect parameters, int maxEmitterAge)EmitterParticle(ClientWorld world, Entity entity, ParticleEffect parameters, int maxEmitterAge, Vec3d velocity)ItemPickupParticle(EntityRenderDispatcher dispatcher, BufferBuilderStorage bufferStorage, ClientWorld world, Entity itemEntity, Entity interactingEntity)ItemPickupParticle(EntityRenderDispatcher dispatcher, BufferBuilderStorage bufferStorage, ClientWorld world, Entity itemEntity, Entity interactingEntity, Vec3d velocity) -
Uses of Entity in net.minecraft.client.render
Fields in net.minecraft.client.render declared as Entity Modifier and Type Field Description private EntityCamera. focusedEntityMethods in net.minecraft.client.render that return Entity Modifier and Type Method Description EntityCamera. getFocusedEntity()Methods in net.minecraft.client.render with parameters of type Entity Modifier and Type Method Description private voidWorldRenderer. drawBlockOutline(MatrixStack matrices, VertexConsumer vertexConsumer, Entity entity, double double2, double double3, double double4, BlockPos blockPos, BlockState blockState)voidGameRenderer. onCameraEntitySet(@Nullable Entity entity)private voidWorldRenderer. renderEntity(Entity entity, double cameraX, double cameraY, double cameraZ, float tickDelta, MatrixStack matrices, VertexConsumerProvider vertexConsumers)voidCamera. update(BlockView area, Entity focusedEntity, boolean thirdPerson, boolean inverseView, float tickDelta) -
Uses of Entity in net.minecraft.client.render.debug
Methods in net.minecraft.client.render.debug that return types with arguments of type Entity Modifier and Type Method Description static Optional<Entity>DebugRenderer. getTargetedEntity(@Nullable Entity entity, int maxDistance)Methods in net.minecraft.client.render.debug with parameters of type Entity Modifier and Type Method Description static Optional<Entity>DebugRenderer. getTargetedEntity(@Nullable Entity entity, int maxDistance)booleanGameEventDebugRenderer.Listener. listen(World world, GameEvent event, @Nullable Entity entity, BlockPos pos)Listens to an incoming game event.static StringNameGenerator. method_36154(Entity entity) -
Uses of Entity in net.minecraft.client.render.entity
Classes in net.minecraft.client.render.entity with type parameters of type Entity Modifier and Type Class Description classEntityRenderer<T extends Entity>interfaceEntityRendererFactory<T extends Entity>classFlyingItemEntityRenderer<T extends Entity & FlyingItemEntity>Fields in net.minecraft.client.render.entity declared as Entity Modifier and Type Field Description EntityEntityRenderDispatcher. targetedEntityMethods in net.minecraft.client.render.entity with type parameters of type Entity Modifier and Type Method Description <E extends Entity>
intEntityRenderDispatcher. getLight(E entity, float tickDelta)<T extends Entity>
EntityRenderer<? super T>EntityRenderDispatcher. getRenderer(T entity)private <E extends Entity>
voidMobEntityRenderer. method_4073(T entity, float tickDelta, MatrixStack matrices, VertexConsumerProvider provider, E holdingEntity)private static <T extends Entity>
voidEntityRenderers. register(EntityType<? extends T> type, EntityRendererFactory<T> factory)<E extends Entity>
voidEntityRenderDispatcher. render(E entity, double x, double y, double z, float yaw, float tickDelta, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light)<E extends Entity>
booleanEntityRenderDispatcher. shouldRender(E entity, Frustum frustum, double x, double y, double z)Methods in net.minecraft.client.render.entity with parameters of type Entity Modifier and Type Method Description voidEntityRenderDispatcher. configure(World world, Camera camera, Entity target)doubleEntityRenderDispatcher. getSquaredDistanceToCamera(Entity entity)IdentifierFlyingItemEntityRenderer. getTexture(Entity entity)private voidEntityRenderDispatcher. renderFire(MatrixStack matrices, VertexConsumerProvider vertexConsumers, Entity entity)private static voidEntityRenderDispatcher. renderHitbox(MatrixStack matrices, VertexConsumer vertices, Entity entity, float tickDelta)private static voidEntityRenderDispatcher. renderShadow(MatrixStack matrices, VertexConsumerProvider vertexConsumers, Entity entity, float opacity, float tickDelta, WorldView world, float radius) -
Uses of Entity in net.minecraft.client.render.entity.feature
Classes in net.minecraft.client.render.entity.feature with type parameters of type Entity Modifier and Type Class Description classEnergySwirlOverlayFeatureRenderer<T extends Entity & SkinOverlayOwner,M extends EntityModel<T>>classEyesFeatureRenderer<T extends Entity,M extends EntityModel<T>>classFeatureRenderer<T extends Entity,M extends EntityModel<T>>interfaceFeatureRendererContext<T extends Entity,M extends EntityModel<T>>classSaddleFeatureRenderer<T extends Entity & Saddleable,M extends EntityModel<T>>classSpiderEyesFeatureRenderer<T extends Entity,M extends SpiderEntityModel<T>>Methods in net.minecraft.client.render.entity.feature with parameters of type Entity Modifier and Type Method Description protected voidStuckArrowsFeatureRenderer. renderObject(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, Entity entity, float directionX, float directionY, float directionZ, float tickDelta)protected abstract voidStuckObjectsFeatureRenderer. renderObject(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, Entity entity, float directionX, float directionY, float directionZ, float tickDelta)protected voidStuckStingersFeatureRenderer. renderObject(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, Entity entity, float directionX, float directionY, float directionZ, float tickDelta) -
Uses of Entity in net.minecraft.client.render.entity.model
-
Uses of Entity in net.minecraft.client.sound
Fields in net.minecraft.client.sound declared as Entity Modifier and Type Field Description private EntityEntityTrackingSoundInstance. entityConstructors in net.minecraft.client.sound with parameters of type Entity Constructor Description EntityTrackingSoundInstance(SoundEvent sound, SoundCategory category, float volume, float pitch, Entity entity)EntityTrackingSoundInstance(SoundEvent sound, SoundCategory category, Entity entity) -
Uses of Entity in net.minecraft.client.world
Fields in net.minecraft.client.world with type parameters of type Entity Modifier and Type Field Description private ClientEntityManager<Entity>ClientWorld. entityManagerMethods in net.minecraft.client.world that return Entity Modifier and Type Method Description @Nullable EntityClientWorld. getEntityById(int id)Methods in net.minecraft.client.world that return types with arguments of type Entity Modifier and Type Method Description Iterable<Entity>ClientWorld. getEntities()protected EntityLookup<Entity>ClientWorld. getEntityLookup()Methods in net.minecraft.client.world with parameters of type Entity Modifier and Type Method Description voidClientWorld. addEntity(int id, Entity entity)private voidClientWorld. addEntityPrivate(int id, Entity entity)voidClientWorld.ClientEntityHandler. create(Entity entity)voidClientWorld.ClientEntityHandler. destroy(Entity entity)voidClientWorld. emitGameEvent(@Nullable Entity entity, GameEvent event, BlockPos pos)voidClientWorld. playSoundFromEntity(@Nullable PlayerEntity player, Entity entity, SoundEvent sound, SoundCategory category, float volume, float pitch)voidClientWorld.ClientEntityHandler. startTicking(Entity entity)voidClientWorld.ClientEntityHandler. startTracking(Entity entity)voidClientWorld.ClientEntityHandler. stopTicking(Entity entity)voidClientWorld.ClientEntityHandler. stopTracking(Entity entity)voidClientWorld. tickEntity(Entity entity)private voidClientWorld. tickPassenger(Entity entity, Entity passenger) -
Uses of Entity in net.minecraft.command
Fields in net.minecraft.command declared as Entity Modifier and Type Field Description private EntityEntityDataObject. entityFields in net.minecraft.command with type parameters of type Entity Modifier and Type Field Description static BiConsumer<Vec3d,List<? extends Entity>>EntitySelectorReader. ARBITRARYprivate Predicate<Entity>EntitySelector. basePredicateprivate TypeFilter<Entity,?>EntitySelector. entityFilterstatic BiConsumer<Vec3d,List<? extends Entity>>EntitySelectorReader. FURTHESTstatic BiConsumer<Vec3d,List<? extends Entity>>EntitySelectorReader. NEARESTprivate static TypeFilter<Entity,?>EntitySelector. PASSTHROUGH_FILTERprivate Predicate<Entity>EntitySelectorReader. predicatestatic BiConsumer<Vec3d,List<? extends Entity>>EntitySelectorReader. RANDOMprivate BiConsumer<Vec3d,List<? extends Entity>>EntitySelector. sorterprivate BiConsumer<Vec3d,List<? extends Entity>>EntitySelectorReader. sorterMethods in net.minecraft.command with type parameters of type Entity Modifier and Type Method Description private <T extends Entity>
List<T>EntitySelector. getEntities(Vec3d vec3d, List<T> list)Methods in net.minecraft.command that return Entity Modifier and Type Method Description EntityEntitySelector. getEntity(ServerCommandSource serverCommandSource)Methods in net.minecraft.command that return types with arguments of type Entity Modifier and Type Method Description List<? extends Entity>EntitySelector. getEntities(ServerCommandSource serverCommandSource)private Predicate<Entity>EntitySelector. getPositionPredicate(Vec3d vec3d)BiConsumer<Vec3d,List<? extends Entity>>EntitySelectorReader. method_35818()private Predicate<Entity>EntitySelectorReader. rotationPredicate(FloatRangeArgument floatRangeArgument, ToDoubleFunction<Entity> toDoubleFunction)Method parameters in net.minecraft.command with type arguments of type Entity Modifier and Type Method Description private voidEntitySelector. appendEntitiesFromWorld(List<Entity> list, ServerWorld serverWorld, Vec3d vec3d, Predicate<Entity> predicate)private voidEntitySelector. appendEntitiesFromWorld(List<Entity> list, ServerWorld serverWorld, Vec3d vec3d, Predicate<Entity> predicate)static MutableTextEntitySelector. getNames(List<? extends Entity> list)private Predicate<Entity>EntitySelectorReader. rotationPredicate(FloatRangeArgument floatRangeArgument, ToDoubleFunction<Entity> toDoubleFunction)voidEntitySelectorReader. setPredicate(Predicate<Entity> predicate)voidEntitySelectorReader. setSorter(BiConsumer<Vec3d,List<? extends Entity>> sorter)Constructors in net.minecraft.command with parameters of type Entity Constructor Description EntityDataObject(Entity entity)Constructor parameters in net.minecraft.command with type arguments of type Entity Constructor Description EntitySelector(int count, boolean includesNonPlayers, boolean localWorldOnly, Predicate<Entity> basePredicate, NumberRange.FloatRange distance, Function<Vec3d,Vec3d> positionOffset, @Nullable Box box, BiConsumer<Vec3d,List<? extends Entity>> sorter, boolean senderOnly, @Nullable String playerName, @Nullable UUID uuid, @Nullable EntityType<?> type, boolean usesAt)EntitySelector(int count, boolean includesNonPlayers, boolean localWorldOnly, Predicate<Entity> basePredicate, NumberRange.FloatRange distance, Function<Vec3d,Vec3d> positionOffset, @Nullable Box box, BiConsumer<Vec3d,List<? extends Entity>> sorter, boolean senderOnly, @Nullable String playerName, @Nullable UUID uuid, @Nullable EntityType<?> type, boolean usesAt) -
Uses of Entity in net.minecraft.command.argument
Fields in net.minecraft.command.argument with type parameters of type Entity Modifier and Type Field Description private BiFunction<Vec3d,Entity,Vec3d>EntityAnchorArgumentType.EntityAnchor. offsetMethods in net.minecraft.command.argument that return Entity Modifier and Type Method Description static EntityEntityArgumentType. getEntity(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)Methods in net.minecraft.command.argument that return types with arguments of type Entity Modifier and Type Method Description static Collection<? extends Entity>EntityArgumentType. getEntities(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)static Collection<? extends Entity>EntityArgumentType. getOptionalEntities(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext, String string)Methods in net.minecraft.command.argument with parameters of type Entity Modifier and Type Method Description Vec3dEntityAnchorArgumentType.EntityAnchor. positionAt(Entity entity)Constructor parameters in net.minecraft.command.argument with type arguments of type Entity Constructor Description EntityAnchor(String id, BiFunction<Vec3d,Entity,Vec3d> offset) -
Uses of Entity in net.minecraft.enchantment
Methods in net.minecraft.enchantment with parameters of type Entity Modifier and Type Method Description voidDamageEnchantment. onTargetDamaged(LivingEntity user, Entity target, int level)voidEnchantment. onTargetDamaged(LivingEntity user, Entity target, int level)static voidEnchantmentHelper. onTargetDamaged(LivingEntity user, Entity target)voidEnchantment. onUserDamaged(LivingEntity user, Entity attacker, int level)static voidEnchantmentHelper. onUserDamaged(LivingEntity user, Entity attacker)voidThornsEnchantment. onUserDamaged(LivingEntity user, Entity attacker, int level) -
Uses of Entity in net.minecraft.entity
Classes in net.minecraft.entity with type parameters of type Entity Modifier and Type Class Description classEntityType<T extends Entity>static classEntityType.Builder<T extends Entity>static interfaceEntityType.EntityFactory<T extends Entity>static interfaceSpawnRestriction.SpawnPredicate<T extends Entity>Subclasses of Entity in net.minecraft.entity Modifier and Type Class Description classAreaEffectCloudEntityclassExperienceOrbEntityclassEyeOfEnderEntityclassFallingBlockEntityclassItemEntityclassLightningEntityclassLivingEntityRepresents an entity which has a health value and can receive damage.classTntEntityFields in net.minecraft.entity declared as Entity Modifier and Type Field Description private @Nullable EntityEntity. vehicleFields in net.minecraft.entity with type parameters of type Entity Modifier and Type Field Description private Map<Entity,Integer>AreaEffectCloudEntity. affectedEntitiesprivate ImmutableList<Entity>Entity. passengerListMethods in net.minecraft.entity with type parameters of type Entity Modifier and Type Method Description static <T extends Entity>
booleanSpawnRestriction. canSpawn(EntityType<T> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)static <T extends Entity>
EntityType.Builder<T>EntityType.Builder. create(EntityType.EntityFactory<T> factory, SpawnGroup spawnGroup)static <T extends Entity>
EntityType.Builder<T>EntityType.Builder. create(SpawnGroup spawnGroup)private static <T extends Entity>
EntityType<T>EntityType. register(String id, EntityType.Builder<T> type)Methods in net.minecraft.entity that return Entity Modifier and Type Method Description static @Nullable EntityEntityType. createInstanceFromId(int type, World world)@Nullable EntityEntity. getFirstPassenger()@Nullable EntityTameable. getOwner()@Nullable EntityEntity. getPrimaryPassenger()EntityEntity. getRootVehicle()Gets the lowest entity this entity is riding.@Nullable EntityEntity. getVehicle()static @Nullable EntityEntityType. loadEntityWithPassengers(NbtCompound nbt, World world, Function<Entity,Entity> entityProcessor)@Nullable EntityEntity. moveToWorld(ServerWorld destination)Moves this entity to another world.@Nullable EntityItemEntity. moveToWorld(ServerWorld destination)Moves this entity to another world.private static @Nullable EntityEntityType. newInstance(World world, @Nullable EntityType<?> type)@Nullable EntityEntityType. spawnFromItemStack(ServerWorld world, @Nullable ItemStack stack, @Nullable PlayerEntity player, BlockPos pos, SpawnReason spawnReason, boolean alignPosition, boolean invertY)Methods in net.minecraft.entity that return types with arguments of type Entity Modifier and Type Method Description Class<? extends Entity>EntityType. getBaseClass()static Optional<Entity>EntityType. getEntityFromNbt(NbtCompound nbt, World world)List<Entity>Entity. getPassengerList()Iterable<Entity>Entity. getPassengersDeep()private static Optional<Entity>EntityType. loadEntityFromNbt(NbtCompound nbt, World world)static Stream<Entity>EntityType. streamFromNbt(List<? extends NbtElement> entityNbtList, World world)private Stream<Entity>Entity. streamIntoPassengers()Stream<Entity>Entity. streamPassengersAndSelf()Returns a stream consisting of this entity and its passengers in which this entity's passengers are iterated before this entity.Stream<Entity>Entity. streamSelfAndPassengers()Returns a stream consisting of this entity and its passengers recursively.Methods in net.minecraft.entity with parameters of type Entity Modifier and Type Method Description voidEntity.PositionUpdater. accept(Entity entity, double x, double y, double z)protected voidEntity. addPassenger(Entity passenger)static Vec3dEntity. adjustMovementForCollisions(@Nullable Entity entity, Vec3d movement, Box entityBoundingBox, World world, ShapeContext context, ReusableStream<VoxelShape> collisions)protected booleanEntity. canAddPassenger(Entity passenger)booleanLivingEntity. canSee(Entity entity)protected booleanEntity. canStartRiding(Entity entity)booleanEntity. collidesWith(Entity other)voidEntity. copyFrom(Entity original)voidEntity. copyPositionAndRotation(Entity entity)voidEntity. dealDamage(LivingEntity attacker, Entity target)floatEntity. distanceTo(Entity entity)TEntityType. downcast(Entity entity)voidEntity. emitGameEvent(GameEvent event, @Nullable Entity entity)voidEntity. emitGameEvent(GameEvent event, @Nullable Entity entity, BlockPos pos)doubleLivingEntity. getAttackDistanceScalingFactor(@Nullable Entity entity)booleanEntity. handleAttack(Entity attacker)booleanEntity. hasPassenger(Entity passenger)booleanEntity. hasPassengerDeep(Entity passenger)booleanEntity. isConnectedThroughVehicle(Entity entity)Checks if this entity and another entity share the same root vehicle.booleanEntity. isInRange(Entity other, double radius)Checks if the distance between this entity and theotherentity is less thanradius.booleanEntity. isPartOf(Entity entity)booleanEntity. isTeammate(Entity other)static voidEntityType. loadFromEntityNbt(World world, @Nullable PlayerEntity player, @Nullable Entity entity, @Nullable NbtCompound itemNbt)voidLivingEntity. onAttacking(Entity target)private voidLivingEntity. onDismounted(Entity vehicle)voidInteractionObserver. onInteractionWith(EntityInteraction interaction, Entity entity)voidEntity. onPassengerLookAround(Entity passenger)protected voidLivingEntity. pushAway(Entity entity)voidEntity. pushAwayFrom(Entity entity)voidLivingEntity. pushAwayFrom(Entity entity)protected voidEntity. removePassenger(Entity passenger)voidLivingEntity. sendPickup(Entity item, int count)doubleEntity. squaredDistanceTo(Entity entity)booleanEntity. startRiding(Entity entity)booleanEntity. startRiding(Entity entity, boolean force)booleanLivingEntity. tryAttack(Entity target)voidEntity. updateKilledAdvancementCriterion(Entity killer, int score, DamageSource damageSource)voidEntity. updatePassengerPosition(Entity passenger)private voidEntity. updatePassengerPosition(Entity passenger, Entity.PositionUpdater positionUpdater)Method parameters in net.minecraft.entity with type arguments of type Entity Modifier and Type Method Description booleanEntity. hasPassengerType(Predicate<Entity> predicate)static @Nullable EntityEntityType. loadEntityWithPassengers(NbtCompound nbt, World world, Function<Entity,Entity> entityProcessor)static @Nullable EntityEntityType. loadEntityWithPassengers(NbtCompound nbt, World world, Function<Entity,Entity> entityProcessor) -
Uses of Entity in net.minecraft.entity.ai.brain
Fields in net.minecraft.entity.ai.brain declared as Entity Modifier and Type Field Description private EntityEntityLookTarget. entityFields in net.minecraft.entity.ai.brain with type parameters of type Entity Modifier and Type Field Description static MemoryModuleType<Entity>MemoryModuleType. RIDE_TARGETMethods in net.minecraft.entity.ai.brain that return Entity Modifier and Type Method Description EntityEntityLookTarget. method_35066()Constructors in net.minecraft.entity.ai.brain with parameters of type Entity Constructor Description EntityLookTarget(Entity entity, boolean useEyeHeight)WalkTarget(Entity entity, float float2, int int2) -
Uses of Entity in net.minecraft.entity.ai.brain.task
Classes in net.minecraft.entity.ai.brain.task with type parameters of type Entity Modifier and Type Class Description classRidingTask<E extends LivingEntity,T extends Entity>Fields in net.minecraft.entity.ai.brain.task with type parameters of type Entity Modifier and Type Field Description private BiPredicate<E,Entity>RidingTask. alternativeRideConditionMethods in net.minecraft.entity.ai.brain.task that return Entity Modifier and Type Method Description private EntityStartRidingTask. getRideTarget(E entity)Methods in net.minecraft.entity.ai.brain.task that return types with arguments of type Entity Modifier and Type Method Description static GoToRememberedPositionTask<? extends Entity>GoToRememberedPositionTask. toEntity(MemoryModuleType<? extends Entity> memoryType, float speed, int range, boolean requiresWalkTarget)Methods in net.minecraft.entity.ai.brain.task with parameters of type Entity Modifier and Type Method Description private booleanRidingTask. canRideTarget(E entity, Entity target)static voidLookTargetUtil. walkTowards(LivingEntity entity, Entity target, float speed, int completionRange)Method parameters in net.minecraft.entity.ai.brain.task with type arguments of type Entity Modifier and Type Method Description static GoToRememberedPositionTask<? extends Entity>GoToRememberedPositionTask. toEntity(MemoryModuleType<? extends Entity> memoryType, float speed, int range, boolean requiresWalkTarget)Constructor parameters in net.minecraft.entity.ai.brain.task with type arguments of type Entity Constructor Description RidingTask(int range, BiPredicate<E,Entity> alternativeRideCondition) -
Uses of Entity in net.minecraft.entity.ai.control
Methods in net.minecraft.entity.ai.control with parameters of type Entity Modifier and Type Method Description private static doubleLookControl. getLookingHeightFor(Entity entity)voidLookControl. lookAt(Entity entity)voidLookControl. lookAt(Entity entity, float yawSpeed, float pitchSpeed) -
Uses of Entity in net.minecraft.entity.ai.goal
Fields in net.minecraft.entity.ai.goal declared as Entity Modifier and Type Field Description protected EntityLookAtEntityGoal. targetMethods in net.minecraft.entity.ai.goal with parameters of type Entity Modifier and Type Method Description protected @Nullable BlockPosEscapeDangerGoal. locateClosestWater(BlockView blockView, Entity entity, int rangeX, int rangeY) -
Uses of Entity in net.minecraft.entity.ai.pathing
Methods in net.minecraft.entity.ai.pathing with parameters of type Entity Modifier and Type Method Description PathBirdNavigation. findPathTo(Entity entity, int distance)@Nullable PathEntityNavigation. findPathTo(Entity entity, int distance)PathMobNavigation. findPathTo(Entity entity, int distance)PathSpiderNavigation. findPathTo(Entity entity, int distance)Vec3dPath. getNodePosition(Entity entity)Vec3dPath. getNodePosition(Entity entity, int index)booleanEntityNavigation. startMovingTo(Entity entity, double speed)booleanSpiderNavigation. startMovingTo(Entity entity, double speed) -
Uses of Entity in net.minecraft.entity.boss
Subclasses of Entity in net.minecraft.entity.boss Modifier and Type Class Description classWitherEntityMethods in net.minecraft.entity.boss with parameters of type Entity Modifier and Type Method Description protected booleanWitherEntity. canStartRiding(Entity entity) -
Uses of Entity in net.minecraft.entity.boss.dragon
Subclasses of Entity in net.minecraft.entity.boss.dragon Modifier and Type Class Description classEnderDragonEntityclassEnderDragonPartFields in net.minecraft.entity.boss.dragon with type parameters of type Entity Modifier and Type Field Description private static Predicate<Entity>EnderDragonFight. VALID_ENTITYMethods in net.minecraft.entity.boss.dragon with parameters of type Entity Modifier and Type Method Description protected booleanEnderDragonEntity. canStartRiding(Entity entity)booleanEnderDragonPart. isPartOf(Entity entity)Method parameters in net.minecraft.entity.boss.dragon with type arguments of type Entity Modifier and Type Method Description private voidEnderDragonEntity. damageLivingEntities(List<Entity> entities)private voidEnderDragonEntity. launchLivingEntities(List<Entity> entities) -
Uses of Entity in net.minecraft.entity.damage
Fields in net.minecraft.entity.damage declared as Entity Modifier and Type Field Description private EntityProjectileDamageSource. attackerprotected @Nullable EntityEntityDamageSource. sourceMethods in net.minecraft.entity.damage that return Entity Modifier and Type Method Description @Nullable EntityDamageRecord. getAttacker()@Nullable EntityDamageSource. getAttacker()@Nullable EntityEntityDamageSource. getAttacker()@Nullable EntityProjectileDamageSource. getAttacker()@Nullable EntityDamageSource. getSource()@Nullable EntityProjectileDamageSource. getSource()Methods in net.minecraft.entity.damage with parameters of type Entity Modifier and Type Method Description static DamageSourceDamageSource. arrow(PersistentProjectileEntity projectile, @Nullable Entity attacker)static DamageSourceDamageSource. fireball(AbstractFireballEntity fireball, @Nullable Entity attacker)static DamageSourceDamageSource. firework(FireworkRocketEntity firework, @Nullable Entity attacker)static DamageSourceDamageSource. magic(Entity magic, @Nullable Entity attacker)static DamageSourceDamageSource. mobProjectile(Entity projectile, LivingEntity attacker)static DamageSourceDamageSource. thorns(Entity attacker)static DamageSourceDamageSource. thrownProjectile(Entity projectile, @Nullable Entity attacker)static DamageSourceDamageSource. trident(Entity trident, @Nullable Entity attacker)static DamageSourceDamageSource. witherSkull(WitherSkullEntity witherSkull, Entity attacker)Constructors in net.minecraft.entity.damage with parameters of type Entity Constructor Description EntityDamageSource(String name, @Nullable Entity source)ProjectileDamageSource(String name, Entity projectile, @Nullable Entity attacker) -
Uses of Entity in net.minecraft.entity.data
Fields in net.minecraft.entity.data declared as Entity Modifier and Type Field Description private EntityDataTracker. trackedEntityFields in net.minecraft.entity.data with type parameters of type Entity Modifier and Type Field Description private static Object2IntMap<Class<? extends Entity>>DataTracker. TRACKED_ENTITIESMethod parameters in net.minecraft.entity.data with type arguments of type Entity Modifier and Type Method Description static <T> TrackedData<T>DataTracker. registerData(Class<? extends Entity> entityClass, TrackedDataHandler<T> dataHandler)Constructors in net.minecraft.entity.data with parameters of type Entity Constructor Description DataTracker(Entity trackedEntity) -
Uses of Entity in net.minecraft.entity.decoration
Subclasses of Entity in net.minecraft.entity.decoration Modifier and Type Class Description classAbstractDecorationEntityclassArmorStandEntityclassEndCrystalEntityclassGlowItemFrameEntityclassItemFrameEntityclassLeashKnotEntityFields in net.minecraft.entity.decoration with type parameters of type Entity Modifier and Type Field Description protected static Predicate<Entity>AbstractDecorationEntity. PREDICATEprivate static Predicate<Entity>ArmorStandEntity. RIDEABLE_MINECART_PREDICATEMethods in net.minecraft.entity.decoration with parameters of type Entity Modifier and Type Method Description private voidItemFrameEntity. dropHeldStack(@Nullable Entity entity, boolean alwaysDrop)booleanAbstractDecorationEntity. handleAttack(Entity attacker)booleanArmorStandEntity. handleAttack(Entity attacker)abstract voidAbstractDecorationEntity. onBreak(@Nullable Entity entity)voidItemFrameEntity. onBreak(@Nullable Entity entity)voidLeashKnotEntity. onBreak(@Nullable Entity entity)protected voidArmorStandEntity. pushAway(Entity entity) -
Uses of Entity in net.minecraft.entity.decoration.painting
Subclasses of Entity in net.minecraft.entity.decoration.painting Modifier and Type Class Description classPaintingEntityMethods in net.minecraft.entity.decoration.painting with parameters of type Entity Modifier and Type Method Description voidPaintingEntity. onBreak(@Nullable Entity entity) -
Uses of Entity in net.minecraft.entity.effect
Methods in net.minecraft.entity.effect with parameters of type Entity Modifier and Type Method Description voidStatusEffect. applyInstantEffect(@Nullable Entity source, @Nullable Entity attacker, LivingEntity target, int amplifier, double proximity) -
Uses of Entity in net.minecraft.entity.mob
Fields in net.minecraft.entity.mob declared as Entity Modifier and Type Field Description private @Nullable EntityMobEntity. holdingEntityFields in net.minecraft.entity.mob with type parameters of type Entity Modifier and Type Field Description private List<Entity>MobVisibilityCache. invisibleEntitiesprivate static Predicate<Entity>RavagerEntity. IS_NOT_RAVAGERprivate List<Entity>MobVisibilityCache. visibleEntitiesMethods in net.minecraft.entity.mob that return Entity Modifier and Type Method Description @Nullable EntityMobEntity. getHoldingEntity()@Nullable EntityRavagerEntity. getPrimaryPassenger()private EntityPiglinEntity. getTopMostPassenger(Entity entity, int maxLevel)Returns the passenger entity atmaxLevelin a stacked riding (riding on an entity that is riding on another entity, etc).Methods in net.minecraft.entity.mob with parameters of type Entity Modifier and Type Method Description voidMobEntity. attachLeash(Entity entity, boolean sendPacket)private static booleanPiglinBrain. canRide(PiglinEntity piglin, Entity ridden)booleanMobVisibilityCache. canSee(Entity entity)booleanRavagerEntity. canSee(Entity entity)private EntityPiglinEntity. getTopMostPassenger(Entity entity, int maxLevel)Returns the passenger entity atmaxLevelin a stacked riding (riding on an entity that is riding on another entity, etc).booleanEvokerEntity. isTeammate(Entity other)booleanIllusionerEntity. isTeammate(Entity other)booleanPillagerEntity. isTeammate(Entity other)booleanVindicatorEntity. isTeammate(Entity other)private voidRavagerEntity. knockBack(Entity entity)voidMobEntity. lookAtEntity(Entity targetEntity, float maxYawChange, float maxPitchChange)voidShulkerEntity. pushAwayFrom(Entity entity)voidSlimeEntity. pushAwayFrom(Entity entity)booleanMobEntity. startRiding(Entity entity, boolean force)booleanPiglinEntity. startRiding(Entity entity, boolean force)booleanShulkerEntity. startRiding(Entity entity, boolean force)private booleanEndermanEntity. teleportTo(Entity entity)booleanCaveSpiderEntity. tryAttack(Entity target)booleanCreeperEntity. tryAttack(Entity target)booleanHoglinEntity. tryAttack(Entity target)booleanHuskEntity. tryAttack(Entity target)booleanMobEntity. tryAttack(Entity target)booleanRavagerEntity. tryAttack(Entity target)booleanWitherSkeletonEntity. tryAttack(Entity target)booleanZoglinEntity. tryAttack(Entity target)booleanZombieEntity. tryAttack(Entity target) -
Uses of Entity in net.minecraft.entity.passive
Subclasses of Entity in net.minecraft.entity.passive Modifier and Type Class Description classAbstractDonkeyEntityclassAnimalEntityclassAxolotlEntityclassBatEntityclassBeeEntityclassCatEntityMeow.classChickenEntityclassCodEntityclassCowEntityclassDolphinEntityclassDonkeyEntityclassFishEntityclassFoxEntityclassGlowSquidEntityclassGoatEntityclassGolemEntityclassHorseBaseEntityclassHorseEntityclassIronGolemEntityclassLlamaEntityclassMerchantEntityclassMooshroomEntityclassMuleEntityclassOcelotEntityclassPandaEntityclassParrotEntityclassPassiveEntityclassPigEntityclassPolarBearEntityclassPufferfishEntityclassRabbitEntityclassSalmonEntityclassSchoolingFishEntityclassSheepEntityclassSnowGolemEntityclassSquidEntityclassStriderEntityclassTameableEntityclassTameableShoulderEntityclassTraderLlamaEntityclassTropicalFishEntityclassTurtleEntityclassVillagerEntityclassWanderingTraderEntityclassWolfEntityFields in net.minecraft.entity.passive with type parameters of type Entity Modifier and Type Field Description private static Predicate<Entity>FoxEntity. CHICKEN_AND_RABBIT_FILTERprivate static Predicate<Entity>FoxEntity. JUST_ATTACKED_SOMETHING_FILTERprivate static Predicate<Entity>FoxEntity. NOTICEABLE_PLAYER_FILTERMethods in net.minecraft.entity.passive that return Entity Modifier and Type Method Description @Nullable EntityHorseBaseEntity. getPrimaryPassenger()@Nullable EntityPigEntity. getPrimaryPassenger()@Nullable EntityStriderEntity. getPrimaryPassenger()@Nullable EntityMerchantEntity. moveToWorld(ServerWorld destination)Moves this entity to another world.Methods in net.minecraft.entity.passive with parameters of type Entity Modifier and Type Method Description protected booleanStriderEntity. canAddPassenger(Entity passenger)protected booleanDolphinEntity. canStartRiding(Entity entity)doubleAxolotlEntity. getAttackDistanceScalingFactor(@Nullable Entity entity)static booleanParrotEntity. imitateNearbyMob(World world, Entity parrot)booleanTameableEntity. isTeammate(Entity other)private voidVillagerEntity. notifyDeath(Entity killer)voidVillagerEntity. onInteractionWith(EntityInteraction interaction, Entity entity)protected voidBatEntity. pushAway(Entity entity)protected voidIronGolemEntity. pushAway(Entity entity)protected voidParrotEntity. pushAway(Entity entity)booleanAxolotlEntity. tryAttack(Entity target)booleanBeeEntity. tryAttack(Entity target)booleanCatEntity. tryAttack(Entity target)booleanDolphinEntity. tryAttack(Entity target)booleanIronGolemEntity. tryAttack(Entity target)booleanOcelotEntity. tryAttack(Entity target)booleanPandaEntity. tryAttack(Entity target)booleanParrotEntity. tryAttack(Entity target)booleanPolarBearEntity. tryAttack(Entity target)booleanRabbitEntity. tryAttack(Entity target)booleanWolfEntity. tryAttack(Entity target)voidChickenEntity. updatePassengerPosition(Entity passenger)voidHorseBaseEntity. updatePassengerPosition(Entity passenger)voidLlamaEntity. updatePassengerPosition(Entity passenger) -
Uses of Entity in net.minecraft.entity.player
Subclasses of Entity in net.minecraft.entity.player Modifier and Type Class Description classPlayerEntityMethods in net.minecraft.entity.player with parameters of type Entity Modifier and Type Method Description voidPlayerEntity. addCritParticles(Entity target)voidPlayerEntity. addEnchantedHitParticles(Entity target)voidPlayerEntity. attack(Entity target)private voidPlayerEntity. collideWithEntity(Entity entity)ActionResultPlayerEntity. interact(Entity entity, Hand hand) -
Uses of Entity in net.minecraft.entity.projectile
Subclasses of Entity in net.minecraft.entity.projectile Modifier and Type Class Description classAbstractFireballEntityclassArrowEntityclassDragonFireballEntityclassExplosiveProjectileEntityclassFireballEntityclassFireworkRocketEntityclassFishingBobberEntityclassLlamaSpitEntityclassPersistentProjectileEntityclassProjectileEntityclassShulkerBulletEntityclassSmallFireballEntityclassSpectralArrowEntityclassTridentEntityclassWitherSkullEntityFields in net.minecraft.entity.projectile declared as Entity Modifier and Type Field Description private EntityFishingBobberEntity. hookedEntityprivate EntityShulkerBulletEntity. targetFields in net.minecraft.entity.projectile with type parameters of type Entity Modifier and Type Field Description private List<Entity>PersistentProjectileEntity. piercingKilledEntitiesMethods in net.minecraft.entity.projectile that return Entity Modifier and Type Method Description @Nullable EntityFishingBobberEntity. getHookedEntity()@Nullable EntityProjectileEntity. getOwner()Methods in net.minecraft.entity.projectile with parameters of type Entity Modifier and Type Method Description protected booleanExplosiveProjectileEntity. canHit(Entity entity)protected booleanFishingBobberEntity. canHit(Entity entity)protected booleanPersistentProjectileEntity. canHit(Entity entity)protected booleanProjectileEntity. canHit(Entity entity)protected booleanShulkerBulletEntity. canHit(Entity entity)static HitResultProjectileUtil. getCollision(Entity entity, Predicate<Entity> predicate)static @Nullable EntityHitResultProjectileUtil. getEntityCollision(World world, Entity entity, Vec3d vec3d, Vec3d vec3d2, Box box, Predicate<Entity> predicate)protected booleanProjectileEntity. isOwner(Entity entity)static voidProjectileUtil. method_7484(Entity entity, float float2)static @Nullable EntityHitResultProjectileUtil. raycast(Entity entity, Vec3d vec3d, Vec3d vec3d2, Box box, Predicate<Entity> predicate, double double2)voidFishingBobberEntity. setOwner(@Nullable Entity entity)voidPersistentProjectileEntity. setOwner(@Nullable Entity entity)voidProjectileEntity. setOwner(@Nullable Entity entity)voidProjectileEntity. setProperties(Entity user, float pitch, float yaw, float roll, float modifierZ, float modifierXYZ)Method parameters in net.minecraft.entity.projectile with type arguments of type Entity Modifier and Type Method Description static HitResultProjectileUtil. getCollision(Entity entity, Predicate<Entity> predicate)static @Nullable EntityHitResultProjectileUtil. getEntityCollision(World world, Entity entity, Vec3d vec3d, Vec3d vec3d2, Box box, Predicate<Entity> predicate)static @Nullable EntityHitResultProjectileUtil. raycast(Entity entity, Vec3d vec3d, Vec3d vec3d2, Box box, Predicate<Entity> predicate, double double2)Constructors in net.minecraft.entity.projectile with parameters of type Entity Constructor Description FireworkRocketEntity(World world, @Nullable Entity entity, double x, double y, double z, ItemStack stack)FireworkRocketEntity(World world, ItemStack stack, Entity entity, double x, double y, double z, boolean shotAtAngle)ShulkerBulletEntity(World world, LivingEntity owner, Entity target, Direction.Axis axis) -
Uses of Entity in net.minecraft.entity.projectile.thrown
Subclasses of Entity in net.minecraft.entity.projectile.thrown Modifier and Type Class Description classEggEntityclassEnderPearlEntityclassExperienceBottleEntityclassPotionEntityclassSnowballEntityclassThrownEntityclassThrownItemEntityMethods in net.minecraft.entity.projectile.thrown that return Entity Modifier and Type Method Description @Nullable EntityEnderPearlEntity. moveToWorld(ServerWorld destination)Moves this entity to another world.Methods in net.minecraft.entity.projectile.thrown with parameters of type Entity Modifier and Type Method Description private voidPotionEntity. applySplashPotion(List<StatusEffectInstance> statusEffects, @Nullable Entity entity) -
Uses of Entity in net.minecraft.entity.raid
Subclasses of Entity in net.minecraft.entity.raid Modifier and Type Class Description classRaiderEntity -
Uses of Entity in net.minecraft.entity.vehicle
Subclasses of Entity in net.minecraft.entity.vehicle Modifier and Type Class Description classAbstractMinecartEntityclassBoatEntityclassChestMinecartEntityclassCommandBlockMinecartEntityclassFurnaceMinecartEntityclassHopperMinecartEntityclassMinecartEntityclassSpawnerMinecartEntityclassStorageMinecartEntityclassTntMinecartEntityMethods in net.minecraft.entity.vehicle that return Entity Modifier and Type Method Description @Nullable EntityBoatEntity. getPrimaryPassenger()Methods in net.minecraft.entity.vehicle with parameters of type Entity Modifier and Type Method Description protected booleanBoatEntity. canAddPassenger(Entity passenger)static booleanBoatEntity. canCollide(Entity entity, Entity other)booleanAbstractMinecartEntity. collidesWith(Entity other)booleanBoatEntity. collidesWith(Entity other)protected voidBoatEntity. copyEntityData(Entity entity)voidBoatEntity. onPassengerLookAround(Entity passenger)voidAbstractMinecartEntity. pushAwayFrom(Entity entity)voidBoatEntity. pushAwayFrom(Entity entity)voidBoatEntity. updatePassengerPosition(Entity passenger) -
Uses of Entity in net.minecraft.item
Classes in net.minecraft.item with type parameters of type Entity Modifier and Type Class Description classOnAStickItem<T extends Entity & ItemSteerable>Fields in net.minecraft.item declared as Entity Modifier and Type Field Description private EntityItemStack. holderFields in net.minecraft.item with type parameters of type Entity Modifier and Type Field Description private static Predicate<Entity>BoatItem. RIDERSMethods in net.minecraft.item that return Entity Modifier and Type Method Description @Nullable EntityItemStack. getHolder()Methods in net.minecraft.item with parameters of type Entity Modifier and Type Method Description voidCompassItem. inventoryTick(ItemStack stack, World world, Entity entity, int slot, boolean selected)voidFilledMapItem. inventoryTick(ItemStack stack, World world, Entity entity, int slot, boolean selected)voidItem. inventoryTick(ItemStack stack, World world, Entity entity, int slot, boolean selected)voidItemStack. inventoryTick(World world, Entity entity, int slot, boolean selected)voidItemStack. setHolder(@Nullable Entity holder)voidFilledMapItem. updateColors(World world, Entity entity, MapState state) -
Uses of Entity in net.minecraft.loot.condition
Methods in net.minecraft.loot.condition with parameters of type Entity Modifier and Type Method Description protected booleanEntityScoresLootCondition. entityScoreIsInRange(LootContext context, Entity entity, Scoreboard scoreboard, String objectiveName, BoundedIntUnaryOperator range) -
Uses of Entity in net.minecraft.loot.context
Fields in net.minecraft.loot.context with type parameters of type Entity Modifier and Type Field Description static LootContextParameter<Entity>LootContextParameters. DIRECT_KILLER_ENTITYstatic LootContextParameter<Entity>LootContextParameters. KILLER_ENTITYprivate LootContextParameter<? extends Entity>LootContext.EntityTarget. parameterstatic LootContextParameter<Entity>LootContextParameters. THIS_ENTITYMethods in net.minecraft.loot.context that return types with arguments of type Entity Modifier and Type Method Description LootContextParameter<? extends Entity>LootContext.EntityTarget. getParameter()Constructor parameters in net.minecraft.loot.context with type arguments of type Entity Constructor Description EntityTarget(String type, LootContextParameter<? extends Entity> parameter) -
Uses of Entity in net.minecraft.network.packet.c2s.play
Methods in net.minecraft.network.packet.c2s.play that return Entity Modifier and Type Method Description @Nullable EntityPlayerInteractEntityC2SPacket. getEntity(ServerWorld world)@Nullable EntitySpectatorTeleportC2SPacket. getTarget(ServerWorld world)Methods in net.minecraft.network.packet.c2s.play with parameters of type Entity Modifier and Type Method Description static PlayerInteractEntityC2SPacketPlayerInteractEntityC2SPacket. attack(Entity entity, boolean playerSneaking)static PlayerInteractEntityC2SPacketPlayerInteractEntityC2SPacket. interact(Entity entity, boolean playerSneaking, Hand hand)static PlayerInteractEntityC2SPacketPlayerInteractEntityC2SPacket. interactAt(Entity entity, boolean playerSneaking, Hand hand, Vec3d pos)Constructors in net.minecraft.network.packet.c2s.play with parameters of type Entity Constructor Description ClientCommandC2SPacket(Entity entity, ClientCommandC2SPacket.Mode mode)ClientCommandC2SPacket(Entity entity, ClientCommandC2SPacket.Mode mode, int mountJumpHeight)VehicleMoveC2SPacket(Entity entity) -
Uses of Entity in net.minecraft.network.packet.s2c.play
Methods in net.minecraft.network.packet.s2c.play that return Entity Modifier and Type Method Description @Nullable EntityEntityS2CPacket. getEntity(World world)EntityEntitySetHeadYawS2CPacket. getEntity(World world)@Nullable EntityEntityStatusS2CPacket. getEntity(World world)@Nullable EntityRemoveEntityStatusEffectS2CPacket. getEntity(World world)@Nullable EntitySetCameraEntityS2CPacket. getEntity(World world)Constructors in net.minecraft.network.packet.s2c.play with parameters of type Entity Constructor Description EntityAnimationS2CPacket(Entity entity, int animationId)EntityAttachS2CPacket(Entity attachedEntity, @Nullable Entity holdingEntity)EntityPassengersSetS2CPacket(Entity entity)EntityPositionS2CPacket(Entity entity)EntitySetHeadYawS2CPacket(Entity entity, byte headYaw)EntitySpawnS2CPacket(Entity entity)EntitySpawnS2CPacket(Entity entity, int entityData)EntitySpawnS2CPacket(Entity entity, EntityType<?> entityType, int data, BlockPos pos)EntityStatusS2CPacket(Entity entity, byte status)EntityVelocityUpdateS2CPacket(Entity entity)LookAtS2CPacket(EntityAnchorArgumentType.EntityAnchor selfAnchor, Entity entity, EntityAnchorArgumentType.EntityAnchor targetAnchor)PlaySoundFromEntityS2CPacket(SoundEvent sound, SoundCategory category, Entity entity, float volume, float pitch)SetCameraEntityS2CPacket(Entity entity)VehicleMoveS2CPacket(Entity entity) -
Uses of Entity in net.minecraft.predicate
Methods in net.minecraft.predicate with parameters of type Entity Modifier and Type Method Description static NbtCompoundNbtPredicate. entityToNbt(Entity entity)booleanNbtPredicate. test(Entity entity)booleanPlayerPredicate. test(Entity entity) -
Uses of Entity in net.minecraft.predicate.entity
Fields in net.minecraft.predicate.entity with type parameters of type Entity Modifier and Type Field Description static Predicate<Entity>EntityPredicates. EXCEPT_CREATIVE_OR_SPECTATORstatic Predicate<Entity>EntityPredicates. EXCEPT_CREATIVE_SPECTATOR_OR_PEACEFULstatic Predicate<Entity>EntityPredicates. EXCEPT_SPECTATORstatic Predicate<Entity>EntityPredicates. NOT_MOUNTEDTests if an entity is not mounted.static Predicate<Entity>EntityPredicates. VALID_ENTITYTests if an entity is valid.static Predicate<Entity>EntityPredicates. VALID_INVENTORIESTests if an entity has a valid inventory.static Predicate<Entity>EntityPredicates. VALID_LIVING_ENTITYTests if a living entity is valid.Methods in net.minecraft.predicate.entity that return types with arguments of type Entity Modifier and Type Method Description static Predicate<Entity>EntityPredicates. canBePushedBy(Entity entity)static Predicate<Entity>EntityPredicates. maxDistance(double x, double y, double z, double max)static Predicate<Entity>EntityPredicates. rides(Entity entity)Methods in net.minecraft.predicate.entity with parameters of type Entity Modifier and Type Method Description static Predicate<Entity>EntityPredicates. canBePushedBy(Entity entity)static LootContextEntityPredicate. createAdvancementEntityLootContext(ServerPlayerEntity player, Entity target)static Predicate<Entity>EntityPredicates. rides(Entity entity)booleanEntityEffectPredicate. test(Entity entity)booleanEntityEquipmentPredicate. test(@Nullable Entity entity)booleanEntityFlagsPredicate. test(Entity entity)booleanEntityPredicate. test(ServerPlayerEntity player, @Nullable Entity entity)booleanEntityPredicate. test(ServerWorld world, @Nullable Vec3d pos, @Nullable Entity entity)booleanEntityPredicates.Equipable. test(@Nullable Entity entity)booleanFishingHookPredicate. test(Entity entity) -
Uses of Entity in net.minecraft.scoreboard
Methods in net.minecraft.scoreboard with parameters of type Entity Modifier and Type Method Description voidScoreboard. resetEntityScore(Entity entity) -
Uses of Entity in net.minecraft.server.command
Fields in net.minecraft.server.command declared as Entity Modifier and Type Field Description private @Nullable EntityServerCommandSource. entityprivate EntityTeleportCommand.LookTarget. targetMethods in net.minecraft.server.command that return Entity Modifier and Type Method Description @Nullable EntityServerCommandSource. getEntity()Gets the entity from this command source or returns null if this command source is not an entity.EntityServerCommandSource. getEntityOrThrow()Gets the entity from this command source or throws a command syntax exception if this command source is not an entity.Methods in net.minecraft.server.command with parameters of type Entity Modifier and Type Method Description private static intSpectateCommand. execute(ServerCommandSource source, @Nullable Entity entity, ServerPlayerEntity player)private static intTeleportCommand. execute(ServerCommandSource source, Collection<? extends Entity> targets, Entity destination)private static intAttributeCommand. executeBaseValueGet(ServerCommandSource source, Entity target, EntityAttribute attribute, double multiplier)private static intAttributeCommand. executeBaseValueSet(ServerCommandSource source, Entity target, EntityAttribute attribute, double value)private static intItemCommand. executeBlockCopyEntity(ServerCommandSource source, Entity sourceEntity, int sourceSlot, BlockPos pos, int slot)private static intItemCommand. executeBlockCopyEntity(ServerCommandSource source, Entity sourceEntity, int sourceSlot, BlockPos pos, int slot, LootFunction modifier)private static intItemCommand. executeEntityCopyEntity(ServerCommandSource source, Entity sourceEntity, int sourceSlot, Collection<? extends Entity> targets, int slot)private static intItemCommand. executeEntityCopyEntity(ServerCommandSource source, Entity sourceEntity, int sourceSlot, Collection<? extends Entity> targets, int slot, LootFunction modifier)private static intLootCommand. executeKill(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, Entity entity, LootCommand.Target constructor)private static intAttributeCommand. executeModifierAdd(ServerCommandSource source, Entity target, EntityAttribute attribute, UUID uuid, String name, double value, EntityAttributeModifier.Operation operation)private static intAttributeCommand. executeModifierRemove(ServerCommandSource source, Entity target, EntityAttribute attribute, UUID uuid)private static intAttributeCommand. executeModifierValueGet(ServerCommandSource source, Entity target, EntityAttribute attribute, UUID uuid, double multiplier)private static intAttributeCommand. executeValueGet(ServerCommandSource source, Entity target, EntityAttribute attribute, double multiplier)private static EntityAttributeInstanceAttributeCommand. getAttributeInstance(Entity entity, EntityAttribute attribute)private static LivingEntityAttributeCommand. getLivingEntity(Entity entity)private static LivingEntityAttributeCommand. getLivingEntityWithAttribute(Entity entity, EntityAttribute attribute)private static ItemStackItemCommand. getStackInSlot(Entity entity, int slotId)voidTeleportCommand.LookTarget. look(ServerCommandSource source, Entity entity)private static voidLootCommand. replace(Entity entity, List<ItemStack> stacks, int slot, int stackCount, List<ItemStack> addedStacks)private static voidTeleportCommand. teleport(ServerCommandSource source, Entity target, ServerWorld world, double x, double y, double z, Set<PlayerPositionLookS2CPacket.Flag> movementFlags, float yaw, float pitch, @Nullable TeleportCommand.LookTarget facingLocation)ServerCommandSourceServerCommandSource. withEntity(Entity entity)ServerCommandSourceServerCommandSource. withLookingAt(Entity entity, EntityAnchorArgumentType.EntityAnchor anchor)Method parameters in net.minecraft.server.command with type arguments of type Entity Modifier and Type Method Description private static intEnchantCommand. execute(ServerCommandSource source, Collection<? extends Entity> targets, Enchantment enchantment, int level)private static intKillCommand. execute(ServerCommandSource source, Collection<? extends Entity> targets)private static intSpreadPlayersCommand. execute(ServerCommandSource source, Vec2f center, float spreadDistance, float maxRange, int maxY, boolean respectTeams, Collection<? extends Entity> players)private static intTeleportCommand. execute(ServerCommandSource source, Collection<? extends Entity> targets, Entity destination)private static intTeleportCommand. execute(ServerCommandSource source, Collection<? extends Entity> targets, ServerWorld world, PosArgument location, @Nullable PosArgument rotation, @Nullable TeleportCommand.LookTarget facingLocation)private static intTagCommand. executeAdd(ServerCommandSource source, Collection<? extends Entity> targets, String tag)private static intEffectCommand. executeClear(ServerCommandSource source, Collection<? extends Entity> targets)private static intEffectCommand. executeClear(ServerCommandSource source, Collection<? extends Entity> targets, StatusEffect effect)private static intItemCommand. executeEntityCopyBlock(ServerCommandSource source, BlockPos sourcePos, int sourceSlot, Collection<? extends Entity> targets, int slot)private static intItemCommand. executeEntityCopyBlock(ServerCommandSource source, BlockPos sourcePos, int sourceSlot, Collection<? extends Entity> targets, int slot, LootFunction modifier)private static intItemCommand. executeEntityCopyEntity(ServerCommandSource source, Entity sourceEntity, int sourceSlot, Collection<? extends Entity> targets, int slot)private static intItemCommand. executeEntityCopyEntity(ServerCommandSource source, Entity sourceEntity, int sourceSlot, Collection<? extends Entity> targets, int slot, LootFunction modifier)private static intItemCommand. executeEntityModify(ServerCommandSource source, Collection<? extends Entity> targets, int slot, LootFunction modifier)private static intItemCommand. executeEntityReplace(ServerCommandSource source, Collection<? extends Entity> targets, int slot, ItemStack stack)private static intEffectCommand. executeGive(ServerCommandSource source, Collection<? extends Entity> targets, StatusEffect effect, @Nullable Integer seconds, int amplifier, boolean showParticles)private static intTagCommand. executeList(ServerCommandSource source, Collection<? extends Entity> targets)private static intTagCommand. executeRemove(ServerCommandSource source, Collection<? extends Entity> targets, String tag)private static intLootCommand. executeReplace(Collection<? extends Entity> targets, int slot, int stackCount, List<ItemStack> stacks, LootCommand.FeedbackMessage messageSender)private static doubleSpreadPlayersCommand. getMinDistance(Collection<? extends Entity> entities, ServerWorld world, SpreadPlayersCommand.Pile[] piles, int maxY, boolean respectTeams)private static intSpreadPlayersCommand. getPileCountRespectingTeams(Collection<? extends Entity> entities)private static Collection<String>TagCommand. getTags(Collection<? extends Entity> entities)Constructors in net.minecraft.server.command with parameters of type Entity Constructor Description LookTarget(Entity target, EntityAnchorArgumentType.EntityAnchor targetAnchor)ServerCommandSource(CommandOutput output, Vec3d pos, Vec2f rot, ServerWorld world, int level, String simpleName, Text name, MinecraftServer server, @Nullable Entity entity)ServerCommandSource(CommandOutput output, Vec3d pos, Vec2f rot, ServerWorld world, int level, String simpleName, Text name, MinecraftServer server, @Nullable Entity entity, boolean silent, com.mojang.brigadier.ResultConsumer<ServerCommandSource> consumer, EntityAnchorArgumentType.EntityAnchor entityAnchor) -
Uses of Entity in net.minecraft.server.network
Subclasses of Entity in net.minecraft.server.network Modifier and Type Class Description classServerPlayerEntityFields in net.minecraft.server.network declared as Entity Modifier and Type Field Description private EntityServerPlayerEntity. cameraEntityprivate EntityEntityTrackerEntry. entityprivate @Nullable EntityServerPlayNetworkHandler. topmostRiddenEntityFields in net.minecraft.server.network with type parameters of type Entity Modifier and Type Field Description private List<Entity>EntityTrackerEntry. lastPassengersMethods in net.minecraft.server.network that return Entity Modifier and Type Method Description EntityServerPlayerEntity. getCameraEntity()@Nullable EntityServerPlayerEntity. moveToWorld(ServerWorld destination)Moves this entity to another world.Methods in net.minecraft.server.network with parameters of type Entity Modifier and Type Method Description voidServerPlayerEntity. addCritParticles(Entity target)voidServerPlayerEntity. addEnchantedHitParticles(Entity target)voidServerPlayerEntity. attack(Entity target)private booleanServerPlayNetworkHandler. isEntityOnAir(Entity entity)voidServerPlayerEntity. lookAtEntity(EntityAnchorArgumentType.EntityAnchor anchorPoint, Entity targetEntity, EntityAnchorArgumentType.EntityAnchor targetAnchor)voidServerPlayerEntity. onStartedTracking(Entity entity)voidServerPlayerEntity. onStoppedTracking(Entity entity)ActionResultServerPlayNetworkHandler.Interaction. run(ServerPlayerEntity player, Entity entity, Hand hand)voidServerPlayerEntity. sendPickup(Entity item, int count)voidServerPlayerEntity. setCameraEntity(Entity entity)booleanServerPlayerEntity. startRiding(Entity entity, boolean force)voidServerPlayerEntity. updateKilledAdvancementCriterion(Entity killer, int score, DamageSource damageSource)Constructors in net.minecraft.server.network with parameters of type Entity Constructor Description EntityTrackerEntry(ServerWorld world, Entity entity, int tickInterval, boolean alwaysUpdateVelocity, Consumer<Packet<?>> receiver) -
Uses of Entity in net.minecraft.server.world
Fields in net.minecraft.server.world declared as Entity Modifier and Type Field Description private EntityThreadedAnvilChunkStorage.EntityTracker. entityFields in net.minecraft.server.world with type parameters of type Entity Modifier and Type Field Description private ServerEntityManager<Entity>ServerWorld. entityManagerMethods in net.minecraft.server.world with type parameters of type Entity Modifier and Type Method Description <T extends Entity>
List<? extends T>ServerWorld. getEntitiesByType(TypeFilter<Entity,T> typeFilter, Predicate<? super T> predicate)Computes a list of entities of the given type.Methods in net.minecraft.server.world that return Entity Modifier and Type Method Description @Nullable EntityServerWorld. getDragonPart(int id)Deprecated.@Nullable EntityServerWorld. getEntity(UUID uuid)@Nullable EntityServerWorld. getEntityById(int id)Methods in net.minecraft.server.world that return types with arguments of type Entity Modifier and Type Method Description protected EntityLookup<Entity>ServerWorld. getEntityLookup()Iterable<Entity>ServerWorld. iterateEntities()Methods in net.minecraft.server.world with parameters of type Entity Modifier and Type Method Description private booleanServerWorld. addEntity(Entity entity)voidServerWorld.ServerEntityHandler. create(Entity entity)ExplosionServerWorld. createExplosion(@Nullable Entity entity, @Nullable DamageSource damageSource, @Nullable ExplosionBehavior behavior, double x, double y, double z, float power, boolean createFire, Explosion.DestructionType destructionType)voidServerWorld.ServerEntityHandler. destroy(Entity entity)voidServerWorld. emitGameEvent(@Nullable Entity entity, GameEvent event, BlockPos pos)private static doubleThreadedAnvilChunkStorage. getSquaredDistance(ChunkPos pos, Entity entity)voidServerWorld. handleInteraction(EntityInteraction interaction, Entity entity, InteractionObserver observer)voidServerChunkManager. loadEntity(Entity entity)protected voidThreadedAnvilChunkStorage. loadEntity(Entity entity)private static intThreadedAnvilChunkStorage. method_34869(ChunkPos chunkPos, Entity entity)voidServerWorld. onDimensionChanged(Entity entity)voidServerWorld. playSoundFromEntity(@Nullable PlayerEntity player, Entity entity, SoundEvent sound, SoundCategory category, float volume, float pitch)voidServerWorld. sendEntityStatus(Entity entity, byte status)voidServerChunkManager. sendToNearbyPlayers(Entity entity, Packet<?> packet)protected voidThreadedAnvilChunkStorage. sendToNearbyPlayers(Entity entity, Packet<?> packet)voidServerChunkManager. sendToOtherNearbyPlayers(Entity entity, Packet<?> packet)protected voidThreadedAnvilChunkStorage. sendToOtherNearbyPlayers(Entity entity, Packet<?> packet)private booleanServerWorld. shouldCancelSpawn(Entity entity)booleanServerWorld. shouldCreateNewEntityWithPassenger(Entity entity)booleanServerWorld. spawnEntity(Entity entity)voidServerWorld.ServerEntityHandler. startTicking(Entity entity)voidServerWorld.ServerEntityHandler. startTracking(Entity entity)voidServerWorld.ServerEntityHandler. stopTicking(Entity entity)voidServerWorld.ServerEntityHandler. stopTracking(Entity entity)voidServerWorld. tickEntity(Entity entity)private voidServerWorld. tickPassenger(Entity vehicle, Entity passenger)booleanServerWorld. tryLoadEntity(Entity entity)voidServerChunkManager. unloadEntity(Entity entity)protected voidThreadedAnvilChunkStorage. unloadEntity(Entity entity)Method parameters in net.minecraft.server.world with type arguments of type Entity Modifier and Type Method Description voidServerWorld. addEntities(Stream<Entity> entities)private static voidServerWorld. dumpEntities(Writer writer, Iterable<Entity> entities)<T extends Entity>
List<? extends T>ServerWorld. getEntitiesByType(TypeFilter<Entity,T> typeFilter, Predicate<? super T> predicate)Computes a list of entities of the given type.voidServerWorld. loadEntities(Stream<Entity> entities)Constructors in net.minecraft.server.world with parameters of type Entity Constructor Description EntityTracker(Entity entity, int maxDistance, int tickInterval, boolean alwaysUpdateVelocity) -
Uses of Entity in net.minecraft.structure
Methods in net.minecraft.structure that return types with arguments of type Entity Modifier and Type Method Description private static Optional<Entity>Structure. getEntity(ServerWorldAccess world, NbtCompound nbt) -
Uses of Entity in net.minecraft.test
Methods in net.minecraft.test with type parameters of type Entity Modifier and Type Method Description <E extends Entity, T>
voidStartupParameter. method_35957(E e, Function<E,T> function, String string, T t)<E extends Entity>
voidStartupParameter. method_35958(E e, Predicate<E> predicate, String string)<E extends Entity>
EStartupParameter. method_35961(EntityType<E> entityType, float float2, float float3, float float4)<E extends Entity>
EStartupParameter. method_35962(EntityType<E> entityType, int int2, int int3, int int4)<E extends Entity>
EStartupParameter. method_35963(EntityType<E> entityType, Vec3d vec3d)<E extends Entity>
EStartupParameter. method_35964(EntityType<E> entityType, BlockPos blockPos)<E extends Entity, T>
voidStartupParameter. method_35982(BlockPos blockPos, EntityType<E> entityType, Function<? super E,T> function, T t)<E extends Entity, T>
voidStartupParameter. method_36015(BlockPos blockPos, EntityType<E> entityType, Function<E,T> function, T t)Methods in net.minecraft.test with parameters of type Entity Modifier and Type Method Description voidStartupParameter. method_35953(Entity entity, int int2, int int3, int int4)voidStartupParameter. method_35955(Entity entity, BlockPos blockPos)voidStartupParameter. method_35996(String string, Entity entity) -
Uses of Entity in net.minecraft.text
Methods in net.minecraft.text with parameters of type Entity Modifier and Type Method Description MutableTextNbtText. parse(@Nullable ServerCommandSource source, @Nullable Entity sender, int depth)MutableTextParsableText. parse(@Nullable ServerCommandSource source, @Nullable Entity sender, int depth)MutableTextScoreText. parse(@Nullable ServerCommandSource source, @Nullable Entity sender, int depth)MutableTextSelectorText. parse(@Nullable ServerCommandSource source, @Nullable Entity sender, int depth)static MutableTextTexts. parse(@Nullable ServerCommandSource source, Text text, @Nullable Entity sender, int depth)MutableTextTranslatableText. parse(@Nullable ServerCommandSource source, @Nullable Entity sender, int depth)private static StyleTexts. parseStyle(@Nullable ServerCommandSource source, Style style, @Nullable Entity sender, int depth) -
Uses of Entity in net.minecraft.util
-
Uses of Entity in net.minecraft.util.hit
Fields in net.minecraft.util.hit declared as Entity Modifier and Type Field Description private EntityEntityHitResult. entityMethods in net.minecraft.util.hit that return Entity Modifier and Type Method Description EntityEntityHitResult. getEntity()Methods in net.minecraft.util.hit with parameters of type Entity Modifier and Type Method Description doubleHitResult. squaredDistanceTo(Entity entity)Constructors in net.minecraft.util.hit with parameters of type Entity Constructor Description EntityHitResult(Entity entity)EntityHitResult(Entity entity, Vec3d pos) -
Uses of Entity in net.minecraft.util.math
Methods in net.minecraft.util.math with parameters of type Entity Modifier and Type Method Description static ChunkSectionPosChunkSectionPos. from(Entity entity)static Direction[]Direction. getEntityFacingOrder(Entity entity)static DirectionDirection. getLookDirectionForAxis(Entity entity, Direction.Axis axis) -
Uses of Entity in net.minecraft.village
Methods in net.minecraft.village with parameters of type Entity Modifier and Type Method Description TradeOfferTradeOffers.BuyForOneEmeraldFactory. create(Entity entity, Random random)Creates a trade offer.TradeOfferTradeOffers.EnchantBookFactory. create(Entity entity, Random random)Creates a trade offer.@Nullable TradeOfferTradeOffers.Factory. create(Entity entity, Random random)Creates a trade offer.@Nullable TradeOfferTradeOffers.ProcessItemFactory. create(Entity entity, Random random)Creates a trade offer.TradeOfferTradeOffers.SellDyedArmorFactory. create(Entity entity, Random random)Creates a trade offer.TradeOfferTradeOffers.SellEnchantedToolFactory. create(Entity entity, Random random)Creates a trade offer.TradeOfferTradeOffers.SellItemFactory. create(Entity entity, Random random)Creates a trade offer.@Nullable TradeOfferTradeOffers.SellMapFactory. create(Entity entity, Random random)Creates a trade offer.TradeOfferTradeOffers.SellPotionHoldingItemFactory. create(Entity entity, Random random)Creates a trade offer.@Nullable TradeOfferTradeOffers.SellSuspiciousStewFactory. create(Entity entity, Random random)Creates a trade offer.@Nullable TradeOfferTradeOffers.TypeAwareBuyForOneEmeraldFactory. create(Entity entity, Random random)Creates a trade offer. -
Uses of Entity in net.minecraft.village.raid
Methods in net.minecraft.village.raid with parameters of type Entity Modifier and Type Method Description voidRaid. addHero(Entity entity) -
Uses of Entity in net.minecraft.world
Fields in net.minecraft.world declared as Entity Modifier and Type Field Description private @Nullable EntityBlockCollisionSpliterator. entityprivate @Nullable EntityMobSpawnerLogic. renderedEntityFields in net.minecraft.world with type parameters of type Entity Modifier and Type Field Description private Int2ObjectMap<Entity>EntityList. entitiesprivate @Nullable Int2ObjectMap<Entity>EntityList. iteratingprivate Int2ObjectMap<Entity>EntityList. tempMethods in net.minecraft.world with type parameters of type Entity Modifier and Type Method Description default <T extends Entity>
List<T>EntityView. getEntitiesByClass(Class<T> entityClass, Box box, Predicate<? super T> predicate)Computes a list of entities within some box whose runtime Java class is the same as or is a subclass of the given class.<T extends Entity>
List<T>ChunkRegion. getEntitiesByType(TypeFilter<Entity,T> filter, Box box, Predicate<? super T> predicate)<T extends Entity>
List<T>EntityView. getEntitiesByType(TypeFilter<Entity,T> filter, Box box, Predicate<? super T> predicate)<T extends Entity>
List<T>World. getEntitiesByType(TypeFilter<Entity,T> filter, Box box, Predicate<? super T> predicate)default <T extends Entity>
List<T>EntityView. getNonSpectatingEntities(Class<T> entityClass, Box box)<T extends Entity>
voidWorld. tickEntity(Consumer<T> tickConsumer, T entity)Methods in net.minecraft.world that return Entity Modifier and Type Method Description abstract @Nullable EntityWorld. getEntityById(int id)@Nullable EntityMobSpawnerLogic. getRenderedEntity(World world)Methods in net.minecraft.world that return types with arguments of type Entity Modifier and Type Method Description protected abstract EntityLookup<Entity>World. getEntityLookup()List<Entity>ChunkRegion. getOtherEntities(@Nullable Entity except, Box box, @Nullable Predicate<? super Entity> predicate)Computes a list of entities within some box, excluding the given entity, that satisfy the given predicate.default List<Entity>EntityView. getOtherEntities(@Nullable Entity except, Box box)Computes a list of entities within some box, excluding the given entity, that are not spectators.List<Entity>EntityView. getOtherEntities(@Nullable Entity except, Box box, Predicate<? super Entity> predicate)Computes a list of entities within some box, excluding the given entity, that satisfy the given predicate.List<Entity>World. getOtherEntities(@Nullable Entity except, Box box, Predicate<? super Entity> predicate)Computes a list of entities within some box, excluding the given entity, that satisfy the given predicate.Methods in net.minecraft.world with parameters of type Entity Modifier and Type Method Description voidEntityList. add(Entity entity)booleanChunkRegion. breakBlock(BlockPos pos, boolean drop, @Nullable Entity breakingEntity, int maxUpdateDepth)default booleanModifiableWorld. breakBlock(BlockPos pos, boolean drop, @Nullable Entity breakingEntity)booleanModifiableWorld. breakBlock(BlockPos pos, boolean drop, @Nullable Entity breakingEntity, int maxUpdateDepth)booleanWorld. breakBlock(BlockPos pos, boolean drop, @Nullable Entity breakingEntity, int maxUpdateDepth)ExplosionWorld. createExplosion(@Nullable Entity entity, double x, double y, double z, float power, boolean createFire, Explosion.DestructionType destructionType)ExplosionWorld. createExplosion(@Nullable Entity entity, double x, double y, double z, float power, Explosion.DestructionType destructionType)ExplosionWorld. createExplosion(@Nullable Entity entity, @Nullable DamageSource damageSource, @Nullable ExplosionBehavior behavior, double x, double y, double z, float power, boolean createFire, Explosion.DestructionType destructionType)voidChunkRegion. emitGameEvent(@Nullable Entity entity, GameEvent event, BlockPos pos)protected voidWorld. emitGameEvent(@Nullable Entity entity, GameEvent gameEvent, BlockPos pos, int range)default voidWorldAccess. emitGameEvent(@Nullable Entity entity, GameEvent event, Entity emitter)voidWorldAccess. emitGameEvent(@Nullable Entity entity, GameEvent event, BlockPos pos)default voidWorldAccess. emitGameEvent(GameEvent event, Entity emitter)default Stream<VoxelShape>CollisionView. getBlockCollisions(@Nullable Entity entity, Box box)default Stream<VoxelShape>CollisionView. getBlockCollisions(@Nullable Entity entity, Box box, BiPredicate<BlockState,BlockPos> biPredicate)default @Nullable PlayerEntityEntityView. getClosestPlayer(Entity entity, double maxDistance)default Stream<VoxelShape>CollisionView. getCollisions(@Nullable Entity entity, Box box, Predicate<Entity> predicate)Stream<VoxelShape>CollisionView. getEntityCollisions(@Nullable Entity entity, Box box, Predicate<Entity> predicate)default Stream<VoxelShape>EntityView. getEntityCollisions(@Nullable Entity entity, Box box, Predicate<Entity> predicate)default Stream<VoxelShape>RegistryWorldView. getEntityCollisions(@Nullable Entity entity, Box box, Predicate<Entity> predicate)List<Entity>ChunkRegion. getOtherEntities(@Nullable Entity except, Box box, @Nullable Predicate<? super Entity> predicate)Computes a list of entities within some box, excluding the given entity, that satisfy the given predicate.default List<Entity>EntityView. getOtherEntities(@Nullable Entity except, Box box)Computes a list of entities within some box, excluding the given entity, that are not spectators.List<Entity>EntityView. getOtherEntities(@Nullable Entity except, Box box, Predicate<? super Entity> predicate)Computes a list of entities within some box, excluding the given entity, that satisfy the given predicate.List<Entity>World. getOtherEntities(@Nullable Entity except, Box box, Predicate<? super Entity> predicate)Computes a list of entities within some box, excluding the given entity, that satisfy the given predicate.booleanEntityList. has(Entity entity)default booleanCollisionView. intersectsEntities(@Nullable Entity except, VoxelShape shape)default booleanCollisionView. intersectsEntities(Entity entity)default booleanEntityView. intersectsEntities(@Nullable Entity entity, VoxelShape shape)default booleanRegistryWorldView. intersectsEntities(@Nullable Entity entity, VoxelShape shape)default booleanCollisionView. isBlockSpaceEmpty(@Nullable Entity entity, Box box, BiPredicate<BlockState,BlockPos> biPredicate)booleanWorld. isDirectionSolid(BlockPos pos, Entity entity, Direction direction)default booleanCollisionView. isSpaceEmpty(@Nullable Entity entity, Box box, Predicate<Entity> predicate)default booleanCollisionView. isSpaceEmpty(Entity entity)default booleanCollisionView. isSpaceEmpty(Entity entity, Box box)booleanWorld. isTopSolid(BlockPos pos, Entity entity)default Optional<Vec3d>CollisionView. method_33594(@Nullable Entity entity, VoxelShape voxelShape, Vec3d vec3d, double double2, double double3, double double4)abstract voidWorld. playSoundFromEntity(@Nullable PlayerEntity player, Entity entity, SoundEvent sound, SoundCategory category, float volume, float pitch)voidEntityList. remove(Entity entity)voidWorld. sendEntityStatus(Entity entity, byte status)booleanChunkRegion. spawnEntity(Entity entity)default booleanModifiableWorld. spawnEntity(Entity entity)default voidServerWorldAccess. spawnEntityAndPassengers(Entity entity)Spawns an entity and all its passengers (recursively) into the world.Method parameters in net.minecraft.world with type arguments of type Entity Modifier and Type Method Description voidEntityList. forEach(Consumer<Entity> action)Runs anactionon every entity in this storage.@Nullable PlayerEntityChunkRegion. getClosestPlayer(double x, double y, double z, double maxDistance, Predicate<Entity> targetPredicate)default @Nullable PlayerEntityEntityView. getClosestPlayer(double x, double y, double z, double maxDistance, @Nullable Predicate<Entity> targetPredicate)default Stream<VoxelShape>CollisionView. getCollisions(@Nullable Entity entity, Box box, Predicate<Entity> predicate)<T extends Entity>
List<T>ChunkRegion. getEntitiesByType(TypeFilter<Entity,T> filter, Box box, Predicate<? super T> predicate)<T extends Entity>
List<T>EntityView. getEntitiesByType(TypeFilter<Entity,T> filter, Box box, Predicate<? super T> predicate)<T extends Entity>
List<T>World. getEntitiesByType(TypeFilter<Entity,T> filter, Box box, Predicate<? super T> predicate)Stream<VoxelShape>CollisionView. getEntityCollisions(@Nullable Entity entity, Box box, Predicate<Entity> predicate)default Stream<VoxelShape>EntityView. getEntityCollisions(@Nullable Entity entity, Box box, Predicate<Entity> predicate)default Stream<VoxelShape>RegistryWorldView. getEntityCollisions(@Nullable Entity entity, Box box, Predicate<Entity> predicate)List<Entity>ChunkRegion. getOtherEntities(@Nullable Entity except, Box box, @Nullable Predicate<? super Entity> predicate)Computes a list of entities within some box, excluding the given entity, that satisfy the given predicate.List<Entity>EntityView. getOtherEntities(@Nullable Entity except, Box box, Predicate<? super Entity> predicate)Computes a list of entities within some box, excluding the given entity, that satisfy the given predicate.List<Entity>World. getOtherEntities(@Nullable Entity except, Box box, Predicate<? super Entity> predicate)Computes a list of entities within some box, excluding the given entity, that satisfy the given predicate.default booleanCollisionView. isSpaceEmpty(@Nullable Entity entity, Box box, Predicate<Entity> predicate)static SpawnHelper.InfoSpawnHelper. setupSpawn(int spawningChunkCount, Iterable<Entity> entities, SpawnHelper.ChunkSource chunkSource)Constructors in net.minecraft.world with parameters of type Entity Constructor Description BlockCollisionSpliterator(CollisionView world, @Nullable Entity entity, Box box)BlockCollisionSpliterator(CollisionView world, @Nullable Entity entity, Box box, BiPredicate<BlockState,BlockPos> blockPredicate)RaycastContext(Vec3d start, Vec3d end, RaycastContext.ShapeType shapeType, RaycastContext.FluidHandling fluidHandling, Entity entity) -
Uses of Entity in net.minecraft.world.border
Methods in net.minecraft.world.border with parameters of type Entity Modifier and Type Method Description doubleWorldBorder. getDistanceInsideBorder(Entity entity) -
Uses of Entity in net.minecraft.world.chunk
Methods in net.minecraft.world.chunk with parameters of type Entity Modifier and Type Method Description voidChunk. addEntity(Entity entity)voidProtoChunk. addEntity(Entity entity)voidReadOnlyChunk. addEntity(Entity entity)voidWorldChunk. addEntity(Entity entity)Deprecated.Stream<VoxelShape>ChunkCache. getCollisions(@Nullable Entity entity, Box box, Predicate<Entity> predicate)Stream<VoxelShape>ChunkCache. getEntityCollisions(@Nullable Entity entity, Box box, Predicate<Entity> predicate)Method parameters in net.minecraft.world.chunk with type arguments of type Entity Modifier and Type Method Description Stream<VoxelShape>ChunkCache. getCollisions(@Nullable Entity entity, Box box, Predicate<Entity> predicate)Stream<VoxelShape>ChunkCache. getEntityCollisions(@Nullable Entity entity, Box box, Predicate<Entity> predicate) -
Uses of Entity in net.minecraft.world.event
Fields in net.minecraft.world.event with type parameters of type Entity Modifier and Type Field Description private Optional<Entity>EntityPositionSource. entity -
Uses of Entity in net.minecraft.world.event.listener
Methods in net.minecraft.world.event.listener with parameters of type Entity Modifier and Type Method Description booleanSculkSensorListener.Callback. accepts(World world, GameEventListener listener, BlockPos pos, GameEvent event, @Nullable Entity entity)Returns whether the callback wants to accept this event.voidGameEventDispatcher. dispatch(GameEvent event, @Nullable Entity entity, BlockPos pos)Dispatches an event to all the listeners in this dispatcher.voidSimpleGameEventDispatcher. dispatch(GameEvent event, @Nullable Entity entity, BlockPos pos)Dispatches an event to all the listeners in this dispatcher.private booleanSimpleGameEventDispatcher. dispatchTo(World world, GameEvent event, @Nullable Entity entity, BlockPos pos, GameEventListener listener)booleanGameEventListener. listen(World world, GameEvent event, @Nullable Entity entity, BlockPos pos)Listens to an incoming game event.booleanSculkSensorListener. listen(World world, GameEvent event, @Nullable Entity entity, BlockPos pos)Listens to an incoming game event.private booleanSculkSensorListener. shouldActivate(GameEvent event, @Nullable Entity entity) -
Uses of Entity in net.minecraft.world.explosion
Fields in net.minecraft.world.explosion declared as Entity Modifier and Type Field Description private EntityEntityExplosionBehavior. entityprivate @Nullable EntityExplosion. entityMethods in net.minecraft.world.explosion with parameters of type Entity Modifier and Type Method Description private ExplosionBehaviorExplosion. chooseBehavior(@Nullable Entity entity)static floatExplosion. getExposure(Vec3d source, Entity entity)Constructors in net.minecraft.world.explosion with parameters of type Entity Constructor Description EntityExplosionBehavior(Entity entity)Explosion(World world, @Nullable Entity entity, double x, double y, double z, float power)Explosion(World world, @Nullable Entity entity, double x, double y, double z, float power, boolean createFire, Explosion.DestructionType destructionType)Explosion(World world, @Nullable Entity entity, double x, double y, double z, float power, boolean createFire, Explosion.DestructionType destructionType, List<BlockPos> affectedBlocks)Explosion(World world, @Nullable Entity entity, double x, double y, double z, float power, List<BlockPos> affectedBlocks)Explosion(World world, @Nullable Entity entity, @Nullable DamageSource damageSource, @Nullable ExplosionBehavior behavior, double x, double y, double z, float power, boolean createFire, Explosion.DestructionType destructionType) -
Uses of Entity in net.minecraft.world.storage
Methods in net.minecraft.world.storage that return types with arguments of type Entity Modifier and Type Method Description private static ChunkDataList<Entity>EntityChunkDataAccess. emptyDataList(ChunkPos pos)CompletableFuture<ChunkDataList<Entity>>EntityChunkDataAccess. readChunkData(ChunkPos pos)Method parameters in net.minecraft.world.storage with type arguments of type Entity Modifier and Type Method Description voidEntityChunkDataAccess. writeChunkData(ChunkDataList<Entity> dataList)