1
0
mirror of https://github.com/chylex/Hardcore-Ender-Expansion.git synced 2025-04-14 05:15:42 +02:00

Oh hey, this thing wasn't finished

This commit is contained in:
chylex 2014-11-06 20:01:33 +01:00
parent b36effa4d7
commit ff9ff2aac1

View File

@ -1,5 +1,6 @@
package chylex.hee.world.feature;
import java.util.Random;
import chylex.hee.block.BlockList;
import net.minecraft.world.World;
import net.minecraft.world.gen.feature.WorldGenerator;
@ -20,6 +21,11 @@ public class WorldGenEnergyCluster extends WorldGenerator{
break;
}
}
if (foundBlock || rand.nextInt(88) == 0){
world.setBlock(xx,yy,zz,BlockList.energy_cluster);
return true;
}
}
}