Remove RandomSource2Generator

This commit is contained in:
DBotThePony 2025-03-30 15:28:44 +07:00
parent a49754e5cc
commit 4c41128b37
Signed by: DBot
GPG Key ID: DCC23B5715498507
3 changed files with 0 additions and 32 deletions

View File

@ -14,7 +14,6 @@ import ru.dbotthepony.mc.otm.client.minecraft
import ru.dbotthepony.mc.otm.client.render.*
import ru.dbotthepony.mc.otm.core.TextComponent
import ru.dbotthepony.kommons.math.RGBAColor
import ru.dbotthepony.mc.otm.core.RandomSource2Generator
import ru.dbotthepony.mc.otm.core.math.Decimal
import ru.dbotthepony.mc.otm.core.math.asAngle
import ru.dbotthepony.mc.otm.core.math.clusterize

View File

@ -8,7 +8,6 @@ import ru.dbotthepony.mc.otm.client.render.ChartMouseLabels
import ru.dbotthepony.mc.otm.client.render.MGUIGraphics
import ru.dbotthepony.mc.otm.client.render.renderChart
import ru.dbotthepony.mc.otm.client.screen.MatteryScreen
import ru.dbotthepony.mc.otm.core.RandomSource2Generator
import ru.dbotthepony.mc.otm.core.chart.DecimalHistoryChart
import ru.dbotthepony.mc.otm.core.TextComponent
import ru.dbotthepony.mc.otm.core.TranslatableComponent

View File

@ -1,30 +0,0 @@
package ru.dbotthepony.mc.otm.core
import net.minecraft.util.RandomSource
import java.util.random.RandomGenerator
class RandomSource2Generator(private val parent: RandomSource) : RandomGenerator {
override fun nextLong(): Long {
return parent.nextLong()
}
override fun nextInt(): Int {
return parent.nextInt()
}
override fun nextFloat(): Float {
return parent.nextFloat()
}
override fun nextDouble(): Double {
return parent.nextDouble()
}
override fun nextBoolean(): Boolean {
return parent.nextBoolean()
}
override fun nextGaussian(): Double {
return parent.nextGaussian()
}
}