Formatted the code - Release state for Blood Magic 1.8.9-2.0.0-1
This commit is contained in:
parent
d1ff8c6d4f
commit
71421b7d88
38 changed files with 223 additions and 208 deletions
|
@ -14,11 +14,11 @@ public class AddToNetworkEvent extends Event
|
|||
* LP will still be drained but the soul network will not be added to.
|
||||
*
|
||||
* @param ownerNetwork
|
||||
* Key used for the soul network
|
||||
* Key used for the soul network
|
||||
* @param addedAmount
|
||||
* Amount added
|
||||
* Amount added
|
||||
* @param maximum
|
||||
* Ceiling that the network can add to
|
||||
* Ceiling that the network can add to
|
||||
*/
|
||||
public AddToNetworkEvent(String ownerNetwork, int addedAmount, int maximum)
|
||||
{
|
||||
|
|
|
@ -61,13 +61,13 @@ public class SoulNetworkEvent extends Event
|
|||
* event prevents action without penalties
|
||||
*
|
||||
* @param player
|
||||
* Player using the item
|
||||
* Player using the item
|
||||
* @param ownerNetwork
|
||||
* Network that the item is tied to
|
||||
* Network that the item is tied to
|
||||
* @param itemStack
|
||||
* Item used
|
||||
* Item used
|
||||
* @param drainAmount
|
||||
* Original drain amount - change to alter cost
|
||||
* Original drain amount - change to alter cost
|
||||
*/
|
||||
public ItemDrainNetworkEvent(EntityPlayer player, String ownerNetwork, ItemStack itemStack, int drainAmount)
|
||||
{
|
||||
|
|
|
@ -7,8 +7,11 @@ import net.minecraft.world.World;
|
|||
import net.minecraftforge.fml.common.eventhandler.Cancelable;
|
||||
import net.minecraftforge.fml.common.eventhandler.Event;
|
||||
|
||||
/** Fired when a teleposer attempts to transpose two blocks. Use this to perform special cleanup or compensation,
|
||||
or cancel it entirely to prevent the transposition. */
|
||||
/**
|
||||
* Fired when a teleposer attempts to transpose two blocks. Use this to perform
|
||||
* special cleanup or compensation, or cancel it entirely to prevent the
|
||||
* transposition.
|
||||
*/
|
||||
@Cancelable
|
||||
public class TeleposeEvent extends Event
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue