Skip to content

CreativeHubPlugin

Package: com.hypixel.hytale.builtin.creativehub

public class CreativeHubPlugin extends JavaPlugin

Plugin that registers systems, commands, interactions for the builtin subsystem.

FieldTypeDescription
instanceCreativeHubPluginStatic CreativeHubPlugin field.
creativeHubEntityConfigComponentTypeComponentType<EntityStore, CreativeHubEntityConfig>ComponentType<EntityStore, CreativeHubEntityConfig> field.
ConstructorDescription
CreativeHubPlugin(@Nonnull JavaPluginInit init)Creates a new CreativeHubPlugin instance.
MethodReturn TypeDescription
get()CreativeHubPluginstatic public method.
getOrSpawnHubInstance(@Nonnull World parentWorld, @Nonnull CreativeHubWorldConfig hubConfig, @Nonnull Transform returnPoint)Worldpublic method.
getActiveHubInstance(@Nonnull World parentWorld)Worldpublic method.
clearHubInstance(@Nonnull UUID parentWorldUuid)voidpublic method.
spawnPermanentWorldFromTemplate(@Nonnull String instanceAssetName, @Nonnull String permanentWorldName)CompletableFuture<World>public method.
getCreativeHubEntityConfigComponentType()ComponentType<EntityStore, CreativeHubEntityConfig>public method.
setup()voidprotected method.
onWorldRemove(@Nonnull RemoveWorldEvent event)voidstatic private method.
onPlayerConnect(@Nonnull PlayerConnectEvent event)voidstatic private method.
onPlayerAddToWorld(@Nonnull AddPlayerToWorldEvent event)voidstatic 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.