Class EntitySystems.OnLoadFromExternal
java.lang.Object
com.hypixel.hytale.component.system.System<EntityStore>
com.hypixel.hytale.component.system.HolderSystem<EntityStore>
com.hypixel.hytale.server.core.modules.entity.system.EntitySystems.OnLoadFromExternal
- All Implemented Interfaces:
ISystem<EntityStore>,QuerySystem<EntityStore>
- Enclosing class:
EntitySystems
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Set<Dependency<EntityStore>> private final SystemGroup<EntityStore> private final Query<EntityStore> Fields inherited from interface com.hypixel.hytale.component.system.ISystem
EMPTY_ARRAY -
Constructor Summary
ConstructorsConstructorDescriptionOnLoadFromExternal(ComponentType<EntityStore, FromPrefab> fromPrefab, ComponentType<EntityStore, FromWorldGen> fromWorldGen, SystemGroup<EntityStore> group) -
Method Summary
Modifier and TypeMethodDescriptiongetGroup()getQuery()voidonEntityAdd(Holder<EntityStore> holder, AddReason reason, Store<EntityStore> store) voidonEntityRemoved(Holder<EntityStore> holder, RemoveReason reason, Store<EntityStore> store) Methods inherited from class com.hypixel.hytale.component.system.System
getComponentRegistrations, getResourceRegistrations, registerComponent, registerComponent, registerComponent, registerResource, registerResourceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.hypixel.hytale.component.system.ISystem
onSystemRegistered, onSystemUnregisteredMethods inherited from interface com.hypixel.hytale.component.system.QuerySystem
test
-
Field Details
-
query
-
group
-
dependencies
-
-
Constructor Details
-
OnLoadFromExternal
public OnLoadFromExternal(@Nonnull ComponentType<EntityStore, FromPrefab> fromPrefab, @Nonnull ComponentType<EntityStore, FromWorldGen> fromWorldGen, @Nonnull SystemGroup<EntityStore> group)
-
-
Method Details
-
onEntityAdd
public void onEntityAdd(@Nonnull Holder<EntityStore> holder, @Nonnull AddReason reason, @Nonnull Store<EntityStore> store) - Specified by:
onEntityAddin classHolderSystem<EntityStore>
-
onEntityRemoved
public void onEntityRemoved(@Nonnull Holder<EntityStore> holder, @Nonnull RemoveReason reason, @Nonnull Store<EntityStore> store) - Specified by:
onEntityRemovedin classHolderSystem<EntityStore>
-
getDependencies
-
getQuery
-
getGroup
-