Uses of Interface
dev.rono.igniscore.api.port.IgnisPlayer
Packages that use IgnisPlayer
Package
Description
Platform-neutral port interfaces (L1) that abstract Minecraft host APIs.
Cross-cutting runtime services (L3) built on top of platform ports.
Strategy interfaces and helpers for block/item extension behavior.
-
Uses of IgnisPlayer in dev.rono.igniscore.api.port
Methods in dev.rono.igniscore.api.port that return IgnisPlayerModifier and TypeMethodDescriptionPlatformAdapter.wrapPlayer(Object nativePlayer) Wraps a native player as anIgnisPlayer.Methods in dev.rono.igniscore.api.port that return types with arguments of type IgnisPlayerMethods in dev.rono.igniscore.api.port with parameters of type IgnisPlayerModifier and TypeMethodDescriptionvoidIgnisWorld.setEntityTarget(Object platformEntity, IgnisPlayer target) Sets the attack or follow target of a mob entity.IgnisWorld.spawnProjectile(String projectileType, IgnisLocation location, IgnisPlayer shooter, double velocityX, double velocityY, double velocityZ) Spawns a projectile entity with an initial velocity.default voidPlatformAdapter.spectateEntity(IgnisPlayer player, Object platformEntity, int durationTicks) -
Uses of IgnisPlayer in dev.rono.igniscore.api.service
Methods in dev.rono.igniscore.api.service with parameters of type IgnisPlayerModifier and TypeMethodDescriptiondefault voidIgnisProtocolService.attachEntityCamera(IgnisPlayer viewer, Object platformEntity, int durationTicks) Attach the viewer's camera toplatformEntityfordurationTicks.voidIgnisEffectService.showBlockPreview(IgnisPlayer player, IgnisLocation location, String materialKey) Shows a temporary block preview at a location for one player.Method parameters in dev.rono.igniscore.api.service with type arguments of type IgnisPlayerModifier and TypeMethodDescriptionvoidIgnisEffectService.playFakeExplosion(IgnisLocation location, float power, Collection<IgnisPlayer> players) Shows an explosion effect to the given players without block damage.voidIgnisProtocolService.sendFakeExplosion(IgnisLocation location, float power, Collection<IgnisPlayer> players) Sends a client-side explosion packet to the given players. -
Uses of IgnisPlayer in dev.rono.igniscore.api.strategy
Methods in dev.rono.igniscore.api.strategy that return IgnisPlayerModifier and TypeMethodDescriptionExtensionSupport.wrapPlayer(Object nativeObject) Wraps a native platform player object as anIgnisPlayer.Methods in dev.rono.igniscore.api.strategy with parameters of type IgnisPlayerModifier and TypeMethodDescriptiondefault voidIgnisBlockStrategy.onInteract(RuntimeBlockInstance instance, IgnisPlayer player) default voidIgnisItemStrategy.onItemUse(IgnisPlayer player, ItemDefinition definition, IgnisItem item, IgnisInteraction action) default voidIgnisItemStrategy.onItemUse(IgnisPlayer player, ItemDefinition definition, IgnisItem item, IgnisInteraction action, IgnisBlock clickedBlock) default CustomBlockActionIgnisBlockStrategy.onPlacedClick(BlockDefinition definition, IgnisLocation location, IgnisPlayer player, IgnisInteraction interaction, IgnisItem heldItem) Decide how a placed block responds to a player click.default voidIgnisBlockStrategy.onPlacedInteract(BlockDefinition definition, IgnisLocation location, IgnisPlayer player, CustomBlockAction action) default voidIgnisBlockStrategy.onPlacedInteract(BlockDefinition definition, IgnisLocation location, IgnisPlayer player, IgnisInteraction interaction, IgnisItem heldItem, CustomBlockAction action) voidExtensionSupport.openInventory(IgnisPlayer player, IgnisInventory inventory) Opens an inventory for the given player.default voidExtensionSupport.spectateEntity(IgnisPlayer player, Object platformEntity, int durationTicks) Puts the player into spectator mode viewingplatformEntityfordurationTicks.