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
|
@ -18,9 +18,9 @@ public class BindableHelper
|
|||
* type of Fake Player.
|
||||
*
|
||||
* @param stack
|
||||
* - The ItemStack to bind
|
||||
* - The ItemStack to bind
|
||||
* @param player
|
||||
* - The Player to bind the ItemStack to
|
||||
* - The Player to bind the ItemStack to
|
||||
*
|
||||
* @return - Whether binding was successful
|
||||
*/
|
||||
|
@ -38,9 +38,9 @@ public class BindableHelper
|
|||
* Fires {@link ItemBindEvent}.
|
||||
*
|
||||
* @param stack
|
||||
* - The ItemStack to bind
|
||||
* - The ItemStack to bind
|
||||
* @param uuid
|
||||
* - The username to bind the ItemStack to
|
||||
* - The username to bind the ItemStack to
|
||||
*
|
||||
* @return - Whether the binding was successful
|
||||
*/
|
||||
|
@ -64,11 +64,11 @@ public class BindableHelper
|
|||
|
||||
/**
|
||||
* @see BindableHelper#checkAndSetItemOwner(ItemStack, String)
|
||||
*
|
||||
*
|
||||
* @param stack
|
||||
* - ItemStack to check
|
||||
* - ItemStack to check
|
||||
* @param uuid
|
||||
* - UUID of the Player
|
||||
* - UUID of the Player
|
||||
*/
|
||||
public static boolean checkAndSetItemOwner(ItemStack stack, UUID uuid)
|
||||
{
|
||||
|
@ -80,9 +80,9 @@ public class BindableHelper
|
|||
* bypasses {@link ItemBindEvent}.
|
||||
*
|
||||
* @param stack
|
||||
* - The ItemStack to bind
|
||||
* - The ItemStack to bind
|
||||
* @param ownerName
|
||||
* - The username to bind the ItemStack to
|
||||
* - The username to bind the ItemStack to
|
||||
*/
|
||||
public static void setItemOwner(ItemStack stack, String ownerName)
|
||||
{
|
||||
|
@ -95,7 +95,7 @@ public class BindableHelper
|
|||
* Used to safely obtain the username of the ItemStack's owner
|
||||
*
|
||||
* @param stack
|
||||
* - The ItemStack to check the owner of
|
||||
* - The ItemStack to check the owner of
|
||||
*
|
||||
* @return - The username of the ItemStack's owner
|
||||
*/
|
||||
|
@ -110,7 +110,7 @@ public class BindableHelper
|
|||
* Used to safely obtain the UUID of the ItemStack's owner
|
||||
*
|
||||
* @param stack
|
||||
* - The ItemStack to check the owner of
|
||||
* - The ItemStack to check the owner of
|
||||
*
|
||||
* @return - The UUID of the ItemStack's owner
|
||||
*/
|
||||
|
|
|
@ -46,9 +46,9 @@ public class NetworkHelper
|
|||
|
||||
/**
|
||||
* @see NetworkHelper#getSoulNetwork(String)
|
||||
*
|
||||
*
|
||||
* @param uuid
|
||||
* - The Player's Mojang UUID
|
||||
* - The Player's Mojang UUID
|
||||
*/
|
||||
public static SoulNetwork getSoulNetwork(UUID uuid)
|
||||
{
|
||||
|
@ -57,9 +57,9 @@ public class NetworkHelper
|
|||
|
||||
/**
|
||||
* @see NetworkHelper#getSoulNetwork(String)
|
||||
*
|
||||
*
|
||||
* @param player
|
||||
* - The Player
|
||||
* - The Player
|
||||
*/
|
||||
public static SoulNetwork getSoulNetwork(EntityPlayer player)
|
||||
{
|
||||
|
@ -135,12 +135,12 @@ public class NetworkHelper
|
|||
|
||||
/**
|
||||
* Checks if the ItemStack has a user to be syphoned from.
|
||||
*
|
||||
*
|
||||
* @param stack
|
||||
* - ItemStack to check
|
||||
* - ItemStack to check
|
||||
* @param toSyphon
|
||||
* - Amount of LP to syphon
|
||||
*
|
||||
* - Amount of LP to syphon
|
||||
*
|
||||
* @return - If syphoning is possible
|
||||
*/
|
||||
public static boolean canSyphonFromContainer(ItemStack stack, int toSyphon)
|
||||
|
|
|
@ -45,12 +45,12 @@ public class RitualHelper
|
|||
/**
|
||||
* Checks the RitualRegistry to see if the configuration of the ritual
|
||||
* stones in the world is valid for the given EnumFacing.
|
||||
*
|
||||
*
|
||||
* @param world
|
||||
* - The world
|
||||
* - The world
|
||||
* @param pos
|
||||
* - Location of the MasterRitualStone
|
||||
*
|
||||
* - Location of the MasterRitualStone
|
||||
*
|
||||
* @return The ID of the valid ritual
|
||||
*/
|
||||
public static String getValidRitual(World world, BlockPos pos)
|
||||
|
@ -136,11 +136,11 @@ public class RitualHelper
|
|||
* Should be safe to modify at any point.
|
||||
*
|
||||
* @param config
|
||||
* - Your mod's Forge {@link Configuration} object.
|
||||
* - Your mod's Forge {@link Configuration} object.
|
||||
* @param packageName
|
||||
* - The package your Rituals are located in.
|
||||
* - The package your Rituals are located in.
|
||||
* @param category
|
||||
* - The config category to write to.
|
||||
* - The config category to write to.
|
||||
*/
|
||||
@SuppressWarnings("unchecked")
|
||||
private static void checkRituals(Configuration config, String packageName, String category, Class ritualClass, Map enabledMap)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue