Uses of Interface
com.hypixel.hytale.component.ComponentAccessor
Packages that use ComponentAccessor
Package
Description
An implementation of an EntityComponentSystem (aka ECS).
-
Uses of ComponentAccessor in com.hypixel.hytale.builtin.abilities.window
Methods in com.hypixel.hytale.builtin.abilities.window with parameters of type ComponentAccessorModifier and TypeMethodDescriptionvoidAbilityBenchWindow.onClose0(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) -
Uses of ComponentAccessor in com.hypixel.hytale.builtin.adventure.farming
Methods in com.hypixel.hytale.builtin.adventure.farming with parameters of type ComponentAccessorModifier and TypeMethodDescriptionstatic CapturedNPCMetadataFarmingUtil.generateCapturedNPCMetadata(ComponentAccessor<EntityStore> componentAccessor, Ref<EntityStore> entityRef, String npcNameKey) Called to generate captured NPC metadata for a farming NPC.static booleanFarmingUtil.harvest(ComponentAccessor<ChunkStore> chunkStore, ComponentAccessor<EntityStore> entityStore, Ref<EntityStore> ref, BlockType blockType, int rotationIndex, org.joml.Vector3i blockPosition) Called to attempt to harvest a fully grown farming block, giving drops and resetting or removing the block as appropriate.static booleanFarmingUtil.harvest(ComponentAccessor<ChunkStore> chunkStore, ComponentAccessor<EntityStore> entityStore, Ref<EntityStore> ref, org.joml.Vector3i blockPosition) Called to attempt to harvest a fully grown farming block by position, resolving the block type and rotation from the block section. -
Uses of ComponentAccessor in com.hypixel.hytale.builtin.adventure.farming.config.stages
Methods in com.hypixel.hytale.builtin.adventure.farming.config.stages with parameters of type ComponentAccessorModifier and TypeMethodDescriptionvoidBlockStateFarmingStageData.apply(ComponentAccessor<ChunkStore> commandBuffer, Ref<ChunkStore> sectionRef, Ref<ChunkStore> blockRef, int x, int y, int z, FarmingStageData previousStage) voidBlockTypeFarmingStageData.apply(ComponentAccessor<ChunkStore> commandBuffer, Ref<ChunkStore> sectionRef, Ref<ChunkStore> blockRef, int x, int y, int z, FarmingStageData previousStage) voidPrefabFarmingStageData.apply(ComponentAccessor<ChunkStore> commandBuffer, Ref<ChunkStore> sectionRef, Ref<ChunkStore> blockRef, int x, int y, int z, FarmingStageData previousStage) booleanBlockStateFarmingStageData.canApply(ComponentAccessor<ChunkStore> commandBuffer, Ref<ChunkStore> sectionRef, Ref<ChunkStore> blockRef, int x, int y, int z) booleanBlockTypeFarmingStageData.canApply(ComponentAccessor<ChunkStore> commandBuffer, Ref<ChunkStore> sectionRef, Ref<ChunkStore> blockRef, int x, int y, int z) voidPrefabFarmingStageData.remove(ComponentAccessor<ChunkStore> commandBuffer, Ref<ChunkStore> sectionRef, Ref<ChunkStore> blockRef, int x, int y, int z) -
Uses of ComponentAccessor in com.hypixel.hytale.builtin.adventure.farming.config.stages.spread
Methods in com.hypixel.hytale.builtin.adventure.farming.config.stages.spread with parameters of type ComponentAccessorModifier and TypeMethodDescriptionvoidSpreadFarmingStageData.apply(ComponentAccessor<ChunkStore> commandBuffer, Ref<ChunkStore> sectionRef, Ref<ChunkStore> blockRef, int x, int y, int z, FarmingStageData previousStage) voidDirectionalGrowthBehaviour.execute(ComponentAccessor<ChunkStore> componentAccessor, Ref<ChunkStore> sectionRef, Ref<ChunkStore> blockRef, int worldX, int worldY, int worldZ, float newSpreadRate) abstract voidSpreadGrowthBehaviour.execute(ComponentAccessor<ChunkStore> componentAccessor, Ref<ChunkStore> sectionRef, Ref<ChunkStore> blockRef, int worldX, int worldY, int worldZ, float newSpreadRate) Called to execute the spread behaviour on a block at the given world position.booleanSpreadFarmingStageData.shouldStop(ComponentAccessor<ChunkStore> commandBuffer, Ref<ChunkStore> sectionRef, Ref<ChunkStore> blockRef, int x, int y, int z) -
Uses of ComponentAccessor in com.hypixel.hytale.builtin.adventure.memories.page
Methods in com.hypixel.hytale.builtin.adventure.memories.page with parameters of type ComponentAccessorModifier and TypeMethodDescriptionMemoriesPageSupplier.tryCreate(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor, PlayerRef playerRef, InteractionContext context) MemoriesUnlockedPageSuplier.tryCreate(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor, PlayerRef playerRef, InteractionContext context) -
Uses of ComponentAccessor in com.hypixel.hytale.builtin.adventure.memories.window
Methods in com.hypixel.hytale.builtin.adventure.memories.window with parameters of type ComponentAccessorModifier and TypeMethodDescriptionvoidMemoriesWindow.onClose0(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) -
Uses of ComponentAccessor in com.hypixel.hytale.builtin.adventure.npcobjectives.transaction
Constructors in com.hypixel.hytale.builtin.adventure.npcobjectives.transaction with parameters of type ComponentAccessorModifierConstructorDescriptionKillTaskTransaction(KillTask task, Objective objective, ComponentAccessor<EntityStore> componentAccessor) -
Uses of ComponentAccessor in com.hypixel.hytale.builtin.adventure.objectivereputation
Methods in com.hypixel.hytale.builtin.adventure.objectivereputation with parameters of type ComponentAccessorModifier and TypeMethodDescriptionvoidReputationCompletion.handle(Objective objective, ComponentAccessor<EntityStore> componentAccessor) -
Uses of ComponentAccessor in com.hypixel.hytale.builtin.adventure.objectives
Methods in com.hypixel.hytale.builtin.adventure.objectives with parameters of type ComponentAccessorModifier and TypeMethodDescriptionorg.joml.Vector3dObjective.getPosition(ComponentAccessor<EntityStore> componentAccessor) -
Uses of ComponentAccessor in com.hypixel.hytale.builtin.adventure.objectives.completion
Methods in com.hypixel.hytale.builtin.adventure.objectives.completion with parameters of type ComponentAccessorModifier and TypeMethodDescriptionvoidClearObjectiveItemsCompletion.handle(Objective objective, ComponentAccessor<EntityStore> componentAccessor) voidGiveItemsCompletion.handle(Objective objective, ComponentAccessor<EntityStore> componentAccessor) abstract voidObjectiveCompletion.handle(Objective objective, ComponentAccessor<EntityStore> componentAccessor) -
Uses of ComponentAccessor in com.hypixel.hytale.builtin.adventure.objectives.config.taskcondition
Methods in com.hypixel.hytale.builtin.adventure.objectives.config.taskcondition with parameters of type ComponentAccessorModifier and TypeMethodDescriptionvoidSoloInventoryCondition.consumeCondition(ComponentAccessor<EntityStore> componentAccessor, Ref<EntityStore> ref, Set<UUID> objectivePlayers) abstract voidTaskConditionAsset.consumeCondition(ComponentAccessor<EntityStore> componentAccessor, Ref<EntityStore> ref, Set<UUID> objectivePlayers) booleanSoloInventoryCondition.isConditionFulfilled(ComponentAccessor<EntityStore> componentAccessor, Ref<EntityStore> ref, Set<UUID> objectivePlayers) abstract booleanTaskConditionAsset.isConditionFulfilled(ComponentAccessor<EntityStore> componentAccessor, Ref<EntityStore> ref, Set<UUID> objectivePlayers) -
Uses of ComponentAccessor in com.hypixel.hytale.builtin.adventure.objectives.config.triggercondition
Methods in com.hypixel.hytale.builtin.adventure.objectives.config.triggercondition with parameters of type ComponentAccessorModifier and TypeMethodDescriptionbooleanHourRangeTriggerCondition.isConditionMet(ComponentAccessor<EntityStore> componentAccessor, Ref<EntityStore> ref, ObjectiveLocationMarker objectiveLocationMarker) abstract booleanObjectiveLocationTriggerCondition.isConditionMet(ComponentAccessor<EntityStore> componentAccessor, Ref<EntityStore> ref, ObjectiveLocationMarker objectiveLocationMarker) booleanWeatherTriggerCondition.isConditionMet(ComponentAccessor<EntityStore> componentAccessor, Ref<EntityStore> ref, ObjectiveLocationMarker objectiveLocationMarker) -
Uses of ComponentAccessor in com.hypixel.hytale.builtin.adventure.objectives.task
Methods in com.hypixel.hytale.builtin.adventure.objectives.task with parameters of type ComponentAccessorModifier and TypeMethodDescriptionbooleanObjectiveTask.areTaskConditionsFulfilled(ComponentAccessor<EntityStore> componentAccessor, Ref<EntityStore> ref, Set<UUID> objectivePlayers) voidObjectiveTask.complete(Objective objective, ComponentAccessor<EntityStore> componentAccessor) voidObjectiveTask.consumeTaskConditions(ComponentAccessor<EntityStore> componentAccessor, Ref<EntityStore> ref, Set<UUID> objectivePlayers) -
Uses of ComponentAccessor in com.hypixel.hytale.builtin.adventure.reputation
Methods in com.hypixel.hytale.builtin.adventure.reputation with parameters of type ComponentAccessorModifier and TypeMethodDescriptionintReputationPlugin.changeReputation(Player player, Ref<EntityStore> npcRef, int value, ComponentAccessor<EntityStore> componentAccessor) intReputationPlugin.changeReputation(Player player, String reputationGroupId, int value, ComponentAccessor<EntityStore> componentAccessor) Adds to the reputation that a player has with a faction (eg. -
Uses of ComponentAccessor in com.hypixel.hytale.builtin.adventure.shop
Methods in com.hypixel.hytale.builtin.adventure.shop with parameters of type ComponentAccessorModifier and TypeMethodDescriptionShopPageSupplier.tryCreate(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor, PlayerRef playerRef, InteractionContext context) -
Uses of ComponentAccessor in com.hypixel.hytale.builtin.adventure.teleporter.page
Methods in com.hypixel.hytale.builtin.adventure.teleporter.page with parameters of type ComponentAccessorModifier and TypeMethodDescriptionTeleporterSettingsPageSupplier.tryCreate(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor, PlayerRef playerRef, InteractionContext context) -
Uses of ComponentAccessor in com.hypixel.hytale.builtin.adventure.teleporter.system
Methods in com.hypixel.hytale.builtin.adventure.teleporter.system with parameters of type ComponentAccessorModifier and TypeMethodDescriptionstatic voidCreateWarpWhenTeleporterPlacedSystem.createWarp(ComponentAccessor<ChunkStore> accessor, Ref<ChunkStore> sectionRef, BlockModule.BlockStateInfo blockStateInfo, String name) Called to create a warp based on the given section and block state info.static voidTurnOffTeleportersSystem.updatePortalBlockInWorld(ComponentAccessor<ChunkStore> store, Teleporter teleporter, BlockModule.BlockStateInfo blockStateInfo) -
Uses of ComponentAccessor in com.hypixel.hytale.builtin.adventure.worldevents.action
Methods in com.hypixel.hytale.builtin.adventure.worldevents.action with parameters of type ComponentAccessorModifier and TypeMethodDescriptionstatic WorldEventEventStartAction.startEvent(ComponentAccessor<EntityStore> accessor, WorldEventRecord record) -
Uses of ComponentAccessor in com.hypixel.hytale.builtin.asseteditor
Methods in com.hypixel.hytale.builtin.asseteditor with parameters of type ComponentAccessorModifier and TypeMethodDescriptionvoidAssetEditorPlugin.handleInitializeEditor(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) Called to handle initialization request from the asset editor -
Uses of ComponentAccessor in com.hypixel.hytale.builtin.augmentblocks.ui
Methods in com.hypixel.hytale.builtin.augmentblocks.ui with parameters of type ComponentAccessorModifier and TypeMethodDescriptionAugmentMessagePage.Supplier.tryCreate(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor, PlayerRef playerRef, InteractionContext context) -
Uses of ComponentAccessor in com.hypixel.hytale.builtin.beds.sleep.systems.world
Methods in com.hypixel.hytale.builtin.beds.sleep.systems.world with parameters of type ComponentAccessorModifier and TypeMethodDescriptionstatic booleanStartSlumberSystem.canNotifyOthersAboutTryingToSleep(ComponentAccessor<EntityStore> store, Ref<EntityStore> ref) static booleanStartSlumberSystem.isReadyToSleep(ComponentAccessor<EntityStore> store, Ref<EntityStore> ref) -
Uses of ComponentAccessor in com.hypixel.hytale.builtin.blockphysics
Methods in com.hypixel.hytale.builtin.blockphysics with parameters of type ComponentAccessorModifier and TypeMethodDescriptionstatic BlockPhysicsUtil.ResultBlockPhysicsUtil.applyBlockPhysics(ComponentAccessor<EntityStore> componentAccessor, BlockPhysicsSystems.CachedAccessor chunkAccessor, Ref<ChunkStore> sectionReference, BlockSection blockSection, BlockPhysics blockPhysics, FluidSection fluidSection, int blockX, int blockY, int blockZ, BlockType blockType, int rotation, int filler) BlockPhysicsSystems.CachedAccessor.of(ComponentAccessor<ChunkStore> commandBuffer, Ref<ChunkStore> sectionRef, BlockSection blockSection, BlockPhysics section, FluidSection fluidSection, int cx, int cy, int cz, int radius) -
Uses of ComponentAccessor in com.hypixel.hytale.builtin.buildertools
Methods in com.hypixel.hytale.builtin.buildertools with parameters of type ComponentAccessorModifier and TypeMethodDescriptionvoidBuilderToolsPlugin.BuilderState.applyGradient(int targetX, int targetY, int targetZ, int width, int height, int startX, int startY, int startZ, int endX, int endY, int endZ, List<BuilderToolsPlugin.ColorGradientMaterial> materials, String shape, float blendBand, BrushShape brushShape, boolean invert, int undoGroupSize, boolean isHoldDown, ComponentAccessor<EntityStore> componentAccessor) voidBuilderToolsPlugin.BuilderState.applyRandomizeTransforms(Ref<EntityStore> ref, int deltaX, int deltaY, int deltaZ, boolean flipX, boolean flipY, boolean flipZ, RotateBlockMode rotateBlockMode, ComponentAccessor<EntityStore> componentAccessor) Applies a batch of rotations and/or flips as a single undo entry.voidBuilderToolsPlugin.BuilderState.applyRecoloring(int targetX, int targetY, int targetZ, int width, int height, BlockPattern replacementPattern, boolean smartMatch, BrushShape brushShape, int undoGroupSize, boolean isHoldDown, BlockColorIndex blockColorIndex, ComponentAccessor<EntityStore> componentAccessor) voidBuilderToolsPlugin.BuilderState.applyShading(int targetX, int targetY, int targetZ, float playerX, float playerY, float playerZ, int width, int height, boolean lighten, boolean autoMode, boolean falloffFromTarget, BuilderToolsPlugin.ShadingLight lightSource, int[] customRamp, float intensity, BrushShape brushShape, boolean invert, float edgeBlend, int undoGroupSize, boolean isHoldDown, BlockColorIndex blockColorIndex, ComponentAccessor<EntityStore> componentAccessor) intBuilderToolsPlugin.BuilderState.clear(int xMin, int yMin, int zMin, int xMax, int yMax, int zMax, ComponentAccessor<EntityStore> componentAccessor) voidBuilderToolsPlugin.BuilderState.clearHistory(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) <T extends Throwable>
voidBuilderToolsPlugin.computeSelectionCopy(Ref<EntityStore> ref, Player player, ThrowableConsumer<BlockSelection, T> task, ComponentAccessor<EntityStore> componentAccessor) voidBuilderToolsPlugin.BuilderState.contract(Ref<EntityStore> ref, org.joml.Vector3i direction, ComponentAccessor<EntityStore> componentAccessor) intBuilderToolsPlugin.BuilderState.copyOrCut(Ref<EntityStore> ref, int xMin, int yMin, int zMin, int xMax, int yMax, int zMax, int settings, ComponentAccessor<EntityStore> componentAccessor) intBuilderToolsPlugin.BuilderState.copyOrCut(Ref<EntityStore> ref, int xMin, int yMin, int zMin, int xMax, int yMax, int zMax, int settings, org.joml.Vector3i playerAnchor, ComponentAccessor<EntityStore> componentAccessor) intBuilderToolsPlugin.BuilderState.copyOrCut(Ref<EntityStore> ref, int xMin, int yMin, int zMin, int xMax, int yMax, int zMax, int settings, org.joml.Vector3i playerAnchor, Set<Ref<EntityStore>> skipEntityRemoveSnapshotFor, ComponentAccessor<EntityStore> componentAccessor) intBuilderToolsPlugin.BuilderState.copyOrCut(Ref<EntityStore> ref, int xMin, int yMin, int zMin, int xMax, int yMax, int zMax, int settings, org.joml.Vector3i playerAnchor, Set<Ref<EntityStore>> skipEntityRemoveSnapshotFor, List<SelectionSnapshot<?>> pickupSnapshots, ComponentAccessor<EntityStore> componentAccessor) voidBuilderToolsPlugin.BuilderState.deselect(ComponentAccessor<EntityStore> componentAccessor) intBuilderToolsPlugin.BuilderState.edit(Ref<EntityStore> ref, BuilderToolOnUseInteraction packet, ComponentAccessor<EntityStore> componentAccessor) voidBuilderToolsPlugin.BuilderState.editLine(int x1, int y1, int z1, int x2, int y2, int z2, BlockPattern material, int lineWidth, int lineHeight, int wallThickness, BrushShape shape, BrushOrigin origin, int spacing, int density, BlockMask mask, ComponentAccessor<EntityStore> componentAccessor) voidBuilderToolsPlugin.BuilderState.environment(Ref<EntityStore> ref, int environmentId, ComponentAccessor<EntityStore> componentAccessor) voidBuilderToolsPlugin.BuilderState.expand(Ref<EntityStore> ref, org.joml.Vector3i direction, ComponentAccessor<EntityStore> componentAccessor) voidBuilderToolsPlugin.BuilderState.extendOrShrinkFace(int x, int y, int z, int normalX, int normalY, int normalZ, int depth, int extrudeWidth, int extrudeLength, boolean shrink, BlockPattern pattern, String filterMode, String strategy, int undoGroupSize, boolean isHoldDown, ComponentAccessor<EntityStore> componentAccessor) voidBuilderToolsPlugin.BuilderState.extrudeFaceSlice(org.joml.Vector3i faceMin, org.joml.Vector3i faceMax, org.joml.Vector3i direction, int depth, int spacing, ComponentAccessor<EntityStore> componentAccessor) TODO: This looks to not be called from anywhere currently, so see if this needs to be removed.voidBuilderToolsPlugin.BuilderState.extrudeSelectionFace(Ref<EntityStore> ref, org.joml.Vector3i direction, int depth, int spacing, boolean empty, ComponentAccessor<EntityStore> componentAccessor) Pulls every origin in the current selection outwarddepthtimes alongdirection, reusingBuilderToolsPlugin.BuilderState.extrudeAlongFace(SectionAccessor, Int3OpenHashSet, int, int, int, int, int, int, int, int, boolean, BlockPattern, BlockSelection, BlockSelection)with the selection's span along the normal as the stride so each copy tiles the whole selection instead of advancing a single cell.voidBuilderToolsPlugin.BuilderState.fill(BlockPattern pattern, ComponentAccessor<EntityStore> componentAccessor) Fills empty spaces in the selection with a block pattern.voidBuilderToolsPlugin.BuilderState.fillVolume(int x, int y, int z, int normalX, int normalY, int normalZ, int fillDepth, int fillWidth, int fillHeight, BlockPattern pattern, int undoGroupSize, boolean isHoldDown, ComponentAccessor<EntityStore> componentAccessor) voidBuilderToolsPlugin.BuilderState.flip(Ref<EntityStore> ref, Axis axis, ComponentAccessor<EntityStore> componentAccessor) voidBuilderToolsPlugin.BuilderState.floodFill(BlockPattern pattern, int radius, int startX, int startY, int startZ, ComponentAccessor<EntityStore> componentAccessor) Flood fills the connected open space around a start cell with a block pattern.voidBuilderToolsPlugin.BuilderState.handleEntityScale(Ref<EntityStore> targetRef, ComponentAccessor<EntityStore> componentAccessor) Records a scale operation using appendable grouping.voidBuilderToolsPlugin.BuilderState.handleEntityTransform(Ref<EntityStore> targetRef, boolean hasTransformData, boolean isSessionEnd, ComponentAccessor<EntityStore> componentAccessor) Handles an entity transform change from the entity tool.voidBuilderToolsPlugin.BuilderState.hollow(Ref<EntityStore> ref, int blockId, int thickness, boolean setTop, boolean setBottom, ComponentAccessor<EntityStore> componentAccessor) static booleanPrototypePlayerBuilderToolSettings.isOkayToDoCommandsOnSelection(Ref<EntityStore> ref, PlayerRef playerRef, ComponentAccessor<EntityStore> componentAccessor) voidBuilderToolsPlugin.BuilderState.layer(List<it.unimi.dsi.fastutil.Pair<Integer, String>> layers, org.joml.Vector3ic direction, ComponentAccessor<EntityStore> componentAccessor) Applies layering across all the blocks in the current block selection.voidBuilderToolsPlugin.BuilderState.load(String name, BlockSelection serverPrefab, ComponentAccessor<EntityStore> componentAccessor) voidBuilderToolsPlugin.BuilderState.move(Ref<EntityStore> ref, org.joml.Vector3i direction, boolean empty, boolean entities, ComponentAccessor<EntityStore> componentAccessor) voidBuilderToolsPlugin.onPasteEnd(int prefabId, ComponentAccessor<EntityStore> componentAccessor) static booleanBuilderToolsPlugin.onPasteStart(int prefabId, ComponentAccessor<EntityStore> componentAccessor) voidBuilderToolsPlugin.onToolArgUpdate(Ref<EntityStore> ref, PlayerRef playerRef, BuilderToolArgUpdate packet, ComponentAccessor<EntityStore> componentAccessor) intBuilderToolsPlugin.BuilderState.paste(Ref<EntityStore> ref, int x, int y, int z, boolean technicalPaste, boolean skipAirBlocks, ComponentAccessor<EntityStore> componentAccessor) intBuilderToolsPlugin.BuilderState.paste(Ref<EntityStore> ref, int x, int y, int z, boolean technicalPaste, ComponentAccessor<EntityStore> componentAccessor) intBuilderToolsPlugin.BuilderState.paste(Ref<EntityStore> ref, int x, int y, int z, ComponentAccessor<EntityStore> componentAccessor) voidBuilderToolsPlugin.BuilderState.placeBrushConfig(Ref<EntityStore> ref, long startTime, BrushConfigEditStore brushConfigEditStore, ComponentAccessor<EntityStore> componentAccessor) voidBuilderToolsPlugin.BuilderState.pos1(org.joml.Vector3i pos1, ComponentAccessor<EntityStore> componentAccessor) voidBuilderToolsPlugin.BuilderState.pos2(org.joml.Vector3i pos2, ComponentAccessor<EntityStore> componentAccessor) voidBuilderToolsPlugin.BuilderState.pushEntityRemoveHistory(Ref<EntityStore> targetRef, ComponentAccessor<EntityStore> componentAccessor) Records a remove operation to the undo history.BuilderToolsPlugin.BuilderState.redo(Ref<EntityStore> ref, int count, ComponentAccessor<EntityStore> componentAccessor) voidBuilderToolsPlugin.BuilderState.repairFillers(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) voidBuilderToolsPlugin.BuilderState.replace(Ref<EntityStore> ref, Material from, Material to, ComponentAccessor<EntityStore> componentAccessor) Replaces materials (blocks or fluids) in the selection.voidBuilderToolsPlugin.BuilderState.replace(Ref<EntityStore> ref, BlockMask fromMask, BlockPattern toPattern, ComponentAccessor<EntityStore> componentAccessor) intBuilderToolsPlugin.BuilderState.replace(Ref<EntityStore> ref, it.unimi.dsi.fastutil.ints.Int2IntFunction function, ComponentAccessor<EntityStore> componentAccessor) voidBuilderToolsPlugin.BuilderState.resetClipboardRotation(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) BuilderToolsPlugin.ActionEntry.restore(Ref<EntityStore> ref, PlayerRef playerRef, World world, ComponentAccessor<EntityStore> componentAccessor) voidBuilderToolsPlugin.BuilderState.rotate(Ref<EntityStore> ref, Axis axis, int angle, ComponentAccessor<EntityStore> componentAccessor) voidBuilderToolsPlugin.BuilderState.rotate(Ref<EntityStore> ref, Axis axis, int angle, RotateBlockMode rotateBlockMode, ComponentAccessor<EntityStore> componentAccessor) voidBuilderToolsPlugin.BuilderState.rotateArbitrary(Ref<EntityStore> ref, float yaw, float pitch, float roll, ComponentAccessor<EntityStore> componentAccessor) Rotates the selection by arbitrary yaw, pitch, and roll angles.voidBuilderToolsPlugin.BuilderState.save(Ref<EntityStore> ref, String name, boolean relativize, boolean overwrite, SupportMode supportMode, AssetPack targetPack, PrefabFormat format, ComponentAccessor<EntityStore> componentAccessor) voidBuilderToolsPlugin.BuilderState.saveFromSelection(Ref<EntityStore> ref, String name, boolean relativize, boolean overwrite, boolean includeEntities, boolean includeEmpty, org.joml.Vector3i playerAnchor, SupportMode supportMode, AssetPack targetPack, PrefabFormat format, ComponentAccessor<EntityStore> componentAccessor) voidBuilderToolsPlugin.BuilderState.select(org.joml.Vector3i pos1, org.joml.Vector3i pos2, String reason, ComponentAccessor<EntityStore> componentAccessor) booleanBuilderToolsPlugin.BuilderState.selectionExceedsEditLimit(ComponentAccessor<EntityStore> componentAccessor) static voidBuilderToolsPlugin.sendFeedback(Message message, CommandSender feedback, NotificationStyle notificationStyle, ComponentAccessor<EntityStore> componentAccessor) static voidBuilderToolsPlugin.sendFeedback(Message message, CommandSender feedback, NotificationStyle notificationStyle, String tag, ComponentAccessor<EntityStore> componentAccessor) static voidBuilderToolsPlugin.sendFeedback(String key, int total, int num, CommandSender feedback, ComponentAccessor<EntityStore> componentAccessor) static voidBuilderToolsPlugin.sendFeedback(String key, int total, CommandSender feedback, ComponentAccessor<EntityStore> componentAccessor) voidBuilderToolsPlugin.BuilderState.set(BlockPattern pattern, ComponentAccessor<EntityStore> componentAccessor) Sets a block pattern in the selection.voidBuilderToolsPlugin.BuilderState.setGlobalMask(BlockMask mask, ComponentAccessor<EntityStore> componentAccessor) voidBuilderToolsPlugin.BuilderState.shift(Ref<EntityStore> ref, org.joml.Vector3i direction, ComponentAccessor<EntityStore> componentAccessor) voidBuilderToolsPlugin.BuilderState.shrink(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) voidBuilderToolsPlugin.BuilderState.stack(Ref<EntityStore> ref, org.joml.Vector3i direction, int count, boolean empty, int spacing, ComponentAccessor<EntityStore> componentAccessor) voidBuilderToolsPlugin.BuilderState.submerge(BlockPattern pattern, ComponentAccessor<EntityStore> componentAccessor) voidBuilderToolsPlugin.BuilderState.syncSelection(org.joml.Vector3i pos1, org.joml.Vector3i pos2, ComponentAccessor<EntityStore> componentAccessor) Re-aligns the server selection with one the client has already applied and drawn.voidBuilderToolsPlugin.BuilderState.tint(Ref<EntityStore> ref, int color, ComponentAccessor<EntityStore> componentAccessor) voidEditOperation.trackMovedEntity(Ref<EntityStore> entityRef, ComponentAccessor<EntityStore> componentAccessor) voidBuilderToolsPlugin.BuilderState.transformThenPasteClipboard(BlockChange[] blockChanges, PrototypePlayerBuilderToolSettings.FluidChange[] fluidChanges, PrototypePlayerBuilderToolSettings.EntityChange[] entityChanges, Holder<ChunkStore>[] blockHolders, org.joml.Quaterniond rotation, org.joml.Vector3i translationOffset, Rotation3f rotationOrigin, org.joml.Vector3i initialPastePoint, boolean keepEmptyBlocks, PrototypePlayerBuilderToolSettings prototypeSettings, List<SelectionSnapshot<?>> extraSnapshots, ComponentAccessor<EntityStore> componentAccessor) BuilderToolsPlugin.BuilderState.undo(Ref<EntityStore> ref, int count, ComponentAccessor<EntityStore> componentAccessor) voidBuilderToolsPlugin.BuilderState.unsubmerge(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) voidBuilderToolsPlugin.BuilderState.walls(Ref<EntityStore> ref, BlockPattern pattern, int thickness, boolean cappedTop, boolean cappedBottom, ComponentAccessor<EntityStore> componentAccessor) Sets walls of the selection with a block pattern.Method parameters in com.hypixel.hytale.builtin.buildertools with type arguments of type ComponentAccessorModifier and TypeMethodDescriptionstatic <T extends Throwable>
voidBuilderToolsPlugin.addToQueue(Player player, PlayerRef playerRef, long estimatedBlockChanges, BuilderToolsPlugin.TaskRegion region, ThrowableTriConsumer<Ref<EntityStore>, BuilderToolsPlugin.BuilderState, ComponentAccessor<EntityStore>, T> task) static <T extends Throwable>
voidBuilderToolsPlugin.addToQueue(Player player, PlayerRef playerRef, long estimatedBlockChanges, ThrowableTriConsumer<Ref<EntityStore>, BuilderToolsPlugin.BuilderState, ComponentAccessor<EntityStore>, T> task) static <T extends Throwable>
voidBuilderToolsPlugin.addToQueue(Player player, PlayerRef playerRef, BuilderToolsPlugin.TaskRegion region, ThrowableTriConsumer<Ref<EntityStore>, BuilderToolsPlugin.BuilderState, ComponentAccessor<EntityStore>, T> task) static <T extends Throwable>
voidBuilderToolsPlugin.addToQueue(Player player, PlayerRef playerRef, ThrowableTriConsumer<Ref<EntityStore>, BuilderToolsPlugin.BuilderState, ComponentAccessor<EntityStore>, T> task) <T extends Throwable>
voidBuilderToolsPlugin.BuilderState.addToQueue(long estimatedBlockChanges, BuilderToolsPlugin.TaskRegion region, ThrowableTriConsumer<Ref<EntityStore>, BuilderToolsPlugin.BuilderState, ComponentAccessor<EntityStore>, T> task) <T extends Throwable>
voidBuilderToolsPlugin.BuilderState.addToQueue(long estimatedBlockChanges, ThrowableTriConsumer<Ref<EntityStore>, BuilderToolsPlugin.BuilderState, ComponentAccessor<EntityStore>, T> task) <T extends Throwable>
voidBuilderToolsPlugin.BuilderState.addToQueue(ThrowableTriConsumer<Ref<EntityStore>, BuilderToolsPlugin.BuilderState, ComponentAccessor<EntityStore>, T> task) -
Uses of ComponentAccessor in com.hypixel.hytale.builtin.buildertools.commands
Methods in com.hypixel.hytale.builtin.buildertools.commands with parameters of type ComponentAccessorModifier and TypeMethodDescriptionstatic voidCopyCommand.copySelection(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) Copy the current selection of the player referenced by the given Ref.static voidCopyCommand.copySelection(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor, BuilderToolsPlugin.BuilderState builderState, int settings) Copy the current selection of the player referenced by the given Ref with specified settings. -
Uses of ComponentAccessor in com.hypixel.hytale.builtin.buildertools.prefabeditor
Methods in com.hypixel.hytale.builtin.buildertools.prefabeditor with parameters of type ComponentAccessorModifier and TypeMethodDescriptionbooleanPrefabEditSession.clearSelectedPrefab(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) Clear the selected prefab for a given player and hide the anchor display.PrefabEditSessionManager.createEditSessionForNewPrefab(Ref<EntityStore> ref, Player editor, PrefabEditorCreationSettings settings, ComponentAccessor<EntityStore> componentAccessor) Create an emptyPrefabEditSessioninstance world where the player can build a new prefabPrefabEditSessionManager.exitEditSession(Ref<EntityStore> ref, World world, PlayerRef playerRef, ComponentAccessor<EntityStore> componentAccessor) Exits and ends a PrefabEditSession, unloading the world and teleporting you out.PrefabEditSessionManager.loadPrefabAndCreateEditSession(Ref<EntityStore> ref, Player editor, PrefabEditorCreationSettings settings, ComponentAccessor<EntityStore> componentAccessor) Create aPrefabEditSessioninstance world, load the specified prefab(s), and teleport the provided player into it.PrefabEditSessionManager.loadPrefabAndCreateEditSession(Ref<EntityStore> ref, Player editor, PrefabEditorCreationSettings settings, ComponentAccessor<EntityStore> componentAccessor, Consumer<PrefabLoadingState> progressCallback) Create aPrefabEditSessioninstance world, load the specified prefab(s), and teleport the provided player into it.voidPrefabEditSession.setSelectedPrefab(Ref<EntityStore> ref, PrefabEditingMetadata prefabEditingMetadata, ComponentAccessor<EntityStore> componentAccessor) Set the selected prefab for a given player and send them the anchor highlighting packet and update their builder tools selection -
Uses of ComponentAccessor in com.hypixel.hytale.builtin.buildertools.scriptedbrushes
Methods in com.hypixel.hytale.builtin.buildertools.scriptedbrushes with parameters of type ComponentAccessorModifier and TypeMethodDescriptionvoidBrushConfigCommandExecutor.execute(Ref<EntityStore> ref, World world, org.joml.Vector3i origin, boolean isHoldDownInteraction, InteractionType interactionType, ComponentAccessor<EntityStore> componentAccessor) voidBrushConfigCommandExecutor.execute(Ref<EntityStore> ref, World world, org.joml.Vector3i origin, boolean isHoldDownInteraction, InteractionType interactionType, Consumer<BrushConfig> existingBrushDataLoadingConsumer, ComponentAccessor<EntityStore> componentAccessor) voidBrushConfigCommandExecutor.exitExecution(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) BrushConfigCommandExecutor.step(Ref<EntityStore> ref, boolean placePreviewAfterStep, ComponentAccessor<EntityStore> componentAccessor) Perform a single step of this operation This method manages the internal state, such that this is safe to call whenever, as many times as you want -
Uses of ComponentAccessor in com.hypixel.hytale.builtin.buildertools.scriptedbrushes.operations.global
Methods in com.hypixel.hytale.builtin.buildertools.scriptedbrushes.operations.global with parameters of type ComponentAccessorModifier and TypeMethodDescriptionvoidDebugBrushOperation.modifyBrushConfig(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, ComponentAccessor<EntityStore> componentAccessor) voidDisableHoldInteractionOperation.modifyBrushConfig(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, ComponentAccessor<EntityStore> componentAccessor) voidIgnoreExistingBrushDataOperation.modifyBrushConfig(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, ComponentAccessor<EntityStore> componentAccessor) -
Uses of ComponentAccessor in com.hypixel.hytale.builtin.buildertools.scriptedbrushes.operations.sequential
Methods in com.hypixel.hytale.builtin.buildertools.scriptedbrushes.operations.sequential with parameters of type ComponentAccessorModifier and TypeMethodDescriptionbooleanDeleteOperation.modifyBlocks(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, BrushConfigEditStore edit, int x, int y, int z, ComponentAccessor<EntityStore> componentAccessor) booleanErodeOperation.modifyBlocks(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, BrushConfigEditStore edit, int x, int y, int z, ComponentAccessor<EntityStore> componentAccessor) booleanFluidFixOperation.modifyBlocks(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, BrushConfigEditStore edit, int x, int y, int z, ComponentAccessor<EntityStore> componentAccessor) booleanHeightmapLayerOperation.modifyBlocks(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, BrushConfigEditStore edit, int x, int y, int z, ComponentAccessor<EntityStore> componentAccessor) booleanKernelErosionOperation.modifyBlocks(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, BrushConfigEditStore edit, int x, int y, int z, ComponentAccessor<EntityStore> componentAccessor) booleanLayerOperation.modifyBlocks(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, BrushConfigEditStore edit, int x, int y, int z, ComponentAccessor<EntityStore> componentAccessor) booleanLiftOperation.modifyBlocks(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, BrushConfigEditStore edit, int x, int y, int z, ComponentAccessor<EntityStore> componentAccessor) booleanMeltOperation.modifyBlocks(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, BrushConfigEditStore edit, int x, int y, int z, ComponentAccessor<EntityStore> componentAccessor) booleanPastePrefabOperation.modifyBlocks(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, BrushConfigEditStore edit, int x, int y, int z, ComponentAccessor<EntityStore> componentAccessor) booleanReplaceOperation.modifyBlocks(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, BrushConfigEditStore edit, int x, int y, int z, ComponentAccessor<EntityStore> componentAccessor) booleanSetOperation.modifyBlocks(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, BrushConfigEditStore edit, int x, int y, int z, ComponentAccessor<EntityStore> componentAccessor) booleanSmoothOperation.modifyBlocks(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, BrushConfigEditStore edit, int x, int y, int z, ComponentAccessor<EntityStore> componentAccessor) voidBlockPatternOperation.modifyBrushConfig(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, ComponentAccessor<EntityStore> componentAccessor) voidBreakpointOperation.modifyBrushConfig(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor executor, ComponentAccessor<EntityStore> componentAccessor) voidClearOperationMaskOperation.modifyBrushConfig(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, ComponentAccessor<EntityStore> componentAccessor) voidClearRotationOperation.modifyBrushConfig(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, ComponentAccessor<EntityStore> componentAccessor) voidDeleteOperation.modifyBrushConfig(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, ComponentAccessor<EntityStore> componentAccessor) voidEchoOnceOperation.modifyBrushConfig(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, ComponentAccessor<EntityStore> componentAccessor) voidEchoOperation.modifyBrushConfig(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, ComponentAccessor<EntityStore> componentAccessor) voidErodeOperation.modifyBrushConfig(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, ComponentAccessor<EntityStore> componentAccessor) voidFluidFixOperation.modifyBrushConfig(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, ComponentAccessor<EntityStore> componentAccessor) voidHeightmapLayerOperation.modifyBrushConfig(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, ComponentAccessor<EntityStore> componentAccessor) voidKernelErosionOperation.modifyBrushConfig(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, ComponentAccessor<EntityStore> componentAccessor) voidLayerOperation.modifyBrushConfig(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, ComponentAccessor<EntityStore> componentAccessor) voidLiftOperation.modifyBrushConfig(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, ComponentAccessor<EntityStore> componentAccessor) voidLoadIntFromToolArgOperation.modifyBrushConfig(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, ComponentAccessor<EntityStore> componentAccessor) voidLoadMaterialFromToolArgOperation.modifyBrushConfig(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, ComponentAccessor<EntityStore> componentAccessor) voidMaterialOperation.modifyBrushConfig(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, ComponentAccessor<EntityStore> componentAccessor) voidMeltOperation.modifyBrushConfig(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, ComponentAccessor<EntityStore> componentAccessor) voidPastePrefabOperation.modifyBrushConfig(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, ComponentAccessor<EntityStore> componentAccessor) voidReplaceOperation.modifyBrushConfig(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, ComponentAccessor<EntityStore> componentAccessor) voidRunCommandOperation.modifyBrushConfig(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, ComponentAccessor<EntityStore> componentAccessor) voidSetDensity.modifyBrushConfig(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, ComponentAccessor<EntityStore> componentAccessor) voidSetOperation.modifyBrushConfig(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, ComponentAccessor<EntityStore> componentAccessor) voidShapeOperation.modifyBrushConfig(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, ComponentAccessor<EntityStore> componentAccessor) voidSmoothOperation.modifyBrushConfig(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, ComponentAccessor<EntityStore> componentAccessor) -
Uses of ComponentAccessor in com.hypixel.hytale.builtin.buildertools.scriptedbrushes.operations.sequential.dimensions
Methods in com.hypixel.hytale.builtin.buildertools.scriptedbrushes.operations.sequential.dimensions with parameters of type ComponentAccessorModifier and TypeMethodDescriptionvoidDimensionsOperation.modifyBrushConfig(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, ComponentAccessor<EntityStore> componentAccessor) voidRandomizeDimensionsOperation.modifyBrushConfig(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, ComponentAccessor<EntityStore> componentAccessor) -
Uses of ComponentAccessor in com.hypixel.hytale.builtin.buildertools.scriptedbrushes.operations.sequential.flowcontrol
Methods in com.hypixel.hytale.builtin.buildertools.scriptedbrushes.operations.sequential.flowcontrol with parameters of type ComponentAccessorModifier and TypeMethodDescriptionvoidExitOperation.modifyBrushConfig(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, ComponentAccessor<EntityStore> componentAccessor) voidJumpIfBlockTypeOperation.modifyBrushConfig(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, ComponentAccessor<EntityStore> componentAccessor) voidJumpIfClickType.modifyBrushConfig(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, ComponentAccessor<EntityStore> componentAccessor) voidJumpIfCompareOperation.modifyBrushConfig(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, ComponentAccessor<EntityStore> componentAccessor) voidJumpIfStringMatchOperation.modifyBrushConfig(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, ComponentAccessor<EntityStore> componentAccessor) voidJumpIfToolArgOperation.modifyBrushConfig(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, ComponentAccessor<EntityStore> componentAccessor) voidJumpToIndexOperation.modifyBrushConfig(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, ComponentAccessor<EntityStore> componentAccessor) voidJumpToRandomIndex.modifyBrushConfig(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, ComponentAccessor<EntityStore> componentAccessor) -
Uses of ComponentAccessor in com.hypixel.hytale.builtin.buildertools.scriptedbrushes.operations.sequential.flowcontrol.loops
Methods in com.hypixel.hytale.builtin.buildertools.scriptedbrushes.operations.sequential.flowcontrol.loops with parameters of type ComponentAccessorModifier and TypeMethodDescriptionvoidCircleOffsetAndLoopOperation.modifyBrushConfig(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, ComponentAccessor<EntityStore> componentAccessor) voidCircleOffsetFromArgOperation.modifyBrushConfig(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, ComponentAccessor<EntityStore> componentAccessor) voidLoadLoopFromToolArgOperation.modifyBrushConfig(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, ComponentAccessor<EntityStore> componentAccessor) voidLoopOperation.modifyBrushConfig(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, ComponentAccessor<EntityStore> componentAccessor) voidLoopRandomOperation.modifyBrushConfig(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, ComponentAccessor<EntityStore> componentAccessor) -
Uses of ComponentAccessor in com.hypixel.hytale.builtin.buildertools.scriptedbrushes.operations.sequential.masks
Methods in com.hypixel.hytale.builtin.buildertools.scriptedbrushes.operations.sequential.masks with parameters of type ComponentAccessorModifier and TypeMethodDescriptionvoidAppendMaskFromToolArgOperation.modifyBrushConfig(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, ComponentAccessor<EntityStore> componentAccessor) voidAppendMaskOperation.modifyBrushConfig(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, ComponentAccessor<EntityStore> componentAccessor) voidHistoryMaskOperation.modifyBrushConfig(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, ComponentAccessor<EntityStore> componentAccessor) voidMaskOperation.modifyBrushConfig(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, ComponentAccessor<EntityStore> componentAccessor) voidUseBrushMaskOperation.modifyBrushConfig(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, ComponentAccessor<EntityStore> componentAccessor) voidUseOperationMaskOperation.modifyBrushConfig(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, ComponentAccessor<EntityStore> componentAccessor) -
Uses of ComponentAccessor in com.hypixel.hytale.builtin.buildertools.scriptedbrushes.operations.sequential.offsets
Methods in com.hypixel.hytale.builtin.buildertools.scriptedbrushes.operations.sequential.offsets with parameters of type ComponentAccessorModifier and TypeMethodDescriptionvoidOffsetOperation.modifyBrushConfig(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, ComponentAccessor<EntityStore> componentAccessor) voidRandomOffsetOperation.modifyBrushConfig(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, ComponentAccessor<EntityStore> componentAccessor) -
Uses of ComponentAccessor in com.hypixel.hytale.builtin.buildertools.scriptedbrushes.operations.sequential.saveandload
Methods in com.hypixel.hytale.builtin.buildertools.scriptedbrushes.operations.sequential.saveandload with parameters of type ComponentAccessorModifier and TypeMethodDescriptionvoidLoadBrushConfigOperation.modifyBrushConfig(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, ComponentAccessor<EntityStore> componentAccessor) voidLoadOperationsFromAssetOperation.modifyBrushConfig(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, ComponentAccessor<EntityStore> componentAccessor) voidPersistentDataOperation.modifyBrushConfig(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, ComponentAccessor<EntityStore> componentAccessor) voidSaveBrushConfigOperation.modifyBrushConfig(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, ComponentAccessor<EntityStore> componentAccessor) voidSaveIndexOperation.modifyBrushConfig(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, ComponentAccessor<EntityStore> componentAccessor) -
Uses of ComponentAccessor in com.hypixel.hytale.builtin.buildertools.scriptedbrushes.operations.sequential.transforms
Methods in com.hypixel.hytale.builtin.buildertools.scriptedbrushes.operations.sequential.transforms with parameters of type ComponentAccessorModifier and TypeMethodDescriptionvoidRotateOperation.modifyBrushConfig(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, ComponentAccessor<EntityStore> componentAccessor) -
Uses of ComponentAccessor in com.hypixel.hytale.builtin.buildertools.scriptedbrushes.operations.system
Methods in com.hypixel.hytale.builtin.buildertools.scriptedbrushes.operations.system with parameters of type ComponentAccessorModifier and TypeMethodDescriptionbooleanSequenceBrushOperation.modifyBlocks(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, BrushConfigEditStore edit, int x, int y, int z, ComponentAccessor<EntityStore> componentAccessor) abstract voidBrushOperation.modifyBrushConfig(Ref<EntityStore> ref, BrushConfig brushConfig, BrushConfigCommandExecutor brushConfigCommandExecutor, ComponentAccessor<EntityStore> componentAccessor) -
Uses of ComponentAccessor in com.hypixel.hytale.builtin.buildertools.snapshot
Methods in com.hypixel.hytale.builtin.buildertools.snapshot with parameters of type ComponentAccessorModifier and TypeMethodDescriptionstatic voidEntitySettingsSnapshot.applyPickupState(Ref<EntityStore> ref, boolean enabled, ComponentAccessor<EntityStore> componentAccessor) Applies the pickup enabled/disabled state to an entity.voidEntityTransformSnapshot.applyTransform(ComponentAccessor<EntityStore> componentAccessor) Restores the entity's transform to the state captured by this snapshot without creating an inverse.BlockSelectionSnapshot.restore(Ref<EntityStore> ref, PlayerRef playerRef, World world, ComponentAccessor<EntityStore> componentAccessor) default TClipboardSnapshot.restore(Ref<EntityStore> ref, PlayerRef playerRef, World world, ComponentAccessor<EntityStore> componentAccessor) default TEntitySnapshot.restore(Ref<EntityStore> ref, PlayerRef playerRef, World world, ComponentAccessor<EntityStore> componentAccessor) SelectionSnapshot.restore(Ref<EntityStore> ref, PlayerRef playerRef, World world, ComponentAccessor<EntityStore> componentAccessor) Restore the state represented by this snapshot, optionally returning a new snapshot of the subject's current state.ClipboardBoundsSnapshot.restoreClipboard(Ref<EntityStore> ref, PlayerRef playerRef, World world, BuilderToolsPlugin.BuilderState state, ComponentAccessor<EntityStore> componentAccessor) ClipboardContentsSnapshot.restoreClipboard(Ref<EntityStore> ref, PlayerRef playerRef, World world, BuilderToolsPlugin.BuilderState builderState, ComponentAccessor<EntityStore> componentAccessor) ClipboardSnapshot.restoreClipboard(Ref<EntityStore> ref, PlayerRef playerRef, World world, BuilderToolsPlugin.BuilderState builderState, ComponentAccessor<EntityStore> componentAccessor) EntityAddSnapshot.restoreEntity(PlayerRef playerRef, World world, ComponentAccessor<EntityStore> componentAccessor) EntityFreezeSnapshot.restoreEntity(PlayerRef playerRef, World world, ComponentAccessor<EntityStore> componentAccessor) EntityRemoveSnapshot.restoreEntity(PlayerRef playerRef, World world, ComponentAccessor<EntityStore> componentAccessor) Called to restore the entity that was removed.EntityScaleSnapshot.restoreEntity(PlayerRef playerRef, World world, ComponentAccessor<EntityStore> componentAccessor) EntitySettingsSnapshot.restoreEntity(PlayerRef playerRef, World world, ComponentAccessor<EntityStore> componentAccessor) EntitySnapshot.restoreEntity(PlayerRef playerRef, World world, ComponentAccessor<EntityStore> componentAccessor) EntityTransformSnapshot.restoreEntity(PlayerRef playerRef, World world, ComponentAccessor<EntityStore> componentAccessor) Constructors in com.hypixel.hytale.builtin.buildertools.snapshot with parameters of type ComponentAccessorModifierConstructorDescriptionEntityFreezeSnapshot(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) EntityScaleSnapshot(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) EntitySettingsSnapshot(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) EntityTransformSnapshot(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) Default Constructor for aEntityTransformSnapshotinstance. -
Uses of ComponentAccessor in com.hypixel.hytale.builtin.buildertools.tooloperations
Methods in com.hypixel.hytale.builtin.buildertools.tooloperations with parameters of type ComponentAccessorModifier and TypeMethodDescriptionOperationFactory.create(Ref<EntityStore> ref, Player playerComponent, PlayerRef playerRefComponent, BuilderToolOnUseInteraction interaction, ComponentAccessor<EntityStore> componentAccessor) Called to create a new instance of the tool operation class.voidLaserPointerOperation.execute(ComponentAccessor<EntityStore> componentAccessor) voidRevolveOperation.execute(ComponentAccessor<EntityStore> componentAccessor) voidSculptOperation.execute(ComponentAccessor<EntityStore> componentAccessor) voidToolOperation.execute(ComponentAccessor<EntityStore> componentAccessor) voidToolOperation.executeAsBrushConfig(PrototypePlayerBuilderToolSettings prototypePlayerBuilderToolSettings, BuilderToolOnUseInteraction packet, ComponentAccessor<EntityStore> componentAccessor) voidRevolveOperation.executeAt(int posX, int posY, int posZ, ComponentAccessor<EntityStore> componentAccessor) voidSculptOperation.executeAt(int posX, int posY, int posZ, ComponentAccessor<EntityStore> componentAccessor) voidToolOperation.executeAt(int posX, int posY, int posZ, ComponentAccessor<EntityStore> componentAccessor) Executes the brush operation at a specific position (for interpolation support).static ToolOperationToolOperation.fromPacket(Ref<EntityStore> ref, Player player, PlayerRef playerRef, BuilderToolOnUseInteraction packet, ComponentAccessor<EntityStore> componentAccessor) Creates a new tool operation instance based on the information from the builder tool use interaction packet.ToolOperation.getBrushRotation(ComponentAccessor<EntityStore> componentAccessor) Gets the brush rotation value from tool args.org.joml.Vector3iToolOperation.getTargetBlockAvoidingPaint(Ref<EntityStore> ref, double maxDistance, ComponentAccessor<EntityStore> componentAccessor, float raycastOriginX, float raycastOriginY, float raycastOriginZ, float raycastDirectionX, float raycastDirectionY, float raycastDirectionZ) org.joml.Vector3iToolOperation.getTargetBlockAvoidingPaint(Ref<EntityStore> ref, double maxDistance, ComponentAccessor<EntityStore> componentAccessor, float raycastOriginX, float raycastOriginY, float raycastOriginZ, float raycastDirectionX, float raycastDirectionY, float raycastDirectionZ, org.joml.Vector3d hitPositionOut) Constructors in com.hypixel.hytale.builtin.buildertools.tooloperations with parameters of type ComponentAccessorModifierConstructorDescriptionLaserPointerOperation(Ref<EntityStore> ref, Player player, PlayerRef playerRef, BuilderToolOnUseInteraction packet, ComponentAccessor<EntityStore> componentAccessor) LayersOperation(Ref<EntityStore> ref, Player player, PlayerRef playerRef, BuilderToolOnUseInteraction packet, ComponentAccessor<EntityStore> componentAccessor) NoiseOperation(Ref<EntityStore> ref, Player player, PlayerRef playerRef, BuilderToolOnUseInteraction packet, ComponentAccessor<EntityStore> componentAccessor) OldSculptOperation(Ref<EntityStore> ref, Player player, PlayerRef playerRef, BuilderToolOnUseInteraction packet, ComponentAccessor<EntityStore> componentAccessor) Deprecated.PaintOperation(Ref<EntityStore> ref, Player player, PlayerRef playerRef, BuilderToolOnUseInteraction packet, ComponentAccessor<EntityStore> componentAccessor) RevolveOperation(Ref<EntityStore> ref, Player player, PlayerRef playerRef, BuilderToolOnUseInteraction packet, ComponentAccessor<EntityStore> componentAccessor) ScatterOperation(Ref<EntityStore> ref, Player player, PlayerRef playerRef, BuilderToolOnUseInteraction packet, ComponentAccessor<EntityStore> componentAccessor) SculptOperation(Ref<EntityStore> ref, Player player, PlayerRef playerRef, BuilderToolOnUseInteraction packet, ComponentAccessor<EntityStore> componentAccessor) SmootherOperation(Ref<EntityStore> ref, Player player, BuilderToolOnUseInteraction packet, ComponentAccessor<EntityStore> componentAccessor) SmoothOperation(Ref<EntityStore> ref, BuilderToolOnUseInteraction packet, ComponentAccessor<EntityStore> componentAccessor) TintOperation(Ref<EntityStore> ref, Player player, PlayerRef playerRef, BuilderToolOnUseInteraction packet, ComponentAccessor<EntityStore> componentAccessor) ToolOperation(Ref<EntityStore> ref, BuilderToolOnUseInteraction packet, ComponentAccessor<EntityStore> componentAccessor) -
Uses of ComponentAccessor in com.hypixel.hytale.builtin.buildertools.utils
Methods in com.hypixel.hytale.builtin.buildertools.utils with parameters of type ComponentAccessorModifier and TypeMethodDescriptionstatic voidPasteToolUtil.switchToPasteTool(Ref<EntityStore> ref, PlayerRef playerRef, ComponentAccessor<EntityStore> componentAccessor) -
Uses of ComponentAccessor in com.hypixel.hytale.builtin.crafting
Methods in com.hypixel.hytale.builtin.crafting with parameters of type ComponentAccessorModifier and TypeMethodDescriptionstatic booleanCraftingPlugin.forgetRecipe(Ref<EntityStore> ref, String itemId, ComponentAccessor<EntityStore> componentAccessor) Called to forget a recipe for the given item ID as the given player.static booleanCraftingPlugin.learnRecipe(Ref<EntityStore> ref, String recipeId, ComponentAccessor<EntityStore> componentAccessor) Called to learn the recipe for the given item ID as the given player.static voidCraftingPlugin.sendKnownRecipes(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) Called to send all known recipes to the player. -
Uses of ComponentAccessor in com.hypixel.hytale.builtin.crafting.component
Methods in com.hypixel.hytale.builtin.crafting.component with parameters of type ComponentAccessorModifier and TypeMethodDescriptionbooleanCraftingManager.cancelAllCrafting(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) Called to cancel all crafting within this crafting manager.booleanCraftingManager.clearBench(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) Called to clear this bench, cancelling all queued crafts.booleanCraftingManager.craftItem(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor, CraftingRecipe recipe, int requestedQuantity, ItemContainer itemContainer) Called to instantly craft the given item for the given quantity.voidProcessingBenchBlock.playSound(int soundEventIndex, ComponentAccessor<EntityStore> componentAccessor, BlockType blockType, int rotationIndex, int blockX, int blockY, int blockZ) booleanCraftingManager.queueCraft(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor, CraftingWindow window, int transactionId, CraftingRecipe recipe, int requestedQuantity, ItemContainer inputItemContainer, CraftingManager.InputRemovalType inputRemovalType) Called to queue a recipe to be crafted.booleanCraftingManager.startTierUpgrade(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor, BenchWindow window) Called to attempt to start a bench tier upgrade for the affiliated entity.voidCraftingManager.tick(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor, float dt) Called to tick and update this crafting manager. -
Uses of ComponentAccessor in com.hypixel.hytale.builtin.crafting.window
Methods in com.hypixel.hytale.builtin.crafting.window with parameters of type ComponentAccessorModifier and TypeMethodDescriptionvoidBenchWindow.onClose0(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) voidCraftingWindow.onClose0(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) voidDiagramCraftingWindow.onClose0(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) voidFieldCraftingWindow.onClose0(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) voidProcessingBenchWindow.onClose0(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) voidStructuralCraftingWindow.onClose0(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) Constructors in com.hypixel.hytale.builtin.crafting.window with parameters of type ComponentAccessorModifierConstructorDescriptionDiagramCraftingWindow(Ref<EntityStore> ref, ComponentAccessor<EntityStore> store, int x, int y, int z, int rotationIndex, BlockType blockType, BenchBlock benchBlock) -
Uses of ComponentAccessor in com.hypixel.hytale.builtin.deployables
Methods in com.hypixel.hytale.builtin.deployables with parameters of type ComponentAccessorModifier and TypeMethodDescriptionstatic voidDeployablesUtils.playSoundEventsAtEntity(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor, int localIndex, int worldIndex, org.joml.Vector3d pos) Called to play sound events at the given entity reference. -
Uses of ComponentAccessor in com.hypixel.hytale.builtin.encountermanager
Methods in com.hypixel.hytale.builtin.encountermanager with parameters of type ComponentAccessorModifier and TypeMethodDescriptionEncounterManager.acquireExecutionSupport(Ref<EntityStore> ref, ComponentAccessor<EntityStore> accessor) voidEncounterAudioState.applyToPlayer(ComponentAccessor<EntityStore> accessor, Ref<EntityStore> encounterRef, Ref<EntityStore> playerRef) Pushes the desired music + audio-state values onto a player.voidEncounterBossBarState.applyToPlayer(ComponentAccessor<EntityStore> accessor, Ref<EntityStore> encounterRef, Ref<EntityStore> playerRef) voidEncounterMemberConsumer.applyToPlayer(ComponentAccessor<EntityStore> accessor, Ref<EntityStore> encounterRef, Ref<EntityStore> playerRef) voidEncounterWeatherState.applyToPlayer(ComponentAccessor<EntityStore> accessor, Ref<EntityStore> encounterRef, Ref<EntityStore> playerRef) voidEncounterBossBarState.beginTick(ComponentAccessor<EntityStore> accessor) default voidEncounterMemberConsumer.beginTick(ComponentAccessor<EntityStore> accessor) Called once per tick before any member is served, for state that has to be resolved from the world.voidEncounterManager.removed(Ref<EntityStore> ref, ComponentAccessor<EntityStore> accessor) static voidEncounterMemberSystems.revertAndClearMembers(ComponentAccessor<EntityStore> accessor, Ref<EntityStore> encounterRef) Reverts every member of an encounter and clears its membership.voidEncounterAudioState.revertPlayer(ComponentAccessor<EntityStore> accessor, Ref<EntityStore> encounterRef, Ref<EntityStore> playerRef) Returns a player to normal audio: clears forced music and resets every axis this encounter manages back to its declared default.voidEncounterBossBarState.revertPlayer(ComponentAccessor<EntityStore> accessor, Ref<EntityStore> encounterRef, Ref<EntityStore> playerRef) voidEncounterMemberConsumer.revertPlayer(ComponentAccessor<EntityStore> accessor, Ref<EntityStore> encounterRef, Ref<EntityStore> playerRef) voidEncounterWeatherState.revertPlayer(ComponentAccessor<EntityStore> accessor, Ref<EntityStore> encounterRef, Ref<EntityStore> playerRef) voidEncounterManager.teleported(Ref<EntityStore> ref, ComponentAccessor<EntityStore> accessor, World from, World to) voidEncounterManager.unloaded(Ref<EntityStore> ref, ComponentAccessor<EntityStore> accessor) -
Uses of ComponentAccessor in com.hypixel.hytale.builtin.encountermanager.npc
Methods in com.hypixel.hytale.builtin.encountermanager.npc with parameters of type ComponentAccessorModifier and TypeMethodDescriptionvoidEncounterMemberCollector.collectMatching(Ref<EntityStore> ref, Ref<EntityStore> targetRef, ComponentAccessor<EntityStore> componentAccessor) voidEncounterMemberCollector.collectNonMatching(Ref<EntityStore> targetRef, ComponentAccessor<EntityStore> componentAccessor) voidEncounterMemberCollector.init(Ref<EntityStore> ref, ExecutionSupport executionSupport, ComponentAccessor<EntityStore> componentAccessor) -
Uses of ComponentAccessor in com.hypixel.hytale.builtin.instances
Methods in com.hypixel.hytale.builtin.instances with parameters of type ComponentAccessorModifier and TypeMethodDescriptionstatic CompletableFuture<Void> InstancesPlugin.exitInstance(Ref<EntityStore> targetRef, ComponentAccessor<EntityStore> componentAccessor) Returns the entity to the return world/point for the instance they are currently in.static voidInstancesPlugin.teleportPlayerToInstance(Ref<EntityStore> playerRef, ComponentAccessor<EntityStore> componentAccessor, World targetWorld, Transform overrideReturn) Called to teleport the given player entity to the target world.static voidInstancesPlugin.teleportPlayerToLoadingInstance(Ref<EntityStore> entityRef, ComponentAccessor<EntityStore> componentAccessor, CompletableFuture<World> worldFuture, Transform overrideReturn) Teleports a player to a world that may not be loaded yet.static voidInstancesPlugin.teleportPlayerToLoadingInstance(Ref<EntityStore> entityRef, ComponentAccessor<EntityStore> componentAccessor, CompletableFuture<World> worldFuture, Transform overrideReturn, Transform arrival) Called to teleport the given player entity to a loading target world, arriving atarrivalinstead of the world's spawn point when provided. -
Uses of ComponentAccessor in com.hypixel.hytale.builtin.instances.config
Methods in com.hypixel.hytale.builtin.instances.config with parameters of type ComponentAccessorModifier and TypeMethodDescriptionExitInstance.respawnPlayer(World world, Ref<EntityStore> playerReference, ComponentAccessor<EntityStore> commandBuffer) -
Uses of ComponentAccessor in com.hypixel.hytale.builtin.mounts
Methods in com.hypixel.hytale.builtin.mounts with parameters of type ComponentAccessorModifier and TypeMethodDescriptionstatic voidMountPlugin.checkDismountNpc(ComponentAccessor<EntityStore> store, Ref<EntityStore> ref, Player playerComponent) static voidMountPlugin.resetOriginalPlayerMovementSettings(Ref<EntityStore> playerReference, ComponentAccessor<EntityStore> store) static voidMountPlugin.resetOriginalPlayerMovementSettings(Ref<EntityStore> playerReference, ComponentAccessor<EntityStore> store, int mountEntityId) -
Uses of ComponentAccessor in com.hypixel.hytale.builtin.npccombatactionevaluator.corecomponents
Methods in com.hypixel.hytale.builtin.npccombatactionevaluator.corecomponents with parameters of type ComponentAccessorModifier and TypeMethodDescriptionvoidCombatTargetCollector.collectMatching(Ref<EntityStore> ref, Ref<EntityStore> targetRef, ComponentAccessor<EntityStore> componentAccessor) voidCombatTargetCollector.collectNonMatching(Ref<EntityStore> targetRef, ComponentAccessor<EntityStore> componentAccessor) voidCombatTargetCollector.init(Ref<EntityStore> ref, ExecutionSupport executionSupport, ComponentAccessor<EntityStore> componentAccessor) -
Uses of ComponentAccessor in com.hypixel.hytale.builtin.path
Methods in com.hypixel.hytale.builtin.path with parameters of type ComponentAccessorModifier and TypeMethodDescriptionPrefabPathCollection.getNearestPrefabPath(int nameIndex, org.joml.Vector3d position, Set<UUID> disallowedPaths, ComponentAccessor<EntityStore> componentAccessor) Get the path nearest to the designated position which matches a friendly namePrefabPathCollection.getNearestPrefabPath(org.joml.Vector3d position, Set<UUID> disallowedPaths, ComponentAccessor<EntityStore> componentAccessor) Get the path nearest to the designated position regardless of naming.WorldPathData.getNearestPrefabPath(int worldgenId, int nameIndex, org.joml.Vector3d position, Set<UUID> disallowedPaths, ComponentAccessor<EntityStore> componentAccessor) WorldPathData.getNearestPrefabPath(int worldgenId, org.joml.Vector3d position, Set<UUID> disallowedPaths, ComponentAccessor<EntityStore> componentAccessor) -
Uses of ComponentAccessor in com.hypixel.hytale.builtin.path.entities
Methods in com.hypixel.hytale.builtin.path.entities with parameters of type ComponentAccessorModifier and TypeMethodDescriptionorg.joml.Vector3dPatrolPathMarkerEntity.getWaypointPosition(ComponentAccessor<EntityStore> componentAccessor) PatrolPathMarkerEntity.getWaypointRotation(ComponentAccessor<EntityStore> componentAccessor) voidPatrolPathMarkerEntity.initialise(UUID id, String pathName, int index, double pauseTime, float observationAngle, int worldGenId, ComponentAccessor<EntityStore> componentAccessor) booleanPatrolPathMarkerEntity.isHiddenFromLivingEntity(Ref<EntityStore> ref, Ref<EntityStore> targetRef, ComponentAccessor<EntityStore> componentAccessor) -
Uses of ComponentAccessor in com.hypixel.hytale.builtin.path.path
Methods in com.hypixel.hytale.builtin.path.path with parameters of type ComponentAccessorModifier and TypeMethodDescriptionorg.joml.Vector3dcIPrefabPath.getNearestWaypointPosition(org.joml.Vector3d origin, ComponentAccessor<EntityStore> componentAccessor) Get the position of the nearest waypoint to the origin.org.joml.Vector3dcPatrolPath.getNearestWaypointPosition(org.joml.Vector3d origin, ComponentAccessor<EntityStore> componentAccessor) voidIPrefabPath.mergeInto(IPrefabPath target, int worldGenId, ComponentAccessor<EntityStore> componentAccessor) Called to merge the nodes of this path into the target path, appending each node in order to its end.voidPatrolPath.mergeInto(IPrefabPath target, int worldGenId, ComponentAccessor<EntityStore> componentAccessor) -
Uses of ComponentAccessor in com.hypixel.hytale.builtin.path.waypoint
Methods in com.hypixel.hytale.builtin.path.waypoint with parameters of type ComponentAccessorModifier and TypeMethodDescriptionvoidIPrefabPathWaypoint.initialise(UUID id, String path, int index, double pauseTime, float observationAngle, int worldGenId, ComponentAccessor<EntityStore> componentAccessor) Initialise a newly created waypoint and add it to its target path -
Uses of ComponentAccessor in com.hypixel.hytale.builtin.points.snapshot
Methods in com.hypixel.hytale.builtin.points.snapshot with parameters of type ComponentAccessorModifier and TypeMethodDescriptionPointSnapshot.restore(Ref<EntityStore> ref, PlayerRef playerRef, World world, ComponentAccessor<EntityStore> componentAccessor) -
Uses of ComponentAccessor in com.hypixel.hytale.builtin.portals.ui
Methods in com.hypixel.hytale.builtin.portals.ui with parameters of type ComponentAccessorModifier and TypeMethodDescriptionstatic voidPortalDeviceActivePage.open(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor, PlayerRef playerRef, Ref<ChunkStore> blockRef, BlockPosition block) Sends the client page for the state of a device that has a portal.PortalDevicePageSupplier.tryCreate(Ref<EntityStore> ref, ComponentAccessor<EntityStore> store, PlayerRef playerRef, InteractionContext context) -
Uses of ComponentAccessor in com.hypixel.hytale.builtin.portals.utils
Methods in com.hypixel.hytale.builtin.portals.utils with parameters of type ComponentAccessorModifier and TypeMethodDescriptionstatic voidPortalWorldUtils.leavePortal(Ref<EntityStore> ref, ComponentAccessor<EntityStore> store) -
Uses of ComponentAccessor in com.hypixel.hytale.builtin.reactiveblocks.states
Methods in com.hypixel.hytale.builtin.reactiveblocks.states with parameters of type ComponentAccessorModifier and TypeMethodDescriptionvoidBlockExplosive.doExplosion(BlockType blockType, org.joml.Vector3d position, Rotation3f blockRotation, ComponentAccessor<EntityStore> entityAccessor, ComponentAccessor<ChunkStore> chunkAccessor) -
Uses of ComponentAccessor in com.hypixel.hytale.builtin.triggervolumes.snapshot
Methods in com.hypixel.hytale.builtin.triggervolumes.snapshot with parameters of type ComponentAccessorModifier and TypeMethodDescriptionTriggerVolumeGroupSnapshot.restore(Ref<EntityStore> ref, PlayerRef playerRef, World world, ComponentAccessor<EntityStore> componentAccessor) TriggerVolumeSnapshot.restore(Ref<EntityStore> ref, PlayerRef playerRef, World world, ComponentAccessor<EntityStore> componentAccessor) -
Uses of ComponentAccessor in com.hypixel.hytale.builtin.weather.components
Methods in com.hypixel.hytale.builtin.weather.components with parameters of type ComponentAccessorModifier and TypeMethodDescriptionintWeatherTracker.resolveUnoverriddenWeatherIndex(WeatherResource weatherResource, TransformComponent transformComponent, ComponentAccessor<EntityStore> componentAccessor) Resolves what this player should see with no override active: the world's forced weather, otherwise the environment weather at their position.voidWeatherTracker.updateEnvironment(TransformComponent transformComponent, ComponentAccessor<EntityStore> componentAccessor) voidWeatherTracker.updateWeather(PlayerRef playerRef, WeatherResource weatherComponent, TransformComponent transformComponent, float transitionSeconds, ComponentAccessor<EntityStore> componentAccessor) -
Uses of ComponentAccessor in com.hypixel.hytale.component
Classes in com.hypixel.hytale.component that implement ComponentAccessorModifier and TypeClassDescriptionclassCommandBuffer<ECS_TYPE>The CommandBuffer is a critical part of the component system.classStore<ECS_TYPE>A store of components and entities for a specificComponentRegistry. -
Uses of ComponentAccessor in com.hypixel.hytale.server.core.asset.type.blocktype.config.farming
Methods in com.hypixel.hytale.server.core.asset.type.blocktype.config.farming with parameters of type ComponentAccessorModifier and TypeMethodDescriptionvoidFarmingStageData.apply(ComponentAccessor<ChunkStore> commandBuffer, Ref<ChunkStore> sectionRef, Ref<ChunkStore> blockRef, int x, int y, int z, FarmingStageData previousStage) Called to apply this farming stage to a block.booleanFarmingStageData.canApply(ComponentAccessor<ChunkStore> commandBuffer, Ref<ChunkStore> sectionRef, Ref<ChunkStore> blockRef, int x, int y, int z) Determines whether this farming stage can be applied to the block at the given position.voidFarmingStageData.remove(ComponentAccessor<ChunkStore> commandBuffer, Ref<ChunkStore> sectionRef, Ref<ChunkStore> blockRef, int x, int y, int z) Called to remove this farming stage from a block.booleanFarmingStageData.shouldStop(ComponentAccessor<ChunkStore> commandBuffer, Ref<ChunkStore> sectionRef, Ref<ChunkStore> blockRef, int x, int y, int z) Determines whether the growth process should stop at this stage. -
Uses of ComponentAccessor in com.hypixel.hytale.server.core.asset.type.buildertool.config
Methods in com.hypixel.hytale.server.core.asset.type.buildertool.config with parameters of type ComponentAccessorModifier and TypeMethodDescriptionstatic BuilderToolBuilderTool.getActiveBuilderTool(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) -
Uses of ComponentAccessor in com.hypixel.hytale.server.core.asset.type.gameplay.respawn
Methods in com.hypixel.hytale.server.core.asset.type.gameplay.respawn with parameters of type ComponentAccessorModifier and TypeMethodDescriptionHomeOrSpawnPoint.respawnPlayer(World world, Ref<EntityStore> playerReference, ComponentAccessor<EntityStore> commandBuffer) RespawnController.respawnPlayer(World world, Ref<EntityStore> playerReference, ComponentAccessor<EntityStore> commandBuffer) Called upon re-spawning the given playerWorldSpawnPoint.respawnPlayer(World world, Ref<EntityStore> playerReference, ComponentAccessor<EntityStore> commandBuffer) -
Uses of ComponentAccessor in com.hypixel.hytale.server.core.asset.type.model.config
Methods in com.hypixel.hytale.server.core.asset.type.model.config with parameters of type ComponentAccessorModifier and TypeMethodDescriptionfloatModel.getEyeHeight(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) Called to fetch the eye height based on the movement state of the entity. -
Uses of ComponentAccessor in com.hypixel.hytale.server.core.blocktype.component
Methods in com.hypixel.hytale.server.core.blocktype.component with parameters of type ComponentAccessorModifier and TypeMethodDescriptionstatic voidBlockPhysics.clear(ComponentAccessor<ChunkStore> accessor, Ref<ChunkStore> section, int x, int y, int z) Clears the support/deco value from the blockstatic voidBlockPhysics.markDeco(ComponentAccessor<ChunkStore> store, Ref<ChunkStore> section, int x, int y, int z) static voidBlockPhysics.reset(ComponentAccessor<ChunkStore> accessor, Ref<ChunkStore> section, int x, int y, int z) Resets the support status for the block, adding the physics if required to allow it to tick. -
Uses of ComponentAccessor in com.hypixel.hytale.server.core.command.commands.world.entity
Methods in com.hypixel.hytale.server.core.command.commands.world.entity with parameters of type ComponentAccessorModifier and TypeMethodDescriptionstatic voidEntityRemoveCommand.removeEntity(Ref<EntityStore> playerRef, Ref<EntityStore> entityReference, ComponentAccessor<EntityStore> componentAccessor) -
Uses of ComponentAccessor in com.hypixel.hytale.server.core.command.system.arguments.types
Methods in com.hypixel.hytale.server.core.command.system.arguments.types with parameters of type ComponentAccessorModifier and TypeMethodDescriptionEntityWrappedArg.get(ComponentAccessor<EntityStore> componentAccessor, CommandContext context) Retrieve the Ref representing the entity where we attempt to resolve the argument that this wraps.org.joml.Vector3iRelativeIntPosition.getBlockPosition(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) Called to get the block position represented by this relative position, based on an entity's position.org.joml.Vector3iRelativeIntPosition.getBlockPosition(CommandContext context, ComponentAccessor<EntityStore> componentAccessor) Called to get the block position represented by this relative position, based on a command sender's position.org.joml.Vector2iRelativeChunkPosition.getChunkPosition(CommandContext context, ComponentAccessor<EntityStore> componentAccessor) Gets the chunk position based on the command sender's position.org.joml.Vector3dRelativeDoublePosition.getRelativePosition(CommandContext context, World world, ComponentAccessor<EntityStore> componentAccessor) Fetches the position relative to the command sender's position if relative coordinates are used. -
Uses of ComponentAccessor in com.hypixel.hytale.server.core.entity
Methods in com.hypixel.hytale.server.core.entity with parameters of type ComponentAccessorModifier and TypeMethodDescriptionstatic booleanItemUtils.canApplyItemStackPenalties(Ref<EntityStore> ref, ComponentAccessor<EntityStore> accessor) Returns whether broken-item penalties should be applied for the given entity.static booleanItemUtils.canDecreaseItemStackDurability(Ref<EntityStore> ref, ComponentAccessor<EntityStore> accessor) Returns whether durability can be decreased for items held by the given entity.static ItemStackSlotTransactionItemUtils.decreaseItemStackDurability(Ref<EntityStore> ref, ItemStack itemStack, int inventoryId, int slotId, ComponentAccessor<EntityStore> componentAccessor) Decreases the durability of an item stack if possible, applying penalties if the item breaks.static Ref<EntityStore> ItemUtils.dropItem(Ref<EntityStore> ref, ItemStack itemStack, ComponentAccessor<EntityStore> componentAccessor) Called to attempt to drop the given item stack to the ground, with a subtle amount of force appliedstatic InteractionContextInteractionContext.forInteraction(InteractionManager manager, Ref<EntityStore> ref, InteractionType type, int equipSlot, ComponentAccessor<EntityStore> componentAccessor) static InteractionContextInteractionContext.forInteraction(InteractionManager manager, Ref<EntityStore> ref, InteractionType type, ComponentAccessor<EntityStore> componentAccessor) Returns an interaction context initialized with the correct held item for the given interaction type.static InteractionContextInteractionContext.forProxyEntity(InteractionManager manager, Ref<EntityStore> entityRef, Ref<EntityStore> runningForEntity, ComponentAccessor<EntityStore> componentAccessor) static EntityEntityUtils.getEntity(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) Deprecated.static StringEntityUtils.getEntityName(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) Returns a loggable identifier for an entity.static longLivingEntity.getPackedMaterialAndFluidAtBreathingHeight(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) Gets the packed material and fluid ID at the entity's breathing height.static PhysicsValuesEntityUtils.getPhysicsValues(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) Deprecated.InteractionContext.getSnapshot(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) static voidItemUtils.interactivelyPickupItem(Ref<EntityStore> ref, ItemStack itemStack, org.joml.Vector3d origin, ComponentAccessor<EntityStore> componentAccessor) Called to attempt to pick up the given item stackbooleanEntity.isHiddenFromLivingEntity(Ref<EntityStore> ref, Ref<EntityStore> targetRef, ComponentAccessor<EntityStore> componentAccessor) Determines whether this entity is hidden from the given target entityvoidEntity.moveTo(Ref<EntityStore> ref, double locX, double locY, double locZ, ComponentAccessor<EntityStore> componentAccessor) Deprecated.UseTransformComponentdirectlyvoidLivingEntity.moveTo(Ref<EntityStore> ref, double locX, double locY, double locZ, ComponentAccessor<EntityStore> componentAccessor) static voidExplosionUtils.performExplosion(Damage.Source damageSource, org.joml.Vector3d position, Rotation3f rotation, ExplosionConfig config, Ref<EntityStore> ignoreRef, ComponentAccessor<EntityStore> componentAccessor, ComponentAccessor<ChunkStore> chunkStore) Called to perform an explosion at the given position, referencing the provided explosion config.static voidAnimationUtils.playAnimation(Ref<EntityStore> ref, AnimationSlot animationSlot, ItemPlayerAnimations itemAnimations, String animationId, ComponentAccessor<EntityStore> componentAccessor) Called to play a specific animation on an entity.static voidAnimationUtils.playAnimation(Ref<EntityStore> ref, AnimationSlot animationSlot, String animationId, boolean sendToSelf, ComponentAccessor<EntityStore> componentAccessor) Called to play a specific animation on an entity.static voidAnimationUtils.playAnimation(Ref<EntityStore> ref, AnimationSlot animationSlot, String animationId, ComponentAccessor<EntityStore> componentAccessor) Called to play a specific animation on an entity.static voidAnimationUtils.playAnimation(Ref<EntityStore> ref, AnimationSlot animationSlot, String itemAnimationsId, String animationId, boolean sendToSelf, ComponentAccessor<EntityStore> componentAccessor) Called to play a specific animation on an entity.static voidAnimationUtils.playAnimation(Ref<EntityStore> ref, AnimationSlot animationSlot, String itemAnimationsId, String animationId, ComponentAccessor<EntityStore> componentAccessor) Called to play a specific animation on an entity.static voidEntityUtils.processEntityBreathing(Ref<EntityStore> ref, BreathingComponent breathingComponent, CachedStatsComponent cachedStatsComponent, boolean invulnerable, boolean skipComparisons, ComponentAccessor<EntityStore> componentAccessor) Called to process the breathing status of an entity, updating the providedBreathingComponentandCachedStatsComponentif necessary.voidStatModifiersManager.recalculateEntityStatModifiers(Ref<EntityStore> ref, EntityStatMap statMap, ComponentAccessor<EntityStore> componentAccessor) Recalculates the entity stat modifiers of the associated entity.static voidAnimationUtils.stopAnimation(Ref<EntityStore> ref, AnimationSlot animationSlot, boolean sendToSelf, ComponentAccessor<EntityStore> componentAccessor) Called to stop a specific animation on an entity.static voidAnimationUtils.stopAnimation(Ref<EntityStore> ref, AnimationSlot animationSlot, ComponentAccessor<EntityStore> componentAccessor) Called to stop a specific animation on an entity.static Ref<EntityStore> ItemUtils.throwItem(Ref<EntityStore> ref, ComponentAccessor<EntityStore> store, ItemStack itemStack, org.joml.Vector3d throwDirection, float throwSpeed) Called to create a new item drop instance, based on the providedItemStack, which spawns into the world, with the applied velocity towards the given directionstatic Ref<EntityStore> ItemUtils.throwItem(Ref<EntityStore> ref, ItemStack itemStack, float throwSpeed, ComponentAccessor<EntityStore> componentAccessor) Called to create a new item drop instance, based on the providedItemStack, which spawns into the world, with the applied velocity towards the given directionstatic ItemStackSlotTransactionItemUtils.updateItemStackDurability(Ref<EntityStore> ref, ItemStack itemStack, ItemContainer container, int slotId, double durabilityChange, ComponentAccessor<EntityStore> componentAccessor) Updates the durability of an item stack in a container slot.LivingEntity.updateItemStackDurability(Ref<EntityStore> ref, ItemStack itemStack, ItemContainer container, int slotId, double durabilityChange, ComponentAccessor<EntityStore> componentAccessor) Deprecated, for removal: This API element is subject to removal in a future version.Use theItemUtils.updateItemStackDurability(Ref, ItemStack, ItemContainer, int, double, ComponentAccessor)equivalent instead.voidInteractionManager.walkChain(Ref<EntityStore> ref, Collector collector, InteractionType type, ComponentAccessor<EntityStore> componentAccessor) Walks over all interactions in the default root interaction that would be used for the given interaction typetype.voidInteractionManager.walkChain(Ref<EntityStore> ref, Collector collector, InteractionType type, RootInteraction rootInteraction, ComponentAccessor<EntityStore> componentAccessor) Walks over all interactions in the root interaction provided. -
Uses of ComponentAccessor in com.hypixel.hytale.server.core.entity.effect
Methods in com.hypixel.hytale.server.core.entity.effect with parameters of type ComponentAccessorModifier and TypeMethodDescriptionbooleanEffectControllerComponent.addEffect(Ref<EntityStore> ownerRef, int entityEffectIndex, EntityEffect entityEffect, float duration, OverlapBehavior overlapBehavior, ComponentAccessor<EntityStore> componentAccessor) Called to add an entity effect to this entity effect controller.booleanEffectControllerComponent.addEffect(Ref<EntityStore> ownerRef, int entityEffectIndex, EntityEffect entityEffect, float duration, OverlapBehavior overlapBehavior, ComponentAccessor<EntityStore> componentAccessor, Ref<EntityStore> owner) Called to add an entity effect to this entity effect controller, attributed to the entity that applied it.booleanEffectControllerComponent.addEffect(Ref<EntityStore> ownerRef, int entityEffectIndex, EntityEffect entityEffect, ComponentAccessor<EntityStore> componentAccessor) Called to add an entity effect to this entity effect controller.booleanEffectControllerComponent.addEffect(Ref<EntityStore> ownerRef, EntityEffect entityEffect, float duration, OverlapBehavior overlapBehavior, ComponentAccessor<EntityStore> componentAccessor) Called to add an entity effect to this entity effect controller.booleanEffectControllerComponent.addEffect(Ref<EntityStore> ownerRef, EntityEffect entityEffect, float duration, OverlapBehavior overlapBehavior, ComponentAccessor<EntityStore> componentAccessor, Ref<EntityStore> owner) Called to add an entity effect to this entity effect controller, attributed to the entity that applied it.booleanEffectControllerComponent.addEffect(Ref<EntityStore> ownerRef, EntityEffect entityEffect, ComponentAccessor<EntityStore> componentAccessor) Called to add an entity effect to this entity effect controller.booleanEffectControllerComponent.addEffect(Ref<EntityStore> ownerRef, EntityEffect entityEffect, ComponentAccessor<EntityStore> componentAccessor, Ref<EntityStore> owner) Called to add an entity effect to this entity effect controller with its configured duration and overlap behavior, attributed to the entity that applied it.booleanEffectControllerComponent.addInfiniteEffect(Ref<EntityStore> ownerRef, int entityEffectIndex, EntityEffect entityEffect, ComponentAccessor<EntityStore> componentAccessor) Called to add an entity effect for an infinite amount of time.voidEffectControllerComponent.clearEffects(Ref<EntityStore> ownerRef, ComponentAccessor<EntityStore> componentAccessor) Called to clear all active entity effects from this controller.ActiveEntityEffect.getDeathMessage(Damage info, Ref<EntityStore> targetRef, ComponentAccessor<EntityStore> componentAccessor) voidEffectControllerComponent.removeEffect(Ref<EntityStore> ownerRef, int entityEffectIndex, ComponentAccessor<EntityStore> componentAccessor) Called to remove an entity effect with the given index.voidEffectControllerComponent.removeEffect(Ref<EntityStore> ownerRef, int entityEffectIndex, RemovalBehavior removalBehavior, ComponentAccessor<EntityStore> componentAccessor) Called to remove an entity effect with the given index.voidEffectControllerComponent.setModelChange(Ref<EntityStore> ownerRef, EntityEffect entityEffect, int entityEffectIndex, ComponentAccessor<EntityStore> componentAccessor) Sets model change from an entity effect, if present.voidEffectControllerComponent.tryResetModelChange(Ref<EntityStore> ownerRef, int activeEffectIndex, ComponentAccessor<EntityStore> componentAccessor) Resets model change applied to the owner, if it was applied by this entity effect. -
Uses of ComponentAccessor in com.hypixel.hytale.server.core.entity.entities
Methods in com.hypixel.hytale.server.core.entity.entities with parameters of type ComponentAccessorModifier and TypeMethodDescriptionstatic voidPlayer.addLocationChange(Ref<EntityStore> ref, double deltaX, double deltaY, double deltaZ, ComponentAccessor<EntityStore> componentAccessor) static voidPlayer.applyMovementStates(Ref<EntityStore> ref, SavedMovementStates savedMovementStates, MovementStates movementStates, ComponentAccessor<EntityStore> componentAccessor) static CompletableFuture<Transform> Player.getRespawnPosition(Ref<EntityStore> ref, String worldName, ComponentAccessor<EntityStore> componentAccessor) Called to return the respawn position for the given playerstatic ItemStackTransactionPlayer.giveItem(ItemStack stack, Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) static voidPlayer.initGameMode(Ref<EntityStore> playerRef, ComponentAccessor<EntityStore> componentAccessor) Called during the initialization stage of the players creation to initialize their game-mode and permissions.booleanPlayer.isFlying(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) Determines whether this player is currently flying.booleanPlayer.isHiddenFromLivingEntity(Ref<EntityStore> ref, Ref<EntityStore> targetRef, ComponentAccessor<EntityStore> componentAccessor) voidPlayer.moveTo(Ref<EntityStore> ref, double locX, double locY, double locZ, ComponentAccessor<EntityStore> componentAccessor) static voidPlayer.notifyPickupItem(Ref<EntityStore> ref, ItemStack itemStack, org.joml.Vector3d position, ComponentAccessor<EntityStore> componentAccessor) Called to notify the player of an item pick-up, playing expected audio and effectsvoidProjectileComponent.onProjectileBounce(org.joml.Vector3d position, ComponentAccessor<EntityStore> componentAccessor) Called when the projectile bounces.voidBlockEntity.setBlockTypeKey(String blockTypeKey, Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) voidPlayer.setFlying(Ref<EntityStore> ref, boolean flying, ComponentAccessor<EntityStore> componentAccessor) Forces this player into (or out of) the flying state and pushes the change to the client.static voidPlayer.setGameMode(Ref<EntityStore> playerRef, GameMode gameMode, ComponentAccessor<EntityStore> componentAccessor) Sets the current game-mode of the given entity.voidPlayer.setNoClip(Ref<EntityStore> ref, boolean noClip, boolean notify, ComponentAccessor<EntityStore> componentAccessor) Sets whether no-clip (collision disabled in every movement state) is enabled for this player.voidPlayer.setOverrideBlockPlacementRestrictions(Ref<EntityStore> ref, boolean overrideBlockPlacementRestrictions, ComponentAccessor<EntityStore> componentAccessor) Called to set whether block placement restrictions are overridden for this player. -
Uses of ComponentAccessor in com.hypixel.hytale.server.core.entity.entities.player
Methods in com.hypixel.hytale.server.core.entity.entities.player with parameters of type ComponentAccessorModifier and TypeMethodDescriptionvoidHotbarManager.loadHotbar(Ref<EntityStore> playerRef, short hotbarIndex, ComponentAccessor<EntityStore> componentAccessor) Called to load the hotbar of the given indexvoidHotbarManager.saveHotbar(Ref<EntityStore> playerRef, short hotbarIndex, ComponentAccessor<EntityStore> componentAccessor) Called to save the hotbar of the given index -
Uses of ComponentAccessor in com.hypixel.hytale.server.core.entity.entities.player.movement
Methods in com.hypixel.hytale.server.core.entity.entities.player.movement with parameters of type ComponentAccessorModifier and TypeMethodDescriptionvoidMovementManager.applyConfigAndUpdate(MovementConfig movementConfig, Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) Applies the given movement config as the current settings and sends them to the client, keeping the entity-derived physics values.voidMovementManager.refreshDefaultSettings(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) Reprocess the default values from the GameplayConfig based on the provided PhysicsValues and GameMode Note: Not to be confused withMovementManager.applyDefaultSettings()voidMovementManager.resetDefaultsAndUpdate(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) Reprocesses and reapplies the default values based on the player. -
Uses of ComponentAccessor in com.hypixel.hytale.server.core.entity.entities.player.windows
Methods in com.hypixel.hytale.server.core.entity.entities.player.windows with parameters of type ComponentAccessorModifier and TypeMethodDescriptionvoidWindow.close(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) Called to close this window.voidWindowManager.closeAllWindows(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) Called to close all windows associated with this manager.WindowManager.closeWindow(Ref<EntityStore> ref, int id, ComponentAccessor<EntityStore> componentAccessor) Called to close the window affiliated with the given ID.voidContainerBlockWindow.onClose0(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) voidContainerWindow.onClose0(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) voidItemStackContainerWindow.onClose0(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) booleanBlockWindow.validate(Ref<EntityStore> ref, ComponentAccessor<EntityStore> store) booleanValidatedWindow.validate(Ref<EntityStore> ref, ComponentAccessor<EntityStore> store) voidWindowManager.validateWindows(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) Called to validate all windows associated with this manager. -
Uses of ComponentAccessor in com.hypixel.hytale.server.core.entity.reference
Methods in com.hypixel.hytale.server.core.entity.reference with parameters of type ComponentAccessorModifier and TypeMethodDescriptionPersistentRef.getEntity(ComponentAccessor<EntityStore> componentAccessor) voidInvalidatablePersistentRef.setEntity(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) voidPersistentRef.setEntity(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) -
Uses of ComponentAccessor in com.hypixel.hytale.server.core.inventory
Methods in com.hypixel.hytale.server.core.inventory with parameters of type ComponentAccessorModifier and TypeMethodDescriptionstatic voidInventoryUtils.clear(Ref<EntityStore> ref, ComponentAccessor<EntityStore> accessor) Clears all item stacks from every inventory section on the entity (storage, armor, hotbar, utility, and backpack).static booleanInventory.containsBrokenItem(Ref<EntityStore> ref, ComponentAccessor<EntityStore> accessor) Deprecated, for removal: This API element is subject to removal in a future version.static booleanInventoryUtils.containsBrokenItem(Ref<EntityStore> ref, ComponentAccessor<EntityStore> accessor) Determines whether the given entity has a broken item in their inventory.static EquipmentUpdateInventoryUtils.createEquipmentUpdate(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor, PlayerSettings playerSettings, InventoryComponent.Armor armorComponent, InventoryComponent.Utility utilityComponent) Creates anEquipmentUpdatebased on the components from the provided entity.InventoryUtils.dropAllItemStacks(Ref<EntityStore> ref, ComponentAccessor<EntityStore> accessor) Drops all item stacks from every inventory section on the entity (storage, armor, hotbar, utility, and backpack).static byteInventory.getActiveSlot(Ref<EntityStore> ref, int inventorySectionId, ComponentAccessor<EntityStore> componentAccessor) Deprecated, for removal: This API element is subject to removal in a future version.Use theInventoryUtils.setActiveSlot(Ref, int, byte, ComponentAccessor)equivalent.static byteInventoryUtils.getActiveSlot(Ref<EntityStore> ref, int inventorySectionId, ComponentAccessor<EntityStore> componentAccessor) Fetches the active slot for the specified inventory section.static CombinedItemContainerInventoryComponent.getCombined(ComponentAccessor<EntityStore> accessor, Ref<EntityStore> ref, ComponentType<EntityStore, ? extends InventoryComponent>... types) Returns aCombinedItemContainerthat wraps the inventories of the given component types on the specified entity.static ItemContainerInventoryUtils.getContainerForItemPickup(Ref<EntityStore> ref, Item item, PlayerSettings playerSettings, ComponentAccessor<EntityStore> componentAccessor) Returns the appropriateItemContainerto placeiteminto when it is picked up, using the player's configured pickup preferences.static ItemContainerInventoryUtils.getContainerForItemPickup(Ref<EntityStore> ref, Item item, PlayerSettings playerSettings, PickupLocation overridePickupLocation, ComponentAccessor<EntityStore> componentAccessor) Returns the appropriateItemContainerto placeiteminto when it is picked up.static ItemStackInventoryComponent.getItemInHand(ComponentAccessor<EntityStore> accessor, Ref<EntityStore> ref) Returns the item the entity is currently holding.static ItemContainerInventoryUtils.getSectionById(Ref<EntityStore> ref, int id, ComponentAccessor<EntityStore> componentAccessor) Returns theItemContainerfor the inventory section identified byidon the entity.static voidInventory.moveItem(Ref<EntityStore> ref, int fromSectionId, int fromSlotId, int quantity, int toSectionId, int toSlotId, ComponentAccessor<EntityStore> componentAccessor) Deprecated, for removal: This API element is subject to removal in a future version.Use theInventoryUtils.moveItem(Ref, int, int, int, int, int, ComponentAccessor)equivalent.static voidInventoryUtils.moveItem(Ref<EntityStore> ref, int fromSectionId, int fromSlotId, int quantity, int toSectionId, int toSlotId, ComponentAccessor<EntityStore> componentAccessor) Movesquantityof an item from one inventory section and slot to another.static MoveTransaction<ItemStackTransaction> InventoryUtils.moveItemFromCheckToInventory(Ref<EntityStore> ref, ItemStack itemStack, ItemContainer targetContainer, short fromSlotId, int quantity, PlayerSettings settings, ComponentAccessor<EntityStore> componentAccessor) Movesquantityof the item atfromSlotIdintargetContainerinto the container determined byInventoryUtils.getContainerForItemPickup(Ref, Item, PlayerSettings, ComponentAccessor)for the item's type.static booleanInventoryUtils.prepareAbilityCoreRemoval(Ref<EntityStore> ref, ItemContainer fromContainer, int fromSlotId, ComponentAccessor<EntityStore> componentAccessor) Enforces ability-line consistency when a line's Core rune leaves the ability slots without a replacement (quick-move, drop).InventoryUtils.putAll(Ref<EntityStore> ref, int inventorySectionId, ComponentAccessor<EntityStore> componentAccessor) Moves all items from the entity's storage inventory into the container identified byinventorySectionId.Inventory.quickStack(Ref<EntityStore> ref, int inventorySectionId, ComponentAccessor<EntityStore> componentAccessor) Deprecated, for removal: This API element is subject to removal in a future version.Use theInventoryUtils.quickStack(Ref, int, ComponentAccessor)equivalent.InventoryUtils.quickStack(Ref<EntityStore> ref, int inventorySectionId, ComponentAccessor<EntityStore> componentAccessor) Moves items from the hotbar (then storage) into the container identified byinventorySectionId, merging stacks where possible.voidInventory.setActiveHotbarSlot(Ref<EntityStore> ref, byte slot, ComponentAccessor<EntityStore> componentAccessor) Deprecated, for removal: This API element is subject to removal in a future version.voidActiveSlotInventoryComponent.setActiveSlot(byte slot, Holder<EntityStore> holder, ComponentAccessor<EntityStore> componentAccessor) Sets the active slot and fires aInventorySetActiveSlotEventvia the holder event system so registered ECS holder event systems can react.voidActiveSlotInventoryComponent.setActiveSlot(byte slot, Ref<EntityStore> ref, ComponentAccessor<EntityStore> accessor) Sets the active slot and fires aInventorySetActiveSlotEventso registered ECS event systems can react.static voidInventory.setActiveSlot(Ref<EntityStore> ref, int inventorySectionId, byte slot, ComponentAccessor<EntityStore> componentAccessor) Deprecated, for removal: This API element is subject to removal in a future version.Use theInventoryUtils.setActiveSlot(Ref, int, byte, ComponentAccessor)equivalent.static voidInventoryUtils.setActiveSlot(Ref<EntityStore> ref, int inventorySectionId, byte slot, ComponentAccessor<EntityStore> componentAccessor) Deprecated.Make use ofActiveSlotInventoryComponent.setActiveSlot(byte, Ref, ComponentAccessor)instead.voidInventory.setActiveToolsSlot(Ref<EntityStore> ref, byte slot, ComponentAccessor<EntityStore> componentAccessor) Deprecated, for removal: This API element is subject to removal in a future version.voidInventory.setActiveUtilitySlot(Ref<EntityStore> ref, byte slot, ComponentAccessor<EntityStore> componentAccessor) Deprecated, for removal: This API element is subject to removal in a future version.Use theInventoryUtils.setActiveSlot(Ref, int, byte, ComponentAccessor)equivalent.static voidInventory.smartMoveItem(Ref<EntityStore> ref, int fromSectionId, int fromSlotId, int quantity, SmartMoveType moveType, PlayerSettings settings, ComponentAccessor<EntityStore> accessor) Deprecated, for removal: This API element is subject to removal in a future version.static voidInventoryUtils.smartMoveItem(Ref<EntityStore> ref, int fromSectionId, int fromSlotId, int quantity, SmartMoveType moveType, PlayerSettings settings, ComponentAccessor<EntityStore> accessor) Performs a smart move of the item atfromSectionId/fromSlotIdaccording tomoveType.static voidInventoryUtils.sortStorage(Ref<EntityStore> ref, ComponentAccessor<EntityStore> accessor) Sorts the storage inventory by item type.Inventory.takeAll(Ref<EntityStore> ref, int inventorySectionId, PlayerSettings settings, ComponentAccessor<EntityStore> componentAccessor) Deprecated, for removal: This API element is subject to removal in a future version.Use theInventoryUtils.takeAll(Ref, int, PlayerSettings, ComponentAccessor)equivalent.InventoryUtils.takeAll(Ref<EntityStore> ref, int inventorySectionId, PlayerSettings settings, ComponentAccessor<EntityStore> componentAccessor) Moves all items from the container identified byinventorySectionIdinto the entity's inventory, respecting per-item-type pickup priority viasettings.Inventory.takeAllWithPriority(Ref<EntityStore> ref, ItemContainer fromContainer, PlayerSettings settings, ComponentAccessor<EntityStore> componentAccessor) Deprecated, for removal: This API element is subject to removal in a future version.InventoryUtils.takeAllWithPriority(Ref<EntityStore> ref, ItemContainer fromContainer, PlayerSettings settings, ComponentAccessor<EntityStore> componentAccessor) Moves all items fromfromContainerinto the entity's inventory, respecting per-item-type pickup priority viasettings. -
Uses of ComponentAccessor in com.hypixel.hytale.server.core.inventory.container
Methods in com.hypixel.hytale.server.core.inventory.container with parameters of type ComponentAccessorModifier and TypeMethodDescriptionstatic booleanSimpleItemContainer.addOrDropItemStack(ComponentAccessor<EntityStore> store, Ref<EntityStore> ref, ItemContainer itemContainer, short slot, ItemStack itemStack) static booleanSimpleItemContainer.addOrDropItemStack(ComponentAccessor<EntityStore> store, Ref<EntityStore> ref, ItemContainer itemContainer, ItemStack itemStack) static booleanSimpleItemContainer.addOrDropItemStacks(ComponentAccessor<EntityStore> store, Ref<EntityStore> ref, ItemContainer itemContainer, List<ItemStack> itemStacks) static booleanSimpleItemContainer.tryAddOrderedOrDropItemStacks(ComponentAccessor<EntityStore> store, Ref<EntityStore> ref, ItemContainer itemContainer, List<ItemStack> itemStacks) -
Uses of ComponentAccessor in com.hypixel.hytale.server.core.modules.block
Methods in com.hypixel.hytale.server.core.modules.block with parameters of type ComponentAccessorModifier and TypeMethodDescriptionstatic Ref<ChunkStore> BlockEntity.ensureBlockEntity(ComponentAccessor<ChunkStore> accessor, Ref<ChunkStore> sectionRef, BlockComponentSection componentSection, int x, int y, int z, BlockType blockType, int filler) booleanBlockModule.BlockStateInfo.fillWorldPos(ComponentAccessor<ChunkStore> accessor, org.joml.Vector3i outPos) static Ref<ChunkStore> BlockModule.getBlockEntity(ComponentAccessor<ChunkStore> accessor, Ref<ChunkStore> sectionRef, int x, int y, int z) Looks up the live block entity at the given world position within an already-resolved section, for callers holding aStoreorCommandBufferrather than the world.voidBlockModule.BlockStateInfo.markNeedsSaving(ComponentAccessor<ChunkStore> accessor) static voidBlockEntity.setBlockEntity(ComponentAccessor<ChunkStore> accessor, Ref<ChunkStore> sectionRef, BlockComponentSection componentSection, int x, int y, int z, BlockType blockType, int rotation, Holder<ChunkStore> holder) static Holder<ChunkStore> BlockEntity.takeBlockEntity(ComponentAccessor<ChunkStore> accessor, BlockComponentSection componentSection, int x, int y, int z) Detaches the block entity at the given position, returning its holder so the caller can carry the entity's state to another location. -
Uses of ComponentAccessor in com.hypixel.hytale.server.core.modules.blockanimation
Methods in com.hypixel.hytale.server.core.modules.blockanimation with parameters of type ComponentAccessorModifier and TypeMethodDescriptionstatic voidBlockAnimationModule.onBlockReplaced(ComponentAccessor<ChunkStore> accessor, Ref<ChunkStore> sectionRef, int index, int oldBlockId, int newBlockId) Drops the override of a cell whose block was replaced. -
Uses of ComponentAccessor in com.hypixel.hytale.server.core.modules.blockhealth
Methods in com.hypixel.hytale.server.core.modules.blockhealth with parameters of type ComponentAccessorModifier and TypeMethodDescriptionstatic voidBlockHealthModule.onBlockReplaced(ComponentAccessor<ChunkStore> accessor, Ref<ChunkStore> sectionRef, int index) Drops the health of a cell whose block was replaced. -
Uses of ComponentAccessor in com.hypixel.hytale.server.core.modules.collision
Methods in com.hypixel.hytale.server.core.modules.collision with parameters of type ComponentAccessorModifier and TypeMethodDescriptiondoubleEntityCollisionProvider.computeNearest(Box entityBoundingBox, org.joml.Vector3d pos, org.joml.Vector3d dir, Ref<EntityStore> ignoreSelf, Ref<EntityStore> ignore, ComponentAccessor<EntityStore> componentAccessor) Find nearest collision of AABB swept along a vector with another entity and store it in contact list.doubleEntityCollisionProvider.computeNearest(org.joml.Vector3d pos, org.joml.Vector3d dir, Box boundingBox, double radius, BiPredicate<Ref<EntityStore>, ComponentAccessor<EntityStore>> entityFilter, Ref<EntityStore> ignoreSelf, Ref<EntityStore> ignoreOther, ComponentAccessor<EntityStore> componentAccessor) Find nearest collision of AABB swept along a vector with another entity and store it in contact list.static booleanEntityCollisionProvider.defaultEntityFilter(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) The default entity filter which filters out projectiles and dead entities.intCollisionResult.defaultTriggerBlocksProcessing(InteractionManager manager, Entity entity, Ref<EntityStore> ref, boolean executeTriggers, ComponentAccessor<EntityStore> componentAccessor) static voidCollisionModule.findCharacterCollisions(Box collider, org.joml.Vector3d pos, org.joml.Vector3d v, CollisionResult result, ComponentAccessor<EntityStore> componentAccessor) Called to find character collisions for a moving box collider in the world.static booleanCollisionModule.findCollisions(Box collider, org.joml.Vector3d pos, org.joml.Vector3d v, boolean stopOnCollisionFound, CollisionResult result, ComponentAccessor<EntityStore> componentAccessor) Called to find collisions for a moving box collider in the world.static booleanCollisionModule.findCollisions(Box collider, org.joml.Vector3d pos, org.joml.Vector3d v, CollisionResult result, ComponentAccessor<EntityStore> componentAccessor) Called to find collisions for a moving box collider in the world.Method parameters in com.hypixel.hytale.server.core.modules.collision with type arguments of type ComponentAccessorModifier and TypeMethodDescriptiondoubleEntityCollisionProvider.computeNearest(org.joml.Vector3d pos, org.joml.Vector3d dir, Box boundingBox, double radius, BiPredicate<Ref<EntityStore>, ComponentAccessor<EntityStore>> entityFilter, Ref<EntityStore> ignoreSelf, Ref<EntityStore> ignoreOther, ComponentAccessor<EntityStore> componentAccessor) Find nearest collision of AABB swept along a vector with another entity and store it in contact list. -
Uses of ComponentAccessor in com.hypixel.hytale.server.core.modules.entity.component
Methods in com.hypixel.hytale.server.core.modules.entity.component with parameters of type ComponentAccessorModifier and TypeMethodDescriptionstatic floatModelComponent.getEyeHeight(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) The eye height of the entity's model for its current movement state, or0when the entity has no model.static intPlayerLives.getRemainingOrDefault(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor, int fallback) static booleanSpectating.isSpectating(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) Whether the entity is currently spectating.static voidPlayerLives.markExhausted(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) Spends every life the entity has left, adding the component when it is absent. -
Uses of ComponentAccessor in com.hypixel.hytale.server.core.modules.entity.condition
Methods in com.hypixel.hytale.server.core.modules.entity.condition with parameters of type ComponentAccessorModifier and TypeMethodDescriptionstatic booleanCondition.allConditionsMet(ComponentAccessor<EntityStore> componentAccessor, Ref<EntityStore> ref, Instant currentTime, Condition[] conditions) Determines whether all conditions are met.static booleanCondition.allConditionsMet(ComponentAccessor<EntityStore> componentAccessor, Ref<EntityStore> ref, Instant currentTime, EntityStatType.Regenerating regenerating) Determines whether all conditions are met.booleanCondition.eval(ComponentAccessor<EntityStore> componentAccessor, Ref<EntityStore> ref, Instant currentTime) Called to evaluate the condition for the given entity.abstract booleanLogicCondition.Operator.eval(ComponentAccessor<EntityStore> store, Ref<EntityStore> ref, Instant currentTime, Condition[] conditions) Evaluates the logical operation on the given conditions.booleanAliveCondition.eval0(ComponentAccessor<EntityStore> componentAccessor, Ref<EntityStore> ref, Instant currentTime) booleanChargingCondition.eval0(ComponentAccessor<EntityStore> componentAccessor, Ref<EntityStore> ref, Instant currentTime) booleanCheckPlayerGameModeCondition.eval0(ComponentAccessor<EntityStore> componentAccessor, Ref<EntityStore> ref, Instant currentTime) abstract booleanCondition.eval0(ComponentAccessor<EntityStore> componentAccessor, Ref<EntityStore> ref, Instant currentTime) The internal evaluation method for the condition.booleanEntityStatBoundCondition.eval0(ComponentAccessor<EntityStore> componentAccessor, Ref<EntityStore> ref, Instant currentTime) booleanEnvironmentCondition.eval0(ComponentAccessor<EntityStore> componentAccessor, Ref<EntityStore> ref, Instant currentTime) booleanGlidingCondition.eval0(ComponentAccessor<EntityStore> componentAccessor, Ref<EntityStore> ref, Instant currentTime) booleanHasEffectCondition.eval0(ComponentAccessor<EntityStore> componentAccessor, Ref<EntityStore> ref, Instant currentTime) booleanInFluidCondition.eval0(ComponentAccessor<EntityStore> componentAccessor, Ref<EntityStore> ref, Instant currentTime) booleanIsPlayerCondition.eval0(ComponentAccessor<EntityStore> componentAccessor, Ref<EntityStore> ref, Instant currentTime) booleanLogicCondition.eval0(ComponentAccessor<EntityStore> componentAccessor, Ref<EntityStore> ref, Instant currentTime) booleanNoDamageTakenCondition.eval0(ComponentAccessor<EntityStore> componentAccessor, Ref<EntityStore> ref, Instant currentTime) booleanOutOfCombatCondition.eval0(ComponentAccessor<EntityStore> componentAccessor, Ref<EntityStore> ref, Instant currentTime) booleanRegenHealthCondition.eval0(ComponentAccessor<EntityStore> componentAccessor, Ref<EntityStore> ref, Instant currentTime) booleanSprintingCondition.eval0(ComponentAccessor<EntityStore> componentAccessor, Ref<EntityStore> ref, Instant currentTime) booleanSuffocatingCondition.eval0(ComponentAccessor<EntityStore> componentAccessor, Ref<EntityStore> ref, Instant currentTime) booleanWieldingCondition.eval0(ComponentAccessor<EntityStore> componentAccessor, Ref<EntityStore> ref, Instant currentTime) -
Uses of ComponentAccessor in com.hypixel.hytale.server.core.modules.entity.damage
Methods in com.hypixel.hytale.server.core.modules.entity.damage with parameters of type ComponentAccessorModifier and TypeMethodDescriptionstatic voidDamageSystems.executeDamage(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor, Damage damage) Called to queue the given damage entry onto the given entity.Damage.CommandSource.getDeathMessage(Damage info, Ref<EntityStore> targetRef, ComponentAccessor<EntityStore> componentAccessor) Damage.EntitySource.getDeathMessage(Damage info, Ref<EntityStore> targetRef, ComponentAccessor<EntityStore> componentAccessor) Damage.EnvironmentSource.getDeathMessage(Damage info, Ref<EntityStore> targetRef, ComponentAccessor<EntityStore> componentAccessor) Damage.getDeathMessage(Ref<EntityStore> targetRef, ComponentAccessor<EntityStore> componentAccessor) Builds aMessagecontaining a death message relevant to this damage event.default MessageDamage.Source.getDeathMessage(Damage info, Ref<EntityStore> targetRef, ComponentAccessor<EntityStore> componentAccessor) Generates a death message from this source and any information provided ininfo.static CompletableFuture<Void> DeathComponent.respawn(ComponentAccessor<EntityStore> componentAccessor, Ref<EntityStore> ref) Respawns a dead entity, firing aRespawnEventthat a listener can cancel. -
Uses of ComponentAccessor in com.hypixel.hytale.server.core.modules.entity.gamemode
Methods in com.hypixel.hytale.server.core.modules.entity.gamemode with parameters of type ComponentAccessorModifier and TypeMethodDescriptionstatic voidGameModeTypeState.apply(Ref<EntityStore> ref, GameModeType type, ComponentAccessor<EntityStore> componentAccessor) Applies the state flags of the given type to the player entity.static voidGameModeTypeState.applyMovement(Ref<EntityStore> ref, GameModeType type, Player playerComponent, ComponentAccessor<EntityStore> componentAccessor) Applies the movement config and movement flags (Flying, NoClip) of the given type.static booleanGameModeTypes.enter(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor, String gameModeTypeId) Puts the player into the given gamemode type, applying its state flags.static booleanGameModeTypes.enterOnDeath(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor, String gameModeTypeId) Respawns a dead player in place into the given gamemode type.static booleanGameModeTypes.exit(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) Takes the player out of their current custom gamemode type, resetting the flags it set to the player's game-mode baseline.static GameModeTypeGameModeTypes.getCurrentType(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) The gamemode type currently governing the player: the custom type they are in, or the type backing their legacy game mode.static StringGameModeTypes.getCurrentTypeId(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) The id of the custom gamemode type the player is in.static booleanGameModeTypeState.isNoClipForced(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) static booleanGameModeTypes.preventsItemDrops(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) Whether the player's active gamemode type blocks dropping items.static voidGameModeTypeState.reassert(Ref<EntityStore> ref, Player playerComponent, ComponentAccessor<EntityStore> componentAccessor) Re-asserts the current custom gamemode type's movement and marker flags, for callers that know outside state changes may have stomped them.static voidGameModeTypeState.resetToBaseline(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) Resets every state flag a gamemode type can set to the baseline implied by the player's current game mode, for reversing a persisted type whose asset no longer resolves.static voidGameModeTypeState.runInteractionsOnEnter(Ref<EntityStore> ref, String interactions, ComponentAccessor<EntityStore> componentAccessor) Runs the given InteractionsOnEnter chain on the player entity.static voidGameModeTypeState.unapply(Ref<EntityStore> ref, GameModeType type, ComponentAccessor<EntityStore> componentAccessor) Reverses the state flags the given type set, resetting each to the baseline implied by the player's current game mode. -
Uses of ComponentAccessor in com.hypixel.hytale.server.core.modules.entity.item
Methods in com.hypixel.hytale.server.core.modules.entity.item with parameters of type ComponentAccessorModifier and TypeMethodDescriptionfloatItemComponent.computeLifetimeSeconds(ComponentAccessor<EntityStore> componentAccessor) Computes the lifetime of this item stack based on the config.static Holder<EntityStore> ItemComponent.generateItemDrop(ComponentAccessor<EntityStore> accessor, ItemStack itemStack, org.joml.Vector3d position, Rotation3fc rotation, float velocityX, float velocityY, float velocityZ) Generates a single entity holder for an entity item based on the given item stack to be dropped.static Holder<EntityStore>[]ItemComponent.generateItemDrops(ComponentAccessor<EntityStore> accessor, List<ItemStack> itemStacks, org.joml.Vector3d position, Rotation3fc rotation) Called to generate an array of entity item entity holders based on the provided item stacks.static Holder<EntityStore> ItemComponent.generatePickedUpItem(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor, Ref<EntityStore> targetRef, org.joml.Vector3d targetPosition) Creates a new pick-up item entity based on the holder of the given item entity.static Holder<EntityStore> ItemComponent.generatePickedUpItem(ItemStack itemStack, org.joml.Vector3d position, ComponentAccessor<EntityStore> componentAccessor, Ref<EntityStore> targetRef) Creates a new pick-up item entity based on the holder of the given item stack.floatItemComponent.getMergeRadius(ComponentAccessor<EntityStore> componentAccessor) Fetches the merge radius for this item component.floatItemComponent.getPickupRadius(ComponentAccessor<EntityStore> componentAccessor) Fetches the pickup radius for this item component. -
Uses of ComponentAccessor in com.hypixel.hytale.server.core.modules.entity.livingentity
Methods in com.hypixel.hytale.server.core.modules.entity.livingentity with parameters of type ComponentAccessorModifier and TypeMethodDescriptionstatic booleanLivingEntityEffectSystem.canApplyEffect(Ref<EntityStore> ownerRef, EntityEffect entityEffect, ComponentAccessor<EntityStore> componentAccessor) Determines whether the given entity effect can be applied to the entity. -
Uses of ComponentAccessor in com.hypixel.hytale.server.core.modules.entity.player
Methods in com.hypixel.hytale.server.core.modules.entity.player with parameters of type ComponentAccessorModifier and TypeMethodDescriptionstatic voidCreativeEraserSystems.refresh(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) Called to re-apply the eraser override after the player's settings or game mode changed.voidChunkTracker.tryLoadColumnAsync(ChunkStore chunkStore, PlayerRef playerRefComponent, long chunkIndex, TransformComponent transformComponent, ComponentAccessor<EntityStore> componentAccessor) Called to try and load a chunk asynchronously for the given player.voidChunkTracker.tryLoadSectionAsync(ChunkStore chunkStore, PlayerRef playerRefComponent, int x, int y, int z, TransformComponent transformComponent, ComponentAccessor<EntityStore> componentAccessor) Called to try and load a section asynchronously for the given player. -
Uses of ComponentAccessor in com.hypixel.hytale.server.core.modules.entitystats
Methods in com.hypixel.hytale.server.core.modules.entitystats with parameters of type ComponentAccessorModifier and TypeMethodDescriptionfloatRegeneratingValue.regenerate(ComponentAccessor<EntityStore> store, Ref<EntityStore> ref, Instant currentTime, float dt, EntityStatValue value, float currentAmount) booleanRegeneratingValue.shouldRegenerate(ComponentAccessor<EntityStore> store, Ref<EntityStore> ref, Instant currentTime, float dt, EntityStatType.Regenerating regenerating) -
Uses of ComponentAccessor in com.hypixel.hytale.server.core.modules.entitystats.asset.modifier
Methods in com.hypixel.hytale.server.core.modules.entitystats.asset.modifier with parameters of type ComponentAccessorModifier and TypeMethodDescriptionfloatRegeneratingModifier.getModifier(ComponentAccessor<EntityStore> store, Ref<EntityStore> ref, Instant currentTime) -
Uses of ComponentAccessor in com.hypixel.hytale.server.core.modules.interaction
Methods in com.hypixel.hytale.server.core.modules.interaction with parameters of type ComponentAccessorModifier and TypeMethodDescriptionvoidInteractionModule.doMouseInteraction(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor, MouseInteraction packet, Player playerComponent, PlayerRef playerRefComponent) Called to handle an incoming mouse interaction packet from the provided client,static voidBlockHarvestUtils.fireOnBreakInteraction(Ref<EntityStore> breakerRef, Ref<EntityStore> impactRef, BlockType blockType, org.joml.Vector3i blockPosition, int rotationIndex, int setBlockSettings, ComponentAccessor<EntityStore> entityStore) Fires theInteractionType.OnBreakinteraction chain defined on the broken block type, if any.static booleanBlockInteractionUtils.isNaturalAction(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) Determines whether the block action is natural or artificial.static booleanBlockInteractionUtils.isNoPhysics(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) static voidBlockHarvestUtils.naturallyRemoveBlock(org.joml.Vector3i blockPosition, BlockType blockType, int filler, int quantity, String itemId, String dropListId, int setBlockSettings, Ref<ChunkStore> sectionReference, ComponentAccessor<EntityStore> entityStore, ComponentAccessor<ChunkStore> chunkStore) Removes the block at the given position and spawns its drops, resolving filler blocks back to their origin.static voidBlockHarvestUtils.naturallyRemoveBlockByPhysics(org.joml.Vector3i blockPosition, BlockType blockType, int filler, int setBlockSettings, Ref<ChunkStore> sectionReference, ComponentAccessor<EntityStore> entityStore, ComponentAccessor<ChunkStore> chunkStore) Deprecated.PreferBlockHarvestUtils.naturallyRemoveBlock(Vector3i, BlockType, int, int, String, String, int, Ref, ComponentAccessor, ComponentAccessor)with explicit drop parameters.static voidBlockHarvestUtils.performBlockBreak(Ref<EntityStore> ref, Ref<EntityStore> impactRef, ItemStack heldItemStack, org.joml.Vector3i targetBlock, int setBlockSettings, Ref<ChunkStore> sectionReference, ComponentAccessor<EntityStore> entityStore, ComponentAccessor<ChunkStore> chunkStore) Breaks the block at the given position and attributes the break separately from the entity that physically reached it.static intBlockHarvestUtils.performBlockBreak(Ref<EntityStore> ref, ItemStack heldItemStack, List<org.joml.Vector3i> targetBlocks, int setBlockSettings, ComponentAccessor<EntityStore> entityStore, ComponentAccessor<ChunkStore> chunkStore) Breaks a collection of blocks (which may span multiple chunks) using a single item, for example a creative-mode shaped break.static voidBlockHarvestUtils.performBlockBreak(Ref<EntityStore> ref, ItemStack heldItemStack, org.joml.Vector3i targetBlock, int setBlockSettings, Ref<ChunkStore> sectionReference, ComponentAccessor<EntityStore> entityStore, ComponentAccessor<ChunkStore> chunkStore) Breaks the block at the given position, resolving filler blocks so that breaking any cell of a multi-block structure breaks the whole structure.static voidBlockHarvestUtils.performBlockBreak(Ref<EntityStore> ref, ItemStack heldItemStack, org.joml.Vector3i targetBlock, Ref<ChunkStore> sectionReference, ComponentAccessor<EntityStore> entityStore, ComponentAccessor<ChunkStore> chunkStore) Convenience overload ofBlockHarvestUtils.performBlockBreak(Ref, ItemStack, Vector3i, int, Ref, ComponentAccessor, ComponentAccessor)that breaks the block withSetBlockSettings.NONE.static voidBlockHarvestUtils.performBlockBreak(org.joml.Vector3i blockPosition, BlockType targetBlockTypeKey, ItemStack heldItemStack, int dropQuantity, String dropItemId, String dropListId, int setBlockSettings, Ref<EntityStore> ref, Ref<ChunkStore> sectionReference, ComponentAccessor<EntityStore> entityStore, ComponentAccessor<ChunkStore> chunkStore) Convenience overload ofBlockHarvestUtils.performBlockBreak(Vector3i, BlockType, ItemStack, int, String, String, int, Ref, Ref, Ref, ComponentAccessor, ComponentAccessor)for a break where the instigating entity reached the block itself.static voidBlockHarvestUtils.performBlockBreak(org.joml.Vector3i blockPosition, BlockType targetBlockTypeKey, ItemStack heldItemStack, int dropQuantity, String dropItemId, String dropListId, int setBlockSettings, Ref<EntityStore> ref, Ref<EntityStore> impactRef, Ref<ChunkStore> sectionReference, ComponentAccessor<EntityStore> entityStore, ComponentAccessor<ChunkStore> chunkStore) The core block-break implementation: removes the block and spawns its drops, firing a cancellableBreakBlockEventwhen an instigating entity is present.static intBlockHarvestUtils.performBlockDamage(Ref<EntityStore> ref, Ref<EntityStore> impactRef, List<org.joml.Vector3i> targetBlocks, org.joml.Vector3i anchorBlock, ItemStack itemStack, ItemTool tool, String toolId, boolean matchTool, float damageScale, int setBlockSettings, boolean isExplosion, boolean durabilityPerBlock, ComponentAccessor<EntityStore> entityStore, ComponentAccessor<ChunkStore> chunkStore) Applies block damage to a collection of blocks (which may span multiple chunks) using a single item, for example a shaped break.static booleanBlockHarvestUtils.performBlockDamage(Ref<EntityStore> ref, Ref<EntityStore> impactRef, org.joml.Vector3i targetBlockPos, ItemStack itemStack, ItemTool tool, String toolId, boolean matchTool, float damageScale, int setBlockSettings, boolean isExplosion, Ref<ChunkStore> sectionReference, ComponentAccessor<EntityStore> entityStore, ComponentAccessor<ChunkStore> chunkStore) Damages the single block at the given position, breaking it once its health reaches zero.static booleanBlockHarvestUtils.performBlockDamage(org.joml.Vector3i targetBlock, ItemStack itemStack, ItemTool tool, float damageScale, int setBlockSettings, boolean isExplosion, Ref<ChunkStore> sectionReference, ComponentAccessor<EntityStore> componentAccessor, ComponentAccessor<ChunkStore> chunkStore) Convenience overload ofBlockHarvestUtils.performBlockDamage(Ref, Ref, Vector3i, ItemStack, ItemTool, String, boolean, float, int, boolean, Ref, ComponentAccessor, ComponentAccessor)for damage with no instigating entity (for example explosion damage): noref, no tool id and no tool match.static voidBlockHarvestUtils.performPickupByInteraction(Ref<EntityStore> ref, org.joml.Vector3i targetBlock, BlockType blockType, int filler, Ref<ChunkStore> sectionReference, BlockSection blockSection, ComponentAccessor<EntityStore> entityStore, ComponentAccessor<ChunkStore> chunkStore) Harvests (picks up) the block at the given position straight into the entity's inventory, as used by harvest interactions.static booleanBlockPlaceUtils.placeBlock(Ref<EntityStore> ref, ItemStack itemStack, String blockTypeKey, ItemContainer itemContainer, org.joml.Vector3i placementNormal, org.joml.Vector3i blockPosition, BlockRotation blockRotation, byte activeSlot, boolean removeItemInHand, Ref<ChunkStore> sectionReference, ComponentAccessor<ChunkStore> chunkStore, ComponentAccessor<EntityStore> entityStore, boolean quickReplace, boolean quickRetype, boolean noPhysics) Called to handle a place block request from a specific player instance. -
Uses of ComponentAccessor in com.hypixel.hytale.server.core.modules.interaction.components
Methods in com.hypixel.hytale.server.core.modules.interaction.components with parameters of type ComponentAccessorModifier and TypeMethodDescriptionstatic voidCarriedBlock.dropAndClear(Ref<EntityStore> ref, ComponentAccessor<EntityStore> accessor) -
Uses of ComponentAccessor in com.hypixel.hytale.server.core.modules.interaction.interaction.config.selector
Methods in com.hypixel.hytale.server.core.modules.interaction.interaction.config.selector with parameters of type ComponentAccessorModifier and TypeMethodDescriptionstatic voidSelector.selectNearbyEntities(ComponentAccessor<EntityStore> componentAccessor, org.joml.Vector3d position, double range, Consumer<Ref<EntityStore>> consumer, Predicate<Ref<EntityStore>> filter) Helper function for selector implementations. -
Uses of ComponentAccessor in com.hypixel.hytale.server.core.modules.interaction.interaction.config.server
Methods in com.hypixel.hytale.server.core.modules.interaction.interaction.config.server with parameters of type ComponentAccessorModifier and TypeMethodDescriptionbooleanOpenPageInteraction.PageUsageValidator.canUse(Ref<EntityStore> ref, Player entity, InteractionContext context, ComponentAccessor<EntityStore> componentAccessor) OpenCustomUIInteraction.CustomPageSupplier.tryCreate(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor, PlayerRef playerRef, InteractionContext context) -
Uses of ComponentAccessor in com.hypixel.hytale.server.core.modules.interaction.interaction.util
Methods in com.hypixel.hytale.server.core.modules.interaction.interaction.util with parameters of type ComponentAccessorModifier and TypeMethodDescriptionstatic booleanInteractionValidation.canEntityInteractWithBlock(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor, ItemStack heldItem, BlockPosition blockPosition, BlockPosition contactPosition) Validates whether the entity acting on a block is close enough to it.static booleanInteractionValidation.canPlayerInteractWithBlock(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor, ItemStack heldItem, int blockX, int blockY, int blockZ) Validates whether a player entity is within the allowable interaction distance of a target block.static booleanInteractionValidation.canPlayerInteractWithBlock(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor, ItemStack heldItem, BlockPosition blockPosition) static booleanInteractionValidation.canPlayerInteractWithBlock(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor, ItemStack heldItem, org.joml.Vector3i blockPosition) static booleanInteractionValidation.canPlayerInteractWithEntity(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor, ItemStack heldItem, Ref<EntityStore> targetRef) Validates whether a player entity is within the allowable interaction distance of a target entity. -
Uses of ComponentAccessor in com.hypixel.hytale.server.core.modules.interaction.suppliers
Methods in com.hypixel.hytale.server.core.modules.interaction.suppliers with parameters of type ComponentAccessorModifier and TypeMethodDescriptionBlockLorePageSupplier.tryCreate(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor, PlayerRef playerRef, InteractionContext context) ConfirmationPageSupplier.tryCreate(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor, PlayerRef playerRef, InteractionContext context) ItemRepairPageSupplier.tryCreate(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor, PlayerRef playerRef, InteractionContext context) -
Uses of ComponentAccessor in com.hypixel.hytale.server.core.modules.physics
Methods in com.hypixel.hytale.server.core.modules.physics with parameters of type ComponentAccessorModifier and TypeMethodDescriptionSimplePhysicsProvider.tick(double dt, Velocity entityVelocity, World entityWorld, TransformComponent entityTransform, Ref<EntityStore> selfRef, ComponentAccessor<EntityStore> componentAccessor) Deprecated.Constructor parameters in com.hypixel.hytale.server.core.modules.physics with type arguments of type ComponentAccessorModifierConstructorDescriptionSimplePhysicsProvider(BiConsumer<org.joml.Vector3d, ComponentAccessor<EntityStore>> bounceConsumer, QuadConsumer<Ref<EntityStore>, org.joml.Vector3d, Ref<EntityStore>, ComponentAccessor<EntityStore>> impactConsumer) Deprecated.SimplePhysicsProvider(BiConsumer<org.joml.Vector3d, ComponentAccessor<EntityStore>> bounceConsumer, QuadConsumer<Ref<EntityStore>, org.joml.Vector3d, Ref<EntityStore>, ComponentAccessor<EntityStore>> impactConsumer) Deprecated. -
Uses of ComponentAccessor in com.hypixel.hytale.server.core.modules.projectile.component
Methods in com.hypixel.hytale.server.core.modules.projectile.component with parameters of type ComponentAccessorModifier and TypeMethodDescriptionstatic ImpactModifiersImpactModifiers.collect(InteractionContext context, Ref<EntityStore> casterRef, ComponentAccessor<EntityStore> componentAccessor) Collects the resolved modifiers for a projectile launched by an ability cast, ornullwhen the cast isn't an ability cast or there is nothing to carry.static ImpactModifiersImpactModifiers.resolve(InteractionContext context, Ref<EntityStore> actingRef, ComponentAccessor<EntityStore> componentAccessor) Resolves the modifiers an interaction should use: the cast snapshot carried on the chain's context when the chain is an ability cast, otherwise the acting entity's component (e.g. a projectile carrying its launch's modifiers into its impact chains).static voidImpactModifiers.snapshotForCast(InteractionContext context, ComponentAccessor<EntityStore> componentAccessor) Snapshots the resolved cast modifiers onto the chain's context when an ability chain starts, so the cast's interactions, selectors, and forks read the fresh values from their first tick. -
Uses of ComponentAccessor in com.hypixel.hytale.server.core.modules.projectile.config
Methods in com.hypixel.hytale.server.core.modules.projectile.config with parameters of type ComponentAccessorModifier and TypeMethodDescriptionvoidGroundFollowPhysicsConfig.apply(Holder<EntityStore> holder, Ref<EntityStore> creatorRef, org.joml.Vector3d velocity, ComponentAccessor<EntityStore> componentAccessor, boolean predicted) voidPhysicsConfig.apply(Holder<EntityStore> holder, Ref<EntityStore> creatorRef, org.joml.Vector3d velocity, ComponentAccessor<EntityStore> componentAccessor, boolean predicted) Called to apply the physics to the given entity store holder.voidStandardPhysicsConfig.apply(Holder<EntityStore> holder, Ref<EntityStore> creatorRef, org.joml.Vector3d velocity, ComponentAccessor<EntityStore> componentAccessor, boolean predicted) -
Uses of ComponentAccessor in com.hypixel.hytale.server.core.modules.time
Methods in com.hypixel.hytale.server.core.modules.time with parameters of type ComponentAccessorModifier and TypeMethodDescriptionvoidWorldTimeResource.broadcastTimePacket(ComponentAccessor<EntityStore> store) Broadcasts the current time data to all players within the given entity store.voidWorldTimeResource.setDayTime(double dayTime, World world, ComponentAccessor<EntityStore> store) Called to set the current day time of the world.voidWorldTimeResource.setGameTime(Instant gameTime, World world, ComponentAccessor<EntityStore> store) Called to set the current game time of the world.voidWorldTimeResource.setMoonPhase(int moonPhase, ComponentAccessor<EntityStore> componentAccessor) Called to set the moon phase of the world.voidWorldTimeResource.startDayTimeInterpolation(double targetDayProgress, double durationSeconds, boolean forward, boolean pauseOnComplete, World world, ComponentAccessor<EntityStore> store) Begins interpolating the game time from its current value totargetDayProgress(0.0-1.0, where 0.5 is noon) overdurationSecondsof real time, advanced eachWorldTimeResource.tick(float, Store).voidWorldTimeResource.updateMoonPhase(World world, ComponentAccessor<EntityStore> componentAccessor) Called to update the current moon phase of the world. -
Uses of ComponentAccessor in com.hypixel.hytale.server.core.prefab.selection
Methods in com.hypixel.hytale.server.core.prefab.selection with parameters of type ComponentAccessorModifier and TypeMethodDescription<T extends Throwable>
voidSelectionProvider.computeSelectionCopy(Ref<EntityStore> ref, Player player, ThrowableConsumer<BlockSelection, T> task, ComponentAccessor<EntityStore> componentAccessor) Computes a copy of the given Player's BlockSelection and performs the provided task with it. -
Uses of ComponentAccessor in com.hypixel.hytale.server.core.prefab.selection.standard
Methods in com.hypixel.hytale.server.core.prefab.selection.standard with parameters of type ComponentAccessorModifier and TypeMethodDescriptionvoidFeedbackConsumer.accept(String key, int total, int count, CommandSender target, ComponentAccessor<EntityStore> componentAccessor) Invoked during BlockSelection operations to send feedback to its owner.voidBlockSelection.placeNoReturn(World world, org.joml.Vector3i position, ComponentAccessor<EntityStore> componentAccessor) voidBlockSelection.placeNoReturn(String feedbackKey, CommandSender feedback, FeedbackConsumer feedbackConsumer, World outerWorld, ComponentAccessor<EntityStore> componentAccessor) voidBlockSelection.placeNoReturn(String feedbackKey, CommandSender feedback, FeedbackConsumer feedbackConsumer, World outerWorld, org.joml.Vector3ic position, BlockMask blockMask, ComponentAccessor<EntityStore> componentAccessor) voidBlockSelection.placeNoReturn(String feedbackKey, CommandSender feedback, World outerWorld, ComponentAccessor<EntityStore> componentAccessor) -
Uses of ComponentAccessor in com.hypixel.hytale.server.core.universe.world
Methods in com.hypixel.hytale.server.core.universe.world with parameters of type ComponentAccessorModifier and TypeMethodDescriptionstatic voidPlayerUtil.broadcastPacketToPlayers(ComponentAccessor<EntityStore> componentAccessor, ToClientPacket packet) Called to broadcast the given packet to all player instances within the store of the provided component accessor.static voidPlayerUtil.broadcastPacketToPlayers(ComponentAccessor<EntityStore> componentAccessor, ToClientPacket... packets) Called to broadcast the given packets to all player instances within the store of the provided component accessor.static voidPlayerUtil.broadcastPacketToPlayersNoCache(ComponentAccessor<EntityStore> componentAccessor, ToClientPacket packet) Called to broadcast the given packet to all player instances within the store of the provided component accessor without caching the packetstatic voidPlayerUtil.forEachPlayerThatCanSeeEntity(Ref<EntityStore> ref, TriConsumer<Ref<EntityStore>, PlayerRef, ComponentAccessor<EntityStore>> consumer, ComponentAccessor<EntityStore> componentAccessor) Called to iterate over each player that can see the given entity, executing the provided consumer.static voidPlayerUtil.forEachPlayerThatCanSeeEntity(Ref<EntityStore> ref, TriConsumer<Ref<EntityStore>, PlayerRef, ComponentAccessor<EntityStore>> consumer, Ref<EntityStore> ignoredPlayerRef, ComponentAccessor<EntityStore> componentAccessor) Called to iterate over each player that can see the given entity, executing the provided consumer.static voidSoundUtil.playSoundEvent2d(int soundEventIndex, SoundCategory soundCategory, float volumeModifier, float pitchModifier, ComponentAccessor<EntityStore> componentAccessor) Called to broadcast a two-dimensional sound event to all players.static voidSoundUtil.playSoundEvent2d(int soundEventIndex, SoundCategory soundCategory, ComponentAccessor<EntityStore> componentAccessor) Called to broadcast a two-dimensional sound event to all players.static voidSoundUtil.playSoundEvent2d(Ref<EntityStore> ref, int soundEventIndex, SoundCategory soundCategory, float volumeModifier, float pitchModifier, ComponentAccessor<EntityStore> componentAccessor) Called to play a two-dimensional sound event to a specific player.static voidSoundUtil.playSoundEvent2d(Ref<EntityStore> ref, int soundEventIndex, SoundCategory soundCategory, ComponentAccessor<EntityStore> componentAccessor) Called to play a two-dimensional sound event to a specific player.static voidSoundUtil.playSoundEvent3d(int soundEventIndex, double x, double y, double z, Predicate<Ref<EntityStore>> shouldHear, ComponentAccessor<EntityStore> componentAccessor) Called to play a three-dimensional sound event at the given position.static voidSoundUtil.playSoundEvent3d(int soundEventIndex, SoundCategory soundCategory, double x, double y, double z, float volumeModifier, float pitchModifier, ComponentAccessor<EntityStore> componentAccessor) Called to play a three-dimensional sound event to this player.static voidSoundUtil.playSoundEvent3d(int soundEventIndex, SoundCategory soundCategory, double x, double y, double z, float volumeModifier, float pitchModifier, Predicate<Ref<EntityStore>> shouldHear, ComponentAccessor<EntityStore> componentAccessor) Called to play a three-dimensional sound event to this player.static voidSoundUtil.playSoundEvent3d(int soundEventIndex, SoundCategory soundCategory, double x, double y, double z, ComponentAccessor<EntityStore> componentAccessor) Called to play a three-dimensional sound event to this player.static voidSoundUtil.playSoundEvent3d(int soundEventIndex, SoundCategory soundCategory, double x, double y, double z, Predicate<Ref<EntityStore>> shouldHear, ComponentAccessor<EntityStore> componentAccessor) Called to play a three-dimensional sound event to this player.static voidSoundUtil.playSoundEvent3d(int soundEventIndex, SoundCategory soundCategory, org.joml.Vector3d position, ComponentAccessor<EntityStore> componentAccessor) Called to play a three-dimensional sound event to this player.static voidSoundUtil.playSoundEvent3d(Ref<EntityStore> sourceRef, int soundEventIndex, double x, double y, double z, boolean ignoreSource, ComponentAccessor<EntityStore> componentAccessor) Called to play a three-dimensional sound event at the given position.static voidSoundUtil.playSoundEvent3d(Ref<EntityStore> sourceRef, int soundEventIndex, double x, double y, double z, ComponentAccessor<EntityStore> componentAccessor) Called to play a three-dimensional sound event at the given position.static voidSoundUtil.playSoundEvent3d(Ref<EntityStore> sourceRef, int soundEventIndex, org.joml.Vector3d position, boolean ignoreSource, ComponentAccessor<EntityStore> componentAccessor) Called to play a three-dimensional sound event at the given position.static voidSoundUtil.playSoundEvent3d(Ref<EntityStore> sourceRef, int soundEventIndex, org.joml.Vector3d pos, ComponentAccessor<EntityStore> componentAccessor) Called to play a three-dimensional sound event at the given position.static voidSoundUtil.playSoundEvent3dToPlayer(Ref<EntityStore> playerRef, int soundEventIndex, SoundCategory soundCategory, double x, double y, double z, float volumeModifier, float pitchModifier, ComponentAccessor<EntityStore> componentAccessor) Called to play a three-dimensional sound event to this player.static voidSoundUtil.playSoundEvent3dToPlayer(Ref<EntityStore> playerRef, int soundEventIndex, SoundCategory soundCategory, double x, double y, double z, ComponentAccessor<EntityStore> componentAccessor) Called to play a three-dimensional sound event to this player.static voidSoundUtil.playSoundEvent3dToPlayer(Ref<EntityStore> playerRef, int soundEventIndex, SoundCategory soundCategory, org.joml.Vector3d position, ComponentAccessor<EntityStore> componentAccessor) Called to play a three-dimensional sound event to this player.static voidSoundUtil.playSoundEventEntity(int soundEventIndex, int networkId, float volumeModifier, float pitchModifier, ComponentAccessor<EntityStore> componentAccessor) Called to play a sound event to all players from the given target entity.static voidSoundUtil.playSoundEventEntity(int soundEventIndex, int networkId, ComponentAccessor<EntityStore> componentAccessor) Called to play a sound event to all players from the given target entity.static voidPlayerUtil.resetPlayerModel(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) Deprecated, for removal: This API element is subject to removal in a future version.static voidWorld.setTimeDilation(float timeDilationModifier, ComponentAccessor<EntityStore> componentAccessor) Set and update time dilation for all connected Players in the world.static voidParticleUtil.spawnParticleEffect(WorldParticle particles, org.joml.Vector3dc position, float yaw, float pitch, float roll, Ref<EntityStore> sourceRef, List<Ref<EntityStore>> playerRefs, ComponentAccessor<EntityStore> componentAccessor) Called to spawn a particle effect at the given location for all the given player clients.static voidParticleUtil.spawnParticleEffect(WorldParticle particles, org.joml.Vector3dc position, Ref<EntityStore> sourceRef, List<Ref<EntityStore>> playerRefs, ComponentAccessor<EntityStore> componentAccessor) Called to spawn a particle effect at the given location for all the given player clients.static voidParticleUtil.spawnParticleEffect(WorldParticle particles, org.joml.Vector3dc position, List<Ref<EntityStore>> playerRefs, ComponentAccessor<EntityStore> componentAccessor) Called to spawn a particle effect at the given location for all the given player clients.static voidParticleUtil.spawnParticleEffect(String name, double x, double y, double z, float rotationYaw, float rotationPitch, float rotationRoll, float scale, Color color, Ref<EntityStore> sourceRef, List<Ref<EntityStore>> playerRefs, ComponentAccessor<EntityStore> componentAccessor) Called to spawn a particle effect at the given location for all the given player clients.static voidParticleUtil.spawnParticleEffect(String name, double x, double y, double z, float rotationYaw, float rotationPitch, float rotationRoll, float scale, Color color, Ref<EntityStore> sourceRef, List<Ref<EntityStore>> playerRefs, ComponentAccessor<EntityStore> componentAccessor, float maxDuration) static voidParticleUtil.spawnParticleEffect(String name, double x, double y, double z, float rotationYaw, float rotationPitch, float rotationRoll, Ref<EntityStore> sourceRef, List<Ref<EntityStore>> playerRefs, ComponentAccessor<EntityStore> componentAccessor) Called to spawn a particle effect at the given location for all the given player clients.static voidParticleUtil.spawnParticleEffect(String name, double x, double y, double z, Ref<EntityStore> sourceRef, List<Ref<EntityStore>> playerRefs, ComponentAccessor<EntityStore> componentAccessor) Called to spawn a particle effect at the given location for all the given player clients.static voidParticleUtil.spawnParticleEffect(String name, double x, double y, double z, List<Ref<EntityStore>> playerRefs, ComponentAccessor<EntityStore> componentAccessor) Called to spawn a particle effect at the given location for all the given player clients.static voidParticleUtil.spawnParticleEffect(String name, org.joml.Vector3dc position, float yaw, float pitch, float roll, float scale, float maxDuration, ComponentAccessor<EntityStore> componentAccessor) static voidParticleUtil.spawnParticleEffect(String name, org.joml.Vector3dc position, float yaw, float pitch, float roll, float scale, Color color, List<Ref<EntityStore>> playerRefs, ComponentAccessor<EntityStore> componentAccessor) Called to spawn a particle effect at the given location for all the given player clients.static voidParticleUtil.spawnParticleEffect(String name, org.joml.Vector3dc position, float yaw, float pitch, float roll, Ref<EntityStore> sourceRef, List<Ref<EntityStore>> playerRefs, ComponentAccessor<EntityStore> componentAccessor) Called to spawn a particle effect at the given location for all the given player clients.static voidParticleUtil.spawnParticleEffect(String name, org.joml.Vector3dc position, ComponentAccessor<EntityStore> componentAccessor) Called to spawn a particle effect at the given location for all nearby playersstatic voidParticleUtil.spawnParticleEffect(String name, org.joml.Vector3dc position, Ref<EntityStore> sourceRef, List<Ref<EntityStore>> playerRefs, ComponentAccessor<EntityStore> componentAccessor) Called to spawn a particle effect at the given location for all the given player clients.static voidParticleUtil.spawnParticleEffect(String name, org.joml.Vector3dc position, Rotation3f rotation, Ref<EntityStore> sourceRef, List<Ref<EntityStore>> playerRefs, ComponentAccessor<EntityStore> componentAccessor) Called to spawn a particle effect at the given location for all the given player clients.static voidParticleUtil.spawnParticleEffect(String name, org.joml.Vector3dc position, Rotation3f rotation, List<Ref<EntityStore>> playerRefs, ComponentAccessor<EntityStore> componentAccessor) Called to spawn a particle effect at the given location for all the given player clients.static voidParticleUtil.spawnParticleEffect(String name, org.joml.Vector3dc position, List<Ref<EntityStore>> playerRefs, ComponentAccessor<EntityStore> componentAccessor) Called to spawn a particle effect at the given location for all the given player clients.static voidParticleUtil.spawnParticleEffects(WorldParticle[] particles, org.joml.Vector3dc position, Ref<EntityStore> sourceRef, List<Ref<EntityStore>> playerRefs, ComponentAccessor<EntityStore> componentAccessor) Called to spawn a particle effect at the given location for all the given player clients.static CompletableFuture<Void> SpawnUtil.teleportToSpawn(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor, World targetWorld, World playerWorld, Consumer<Transform> onTeleport) Teleports the player to the spawn point oftargetWorldonce it resolves, reading the player's UUID throughcomponentAccessor.voidWorldMapTracker.updateCurrentZoneAndBiome(Ref<EntityStore> ref, WorldMapTracker.ZoneDiscoveryInfo zoneDiscoveryInfo, String biomeName, ComponentAccessor<EntityStore> componentAccessor) Called to update the current zone parameters for the player.Method parameters in com.hypixel.hytale.server.core.universe.world with type arguments of type ComponentAccessorModifier and TypeMethodDescriptionstatic voidPlayerUtil.forEachPlayerThatCanSeeEntity(Ref<EntityStore> ref, TriConsumer<Ref<EntityStore>, PlayerRef, ComponentAccessor<EntityStore>> consumer, ComponentAccessor<EntityStore> componentAccessor) Called to iterate over each player that can see the given entity, executing the provided consumer.static voidPlayerUtil.forEachPlayerThatCanSeeEntity(Ref<EntityStore> ref, TriConsumer<Ref<EntityStore>, PlayerRef, ComponentAccessor<EntityStore>> consumer, Ref<EntityStore> ignoredPlayerRef, ComponentAccessor<EntityStore> componentAccessor) Called to iterate over each player that can see the given entity, executing the provided consumer. -
Uses of ComponentAccessor in com.hypixel.hytale.server.core.universe.world.chunk
Methods in com.hypixel.hytale.server.core.universe.world.chunk with parameters of type ComponentAccessorModifier and TypeMethodDescriptiondefault CachedAccessorAbstractCachedAccessor.InitFunction.get(ComponentAccessor<ChunkStore> commandBuffer, int cx, int cy, int cz, int radius) AbstractCachedAccessor.InitFunction.get(ComponentAccessor<ChunkStore> commandBuffer, int cx, int cy, int cz, int radiusX, int radiusY, int radiusZ) default CachedAccessorAbstractCachedAccessor.InitFunction.getAtBlock(ComponentAccessor<ChunkStore> commandBuffer, int x, int y, int z, int radius) default CachedAccessorAbstractCachedAccessor.InitFunction.getAtBlock(ComponentAccessor<ChunkStore> commandBuffer, int x, int y, int z, int radiusX, int radiusY, int radiusZ) static booleanBlockOperations.testPlaceBlock(ComponentAccessor<ChunkStore> accessor, BlockSection section, int worldX, int worldY, int worldZ, BlockType blockTypeToTest, int rotationIndex) Overload ofBlockOperations.testPlaceBlock(ComponentAccessor, BlockSection, int, int, int, BlockType, int, TestBlockFunction)that rejects any occupied cell.static booleanBlockOperations.testPlaceBlock(ComponentAccessor<ChunkStore> accessor, BlockSection section, int worldX, int worldY, int worldZ, BlockType blockTypeToTest, int rotationIndex, BlockOperations.TestBlockFunction func) Tests whether a block of the given type and rotation could be placed at the given position, checking every cell covered by its rotated hitbox. -
Uses of ComponentAccessor in com.hypixel.hytale.server.core.universe.world.chunk.section.blockpositions
Methods in com.hypixel.hytale.server.core.universe.world.chunk.section.blockpositions with parameters of type ComponentAccessorModifier and TypeMethodDescription<T> voidBlockPositionProvider.findBlocks(List<IBlockPositionData> resultList, int blockSet, double range, double yRange, Ref<EntityStore> ref, BiPredicate<IBlockPositionData, T> filter, T obj, ComponentAccessor<EntityStore> componentAccessor) Find the individual data entries for blocks within this section entry that match a set of requirements. -
Uses of ComponentAccessor in com.hypixel.hytale.server.core.universe.world.path
Methods in com.hypixel.hytale.server.core.universe.world.path with parameters of type ComponentAccessorModifier and TypeMethodDescriptionorg.joml.Vector3dIPathWaypoint.getWaypointPosition(ComponentAccessor<EntityStore> componentAccessor) Returns the position of this waypointorg.joml.Vector3dSimplePathWaypoint.getWaypointPosition(ComponentAccessor<EntityStore> componentAccessor) IPathWaypoint.getWaypointRotation(ComponentAccessor<EntityStore> componentAccessor) Returns the rotation of this waypointSimplePathWaypoint.getWaypointRotation(ComponentAccessor<EntityStore> componentAccessor) -
Uses of ComponentAccessor in com.hypixel.hytale.server.core.universe.world.spawn
Methods in com.hypixel.hytale.server.core.universe.world.spawn with parameters of type ComponentAccessorModifier and TypeMethodDescriptiondefault CompletableFuture<Transform> ISpawnProvider.getSpawnPointAsync(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) Resolves the spawn point for the given entity reference, loading any chunk data the provider needs. -
Uses of ComponentAccessor in com.hypixel.hytale.server.core.universe.world.worldmap.markers
Methods in com.hypixel.hytale.server.core.universe.world.worldmap.markers with parameters of type ComponentAccessorModifier and TypeMethodDescriptionstatic voidDiscoverableMapMarkers.collectMarkersInView(Player player, ComponentAccessor<EntityStore> componentAccessor, float fieldOfViewDegrees, double maxDistance, boolean includeRevealed, Collection<String> out) Collects the discoverable markers of the player's world that fall inside the view cone of the player.static voidDiscoverableMapMarkers.forEachMarkerInView(Player player, ComponentAccessor<EntityStore> componentAccessor, float fieldOfViewDegrees, double maxDistance, boolean includeRevealed, TriIntObjectConsumer<String> visitor) Visits the discoverable markers of the player's world that fall inside the view cone of the player. -
Uses of ComponentAccessor in com.hypixel.hytale.server.core.util
Methods in com.hypixel.hytale.server.core.util with parameters of type ComponentAccessorModifier and TypeMethodDescriptionstatic List<Ref<EntityStore>> TargetUtil.getAllEntitiesInBox(org.joml.Vector3d min, org.joml.Vector3d max, ComponentAccessor<EntityStore> componentAccessor) Called to fetch a list of all entities within an axis-aligned box, utilising the spatial resources available.static List<Ref<EntityStore>> TargetUtil.getAllEntitiesInCylinder(org.joml.Vector3d position, double radius, double height, ComponentAccessor<EntityStore> componentAccessor) Called to fetch a list of all entities within a cylindrical area, utilising the spatial resources available.static List<Ref<EntityStore>> TargetUtil.getAllEntitiesInSphere(org.joml.Vector3d position, double radius, ComponentAccessor<EntityStore> componentAccessor) Called to fetch a list of all entities within a spherical area, utilising the spatial resources available.static TransformTargetUtil.getLook(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) Creates a newTransforminstance based on the transform and head rotation/height of the provided entity.static org.joml.Vector3iTargetUtil.getTargetBlock(Ref<EntityStore> ref, double maxDistance, ComponentAccessor<EntityStore> componentAccessor) Called to fetch the target block position based on a raycast from an entity.static org.joml.Vector3iTargetUtil.getTargetBlock(Ref<EntityStore> ref, IntPredicate blockIdPredicate, double maxDistance, ComponentAccessor<EntityStore> componentAccessor) Called to fetch the target block position based on a raycast from an entity.static org.joml.Vector3iTargetUtil.getTargetBlockOrigin(Ref<EntityStore> ref, double maxDistance, ComponentAccessor<EntityStore> componentAccessor) Called to fetch the origin (base) block position of a multi-block structure hit by a raycast from an entity.static org.joml.Vector3iTargetUtil.getTargetBlockOrigin(Ref<EntityStore> ref, IntPredicate blockIdPredicate, double maxDistance, ComponentAccessor<EntityStore> componentAccessor) Called to fetch the origin (base) block position of a multi-block structure hit by a raycast from an entity.static Ref<EntityStore> TargetUtil.getTargetEntity(Ref<EntityStore> ref, float radius, boolean includeItemDrops, ComponentAccessor<EntityStore> componentAccessor) Called to fetch the nearest entity in view of the given entity reference.static Ref<EntityStore> TargetUtil.getTargetEntity(Ref<EntityStore> ref, float radius, ComponentAccessor<EntityStore> componentAccessor) Called to fetch the nearest entity in view of the given entity reference.static Ref<EntityStore> TargetUtil.getTargetEntity(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) Called to fetch the nearest entity in view of the given entity reference.static org.joml.Vector3dTargetUtil.getTargetLocation(Ref<EntityStore> ref, double maxDistance, ComponentAccessor<EntityStore> componentAccessor) Called to fetch the target location based on a raycast from an entity.static org.joml.Vector3dTargetUtil.getTargetLocation(Ref<EntityStore> ref, IntPredicate blockIdPredicate, double maxDistance, ComponentAccessor<EntityStore> componentAccessor) Called to fetch the target location based on a raycast from an entity.static org.joml.Vector3dTargetUtil.getTargetLocation(Transform transform, IntPredicate blockIdPredicate, double maxDistance, ComponentAccessor<EntityStore> componentAccessor) Called to fetch the target location based on a raycast from an entity.static voidPrefabUtil.paste(IPrefabBuffer buffer, World world, org.joml.Vector3i position, Rotation yaw, boolean force, Random random, int setBlockSettings, boolean technicalPaste, boolean pasteAnchorAsBlock, boolean loadEntities, ComponentAccessor<EntityStore> componentAccessor) Deprecated, for removal: This API element is subject to removal in a future version.static voidPrefabUtil.paste(IPrefabBuffer buffer, World world, org.joml.Vector3i position, Rotation yaw, boolean force, Random random, int setBlockSettings, ComponentAccessor<EntityStore> componentAccessor) Deprecated, for removal: This API element is subject to removal in a future version.static voidPrefabUtil.paste(IPrefabBuffer buffer, World world, org.joml.Vector3i position, Rotation yaw, boolean force, Random random, ComponentAccessor<EntityStore> componentAccessor) Deprecated, for removal: This API element is subject to removal in a future version.static voidPrefabUtil.paste(IPrefabBuffer buffer, World world, org.joml.Vector3i position, Rotation yaw, Random random, int pasteFlags, int setBlockSettings, ComponentAccessor<EntityStore> componentAccessor) Pastes a prefab from the given buffer into the specified world at a defined position, with a specified rotation and settings for the paste and set-block behavior.static voidPrefabUtil.paste(IPrefabBuffer buffer, World world, org.joml.Vector3i position, Rotation yaw, Random random, int pasteFlags, int setBlockSettings, PrefabUtil.PasteRegion pasteRegion, Consumer<Holder<ChunkStore>> blockEntityConsumer, Consumer<Holder<EntityStore>> entityConsumer, ComponentAccessor<EntityStore> componentAccessor) Pastes a prefab from the given buffer into the specified world at a defined position, with a specified rotation and settings for the paste and set-block behavior.static voidPrefabUtil.paste(IPrefabBuffer buffer, World world, org.joml.Vector3i position, Rotation yaw, Random random, int pasteFlags, int setBlockSettings, Consumer<Holder<ChunkStore>> blockEntityConsumer, Consumer<Holder<EntityStore>> entityConsumer, ComponentAccessor<EntityStore> componentAccessor) Pastes a prefab from the given buffer into the specified world at a defined position, with a specified rotation and settings for the paste and set-block behavior.static voidPrefabUtil.paste(IPrefabBuffer buffer, World world, org.joml.Vector3i position, Rotation yaw, Random random, ComponentAccessor<EntityStore> componentAccessor) Pastes a prefab from the given buffer into the specified world at a defined position, with a specified rotation and default settings for the paste and set-block behavior.static voidFillerBlockUtil.removeFillerBlocksAt(ComponentAccessor<ChunkStore> accessor, BlockSection blockSection, BlockComponentSection blockComponentSection, int x, int y, int z, int blockId, int filler, int rotation, FillerBlockUtil.ChangeReason changeReason) Removes all sibling filler blocks belonging to the same multi-block structure as the block at (x,y,z).static voidFillerBlockUtil.setFillerBlocksAt(ComponentAccessor<ChunkStore> accessor, Ref<ChunkStore> ref, BlockSection blockSection, BlockComponentSection blockComponentSection, int x, int y, int z, int blockId, int filler, int rotation, FillerBlockUtil.ChangeReason changeReason) Places all sibling filler blocks for the multi-block structure that the block at (x,y,z) belongs to. -
Uses of ComponentAccessor in com.hypixel.hytale.server.flock
Methods in com.hypixel.hytale.server.flock with parameters of type ComponentAccessorModifier and TypeMethodDescriptionstatic FlockFlockPlugin.getFlock(ComponentAccessor<EntityStore> componentAccessor, Ref<EntityStore> reference) Deprecated.static Ref<EntityStore> FlockPlugin.getFlockReference(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) voidFlock.onTargetKilled(ComponentAccessor<EntityStore> componentAccessor, Ref<EntityStore> targetEntityReference) -
Uses of ComponentAccessor in com.hypixel.hytale.server.flock.corecomponents
Methods in com.hypixel.hytale.server.flock.corecomponents with parameters of type ComponentAccessorModifier and TypeMethodDescriptionbooleanBodyMotionFlock.computeSteering(Ref<EntityStore> ref, ExecutionSupport executionSupport, InfoProvider sensorInfo, double dt, Steering desiredSteering, ComponentAccessor<EntityStore> componentAccessor) -
Uses of ComponentAccessor in com.hypixel.hytale.server.npc.blackboard
Methods in com.hypixel.hytale.server.npc.blackboard with parameters of type ComponentAccessorModifier and TypeMethodDescription<View extends IBlackboardView<View>>
ViewBlackboard.getView(Class<View> viewTypeClass, Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) voidBlackboardSubscription.initBlockTypeView(Ref<EntityStore> ref, ComponentAccessor<EntityStore> accessor) voidBlackboardSubscription.initEventViews(Ref<EntityStore> ref, ComponentAccessor<EntityStore> accessor) Initializes the block-change and entity-event views for this entity (the block-type view is created lazily on firstSensorBlockuse).static voidBlackboardSubscription.notifyBlockChange(Ref<EntityStore> ref, ComponentAccessor<EntityStore> accessor, BlockEventType type, EventNotification notification) Routes a block event to this entity's block-event support component (player- vs npc-sourced, by initiator).static voidBlackboardSubscription.notifyEntityEvent(Ref<EntityStore> ref, ComponentAccessor<EntityStore> accessor, EntityEventType type, EntityEventNotification notification) Routes an entity event to this entity's entity-event support component (player- vs npc-sourced, by initiator). -
Uses of ComponentAccessor in com.hypixel.hytale.server.npc.blackboard.view
Methods in com.hypixel.hytale.server.npc.blackboard.view with parameters of type ComponentAccessorModifier and TypeMethodDescriptionBlockRegionViewManager.get(Ref<EntityStore> ref, Blackboard blackboard, ComponentAccessor<EntityStore> componentAccessor) IBlackboardViewManager.get(Ref<EntityStore> ref, Blackboard blackboard, ComponentAccessor<EntityStore> componentAccessor) Fetch the blackboard view, or create it if it doesn't exist yetSingletonBlackboardViewManager.get(Ref<EntityStore> ref, Blackboard blackboard, ComponentAccessor<EntityStore> componentAccessor) IBlackboardView.getUpdatedView(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) Returns the updated view if the current is outdated -
Uses of ComponentAccessor in com.hypixel.hytale.server.npc.blackboard.view.attitude
Methods in com.hypixel.hytale.server.npc.blackboard.view.attitude with parameters of type ComponentAccessorModifier and TypeMethodDescriptionAttitudeMap.getAttitude(Ref<EntityStore> ref, int sourceRoleIndex, Ref<EntityStore> target, ComponentAccessor<EntityStore> componentAccessor) AttitudeView.getAttitude(Ref<EntityStore> ref, int sourceRoleIndex, Ref<EntityStore> target, ComponentAccessor<EntityStore> componentAccessor) IAttitudeProvider.getAttitude(Ref<EntityStore> ref, int sourceRoleIndex, Ref<EntityStore> target, ComponentAccessor<EntityStore> componentAccessor) Returns the attitude from the source entity to the target entity.AttitudeView.getUpdatedView(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) -
Uses of ComponentAccessor in com.hypixel.hytale.server.npc.blackboard.view.blocktype
Methods in com.hypixel.hytale.server.npc.blackboard.view.blocktype with parameters of type ComponentAccessorModifier and TypeMethodDescriptionBlockTypeView.findBlock(int blockSet, double range, double yMax, boolean pickRandom, Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) Find the position of a given block within the specified section.BlockTypeView.getUpdatedView(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) -
Uses of ComponentAccessor in com.hypixel.hytale.server.npc.blackboard.view.event
Methods in com.hypixel.hytale.server.npc.blackboard.view.event with parameters of type ComponentAccessorModifier and TypeMethodDescriptionvoidIEventCallback.notify(BlackboardSubscription subscription, Ref<EntityStore> ref, ComponentAccessor<EntityStore> accessor, EventType type, NotificationType notification) voidEventTypeRegistration.relayEvent(int senderTypeId, NotificationType reusableEventNotification, Ref<EntityStore> skipEntityReference, ComponentAccessor<EntityStore> componentAccessor) -
Uses of ComponentAccessor in com.hypixel.hytale.server.npc.blackboard.view.event.block
Methods in com.hypixel.hytale.server.npc.blackboard.view.event.block with parameters of type ComponentAccessorModifier and TypeMethodDescriptionBlockEventView.getUpdatedView(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) -
Uses of ComponentAccessor in com.hypixel.hytale.server.npc.blackboard.view.event.entity
Methods in com.hypixel.hytale.server.npc.blackboard.view.event.entity with parameters of type ComponentAccessorModifier and TypeMethodDescriptionEntityEventView.getUpdatedView(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) voidEntityEventView.processAttackedEvent(Ref<EntityStore> targetRef, Ref<EntityStore> attackerRef, ComponentAccessor<EntityStore> componentAccessor, EntityEventType eventType) -
Uses of ComponentAccessor in com.hypixel.hytale.server.npc.blackboard.view.interaction
Methods in com.hypixel.hytale.server.npc.blackboard.view.interaction with parameters of type ComponentAccessorModifier and TypeMethodDescriptionInteractionView.getReservationStatus(Ref<EntityStore> npcRef, Ref<EntityStore> playerRef, ComponentAccessor<EntityStore> componentAccessor) ReservationProvider.getReservationStatus(Ref<EntityStore> npcRef, Ref<EntityStore> playerRef, ComponentAccessor<EntityStore> componentAccessor) Check whether the given NPC is reserved by the given player.InteractionView.getUpdatedView(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) -
Uses of ComponentAccessor in com.hypixel.hytale.server.npc.blackboard.view.resource
Methods in com.hypixel.hytale.server.npc.blackboard.view.resource with parameters of type ComponentAccessorModifier and TypeMethodDescriptionResourceView.getUpdatedView(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) -
Uses of ComponentAccessor in com.hypixel.hytale.server.npc.components.messaging
Methods in com.hypixel.hytale.server.npc.components.messaging with parameters of type ComponentAccessorModifier and TypeMethodDescriptionstatic voidBeaconBroadcast.post(Ref<EntityStore> candidate, String message, Ref<EntityStore> target, double expirationTime, ComponentAccessor<EntityStore> accessor) voidEntityEventSupport.postMessage(EntityEventType type, EntityEventNotification notification, Ref<EntityStore> parent, ComponentAccessor<EntityStore> accessor) voidEventSupport.postMessage(EventType type, NotificationType notification, Ref<EntityStore> parent, ComponentAccessor<EntityStore> accessor) static booleanBeaconBroadcast.shouldReceive(int senderIndex, Ref<EntityStore> candidate, int[] groups, boolean allowGlobal, ComponentAccessor<EntityStore> accessor) Whethercandidateshould receive a beacon: it must hold aBeaconSupportmailbox and pass the group filter. -
Uses of ComponentAccessor in com.hypixel.hytale.server.npc.corecomponents
Methods in com.hypixel.hytale.server.npc.corecomponents with parameters of type ComponentAccessorModifier and TypeMethodDescriptionvoidISensorEntityCollector.collectMatching(Ref<EntityStore> ref, Ref<EntityStore> targetRef, ComponentAccessor<EntityStore> componentAccessor) voidISensorEntityCollector.collectNonMatching(Ref<EntityStore> targetRef, ComponentAccessor<EntityStore> componentAccessor) voidISensorEntityCollector.init(Ref<EntityStore> ref, ExecutionSupport executionSupport, ComponentAccessor<EntityStore> componentAccessor) voidSensorWithEntityFilters.motionControllerChanged(Ref<EntityStore> ref, NPCEntity npcComponent, MotionController motionController, ComponentAccessor<EntityStore> componentAccessor) voidWeightedAction.motionControllerChanged(Ref<EntityStore> ref, NPCEntity npcComponent, MotionController motionController, ComponentAccessor<EntityStore> componentAccessor) -
Uses of ComponentAccessor in com.hypixel.hytale.server.npc.corecomponents.combat
Methods in com.hypixel.hytale.server.npc.corecomponents.combat with parameters of type ComponentAccessorModifier and TypeMethodDescriptionvoidBodyMotionCharge.activate(Ref<EntityStore> ref, ExecutionSupport executionSupport, ComponentAccessor<EntityStore> componentAccessor) voidHeadMotionAim.activate(Ref<EntityStore> ref, ExecutionSupport executionSupport, ComponentAccessor<EntityStore> componentAccessor) booleanBodyMotionAimCharge.computeSteering(Ref<EntityStore> ref, ExecutionSupport executionSupport, InfoProvider sensorInfo, double dt, Steering desiredSteering, ComponentAccessor<EntityStore> componentAccessor) booleanBodyMotionCharge.computeSteering(Ref<EntityStore> ref, ExecutionSupport executionSupport, InfoProvider sensorInfo, double dt, Steering desiredSteering, ComponentAccessor<EntityStore> componentAccessor) booleanHeadMotionAim.computeSteering(Ref<EntityStore> ref, ExecutionSupport executionSupport, InfoProvider sensorInfo, double dt, Steering desiredSteering, ComponentAccessor<EntityStore> componentAccessor) voidBodyMotionCharge.deactivate(Ref<EntityStore> ref, ExecutionSupport executionSupport, ComponentAccessor<EntityStore> componentAccessor) voidBodyMotionCharge.motionControllerChanged(Ref<EntityStore> ref, NPCEntity npcComponent, MotionController motionController, ComponentAccessor<EntityStore> componentAccessor) -
Uses of ComponentAccessor in com.hypixel.hytale.server.npc.corecomponents.debug
Methods in com.hypixel.hytale.server.npc.corecomponents.debug with parameters of type ComponentAccessorModifier and TypeMethodDescriptionvoidBodyMotionTestProbe.activate(Ref<EntityStore> ref, ExecutionSupport executionSupport, ComponentAccessor<EntityStore> componentAccessor) booleanBodyMotionTestProbe.computeSteering(Ref<EntityStore> ref, ExecutionSupport executionSupport, InfoProvider sensorInfo, double dt, Steering desiredSteering, ComponentAccessor<EntityStore> componentAccessor) -
Uses of ComponentAccessor in com.hypixel.hytale.server.npc.corecomponents.entity
Methods in com.hypixel.hytale.server.npc.corecomponents.entity with parameters of type ComponentAccessorModifier and TypeMethodDescriptionbooleanHeadMotionWatch.computeSteering(Ref<EntityStore> ref, ExecutionSupport executionSupport, InfoProvider sensorInfo, double dt, Steering desiredSteering, ComponentAccessor<EntityStore> componentAccessor) voidSensorEntityBase.motionControllerChanged(Ref<EntityStore> ref, NPCEntity npcComponent, MotionController motionController, ComponentAccessor<EntityStore> componentAccessor) -
Uses of ComponentAccessor in com.hypixel.hytale.server.npc.corecomponents.entity.filters
Methods in com.hypixel.hytale.server.npc.corecomponents.entity.filters with parameters of type ComponentAccessorModifier and TypeMethodDescriptionvoidEntityFilterMany.motionControllerChanged(Ref<EntityStore> ref, NPCEntity npcComponent, MotionController motionController, ComponentAccessor<EntityStore> componentAccessor) voidEntityFilterNot.motionControllerChanged(Ref<EntityStore> ref, NPCEntity npcComponent, MotionController motionController, ComponentAccessor<EntityStore> componentAccessor) -
Uses of ComponentAccessor in com.hypixel.hytale.server.npc.corecomponents.entity.prioritisers
Methods in com.hypixel.hytale.server.npc.corecomponents.entity.prioritisers with parameters of type ComponentAccessorModifier and TypeMethodDescriptionbooleanSensorEntityPrioritiserAttitude.AttitudePrioritiser.test(Ref<EntityStore> ref, Ref<EntityStore> targetRef, ComponentAccessor<EntityStore> componentAccessor) booleanSensorEntityPrioritiserDefault.DefaultPrioritiser.test(Ref<EntityStore> ref, Ref<EntityStore> targetRef, ComponentAccessor<EntityStore> componentAccessor) -
Uses of ComponentAccessor in com.hypixel.hytale.server.npc.corecomponents.movement
Methods in com.hypixel.hytale.server.npc.corecomponents.movement with parameters of type ComponentAccessorModifier and TypeMethodDescriptionvoidBodyMotionFindBase.activate(Ref<EntityStore> ref, ExecutionSupport executionSupport, ComponentAccessor<EntityStore> componentAccessor) voidBodyMotionFindWithTarget.activate(Ref<EntityStore> ref, ExecutionSupport executionSupport, ComponentAccessor<EntityStore> componentAccessor) voidBodyMotionMoveAway.activate(Ref<EntityStore> ref, ExecutionSupport executionSupport, ComponentAccessor<EntityStore> componentAccessor) voidBodyMotionTeleport.activate(Ref<EntityStore> ref, ExecutionSupport executionSupport, ComponentAccessor<EntityStore> componentAccessor) voidBodyMotionWanderBase.activate(Ref<EntityStore> ref, ExecutionSupport executionSupport, ComponentAccessor<EntityStore> componentAccessor) booleanBodyMotionFind.canComputeMotion(Ref<EntityStore> ref, ExecutionSupport executionSupport, InfoProvider infoProvider, ComponentAccessor<EntityStore> componentAccessor) booleanBodyMotionFindWithTarget.canComputeMotion(Ref<EntityStore> ref, ExecutionSupport executionSupport, InfoProvider infoProvider, ComponentAccessor<EntityStore> componentAccessor) booleanBodyMotionLand.canComputeMotion(Ref<EntityStore> ref, ExecutionSupport executionSupport, InfoProvider positionProvider, ComponentAccessor<EntityStore> componentAccessor) booleanBodyMotionFindBase.computeSteering(Ref<EntityStore> ref, ExecutionSupport executionSupport, InfoProvider infoProvider, double dt, Steering desiredSteering, ComponentAccessor<EntityStore> componentAccessor) booleanBodyMotionLand.computeSteering(Ref<EntityStore> ref, ExecutionSupport executionSupport, InfoProvider infoProvider, double dt, Steering desiredSteering, ComponentAccessor<EntityStore> componentAccessor) booleanBodyMotionMaintainDistance.computeSteering(Ref<EntityStore> ref, ExecutionSupport executionSupport, InfoProvider sensorInfo, double dt, Steering desiredSteering, ComponentAccessor<EntityStore> componentAccessor) booleanBodyMotionMatchLook.computeSteering(Ref<EntityStore> ref, ExecutionSupport executionSupport, InfoProvider sensorInfo, double dt, Steering desiredSteering, ComponentAccessor<EntityStore> componentAccessor) booleanBodyMotionMoveAway.computeSteering(Ref<EntityStore> ref, ExecutionSupport executionSupport, InfoProvider infoProvider, double dt, Steering desiredSteering, ComponentAccessor<EntityStore> componentAccessor) booleanBodyMotionTakeOff.computeSteering(Ref<EntityStore> ref, ExecutionSupport executionSupport, InfoProvider sensorInfo, double dt, Steering desiredSteering, ComponentAccessor<EntityStore> componentAccessor) booleanBodyMotionTeleport.computeSteering(Ref<EntityStore> ref, ExecutionSupport executionSupport, InfoProvider sensorInfo, double dt, Steering desiredSteering, ComponentAccessor<EntityStore> componentAccessor) booleanBodyMotionWanderBase.computeSteering(Ref<EntityStore> ref, ExecutionSupport executionSupport, InfoProvider sensorInfo, double dt, Steering desiredSteering, ComponentAccessor<EntityStore> componentAccessor) voidBodyMotionFindBase.deactivate(Ref<EntityStore> ref, ExecutionSupport executionSupport, ComponentAccessor<EntityStore> componentAccessor) voidBodyMotionFindWithTarget.deactivate(Ref<EntityStore> ref, ExecutionSupport executionSupport, ComponentAccessor<EntityStore> componentAccessor) voidBodyMotionMaintainDistance.deactivate(Ref<EntityStore> ref, ExecutionSupport executionSupport, ComponentAccessor<EntityStore> componentAccessor) voidBodyMotionWanderBase.deactivate(Ref<EntityStore> ref, ExecutionSupport executionSupport, ComponentAccessor<EntityStore> componentAccessor) booleanBodyMotionFind.isGoalReached(Ref<EntityStore> ref, AStarBase aStarBase, AStarNode aStarNode, MotionController motionController, ComponentAccessor<EntityStore> componentAccessor) booleanBodyMotionFindWithTarget.isGoalReached(Ref<EntityStore> ref, MotionController activeMotionController, org.joml.Vector3d position, ComponentAccessor<EntityStore> componentAccessor) booleanBodyMotionLeave.isGoalReached(Ref<EntityStore> ref, MotionController controller, org.joml.Vector3d position, ComponentAccessor<EntityStore> componentAccessor) booleanBodyMotionLeave.isGoalReached(Ref<EntityStore> ref, AStarBase aStarBase, AStarNode aStarNode, MotionController controller, ComponentAccessor<EntityStore> componentAccessor) booleanBodyMotionMoveAway.isGoalReached(Ref<EntityStore> ref, AStarBase aStarBase, AStarNode aStarNode, MotionController motionController, ComponentAccessor<EntityStore> componentAccessor) voidBodyMotionWanderBase.motionControllerChanged(Ref<EntityStore> ref, NPCEntity npcComponent, MotionController motionController, ComponentAccessor<EntityStore> componentAccessor) booleanBodyMotionFindWithTarget.mustRecomputePath(Ref<EntityStore> ref, MotionController activeMotionController, ComponentAccessor<EntityStore> componentAccessor) booleanBodyMotionFindWithTarget.shouldDeferPathComputation(MotionController motionController, org.joml.Vector3d position, ComponentAccessor<EntityStore> componentAccessor) BodyMotionFindWithTarget.startComputePath(Ref<EntityStore> ref, ExecutionSupport executionSupport, MotionController activeMotionController, org.joml.Vector3d position, ComponentAccessor<EntityStore> componentAccessor) -
Uses of ComponentAccessor in com.hypixel.hytale.server.npc.corecomponents.timer
Methods in com.hypixel.hytale.server.npc.corecomponents.timer with parameters of type ComponentAccessorModifier and TypeMethodDescriptionvoidMotionTimer.activate(Ref<EntityStore> ref, ExecutionSupport executionSupport, ComponentAccessor<EntityStore> componentAccessor) booleanMotionTimer.computeSteering(Ref<EntityStore> ref, ExecutionSupport executionSupport, InfoProvider sensorInfo, double dt, Steering desiredSteering, ComponentAccessor<EntityStore> componentAccessor) voidMotionTimer.deactivate(Ref<EntityStore> ref, ExecutionSupport executionSupport, ComponentAccessor<EntityStore> componentAccessor) voidMotionTimer.motionControllerChanged(Ref<EntityStore> ref, NPCEntity npcComponent, MotionController motionController, ComponentAccessor<EntityStore> componentAccessor) -
Uses of ComponentAccessor in com.hypixel.hytale.server.npc.corecomponents.utility
Methods in com.hypixel.hytale.server.npc.corecomponents.utility with parameters of type ComponentAccessorModifier and TypeMethodDescriptionvoidMotionSequence.activate(Ref<EntityStore> ref, ExecutionSupport executionSupport, ComponentAccessor<EntityStore> componentAccessor) booleanBodyMotionNothing.computeSteering(Ref<EntityStore> ref, ExecutionSupport executionSupport, InfoProvider sensorInfo, double dt, Steering desiredSteering, ComponentAccessor<EntityStore> componentAccessor) booleanHeadMotionNothing.computeSteering(Ref<EntityStore> ref, ExecutionSupport executionSupport, InfoProvider sensorInfo, double dt, Steering desiredSteering, ComponentAccessor<EntityStore> componentAccessor) booleanHeadMotionRotate.computeSteering(Ref<EntityStore> ref, ExecutionSupport executionSupport, InfoProvider sensorInfo, double dt, Steering desiredSteering, ComponentAccessor<EntityStore> componentAccessor) booleanMotionSequence.computeSteering(Ref<EntityStore> ref, ExecutionSupport executionSupport, InfoProvider sensorInfo, double dt, Steering desiredSteering, ComponentAccessor<EntityStore> componentAccessor) voidMotionSequence.deactivate(Ref<EntityStore> ref, ExecutionSupport executionSupport, ComponentAccessor<EntityStore> componentAccessor) voidActionForEach.motionControllerChanged(Ref<EntityStore> ref, NPCEntity npcComponent, MotionController motionController, ComponentAccessor<EntityStore> componentAccessor) voidActionRandom.motionControllerChanged(Ref<EntityStore> ref, NPCEntity npcComponent, MotionController motionController, ComponentAccessor<EntityStore> componentAccessor) voidActionSequence.motionControllerChanged(Ref<EntityStore> ref, NPCEntity npcComponent, MotionController motionController, ComponentAccessor<EntityStore> componentAccessor) voidActionTimeout.motionControllerChanged(Ref<EntityStore> ref, NPCEntity npcComponent, MotionController motionController, ComponentAccessor<EntityStore> componentAccessor) voidMotionSequence.motionControllerChanged(Ref<EntityStore> ref, NPCEntity npcComponent, MotionController motionController, ComponentAccessor<EntityStore> componentAccessor) voidSensorMany.motionControllerChanged(Ref<EntityStore> ref, NPCEntity npcComponent, MotionController motionController, ComponentAccessor<EntityStore> componentAccessor) voidSensorNot.motionControllerChanged(Ref<EntityStore> ref, NPCEntity npcComponent, MotionController motionController, ComponentAccessor<EntityStore> componentAccessor) voidSensorTransformBase.motionControllerChanged(Ref<EntityStore> ref, NPCEntity npcComponent, MotionController motionController, ComponentAccessor<EntityStore> componentAccessor) voidSensorValueProviderWrapper.motionControllerChanged(Ref<EntityStore> ref, NPCEntity npcComponent, MotionController motionController, ComponentAccessor<EntityStore> componentAccessor) -
Uses of ComponentAccessor in com.hypixel.hytale.server.npc.corecomponents.world
Methods in com.hypixel.hytale.server.npc.corecomponents.world with parameters of type ComponentAccessorModifier and TypeMethodDescriptionvoidBodyMotionPath.activate(Ref<EntityStore> ref, ExecutionSupport executionSupport, ComponentAccessor<EntityStore> componentAccessor) voidHeadMotionObserve.activate(Ref<EntityStore> ref, ExecutionSupport executionSupport, ComponentAccessor<EntityStore> componentAccessor) booleanBodyMotionPath.computeSteering(Ref<EntityStore> ref, ExecutionSupport executionSupport, InfoProvider sensorInfo, double dt, Steering desiredSteering, ComponentAccessor<EntityStore> componentAccessor) booleanHeadMotionObserve.computeSteering(Ref<EntityStore> ref, ExecutionSupport executionSupport, InfoProvider sensorInfo, double dt, Steering desiredSteering, ComponentAccessor<EntityStore> componentAccessor) voidSensorBlockType.motionControllerChanged(Ref<EntityStore> ref, NPCEntity npcComponent, MotionController motionController, ComponentAccessor<EntityStore> componentAccessor) -
Uses of ComponentAccessor in com.hypixel.hytale.server.npc.entities
Methods in com.hypixel.hytale.server.npc.entities with parameters of type ComponentAccessorModifier and TypeMethodDescriptionbooleanNPCEntity.getCanCauseDamage(Ref<EntityStore> attackerRef, ComponentAccessor<EntityStore> componentAccessor) floatNPCEntity.getCurrentHorizontalSpeedMultiplier(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) IPath<?> PathManager.getPath(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) Called to fetch the current path that the NPC is on.voidNPCEntity.onFlockSetState(Ref<EntityStore> ref, String state, String subState, ComponentAccessor<EntityStore> componentAccessor) voidNPCEntity.playAnimation(Ref<EntityStore> ref, AnimationSlot animationSlot, String animationId, boolean force, ComponentAccessor<EntityStore> componentAccessor) Called to play an animation on this NPC entity.voidNPCEntity.playAnimation(Ref<EntityStore> ref, AnimationSlot animationSlot, String animationId, ComponentAccessor<EntityStore> componentAccessor) Called to play an animation on this NPC entity.voidNPCEntity.setAppearance(Ref<EntityStore> ref, ModelAsset modelAsset, ComponentAccessor<EntityStore> componentAccessor) static booleanNPCEntity.setAppearance(Ref<EntityStore> ref, String name, ComponentAccessor<EntityStore> componentAccessor) -
Uses of ComponentAccessor in com.hypixel.hytale.server.npc.instructions
Methods in com.hypixel.hytale.server.npc.instructions with parameters of type ComponentAccessorModifier and TypeMethodDescriptiondefault voidMotion.activate(Ref<EntityStore> ref, ExecutionSupport executionSupport, ComponentAccessor<EntityStore> componentAccessor) Called to activate this motionbooleanMotion.computeSteering(Ref<EntityStore> ref, ExecutionSupport executionSupport, InfoProvider sensorInfo, double dt, Steering desiredSteering, ComponentAccessor<EntityStore> componentAccessor) Calculate desired steering for MotionController.default voidMotion.deactivate(Ref<EntityStore> ref, ExecutionSupport executionSupport, ComponentAccessor<EntityStore> componentAccessor) Called to deactivate this motionvoidActionList.motionControllerChanged(Ref<EntityStore> ref, NPCEntity npcComponent, MotionController motionController, ComponentAccessor<EntityStore> componentAccessor) voidInstruction.motionControllerChanged(Ref<EntityStore> ref, NPCEntity npcComponent, MotionController motionController, ComponentAccessor<EntityStore> componentAccessor) default voidRoleStateChange.motionControllerChanged(Ref<EntityStore> ref, NPCEntity npcComponent, MotionController motionController, ComponentAccessor<EntityStore> componentAccessor) voidExecutionSupport.populateFromEntity(Ref<EntityStore> ref, ComponentAccessor<EntityStore> accessor) Lazy populate for the per-tick entity path: stashes the ref/accessor and clears support references so each support is fetched on first access via its getter. -
Uses of ComponentAccessor in com.hypixel.hytale.server.npc.movement
Methods in com.hypixel.hytale.server.npc.movement with parameters of type ComponentAccessorModifier and TypeMethodDescriptionvoidGroupSteeringAccumulator.begin(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) voidGroupSteeringAccumulator.processEntity(Ref<EntityStore> ref, double distanceWeight, double positionWeight, double velocityWeight, ComponentAccessor<EntityStore> componentAccessor) voidGroupSteeringAccumulator.processEntity(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) -
Uses of ComponentAccessor in com.hypixel.hytale.server.npc.movement.controllers
Methods in com.hypixel.hytale.server.npc.movement.controllers with parameters of type ComponentAccessorModifier and TypeMethodDescriptiondefault voidMotionController.applyRailStep(Ref<EntityStore> ref, Role role, org.joml.Vector3dc translation, RailStepConfig config, RailStepResult result, ComponentAccessor<EntityStore> componentAccessor) Apply a "rail-mode" step: translates the entity bytranslationwithout running the normal physics pipeline (no gravity, no speed caps, no appliedVelocities).voidMotionControllerBase.applyRailStep(Ref<EntityStore> ref, Role role, org.joml.Vector3dc translation, RailStepConfig config, RailStepResult result, ComponentAccessor<EntityStore> componentAccessor) doubleMotionControllerDive.bisect(Ref<EntityStore> ref, org.joml.Vector3d validPosition, double validDistance, org.joml.Vector3d invalidPosition, double invalidDistance, org.joml.Vector3d result, ComponentAccessor<EntityStore> componentAccessor) Bisect using PositionProbeWater#probePosition predicatedoubleMotionControllerDive.bisect(Ref<EntityStore> ref, org.joml.Vector3d validPosition, org.joml.Vector3d invalidPosition, org.joml.Vector3d result, ComponentAccessor<EntityStore> componentAccessor) Bisect using PositionProbeWater#probePosition predicatebooleanProbeMoveData.canAdvance(Ref<EntityStore> ref, MotionController motionController, double threshold, ComponentAccessor<EntityStore> componentAccessor) booleanProbeMoveData.canAdvanceAbs(Ref<EntityStore> ref, MotionController motionController, double requiredDistance, ComponentAccessor<EntityStore> componentAccessor) booleanProbeMoveData.canMoveTo(Ref<EntityStore> ref, MotionController motionController, double maxDistance, double maxDistanceY, ComponentAccessor<EntityStore> componentAccessor) booleanProbeMoveData.canMoveTo(Ref<EntityStore> ref, MotionController motionController, double maxDistance, ComponentAccessor<EntityStore> componentAccessor) booleanMotionController.canSteer(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) booleanMotionControllerBase.canSteer(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) booleanMotionControllerDive.canSteer(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) booleanMotionControllerFly.canSteer(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) booleanMotionControllerWalk.canSteer(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) MotionController.canSteerFailReason(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) IfMotionController.canSteer(Ref, ComponentAccessor)returns false, this method can be called to get a human-readable reason for why the motion controller cannot steer.MotionControllerBase.canSteerFailReason(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) MotionControllerWalk.canSteerFailReason(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) MotionController.getDesiredVerticalRange(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) MotionControllerDive.getDesiredVerticalRange(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) MotionControllerFly.getDesiredVerticalRange(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) MotionControllerWalk.getDesiredVerticalRange(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) static booleanMotionController.isInMovementState(Ref<EntityStore> ref, MovementState state, ComponentAccessor<EntityStore> componentAccessor) booleanMotionControllerBase.isMovementBlocked(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) booleanMotionController.isValidPosition(org.joml.Vector3dc position, ComponentAccessor<EntityStore> componentAccessor) booleanMotionControllerBase.isValidPosition(org.joml.Vector3dc position, ComponentAccessor<EntityStore> componentAccessor) booleanMotionControllerBase.isValidPosition(org.joml.Vector3dc position, CollisionResult collisionResult, ComponentAccessor<EntityStore> componentAccessor) voidMotionControllerBase.moveEntity(Ref<EntityStore> ref, double dt, ComponentAccessor<EntityStore> componentAccessor) voidMotionControllerBase.postReadPosition(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) voidMotionControllerWalk.postReadPosition(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) doubleMotionController.probeMove(Ref<EntityStore> ref, ProbeMoveData probeMoveData, ComponentAccessor<EntityStore> componentAccessor) doubleMotionController.probeMove(Ref<EntityStore> ref, org.joml.Vector3dc position, org.joml.Vector3dc direction, ProbeMoveData probeMoveData, ComponentAccessor<EntityStore> componentAccessor) doubleMotionControllerBase.probeMove(Ref<EntityStore> ref, org.joml.Vector3dc position, org.joml.Vector3dc direction, ProbeMoveData probeMoveData, ComponentAccessor<EntityStore> componentAccessor) doubleMotionControllerDive.probeMove(Ref<EntityStore> ref, ProbeMoveData probeMoveData, ComponentAccessor<EntityStore> componentAccessor) doubleMotionControllerFly.probeMove(Ref<EntityStore> ref, ProbeMoveData probeMoveData, ComponentAccessor<EntityStore> componentAccessor) doubleMotionControllerWalk.probeMove(Ref<EntityStore> ref, ProbeMoveData probeMoveData, ComponentAccessor<EntityStore> componentAccessor) voidMotionControllerBase.processTriggers(Ref<EntityStore> ref, CollisionResult collisionResult, double t, ComponentAccessor<EntityStore> componentAccessor) static doubleMotionControllerDive.relativeSwimDepthToHeight(Ref<EntityStore> ref, double swimDepth, Model model, Box boundingBox, ComponentAccessor<EntityStore> componentAccessor) doubleMotionController.steer(Ref<EntityStore> ref, Role role, Steering bodySteering, Steering headSteering, double dt, ComponentAccessor<EntityStore> componentAccessor) Compute velocity vector from steering and move entity.doubleMotionControllerBase.steer(Ref<EntityStore> ref, Role role, Steering bodySteering, Steering headSteering, double interval, ComponentAccessor<EntityStore> componentAccessor) doubleMotionControllerBase.steer0(Ref<EntityStore> ref, Role role, Steering bodySteering, Steering headSteering, double interval, ComponentAccessor<EntityStore> componentAccessor) voidMotionControllerFly.takeOff(Ref<EntityStore> ref, double speed, ComponentAccessor<EntityStore> componentAccessor) booleanMotionControllerBase.touchesWater(boolean defaultValue, ComponentAccessor<EntityStore> componentAccessor) Determines whether the entity associated with this motion controller is touching water.booleanMotionControllerWalk.touchesWater(boolean defaultValue, ComponentAccessor<EntityStore> componentAccessor) booleanMotionController.translateToAccessiblePosition(org.joml.Vector3d position, Box boundingBox, double minYValue, double maxYValue, ComponentAccessor<EntityStore> componentAccessor) booleanMotionControllerBase.translateToAccessiblePosition(org.joml.Vector3d position, Box boundingBox, double minYValue, double maxYValue, ComponentAccessor<EntityStore> componentAccessor) static intMotionControllerWalk.translateToAccessiblePosition(org.joml.Vector3d position, double minYValue, double maxYValue, ComponentAccessor<EntityStore> componentAccessor) Find position not in solid block by translating position up or downbooleanMotionControllerWalk.translateToAccessiblePosition(org.joml.Vector3d position, Box boundingBox, double minYValue, double maxYValue, ComponentAccessor<EntityStore> componentAccessor) voidMotionController.updateModelParameters(Ref<EntityStore> ref, Model model, Box boundingBox, ComponentAccessor<EntityStore> componentAccessor) voidMotionControllerBase.updateModelParameters(Ref<EntityStore> ref, Model model, Box boundingBox, ComponentAccessor<EntityStore> componentAccessor) voidMotionControllerDive.updateModelParameters(Ref<EntityStore> ref, Model model, Box boundingBox, ComponentAccessor<EntityStore> componentAccessor) voidMotionControllerWalk.updateModelParameters(Ref<EntityStore> ref, Model model, Box boundingBox, ComponentAccessor<EntityStore> componentAccessor) voidMotionController.updateMovementState(Ref<EntityStore> ref, MovementStates movementStates, Steering steering, org.joml.Vector3d velocity, ComponentAccessor<EntityStore> componentAccessor) voidMotionControllerBase.updateMovementState(Ref<EntityStore> ref, MovementStates movementStates, Steering steering, org.joml.Vector3d velocity, ComponentAccessor<EntityStore> componentAccessor) doubleMotionController.waypointDistance(Ref<EntityStore> ref, org.joml.Vector3d p, ComponentAccessor<EntityStore> componentAccessor) doubleMotionControllerBase.waypointDistance(Ref<EntityStore> ref, org.joml.Vector3d p, ComponentAccessor<EntityStore> componentAccessor) doubleMotionController.waypointDistanceSquared(Ref<EntityStore> ref, org.joml.Vector3d p, ComponentAccessor<EntityStore> componentAccessor) doubleMotionControllerBase.waypointDistanceSquared(Ref<EntityStore> ref, org.joml.Vector3d p, ComponentAccessor<EntityStore> componentAccessor) -
Uses of ComponentAccessor in com.hypixel.hytale.server.npc.movement.steeringforces
Methods in com.hypixel.hytale.server.npc.movement.steeringforces with parameters of type ComponentAccessorModifier and TypeMethodDescriptionvoidSteeringForceRotate.setHeading(Ref<EntityStore> ref, Entity entity, ComponentAccessor<EntityStore> componentAccessor) voidSteeringForceAvoidCollision.setRadiusFromEntity(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) voidSteeringForceAvoidCollision.setSelf(Ref<EntityStore> ref, org.joml.Vector3d position, ComponentAccessor<EntityStore> componentAccessor) voidSteeringForceAvoidCollision.setSelf(Ref<EntityStore> ref, org.joml.Vector3d position, org.joml.Vector3d velocity, double radius, ComponentAccessor<EntityStore> componentAccessor) voidSteeringForceWithGroup.setSelf(Ref<EntityStore> ref, org.joml.Vector3d position, ComponentAccessor<EntityStore> componentAccessor) voidSteeringForceAvoidCollision.setVelocityFromEntity(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) -
Uses of ComponentAccessor in com.hypixel.hytale.server.npc.role
Methods in com.hypixel.hytale.server.npc.role with parameters of type ComponentAccessorModifier and TypeMethodDescriptionRole.acquireExecutionSupport(Ref<EntityStore> ref, ComponentAccessor<EntityStore> accessor) Acquire the per-threadExecutionSupportand populate it from the ECS-attached supports for this Role's entity.voidRole.activateInitialMotionController(Ref<EntityStore> ref, ComponentAccessor<EntityStore> accessor, NPCEntity npcComponent) voidRole.clearOnce(Ref<EntityStore> ref, ComponentAccessor<EntityStore> accessor) voidRole.clearOnceIfNeeded(Ref<EntityStore> ref, ComponentAccessor<EntityStore> accessor) booleanRole.couldBreatheCached(Ref<EntityStore> ref, ComponentAccessor<EntityStore> accessor) voidRole.loaded(Ref<EntityStore> ref, ComponentAccessor<EntityStore> accessor) Called after NPC was created using readFromBson and was added to World.voidRole.onLoadFromWorldGenOrPrefab(Ref<EntityStore> ref, NPCEntity npcComponent, ComponentAccessor<EntityStore> componentAccessor) voidRole.removed(Ref<EntityStore> ref, ComponentAccessor<EntityStore> accessor) voidRole.setActiveMotionController(Ref<EntityStore> ref, NPCEntity npcComponent, MotionController motionController, ComponentAccessor<EntityStore> componentAccessor) Called to set the given motion controller as the active motion controllerbooleanRole.setActiveMotionController(Ref<EntityStore> ref, NPCEntity npcComponent, String name, ComponentAccessor<EntityStore> componentAccessor) Called to set the active motion controller based on the given namestatic voidRoleUtils.setArmor(Ref<EntityStore> ref, NPCEntity npcComponent, String armor, ComponentAccessor<EntityStore> componentAccessor) Called to set the armor of the NPCs armor to the given item IDstatic voidRoleUtils.setItemInHand(Ref<EntityStore> ref, NPCEntity npcComponent, String itemInHand, ComponentAccessor<EntityStore> componentAccessor) Called to set the item of the NPCs hand to the given item IDvoidRole.setMarkedTarget(Ref<EntityStore> ref, ComponentAccessor<EntityStore> accessor, String targetSlot, Ref<EntityStore> target) default voidSpawnEffect.spawnEffect(Holder<EntityStore> holder, BuilderSupport support, org.joml.Vector3d position, Rotation3f rotation, ComponentAccessor<EntityStore> componentAccessor) voidRole.teleported(Ref<EntityStore> ref, ComponentAccessor<EntityStore> accessor, World from, World to) voidRole.unloaded(Ref<EntityStore> ref, ComponentAccessor<EntityStore> accessor) voidRole.updateMotionControllers(Ref<EntityStore> ref, Model model, Box boundingBox, ComponentAccessor<EntityStore> componentAccessor) Called to update each motion controller of this rolevoidRole.updateMovementState(Ref<EntityStore> ref, MovementStates movementStates, org.joml.Vector3d velocity, ComponentAccessor<EntityStore> componentAccessor) Called to update the current active movement controller -
Uses of ComponentAccessor in com.hypixel.hytale.server.npc.role.support
Fields in com.hypixel.hytale.server.npc.role.support with type parameters of type ComponentAccessorModifier and TypeFieldDescriptionstatic final BiPredicate<Ref<EntityStore>, ComponentAccessor<EntityStore>> PositionCache.IS_VALID_NPCstatic final BiPredicate<Ref<EntityStore>, ComponentAccessor<EntityStore>> PositionCache.IS_VALID_PLAYERMethods in com.hypixel.hytale.server.npc.role.support with parameters of type ComponentAccessorModifier and TypeMethodDescription<S,T> int EntityList.countEntitiesInRange(double minRange, double maxRange, int maxCount, QuadPredicate<S, Ref<EntityStore>, T, ComponentAccessor<EntityStore>> filter, S s, T t, ComponentAccessor<EntityStore> componentAccessor) <S,T> int PositionCache.countEntitiesInRange(double minRange, double maxRange, boolean findPlayers, QuadPredicate<S, Ref<EntityStore>, T, ComponentAccessor<EntityStore>> filter, S s, T t, ComponentAccessor<EntityStore> componentAccessor) voidStateSupport.flockSetState(Ref<EntityStore> ref, String state, String subState, ComponentAccessor<EntityStore> componentAccessor) <T,U, V> void EntityList.forEachEntity(DoubleQuadObjectConsumer<Ref<EntityStore>, T, U, V> consumer, T t, U u, V v, double d, ComponentAccessor<EntityStore> componentAccessor) <T,U, V, R> void EntityList.forEachEntityUnordered(double maxDistance, QuadPredicate<Ref<EntityStore>, T, U, ComponentAccessor<EntityStore>> predicate, QuadConsumer<Ref<EntityStore>, T, V, R> consumer, T t, U u, V v, R r, ComponentAccessor<EntityStore> componentAccessor) <T,U, V, R> void PositionCache.forEachNPCUnordered(double maxDistance, QuadPredicate<Ref<EntityStore>, T, U, ComponentAccessor<EntityStore>> predicate, QuadConsumer<Ref<EntityStore>, T, V, R> consumer, T t, U u, V v, R r, ComponentAccessor<EntityStore> componentAccessor) <T,U, V> void PositionCache.forEachPlayer(DoubleQuadObjectConsumer<Ref<EntityStore>, T, U, V> consumer, T t, U u, V v, double d, ComponentAccessor<EntityStore> componentAccessor) static CombatSupportCombatSupport.get(Ref<EntityStore> ref, ComponentAccessor<EntityStore> accessor) static DebugSupportDebugSupport.get(Ref<EntityStore> ref, ComponentAccessor<EntityStore> accessor) static DisplayNameSupportDisplayNameSupport.get(Ref<EntityStore> ref, ComponentAccessor<EntityStore> accessor) static EntitySupportEntitySupport.get(Ref<EntityStore> ref, ComponentAccessor<EntityStore> accessor) static MarkedEntitySupportMarkedEntitySupport.get(Ref<EntityStore> ref, ComponentAccessor<EntityStore> accessor) static PositionCachePositionCache.get(Ref<EntityStore> ref, ComponentAccessor<EntityStore> accessor) static StateSupportStateSupport.get(Ref<EntityStore> ref, ComponentAccessor<EntityStore> accessor) static WorldSupportWorldSupport.get(Ref<EntityStore> ref, ComponentAccessor<EntityStore> accessor) WorldSupport.getAttitude(Ref<EntityStore> ref, Ref<EntityStore> targetRef, ComponentAccessor<EntityStore> componentAccessor) booleanCombatSupport.getCanCauseDamage(Ref<EntityStore> selfRef, Ref<EntityStore> attackerRef, ComponentAccessor<EntityStore> componentAccessor) <S> Ref<EntityStore> PositionCache.getClosestDroppedItemInRange(Ref<EntityStore> ref, double minRange, double maxRange, TriPredicate<S, Ref<EntityStore>, ComponentAccessor<EntityStore>> filter, S s, ComponentAccessor<EntityStore> componentAccessor) EntityList.getClosestEntityInRange(double minRange, double maxRange, Predicate<Ref<EntityStore>> filter, ComponentAccessor<EntityStore> componentAccessor) <S,T> Ref <EntityStore> EntityList.getClosestEntityInRange(Ref<EntityStore> ignoredEntityReference, double minRange, double maxRange, QuadPredicate<S, Ref<EntityStore>, ExecutionSupport, T> filter, ExecutionSupport executionSupport, S s, T t, ComponentAccessor<EntityStore> componentAccessor) <S,T> Ref <EntityStore> EntityList.getClosestEntityInRangeProjected(Ref<EntityStore> parentRef, Ref<EntityStore> ignoredEntityReference, MotionController motionController, double minRange, double maxRange, QuadPredicate<S, Ref<EntityStore>, ExecutionSupport, T> filter, ExecutionSupport executionSupport, S s, T t, ComponentAccessor<EntityStore> componentAccessor) PositionCache.getClosestNPCInRange(double minRange, double maxRange, Predicate<Ref<EntityStore>> filter, ComponentAccessor<EntityStore> componentAccessor) PositionCache.getClosestPlayerInRange(double minRange, double maxRange, ComponentAccessor<EntityStore> componentAccessor) PositionCache.getClosestPlayerInRange(double minRange, double maxRange, Predicate<Ref<EntityStore>> filter, ComponentAccessor<EntityStore> componentAccessor) intWorldSupport.getCurrentWeatherIndex(Ref<EntityStore> selfRef, ComponentAccessor<EntityStore> componentAccessor) intWorldSupport.getEnvironmentId(Ref<EntityStore> selfRef, ComponentAccessor<EntityStore> componentAccessor) voidDisplayNameSupport.handleNominatedDisplayName(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) Apply any nominated display name to the entity (deferred from a prior tick) and clear the nomination.booleanPositionCache.hasInverseLineOfSight(Ref<EntityStore> ref, Ref<EntityStore> targetRef, ComponentAccessor<EntityStore> componentAccessor) booleanPositionCache.hasLineOfSight(Ref<EntityStore> ref, Ref<EntityStore> targetRef, ComponentAccessor<EntityStore> componentAccessor) <S> booleanPositionCache.isEntityCountInRange(double minRange, double maxRange, int minCount, int maxCount, boolean findPlayers, int roleIndex, QuadPredicate<S, Ref<EntityStore>, Integer, ComponentAccessor<EntityStore>> filter, S s, ComponentAccessor<EntityStore> componentAccessor) booleanPositionCache.isFriendlyBlockingLineOfSight(Ref<EntityStore> ref, Ref<EntityStore> targetRef, ComponentAccessor<EntityStore> componentAccessor) static booleanWorldSupport.isGroupMember(int parentRoleIndex, Ref<EntityStore> ref, int[] groups, ComponentAccessor<EntityStore> componentAccessor) static booleanWorldSupport.isGroupMember(int parentRoleIndex, Ref<EntityStore> ref, int group, ComponentAccessor<EntityStore> componentAccessor) voidDisplayNameSupport.pickRandomDisplayName(Ref<EntityStore> ref, boolean override, ComponentAccessor<EntityStore> componentAccessor) <S,T> void PositionCache.processEntitiesInRange(Ref<EntityStore> ref, EntityList entities, double minRange, double maxRange, boolean useProjectedDistance, Ref<EntityStore> ignoredEntityReference, ExecutionSupport executionSupport, QuadPredicate<S, Ref<EntityStore>, ExecutionSupport, T> filter, S s, T t, ComponentAccessor<EntityStore> componentAccessor) <S,T> void PositionCache.processNPCsInRange(Ref<EntityStore> ref, double minRange, double maxRange, boolean useProjectedDistance, Ref<EntityStore> ignoredEntityReference, ExecutionSupport executionSupport, QuadPredicate<S, Ref<EntityStore>, ExecutionSupport, T> filter, S s, T t, ComponentAccessor<EntityStore> componentAccessor) <S,T> void PositionCache.processPlayersInRange(Ref<EntityStore> ref, double minRange, double maxRange, boolean useProjectedDistance, Ref<EntityStore> ignoredEntityReference, ExecutionSupport executionSupport, QuadPredicate<S, Ref<EntityStore>, ExecutionSupport, T> filter, S s, T t, ComponentAccessor<EntityStore> componentAccessor) voidMarkedEntitySupport.resolveRebinds(ComponentAccessor<EntityStore> accessor) Re-resolves rebind slots whose live ref has gone stale by looking the target up by UUID.static voidDisplayNameSupport.setDisplayName(Ref<EntityStore> ref, String displayName, boolean override, ComponentAccessor<EntityStore> componentAccessor) static voidDisplayNameSupport.setDisplayName(Ref<EntityStore> ref, String displayName, ComponentAccessor<EntityStore> componentAccessor) voidMarkedEntitySupport.setMarkedEntity(int targetSlot, Ref<EntityStore> target, boolean rebind, ComponentAccessor<EntityStore> accessor) Sets a marked target, explicitly choosing whether it should be rebind-able.voidMarkedEntitySupport.setMarkedEntity(String targetSlot, Ref<EntityStore> target, boolean rebind, ComponentAccessor<EntityStore> accessor) static voidDisplayNameSupport.setRandomDisplayName(Ref<EntityStore> ref, String[] names, boolean override, ComponentAccessor<EntityStore> componentAccessor) voidStateSupport.setState(Ref<EntityStore> ref, String state, String subState, ComponentAccessor<EntityStore> componentAccessor) booleanPositionCache.RayPredicate.test(double sx, double sy, double sz, double tx, double ty, double tz, T t, ComponentAccessor<EntityStore> componentAccessor) <S,T> boolean EntityList.testAnyEntity(double maxDistance, QuadObjectDoublePredicate<S, Ref<EntityStore>, T, ComponentAccessor<EntityStore>> predicate, S s, T t, ComponentAccessor<EntityStore> componentAccessor) <S,T> boolean EntityList.testAnyEntityDistanceSquared(double maxDistanceSquared, QuadObjectDoublePredicate<S, Ref<EntityStore>, T, ComponentAccessor<EntityStore>> predicate, S s, T t, double d, ComponentAccessor<EntityStore> componentAccessor) <S,T> boolean EntityList.testAnyEntityDistanceSquared(double maxDistanceSquared, QuadObjectDoublePredicate<S, Ref<EntityStore>, T, ComponentAccessor<EntityStore>> predicate, S s, T t, ComponentAccessor<EntityStore> componentAccessor) voidStateSupport.update(ComponentAccessor<EntityStore> componentAccessor) Method parameters in com.hypixel.hytale.server.npc.role.support with type arguments of type ComponentAccessorModifier and TypeMethodDescription<S,T> int EntityList.countEntitiesInRange(double minRange, double maxRange, int maxCount, QuadPredicate<S, Ref<EntityStore>, T, ComponentAccessor<EntityStore>> filter, S s, T t, ComponentAccessor<EntityStore> componentAccessor) <S,T> int PositionCache.countEntitiesInRange(double minRange, double maxRange, boolean findPlayers, QuadPredicate<S, Ref<EntityStore>, T, ComponentAccessor<EntityStore>> filter, S s, T t, ComponentAccessor<EntityStore> componentAccessor) <T,U, V, R> void EntityList.forEachEntityUnordered(double maxDistance, QuadPredicate<Ref<EntityStore>, T, U, ComponentAccessor<EntityStore>> predicate, QuadConsumer<Ref<EntityStore>, T, V, R> consumer, T t, U u, V v, R r, ComponentAccessor<EntityStore> componentAccessor) <T,U, V, R> void PositionCache.forEachNPCUnordered(double maxDistance, QuadPredicate<Ref<EntityStore>, T, U, ComponentAccessor<EntityStore>> predicate, QuadConsumer<Ref<EntityStore>, T, V, R> consumer, T t, U u, V v, R r, ComponentAccessor<EntityStore> componentAccessor) <S> Ref<EntityStore> PositionCache.getClosestDroppedItemInRange(Ref<EntityStore> ref, double minRange, double maxRange, TriPredicate<S, Ref<EntityStore>, ComponentAccessor<EntityStore>> filter, S s, ComponentAccessor<EntityStore> componentAccessor) <S> booleanPositionCache.isEntityCountInRange(double minRange, double maxRange, int minCount, int maxCount, boolean findPlayers, int roleIndex, QuadPredicate<S, Ref<EntityStore>, Integer, ComponentAccessor<EntityStore>> filter, S s, ComponentAccessor<EntityStore> componentAccessor) <S,T> boolean EntityList.testAnyEntity(double maxDistance, QuadObjectDoublePredicate<S, Ref<EntityStore>, T, ComponentAccessor<EntityStore>> predicate, S s, T t, ComponentAccessor<EntityStore> componentAccessor) <S,T> boolean EntityList.testAnyEntityDistanceSquared(double maxDistanceSquared, QuadObjectDoublePredicate<S, Ref<EntityStore>, T, ComponentAccessor<EntityStore>> predicate, S s, T t, double d, ComponentAccessor<EntityStore> componentAccessor) <S,T> boolean EntityList.testAnyEntityDistanceSquared(double maxDistanceSquared, QuadObjectDoublePredicate<S, Ref<EntityStore>, T, ComponentAccessor<EntityStore>> predicate, S s, T t, ComponentAccessor<EntityStore> componentAccessor) Constructor parameters in com.hypixel.hytale.server.npc.role.support with type arguments of type ComponentAccessorModifierConstructorDescriptionEntityList(BucketItemPool<Ref<EntityStore>> holderPool, BiPredicate<Ref<EntityStore>, ComponentAccessor<EntityStore>> validator) -
Uses of ComponentAccessor in com.hypixel.hytale.server.npc.sensorinfo
Methods in com.hypixel.hytale.server.npc.sensorinfo with parameters of type ComponentAccessorModifier and TypeMethodDescriptionvoidEntityPositionProvider.addTarget(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) Appends a matched target for multi-target mode, resolving and storing its current position so the provider can serve it fromEntityPositionProvider.getPosition(int, Vector3d).EntityPositionProvider.setTarget(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) Set entity and position to be returned from PositionProvider.PositionProvider.setTarget(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) PositionProvider.setTarget(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor, boolean includeDead) -
Uses of ComponentAccessor in com.hypixel.hytale.server.npc.statetransition
Methods in com.hypixel.hytale.server.npc.statetransition with parameters of type ComponentAccessorModifier and TypeMethodDescriptionvoidStateTransitionController.motionControllerChanged(Ref<EntityStore> ref, NPCEntity npcComponent, MotionController motionController, ComponentAccessor<EntityStore> componentAccessor) -
Uses of ComponentAccessor in com.hypixel.hytale.server.npc.storage
Methods in com.hypixel.hytale.server.npc.storage with parameters of type ComponentAccessorModifier and TypeMethodDescriptionstatic AlarmStoreAlarmStore.get(Ref<EntityStore> ref, ComponentAccessor<EntityStore> accessor) voidPersistentParameter.set(Ref<EntityStore> ownerRef, Type value, ComponentAccessor<EntityStore> componentAccessor) Sets the value of this parameter and marks the chunk dirty. -
Uses of ComponentAccessor in com.hypixel.hytale.server.npc.systems
Methods in com.hypixel.hytale.server.npc.systems with parameters of type ComponentAccessorModifier and TypeMethodDescriptionstatic voidRoleChangeSystem.requestRoleChange(Ref<EntityStore> ref, Role role, int roleIndex, boolean changeAppearance, String state, String subState, boolean detachFromSpawning, ComponentAccessor<EntityStore> store) Called to request a role change for a specific NPC entitystatic voidRoleChangeSystem.requestRoleChange(Ref<EntityStore> ref, Role role, int roleIndex, boolean changeAppearance, String state, String subState, ComponentAccessor<EntityStore> store) Called to request a role change for a specific NPC entity -
Uses of ComponentAccessor in com.hypixel.hytale.server.npc.util
Subinterfaces with type arguments of type ComponentAccessor in com.hypixel.hytale.server.npc.utilMethods in com.hypixel.hytale.server.npc.util with parameters of type ComponentAccessorModifier and TypeMethodDescriptionstatic booleanInventoryHelper.checkHotbarSlot(Ref<EntityStore> ref, byte slot, ComponentAccessor<EntityStore> componentAccessor) static booleanInventoryHelper.checkOffHandSlot(Ref<EntityStore> ref, byte slot, ComponentAccessor<EntityStore> componentAccessor) static booleanInventoryHelper.clearItemInHand(Ref<EntityStore> ref, byte slotHint, ComponentAccessor<EntityStore> componentAccessor) static doubleNPCPhysicsMath.collisionSphereRadius(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) static booleanInventoryHelper.containsItem(Ref<EntityStore> ref, String name, ComponentAccessor<EntityStore> componentAccessor) static booleanInventoryHelper.containsItem(Ref<EntityStore> ref, List<String> name, ComponentAccessor<EntityStore> componentAccessor) static byteInventoryHelper.findHotbarEmptySlot(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) static byteInventoryHelper.findHotbarSlotWithItem(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor, String name) static shortInventoryHelper.findHotbarSlotWithItem(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor, List<String> name) static shortInventoryHelper.findInventorySlotWithItem(Ref<EntityStore> ref, String name, ComponentAccessor<EntityStore> componentAccessor) static shortInventoryHelper.findInventorySlotWithItem(Ref<EntityStore> ref, List<String> name, ComponentAccessor<EntityStore> componentAccessor) static booleanInventoryHelper.holdsItem(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor, String name) static booleanInventoryHelper.hotbarContainsItem(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor, String name) static booleanInventoryHelper.hotbarContainsItem(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor, List<String> name) booleanRayBlockHitTest.init(Ref<EntityStore> ref, int blockSet, float pitch, ComponentAccessor<EntityStore> componentAccessor) static booleanEntityDetectionUtil.isDetectableByNPCs(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) Whether the entity is detectable by NPCs.static booleanEntityDetectionUtil.isDetectableByNPCs(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor, Player playerComponent) Whether the player entity is detectable by NPCs, for callers that already hold thePlayercomponent.booleanPositionProbeAir.probePosition(Ref<EntityStore> ref, Box boundingBox, org.joml.Vector3d position, CollisionResult collisionResult, ComponentAccessor<EntityStore> componentAccessor) booleanPositionProbeWater.probePosition(Ref<EntityStore> ref, Box boundingBox, org.joml.Vector3d position, CollisionResult collisionResult, double swimDepth, ComponentAccessor<EntityStore> componentAccessor) static voidInventoryHelper.removeItemInHand(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor, int count) static booleanInventoryHelper.setHotbarItem(Ref<EntityStore> ref, String name, byte slot, ComponentAccessor<EntityStore> componentAccessor) static voidInventoryHelper.setHotbarSlot(Ref<EntityStore> ref, byte slot, ComponentAccessor<EntityStore> componentAccessor) static booleanInventoryHelper.setOffHandItem(Ref<EntityStore> ref, String name, byte slot, ComponentAccessor<EntityStore> componentAccessor) static voidInventoryHelper.setOffHandSlot(Ref<EntityStore> ref, byte slot, ComponentAccessor<EntityStore> componentAccessor) static booleanInventoryHelper.useItem(Ref<EntityStore> ref, String name, byte slotHint, ComponentAccessor<EntityStore> componentAccessor) static booleanInventoryHelper.useItem(Ref<EntityStore> ref, String name, ComponentAccessor<EntityStore> componentAccessor) -
Uses of ComponentAccessor in com.hypixel.hytale.server.spawning
Methods in com.hypixel.hytale.server.spawning that return ComponentAccessor -
Uses of ComponentAccessor in com.hypixel.hytale.server.spawning.beacons
Methods in com.hypixel.hytale.server.spawning.beacons with parameters of type ComponentAccessorModifier and TypeMethodDescriptionstatic voidLegacySpawnBeaconEntity.clearDespawnTimer(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) static it.unimi.dsi.fastutil.Pair<Ref<EntityStore>, LegacySpawnBeaconEntity> LegacySpawnBeaconEntity.create(BeaconSpawnWrapper spawnWrapper, org.joml.Vector3dc position, Rotation3fc rotation, ComponentAccessor<EntityStore> componentAccessor) booleanLegacySpawnBeaconEntity.isHiddenFromLivingEntity(Ref<EntityStore> ref, Ref<EntityStore> targetRef, ComponentAccessor<EntityStore> componentAccessor) booleanSpawnBeacon.isHiddenFromLivingEntity(Ref<EntityStore> ref, Ref<EntityStore> targetRef, ComponentAccessor<EntityStore> componentAccessor) voidLegacySpawnBeaconEntity.moveTo(Ref<EntityStore> ref, double locX, double locY, double locZ, ComponentAccessor<EntityStore> componentAccessor) voidSpawnBeacon.moveTo(Ref<EntityStore> ref, double locX, double locY, double locZ, ComponentAccessor<EntityStore> componentAccessor) static voidLegacySpawnBeaconEntity.prepareNextSpawnTimer(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) static voidLegacySpawnBeaconEntity.setToDespawnAfter(Ref<EntityStore> ref, Duration duration, ComponentAccessor<EntityStore> componentAccessor) -
Uses of ComponentAccessor in com.hypixel.hytale.server.spawning.controllers
Methods in com.hypixel.hytale.server.spawning.controllers with parameters of type ComponentAccessorModifier and TypeMethodDescriptionBeaconSpawnController.createRandomSpawnJob(ComponentAccessor<EntityStore> componentAccessor) abstract TSpawnController.createRandomSpawnJob(ComponentAccessor<EntityStore> componentAccessor) voidBeaconSpawnController.notifyNPCRemoval(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) voidBeaconSpawnController.notifySpawnedEntityExists(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) voidBeaconSpawnController.onAllConcurrentSpawned(ComponentAccessor<EntityStore> componentAccessor) voidBeaconSpawnController.onJobFinished(ComponentAccessor<EntityStore> componentAccessor) -
Uses of ComponentAccessor in com.hypixel.hytale.server.spawning.util
Methods in com.hypixel.hytale.server.spawning.util with parameters of type ComponentAccessorModifier and TypeMethodDescriptionbooleanLightRangePredicate.test(ComponentAccessor<ChunkStore> componentAccessor, Ref<ChunkStore> sectionRef, int x, int y, int z, double sunlightFactor) booleanLightRangePredicate.test(World world, org.joml.Vector3d position, ComponentAccessor<EntityStore> componentAccessor) -
Uses of ComponentAccessor in com.hypixel.hytale.server.spawning.world
Methods in com.hypixel.hytale.server.spawning.world with parameters of type ComponentAccessorModifier and TypeMethodDescriptionvoidWorldEnvironmentSpawnData.addChunk(Ref<ChunkStore> ref, ComponentAccessor<EntityStore> componentAccessor) voidWorldEnvironmentSpawnData.addNPC(int roleIndex, WorldSpawnWrapper spawnWrapper, RoleSpawnParameters spawnParams, World world, ComponentAccessor<EntityStore> componentAccessor) doubleWorldNPCSpawnStat.CountOnly.getMissingCount(ComponentAccessor<EntityStore> componentAccessor) doubleWorldNPCSpawnStat.getMissingCount(ComponentAccessor<EntityStore> componentAccessor) WorldEnvironmentSpawnData.pickRandomSpawnNPCStat(ComponentAccessor<EntityStore> componentAccessor) voidWorldEnvironmentSpawnData.removeChunk(Ref<ChunkStore> ref, ComponentAccessor<EntityStore> componentAccessor) voidWorldEnvironmentSpawnData.removeNPC(int roleIndex, ComponentAccessor<EntityStore> componentAccessor) -
Uses of ComponentAccessor in com.hypixel.hytale.server.spawning.world.component
Methods in com.hypixel.hytale.server.spawning.world.component with parameters of type ComponentAccessorModifier and TypeMethodDescriptionWorldSpawnData.getOrCreateWorldEnvironmentSpawnData(int environmentIndex, World world, ComponentAccessor<EntityStore> componentAccessor) booleanWorldSpawnData.trackNPC(int environmentIndex, int roleIndex, int npcCount, World world, ComponentAccessor<EntityStore> componentAccessor) -
Uses of ComponentAccessor in com.hypixel.hytale.server.spawning.wrappers
Methods in com.hypixel.hytale.server.spawning.wrappers with parameters of type ComponentAccessorModifier and TypeMethodDescriptionbooleanSpawnWrapper.spawnParametersMatch(ComponentAccessor<EntityStore> componentAccessor)
PhysicsValuesdirectly if possible.