Hytale Modding
Hytale Modding
World GenerationTechnical Hytale Generator

Vector Provider

Defines a 3D decimal vector {x, y, z}.

Official Hytale Documentation
All content on this section is provided by Hypixel Studios Canada Inc. and is presented without any substantial changes, aside from visual design adjustments by the HytaleModding Team.

Constant

Generates the provided vector.

Parameters:

NameTypeDescription
Vector3D decimal vector

DensityGradient

Generates the gradient of the provided Density field. The resulting gradient vector shows which direction the Density field increases and how quickly it changes.

For more information about gradient vectors, see: https://en.wikipedia.org/wiki/Gradient

Parameters:

NameTypeDescription
SampleDistancepositive decimal value

How far apart the Density field value samples are taken. The optimal value for performance is 1.0. Greater values could be useful for smoothing out results for specific applications.

DensityDensity slot

Cache

Caches the input vector for each position.

Use this only if the downstream (child) VectorProvider is expensive and the same coordinate is queried more than once.

Parameters:

NameTypeDescription
SampleDistancepositive decimal value

How far apart the Density field value samples are taken. The optimal value for performance is 1.0. Greater values could be useful for smoothing out results for specific applications.

DensityDensity slot

Exported

Allows exporting a VectorProvider as a single instance. Enabling SingleInstance on this node ensures all importers share the same logic.

By default, a completely different instance is created for every Imported node. When multiple Imported nodes import the same exported key, a new instance of that exported VectorProvider tree is created for each Imported node. SingleInstance ensures all importers share the same underlying instance of the node tree.

This node can be used to optimize caching when an exported VectorProvider is imported multiple times in the same context and contains caches. The caches would be shared between the different imported instances.

Important: This is still an experimental feature and could cause unexpected behaviors if misused.

Expected Inputs: 1

Parameters:

NameTypeDescription
SingleInstanceboolean

Enable this to share the export across all Imported nodes that reference this key.

VectorProviderVectorProvider slot

Imported

Imports an exported VectorProvider.

Parameters:

NameTypeDescription
NamestringThe exported VectorProvider.