39 lines
951 B
Java
39 lines
951 B
Java
|
|
# Eagler Context Redacted Diff
|
|
# Copyright (c) 2024 lax1dude. All rights reserved.
|
|
|
|
# Version: 1.0
|
|
# Author: lax1dude
|
|
|
|
> CHANGE 2 : 4 @ 2 : 5
|
|
|
|
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
|
~ import net.lax1dude.eaglercraft.v1_8.EaglercraftUUID;
|
|
|
|
> CHANGE 99 : 100 @ 99 : 100
|
|
|
|
~ public static int getRandomIntegerInRange(EaglercraftRandom parRandom, int parInt1, int parInt2) {
|
|
|
|
> CHANGE 3 : 4 @ 3 : 4
|
|
|
|
~ public static float randomFloatClamp(EaglercraftRandom parRandom, float parFloat1, float parFloat2) {
|
|
|
|
> CHANGE 3 : 4 @ 3 : 4
|
|
|
|
~ public static double getRandomDoubleInRange(EaglercraftRandom parRandom, double parDouble1, double parDouble2) {
|
|
|
|
> CHANGE 6 : 8 @ 6 : 8
|
|
|
|
~ for (int j = 0; j < values.length; ++j) {
|
|
~ i += values[j];
|
|
|
|
> CHANGE 139 : 140 @ 139 : 140
|
|
|
|
~ public static EaglercraftUUID getRandomUuid(EaglercraftRandom rand) {
|
|
|
|
> CHANGE 2 : 3 @ 2 : 3
|
|
|
|
~ return new EaglercraftUUID(i, j);
|
|
|
|
> EOF
|