java.lang.Object
com.hypixel.hytale.builtin.hytalegenerator.framework.shaders.WeighedShader<T>
- All Implemented Interfaces:
Shader<T>
public class WeighedShader<T>
extends Object
implements Shader<T>
-
-
Constructor Summary
Constructors
-
Method Summary
shade(T current,
long seedA,
long seedB)
shade(T current,
long seedA,
long seedB,
long seedC)
-
-
Constructor Details
-
WeighedShader
public WeighedShader(@Nonnull
Shader<T> initialChild,
double weight)
-
Method Details
-
-
-
shade
public T shade(T current,
long seed)
- Specified by:
shade in interface Shader<T>
-
shade
public T shade(T current,
long seedA,
long seedB)
- Specified by:
shade in interface Shader<T>
-
shade
public T shade(T current,
long seedA,
long seedB,
long seedC)
- Specified by:
shade in interface Shader<T>
-