Hytale Modding
Hytale Modding
World GenerationTechnical Hytale Generator

Assignments

Assigns Props to each position in a Positions field.

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

Assigns a Prop to all positions.

Parameters:

NameTypeDescription
PropProp slot

FieldFunction

Allows you to select which Props to assign based on a Density field and your configured delimiters. The Density’s value at each position determines which delimiter’s Prop to assign.

Parameters:

NameTypeDescription
FieldFunctionDensity slot
Delimiterslist of delimitersAttaches Props to value ranges of the Density field.
Delimiters[].Mindecimal numberLower inclusive bound of the delimiter.
Delimiters[].Maxdecimal numberHigher exclusive bound of the delimiter.
Delimiters[].AssignmentsAssignments asset slotThe Assignments providing the Props to use.

Sandwich

Allows you to select which Props to assign based on their vertical (world Y) position and your configured delimiters. Depending on each position’s world height, the matching delimiter’s Prop is assigned.

Parameters:

NameTypeDescription
Delimiterslist of height delimitersEach delimiter defines a world height range and its Assignments.
Delimiters[].MinYdecimal numberLower inclusive bound of the delimiter.
Delimiters[].MaxYdecimal numberHigher exclusive bound of the delimiter.
Delimiters[].AssignmentsAssignments asset slot

Weighted

Picks which Prop to assign randomly based on weights and a seed.

Parameters:

NameTypeDescription
Seedstring
SkipChancedecimal number (0.0–1.0)Chance to skip a position without assigning a Prop.
WeightedAssignmentslist of weighted Assignments slots
AssignmentsAssignments asset slot

Imported

Imports exported Assignments.

Parameters:

NameTypeDescription
NamestringThe exported Assignments name.