Contents
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
-
Nested Class Summary
Nested classes/interfaces inherited from class CoverContent
CoverContent.EntryNested classes/interfaces inherited from interface Content
Content.Type -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BuilderCodec<BiomeCoverContent> static final StringFields inherited from interface Content
ARRAY_CODEC, EMPTY_ARRAY, TYPE_CODEC, TYPE_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> voidapplyTo(ModifyEvent<T> event) Applies the content defined in this instance to a specifiedModifyEvent.type()The contentContent.Typethat this instance represents
-
Field Details
-
ID
- See Also:
-
CODEC
-
-
Constructor Details
-
BiomeCoverContent
public BiomeCoverContent()
-
-
Method Details
-
type
Description copied from interface:ContentThe contentContent.Typethat this instance represents- Returns:
- The content type
-
applyTo
Description copied from interface:ContentApplies the content defined in this instance to a specifiedModifyEvent. 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 theModifyEvent.- 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.
-