Contents
Class TriggerVolumePrefabPasteRemapSystem
java.lang.Object
com.hypixel.hytale.component.system.EventSystem<PrefabPasteEvent>
com.hypixel.hytale.component.system.WorldEventSystem<EntityStore, PrefabPasteEvent>
com.hypixel.hytale.builtin.triggervolumes.prefab.TriggerVolumePrefabPasteRemapSystem
- All Implemented Interfaces:
ISystem<EntityStore>
public class TriggerVolumePrefabPasteRemapSystem
extends WorldEventSystem<EntityStore, PrefabPasteEvent>
Clears prefab group link remapping at the start of each prefab paste so pasted groups
do not merge with a previous paste of the same asset.
-
Field Summary
Fields inherited from interface ISystem
EMPTY_ARRAY -
Constructor Summary
ConstructorsConstructorDescriptionTriggerVolumePrefabPasteRemapSystem(ResourceType<EntityStore, TriggerVolumeManager> managerResourceType) -
Method Summary
Modifier and TypeMethodDescriptionvoidhandle(Store<EntityStore> store, CommandBuffer<EntityStore> commandBuffer, PrefabPasteEvent event) An overrideable method called to handle an event.Methods inherited from class WorldEventSystem
handleInternalMethods inherited from class EventSystem
getEventTypeMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ISystem
getDependencies, getGroup, onSystemRegistered, onSystemUnregistered
-
Constructor Details
-
TriggerVolumePrefabPasteRemapSystem
public TriggerVolumePrefabPasteRemapSystem(@Nonnull ResourceType<EntityStore, TriggerVolumeManager> managerResourceType)
-
-
Method Details
-
handle
public void handle(@Nonnull Store<EntityStore> store, @Nonnull CommandBuffer<EntityStore> commandBuffer, @Nonnull PrefabPasteEvent event) Description copied from class:WorldEventSystemAn overrideable method called to handle an event.- Specified by:
handlein classWorldEventSystem<EntityStore, PrefabPasteEvent>- Parameters:
store- The ECS store.commandBuffer- The command buffer for queuing ECS commands.event- The event to be handled.
-