Class BiomeCoverContent

java.lang.Object
com.hypixel.hytale.builtin.worldgen.modifier.content.cover.CoverContent
com.hypixel.hytale.builtin.worldgen.modifier.content.cover.BiomeCoverContent
All Implemented Interfaces:
Content

public class BiomeCoverContent extends CoverContent
  • Field Details

  • Constructor Details

    • BiomeCoverContent

      public BiomeCoverContent()
  • Method Details

    • type

      public Content.Type type()
      Description copied from interface: Content
      The content Content.Type that this instance represents
      Returns:
      The content type
    • 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.
      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.