Contents
Class OreCluster
java.lang.Object
com.hypixel.hytale.builtin.worldgen.modifier.content.cave.ore.OreCluster
- All Implemented Interfaces:
CaveTypeGenerator
-
Field Summary
FieldsFields inherited from interface CaveTypeGenerator
TYPE_CODEC, TYPE_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(SeedString<SeedStringResource> seed, CaveTypeContent cave) Creates a new instance ofCaveTypeusing the provided seed and cave type content.
-
Field Details
-
ID
- See Also:
-
CODEC
-
-
Constructor Details
-
OreCluster
public OreCluster()
-
-
Method Details
-
create
@Nonnull public CaveType create(@Nonnull SeedString<SeedStringResource> seed, @Nonnull CaveTypeContent cave) Description copied from interface:CaveTypeGeneratorCreates a new instance ofCaveTypeusing the provided seed and cave type content.- Specified by:
createin interfaceCaveTypeGenerator- Parameters:
seed- the seed string resource used to generate the cave type; must not be nullcave- the content defining the characteristics of the cave type; must not be null- Returns:
- a newly created
CaveTypeinstance based on the provided inputs
-