tangled
alpha
login
or
join now
codexarchonic.nekoweb.org
/
ProjectInfinity
0
fork
atom
Inspired by 2020's April Fools' 20w14infinite Snapshot, this mod brings endless randomly generated dimensions into Minecraft.
0
fork
atom
overview
issues
6
pulls
pipelines
an incredibly rare and obscure crash oh my stars
Lera
7 months ago
3eaf3029
35dc7546
+6
-2
1 changed file
expand all
collapse all
unified
split
common
src
main
java
net
lerariemann
infinity
dimensions
RandomBiome.java
+6
-2
common/src/main/java/net/lerariemann/infinity/dimensions/RandomBiome.java
···
129
129
return res;
130
130
}
131
131
132
132
+
float randomDustScale() {
133
133
+
return random.nextBoolean() ? random.nextFloat() * 0.99f + 0.01f : random.nextFloat() * 3f + 1f;
134
134
+
}
135
135
+
132
136
NbtCompound particleOptions() {
133
137
NbtCompound res = new NbtCompound();
134
138
String particle = PROVIDER.randomName(random, ConfigType.PARTICLES);
···
148
152
}
149
153
case "minecraft:dust" -> {
150
154
res.put("color", randomDustColor());
151
151
-
res.putFloat("scale", random.nextFloat());
155
155
+
res.putFloat("scale", randomDustScale());
152
156
return res;
153
157
}
154
158
case "minecraft:dust_color_transition" -> {
155
159
res.put("from_color", randomDustColor());
156
160
res.put("to_color", randomDustColor());
157
157
-
res.putFloat("scale", random.nextFloat());
161
161
+
res.putFloat("scale", randomDustScale());
158
162
return res;
159
163
}
160
164
case "minecraft:entity_effect" -> {