Way being picky.

This commit is contained in:
Fenn 2014-01-17 21:43:13 +00:00
parent e3644f2d2b
commit 7e30b02d69
303 changed files with 622 additions and 311 deletions

View file

@ -7,8 +7,10 @@ import net.minecraft.util.MovingObjectPosition;
import net.minecraft.world.World;
import thaumcraft.api.aspects.AspectList;
public interface IWandFocus {
public enum WandFocusAnimation {
public interface IWandFocus
{
public enum WandFocusAnimation
{
WAVE, CHARGE;
}

View file

@ -9,6 +9,7 @@ import net.minecraft.item.ItemStack;
* Implemented by a class that you wish to be called whenever a wand with this rod performs its
* update tick.
*/
public interface IWandRodOnUpdate {
public interface IWandRodOnUpdate
{
void onUpdate(ItemStack itemstack, EntityPlayer player);
}

View file

@ -4,7 +4,8 @@ import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.world.World;
public interface IWandTriggerManager {
public interface IWandTriggerManager
{
public boolean performTrigger(World world, ItemStack wand, EntityPlayer player,
int x, int y, int z, int side, int event);
}

View file

@ -10,7 +10,8 @@ import net.minecraft.world.World;
* Add this to a tile entity that you wish wands to interact with in some way.
*/
public interface IWandable {
public interface IWandable
{
public int onWandRightClick(World world, ItemStack wandstack, EntityPlayer player, int x, int y, int z, int side, int md);
public ItemStack onWandRightClick(World world, ItemStack wandstack, EntityPlayer player);

View file

@ -19,7 +19,8 @@ import java.text.DecimalFormat;
import java.util.List;
import java.util.Map;
public class ItemFocusBasic extends Item implements IWandFocus {
public class ItemFocusBasic extends Item implements IWandFocus
{
public ItemFocusBasic(int i)
{
super(i);

View file

@ -13,7 +13,8 @@ import java.util.List;
*
* @author Azanor
*/
public class WandCap {
public class WandCap
{
private String tag;
/**

View file

@ -11,7 +11,8 @@ import java.util.LinkedHashMap;
* This class is used to keep the material information for the various rods.
* It is also used to generate the wand recipes ingame.
*/
public class WandRod {
public class WandRod
{
private String tag;
/**

View file

@ -17,7 +17,8 @@ import java.util.List;
*
* @author azanor
*/
public class WandTriggerRegistry {
public class WandTriggerRegistry
{
/**
* Registers an action to perform when a casting wand right clicks on a specific block.
* A manager class needs to be created that implements IWandTriggerManager.