Contents
Class BiomeTintContent
java.lang.Object
com.hypixel.hytale.builtin.worldgen.modifier.content.tint.BiomeTintContent
- All Implemented Interfaces:
Content
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface Content
Content.Type -
Field Summary
FieldsFields 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
-
BiomeTintContent
public BiomeTintContent()
-
-
Method Details
-
type
Description copied from interface:ContentThe contentContent.Typethat this instance represents -
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.- Specified by:
applyToin interfaceContent- 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.
-