TODOs and cleanup

This commit is contained in:
Electroblob77
2020-07-13 16:54:13 +01:00
parent fa0875e63b
commit a12fc6e344
5 changed files with 6 additions and 4 deletions
@@ -14,7 +14,7 @@ import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
/**
* Contains some useful static methods for interacting with the ally designation system. Also handles the friendly fire
* setting. This was split off from {@link JavaUtils} as of wizardry 4.2 in an effort to make the code easier to
* setting. This was split off from {@code WizardryUtilities} as of wizardry 4.2 in an effort to make the code easier to
* navigate.
*/
@Mod.EventBusSubscriber
@@ -10,7 +10,7 @@ import java.util.function.Function;
/**
* Contains a number of useful static methods for interacting with NBT data, particularly involving collections.
* This was split off from {@link JavaUtils} as of wizardry 4.2 in an effort to make the code easier to navigate.
* This was split off from {@code WizardryUtilities} as of wizardry 4.2 in an effort to make the code easier to navigate.
*
* @author Electroblob
* @since Wizardry 4.2
@@ -14,7 +14,7 @@ import java.util.function.Predicate;
/**
* Contains a number of static methods that perform raytracing and related functions. This was split off from
* {@link JavaUtils} as of wizardry 4.2 in an effort to make the code easier to navigate.
* {@code WizardryUtilities} as of wizardry 4.2 in an effort to make the code easier to navigate.
*
* @author Electroblob
* @since Wizardry 4.2
@@ -52,7 +52,7 @@ public final class WandHelper {
private static final HashMap<Item, String> upgradeMap = new HashMap<>();
static {
static { // TODO: Move these to a proper initialisation method, at the moment we're relying on class load order!
upgradeMap.put(WizardryItems.condenser_upgrade, "condenser");
upgradeMap.put(WizardryItems.storage_upgrade, "storage");
upgradeMap.put(WizardryItems.siphon_upgrade, "siphon");
@@ -15,6 +15,8 @@ import java.util.Random;
public class WorldGenCrystalOre implements IWorldGenerator {
// TODO: Probably this and the flowers are causing cascading lag!
@Override
public void generate(Random random, int chunkX, int chunkZ, World world, IChunkGenerator chunkGenerator, IChunkProvider chunkProvider){