Hytale Modding
Hytale Modding
World GenerationTechnical Hytale Generator

Props

Localized content that can read and write to the world.

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.

Cuboid

Places a cuboid made from the provided materials.

Parameters
NameTypeDescription
BoundsBoundsSize of the cuboid.
MaterialMaterialProvider slotThe materials the cuboid is made of.

Manual

Places manually configured blocks.

Parameters
NameTypeDescription
BlocksPositioned blockBlock relative to the Prop's anchor.

Locator

Locates a valid position using a Pattern and a Scanner.

Parameters
NameTypeDescription
PropProp slotProp to place at valid positions.
PatternPattern slotDefines what valid locations look like.
ScannerScanner slotScans relative to the anchor for valid locations.
PlacementCapInteger ≥ 0

Limits the number of valid locations in which the child Prop is generated.


Orienter

Locates valid positions and orients the child Prop accordingly.

Automatically checks the Pattern in different rotations and rotates the child Prop accordingly.

Parameters
NameTypeDescription
PropProp slotProp to place at valid positions.
Rotationslist of RotationsPossible rotations.
PatternPattern slotDefines what valid locations look like.
ScannerScanner slotScans relative to the anchor for valid locations.
SelectionMode

String (FirstValid | AllValid | RandomValid)

Determines which valid rotation is generated:
- FirstValid: The first valid rotation in the Rotations list.
- AllValid: All valid rotations in the Rotations list.
- RandomValid: Picks one of the valid Rotations at random.

SeedString

Determines which position is picked if RandomValid.


Queue

Places the first Prop in the list that generates, and skips the rest.

Parameters
NameTypeDescription
Propslist of Prop slotsOrdered list making up the queue.

Mask

Masks the blocks placed by the child.

Parameters
NameTypeDescription
PropProp slotProp to mask.
MaskBlockMaskDetermines which materials are allowed to be placed.

StaticRotator

Rotates the child Prop by a static Rotation.

Parameters
NameTypeDescription
PropProp slotProp to rotate.
RotationRotationChild Prop's rotation relative to this Prop's direction.

RandomRotator

Rotates the child Prop by a random Rotation.

Parameters
NameTypeDescription
PropProp slotProp to rotate.
Rotationslist of RotationsThe rotations to pick from.
HorizontalRotationsBoolean

Reduces the need to define four extra nodes for all X/Z rotations by adding them all automatically. Don’t use the Rotations pin if you enable this.

SeedStringDetermines which Rotation to pick.

DensitySelector

Selects a child Prop based on a Density field.

The first delimiter whose range contains the Density value at the Prop’s position determines the child Prop to use.

Parameters
NameTypeDescription
Delimiterslist of Delimiters

Determines which Prop is selected for which regions of the Density field.

DensityDensity slotThe Density field.

Density

Generates a Prop from a Density field and a MaterialProvider asset.

Below is an example of terrain with smaller dirt boulders on top of large stone ones.

Example of Density Prop

Parameters
NameTypeDescription
BoundsBoundsThe maximum reach.
DensityDensity asset slotGives shape to the Prop.
MaterialMaterialProvider asset slotDetermines the block types to use.

Prefab

Places a Prefab from the weighted paths.

Parameters
NameTypeDescription
WeightedPrefabPathslist of weighted paths to files or folders containing prefabsEach path entry contains the keys below.
WeightedPrefabPaths[].PathstringPath to the folder or file to load from.
WeightedPrefabPaths[].Weightnumber (> 0)Weight for placing a prefab from this path. If the path points to a folder, the weight applies to the folder pick. Once picked, all prefabs inside have an equal chance.

Union

Places all the Props in the provided list at the same position, one after another.

Parameters
NameTypeDescription
Propslist of Prop slotsProps to place together.

Offset

Offsets the position of the child Prop.

Parameters
NameTypeDescription
Offset3D integer vectorThe direction in which to offset the child Prop’s position.
PropProp slot

Weighted

Picks a Prop to place based on a seed and weights.

Parameters
NameTypeDescription
Entrieslist of weighted Prop entriesEach entry contains Weight and Prop.
Entries[].Weightnumber (> 0.0)
Entries[].PropProp slot
SeedstringThe seed determining which Prop is picked. This seed also mutates the seed passed to the children.

PondFiller

Fills depressions in the terrain with the provided MaterialProvider.

The screenshots below show a few examples of ponds generated with this Prop.

Example of PondFiller Prop1

Example of PondFiller Prop2

You can configure the bounding box inside which it will identify and fill existing terrain depressions. The bounding box’s size and shape determine how large the resulting ponds can be.

The diagram below shows how the bounding box defines the outcome.

Example of PondFiller bounding box

The ponds that fit inside that bounding box are filled with the MaterialProvider.

The BarrierBlockSet defines what the walls of the depressions are made of.

Important: The performance impact of this Prop can be relatively high depending on the size of its bounding box. Because of that, I recommend optimizing the size of its bounding box for each use case.

Parameters
NameTypeDescription
BoundsBoundsThe Prop's reach.
BarrierBlockSetBlockSet asset slot

Defines the types of blocks that can make up the solid terrain, through which the pond material cannot seep.

FillMaterialMaterialProvider asset slot

Determines the types of blocks used when filling up the ponds (for example, water).


Imported

Imports an exported Prop.

Parameters
NameTypeDescription
NamestringThe exported Prop name.