Run formatter
This commit is contained in:
parent
61c44a831b
commit
08258fd6ef
606 changed files with 13464 additions and 22975 deletions
|
@ -5,29 +5,25 @@ import net.minecraft.item.ItemStack;
|
|||
import net.minecraftforge.fml.common.eventhandler.Cancelable;
|
||||
import net.minecraftforge.fml.common.eventhandler.Event;
|
||||
|
||||
public class BoundToolEvent extends Event
|
||||
{
|
||||
public class BoundToolEvent extends Event {
|
||||
public EntityPlayer player;
|
||||
|
||||
public BoundToolEvent(EntityPlayer player)
|
||||
{
|
||||
public BoundToolEvent(EntityPlayer player) {
|
||||
this.player = player;
|
||||
}
|
||||
|
||||
/**
|
||||
* This event is called when a
|
||||
* {@link WayofTime.bloodmagic.item.ItemBoundTool} is being charged.
|
||||
*
|
||||
* <p>
|
||||
* If canceled, will result in the charging being canceled.
|
||||
*/
|
||||
|
||||
@Cancelable
|
||||
public static class Charge extends BoundToolEvent
|
||||
{
|
||||
public static class Charge extends BoundToolEvent {
|
||||
public ItemStack result;
|
||||
|
||||
public Charge(EntityPlayer player, ItemStack result)
|
||||
{
|
||||
public Charge(EntityPlayer player, ItemStack result) {
|
||||
super(player);
|
||||
this.result = result;
|
||||
}
|
||||
|
@ -36,18 +32,16 @@ public class BoundToolEvent extends Event
|
|||
/**
|
||||
* This event is called when a
|
||||
* {@link WayofTime.bloodmagic.item.ItemBoundTool}'s charge is released.
|
||||
*
|
||||
* <p>
|
||||
* If canceled, will result in the charge not being released.
|
||||
*/
|
||||
|
||||
@Cancelable
|
||||
public static class Release extends BoundToolEvent
|
||||
{
|
||||
public static class Release extends BoundToolEvent {
|
||||
public final ItemStack boundTool;
|
||||
public int charge;
|
||||
|
||||
public Release(EntityPlayer player, ItemStack boundTool, int charge)
|
||||
{
|
||||
public Release(EntityPlayer player, ItemStack boundTool, int charge) {
|
||||
super(player);
|
||||
this.boundTool = boundTool;
|
||||
this.charge = charge;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue