Class BiomePrefabContent

java.lang.Object
com.hypixel.hytale.builtin.worldgen.modifier.content.prefab.PrefabContent
com.hypixel.hytale.builtin.worldgen.modifier.content.prefab.BiomePrefabContent
All Implemented Interfaces:
Content

public class BiomePrefabContent extends PrefabContent
  • Field Details

  • Constructor Details

    • BiomePrefabContent

      public BiomePrefabContent()
  • Method Details

    • applyTo

      public <T> void applyTo(ModifyEvent<T> event) throws Exception
      Description copied from interface: Content
      Applies the content defined in this instance to a specified ModifyEvent. The content will be conditionally loaded and appended to the event's mutable entries if successfully resolved through the event's loader.
      Specified by:
      applyTo in interface Content
      Specified by:
      applyTo in class PrefabContent
      Type Parameters:
      T - The type of entries managed by the ModifyEvent.
      Parameters:
      event - The modification event to which this content should be applied. It provides access to a loader for resolving content, a list of entries to which the resolved content can be added, and relevant metadata.
      Throws:
      Exception - If an error occurs during content loading or modification.