mirror of
https://github.com/GTNewHorizons/Avaritia.git
synced 2026-11-26 06:53:22 +00:00
TiCon: DONE. Also updated todo list.
This commit is contained in:
1 parent
3069972354
commit
4dc827f357
4 files changed
+42
-4
No files matched your search
@@ -43,7 +43,7 @@ import static net.minecraftforge.event.world.BlockEvent.HarvestDropsEvent;
|
||||
|
||||
public class LudicrousEvents {
|
||||
|
||||
private Random randy = new Random();
|
||||
private static Random randy = new Random();
|
||||
|
||||
@SubscribeEvent
|
||||
public void onPlayerMine(PlayerInteractEvent event) {
|
||||
@@ -124,7 +124,7 @@ public class LudicrousEvents {
|
||||
}
|
||||
}
|
||||
|
||||
private void dropItem(ItemStack drop, World world, int x, int y, int z){
|
||||
public static void dropItem(ItemStack drop, World world, int x, int y, int z){
|
||||
float f = 0.7F;
|
||||
double d0 = (double)(randy.nextFloat() * f) + (double)(1.0F - f) * 0.5D;
|
||||
double d1 = (double)(randy.nextFloat() * f) + (double)(1.0F - f) * 0.5D;
|
||||
|
||||
Reference in new issue
Block a user