Class System<ECS_TYPE>
java.lang.Object
com.hypixel.hytale.component.system.System<ECS_TYPE>
- All Implemented Interfaces:
ISystem<ECS_TYPE>
- Direct Known Subclasses:
ArchetypeChunkSystem,ArchetypeDataSystem,HolderSystem,RefChangeSystem,RefSystem,StoreSystem,TickingSystem
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.objects.ObjectList<ComponentRegistration<ECS_TYPE, ?>> private final it.unimi.dsi.fastutil.objects.ObjectList<ResourceRegistration<ECS_TYPE, ?>> Fields inherited from interface com.hypixel.hytale.component.system.ISystem
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected <T extends Component<ECS_TYPE>>
ComponentType<ECS_TYPE, T> registerComponent(Class<? super T> tClass, String id, BuilderCodec<T> codec) protected <T extends Component<ECS_TYPE>>
ComponentType<ECS_TYPE, T> registerComponent(Class<? super T> tClass, String id, BuilderCodec<T> codec, Supplier<T> supplier) protected <T extends Component<ECS_TYPE>>
ComponentType<ECS_TYPE, T> registerComponent(Class<? super T> tClass, Supplier<T> supplier) <T extends Resource<ECS_TYPE>>
ResourceType<ECS_TYPE, T> registerResource(Class<? super T> tClass, String id, BuilderCodec<T> codec) private <T extends Resource<ECS_TYPE>>
ResourceType<ECS_TYPE, T> registerResource(Class<? super T> tClass, String id, BuilderCodec<T> codec, Supplier<T> supplier) <T extends Resource<ECS_TYPE>>
ResourceType<ECS_TYPE, T> registerResource(Class<? super T> tClass, Supplier<T> supplier) Methods 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
getDependencies, getGroup, onSystemRegistered, onSystemUnregistered
-
Field Details
-
componentRegistrations
@Nonnull private final it.unimi.dsi.fastutil.objects.ObjectList<ComponentRegistration<ECS_TYPE,?>> componentRegistrations -
resourceRegistrations
@Nonnull private final it.unimi.dsi.fastutil.objects.ObjectList<ResourceRegistration<ECS_TYPE,?>> resourceRegistrations
-
-
Constructor Details
-
System
public System()
-
-
Method Details
-
registerComponent
-
registerComponent
@Nonnull protected <T extends Component<ECS_TYPE>> ComponentType<ECS_TYPE,T> registerComponent(@Nonnull Class<? super T> tClass, @Nonnull String id, @Nonnull BuilderCodec<T> codec) -
registerComponent
@Nonnull protected <T extends Component<ECS_TYPE>> ComponentType<ECS_TYPE,T> registerComponent(@Nonnull Class<? super T> tClass, @Nullable String id, @Nullable BuilderCodec<T> codec, @Nonnull Supplier<T> supplier) -
registerResource
-
registerResource
@Nonnull public <T extends Resource<ECS_TYPE>> ResourceType<ECS_TYPE,T> registerResource(@Nonnull Class<? super T> tClass, @Nonnull String id, @Nonnull BuilderCodec<T> codec) -
registerResource
@Nonnull private <T extends Resource<ECS_TYPE>> ResourceType<ECS_TYPE,T> registerResource(@Nonnull Class<? super T> tClass, @Nullable String id, @Nullable BuilderCodec<T> codec, @Nonnull Supplier<T> supplier) -
getComponentRegistrations
-
getResourceRegistrations
-