remove unused mixins
This commit is contained in:
1 parent
fc2a22ff91
commit
01367142ac
16 files changed
+4
-332
No files matched your search
@@ -0,0 +1,29 @@
|
||||
package carpet.mixins;
|
||||
|
||||
import carpet.fakes.SpawnHelperInnerInterface;
|
||||
import net.minecraft.world.level.NaturalSpawner;
|
||||
import net.minecraft.world.level.PotentialCalculator;
|
||||
import org.spongepowered.asm.mixin.Final;
|
||||
import org.spongepowered.asm.mixin.Mixin;
|
||||
import org.spongepowered.asm.mixin.Shadow;
|
||||
|
||||
@Mixin(NaturalSpawner.SpawnState.class)
|
||||
public class SpawnState_scarpetMixin implements SpawnHelperInnerInterface
|
||||
{
|
||||
@Shadow @Final private int spawnableChunkCount;
|
||||
|
||||
@Shadow @Final private PotentialCalculator spawnPotential;
|
||||
|
||||
@Override
|
||||
public PotentialCalculator getPotentialCalculator()
|
||||
{
|
||||
return spawnPotential;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int cmGetChunkCount() {
|
||||
return spawnableChunkCount;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user