mirror of
https://git.zelz.net/catfoolyou/Project164.git
synced 2025-12-16 05:57:40 +00:00
Replace Random with EaglercraftRandom
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
package net.minecraft.src;
|
||||
|
||||
import java.util.Random;
|
||||
import net.lax1dude.eaglercraft.EaglercraftRandom;
|
||||
|
||||
public class BlockSnow extends Block
|
||||
{
|
||||
@@ -127,7 +127,7 @@ public class BlockSnow extends Block
|
||||
/**
|
||||
* Returns the ID of the items to drop on destruction.
|
||||
*/
|
||||
public int idDropped(int par1, Random par2Random, int par3)
|
||||
public int idDropped(int par1, EaglercraftRandom par2Random, int par3)
|
||||
{
|
||||
return Item.snowball.itemID;
|
||||
}
|
||||
@@ -135,7 +135,7 @@ public class BlockSnow extends Block
|
||||
/**
|
||||
* Returns the quantity of items to drop on block destruction.
|
||||
*/
|
||||
public int quantityDropped(Random par1Random)
|
||||
public int quantityDropped(EaglercraftRandom par1Random)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
@@ -143,7 +143,7 @@ public class BlockSnow extends Block
|
||||
/**
|
||||
* Ticks the block if it's been scheduled
|
||||
*/
|
||||
public void updateTick(World par1World, int par2, int par3, int par4, Random par5Random)
|
||||
public void updateTick(World par1World, int par2, int par3, int par4, EaglercraftRandom par5Random)
|
||||
{
|
||||
if (par1World.getSavedLightValue(EnumSkyBlock.Block, par2, par3, par4) > 11)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user