HyCodeYourTale
classpublicabstractPriority 3

ReturnType

com.hypixel.hytale.builtin.hytalegenerator.density.nodes.positions.returntypes.ReturnType

1

Methods

1

Public Methods

1

Fields

1

Constructors

Constructors

public
ReturnType()

Methods

Public Methods (1)

public
void setMaxDistance(double maxDistance)

Fields

Protected Fields (1)

protecteddouble maxDistance

Inheritance

Parent
Current
Interface
Child

Use mouse wheel to zoom, drag to pan. Click nodes to navigate.

Related Classes

Source Code

package com.hypixel.hytale.builtin.hytalegenerator.density.nodes.positions.returntypes;

import com.hypixel.hytale.builtin.hytalegenerator.density.Density;
import com.hypixel.hytale.math.vector.Vector3d;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;

public abstract class ReturnType {
   protected double maxDistance = 1.7976931348623157E308;

   public ReturnType() {
   }

   public abstract double get(
      double var1, double var3, @Nonnull Vector3d var5, @Nullable Vector3d var6, @Nullable Vector3d var7, @Nullable Density.Context var8
   );

   public void setMaxDistance(double maxDistance) {
      if (maxDistance < 0.0) {
         throw new IllegalArgumentException("negative distance");
      } else {
         this.maxDistance = maxDistance;
      }
   }
}