mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-19 11:49:14 +00:00
Clean Up, Work on climate system
This commit is contained in:
1 parent
fbf30b1a73
commit
ae025a92fc
30 files changed
+198
-218
No files matched your search
@@ -11,12 +11,6 @@
|
||||
package forestry;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.List;
|
||||
|
||||
import com.google.common.collect.Lists;
|
||||
|
||||
import net.minecraft.util.math.BlockPos;
|
||||
import net.minecraft.util.math.MathHelper;
|
||||
import net.minecraftforge.common.MinecraftForge;
|
||||
import net.minecraftforge.fluids.FluidRegistry;
|
||||
import net.minecraftforge.fml.common.Mod;
|
||||
@@ -81,16 +75,6 @@ public class Forestry {
|
||||
|
||||
@EventHandler
|
||||
public void preInit(FMLPreInitializationEvent event) {
|
||||
List<BlockPos> POS = Lists.newArrayList();
|
||||
List<BlockPos> POS2 = Lists.newArrayList();
|
||||
for(BlockPos pos : BlockPos.getAllInBox(new BlockPos(0, 10, 0), new BlockPos(20, 10, 20))){
|
||||
double p = pos.getDistance(10, 10, 10);
|
||||
if(p <= 2){
|
||||
POS.add(pos);
|
||||
}
|
||||
POS2.add(pos);
|
||||
}
|
||||
|
||||
packetHandler = new PacketHandler();
|
||||
|
||||
// Register event handler
|
||||
|
||||
Reference in new issue
Block a user