Way being picky.
This commit is contained in:
parent
e3644f2d2b
commit
7e30b02d69
303 changed files with 622 additions and 311 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -13,7 +13,8 @@ import java.util.List;
|
|||
*
|
||||
* @author Azanor
|
||||
*/
|
||||
public class WandCap {
|
||||
public class WandCap
|
||||
{
|
||||
private String tag;
|
||||
|
||||
/**
|
||||
|
|
|
@ -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;
|
||||
|
||||
/**
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue