CreativeHubPlugin
Package: com.hypixel.hytale.builtin.creativehub
public class CreativeHubPlugin extends JavaPluginPlugin that registers systems, commands, interactions for the builtin subsystem.
Fields
Section titled “Fields”| Field | Type | Description |
|---|---|---|
instance | CreativeHubPlugin | Static CreativeHubPlugin field. |
creativeHubEntityConfigComponentType | ComponentType<EntityStore, CreativeHubEntityConfig> | ComponentType<EntityStore, CreativeHubEntityConfig> field. |
Constructors
Section titled “Constructors”| Constructor | Description |
|---|---|
CreativeHubPlugin(@Nonnull JavaPluginInit init) | Creates a new CreativeHubPlugin instance. |
Methods
Section titled “Methods”| Method | Return Type | Description |
|---|---|---|
get() | CreativeHubPlugin | static public method. |
getOrSpawnHubInstance(@Nonnull World parentWorld, @Nonnull CreativeHubWorldConfig hubConfig, @Nonnull Transform returnPoint) | World | public method. |
getActiveHubInstance(@Nonnull World parentWorld) | World | public method. |
clearHubInstance(@Nonnull UUID parentWorldUuid) | void | public method. |
spawnPermanentWorldFromTemplate(@Nonnull String instanceAssetName, @Nonnull String permanentWorldName) | CompletableFuture<World> | public method. |
getCreativeHubEntityConfigComponentType() | ComponentType<EntityStore, CreativeHubEntityConfig> | public method. |
setup() | void | protected method. |
onWorldRemove(@Nonnull RemoveWorldEvent event) | void | static private method. |
onPlayerConnect(@Nonnull PlayerConnectEvent event) | void | static private method. |
onPlayerAddToWorld(@Nonnull AddPlayerToWorldEvent event) | void | static private method. |
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.