Java Code Examples for net.minecraft.util.MathHelper.randomFloatClamp()

The following are Jave code examples for showing how to use randomFloatClamp() of the net.minecraft.util.MathHelper class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
Example 1
Project: BaseClient   File: RealmsMth.java   Source Code and License Vote up 4 votes
public static float nextFloat(Random p_nextFloat_0_, float p_nextFloat_1_, float p_nextFloat_2_)
{
    return MathHelper.randomFloatClamp(p_nextFloat_0_, p_nextFloat_1_, p_nextFloat_2_);
}
 
Example 2
Project: BaseClient   File: RealmsMth.java   Source Code and License Vote up 4 votes
public static float nextFloat(Random p_nextFloat_0_, float p_nextFloat_1_, float p_nextFloat_2_)
{
    return MathHelper.randomFloatClamp(p_nextFloat_0_, p_nextFloat_1_, p_nextFloat_2_);
}