Contents
Class PropDistribution.Context
java.lang.Object
com.hypixel.hytale.builtin.hytalegenerator.propdistributions.PropDistribution.Context
- Enclosing class:
PropDistribution
-
Field Summary
FieldsModifier and TypeFieldDescriptionorg.joml.Vector3dThe region the distribution must cover.double -
Constructor Summary
ConstructorsConstructorDescriptionContext()Context(Bounds3d bounds, Pipe.Two<org.joml.Vector3d, Prop> pipe, double distanceFromBiomeEdge, GraphSpace.Node graphNode, org.joml.Vector3d anchor) Context(PropDistribution.Context other) -
Method Summary
-
Field Details
-
bounds
The region the distribution must cover. The distribution emits every position that falls inside these bounds. Positions can be emitted outside the bounds. -
pipe
-
distanceFromBiomeEdge
public double distanceFromBiomeEdge -
graphNode
-
anchor
@Nullable public org.joml.Vector3d anchor
-
-
Constructor Details
-
Context
public Context() -
Context
-
Context
public Context(@Nonnull Bounds3d bounds, @Nonnull Pipe.Two<org.joml.Vector3d, Prop> pipe, double distanceFromBiomeEdge, @Nullable GraphSpace.Node graphNode, @Nullable org.joml.Vector3d anchor)
-
-
Method Details
-
assign
-
clearReferences
public void clearReferences()
-