Add witty/stupid comments to a few classes
This commit is contained in:
@@ -45,6 +45,8 @@ import net.minecraft.util.EntityDamageSource;
|
||||
// type 'attributes'. This is my attempt to collect all of these into a reasonably coherent system.
|
||||
|
||||
/**
|
||||
* <i>"Ouch, that hurt!"</i>
|
||||
* <p>
|
||||
* As of wizardry 1.1, this class has replaced the damagesource-related methods in WizardryUtilities, allowing a
|
||||
* {@link DamageType} to be specified with the damage. The main reason for this is so that damage sources can fit with
|
||||
* the vanilla behaviour on armour enchantments and such like whilst still being classified as wizardry damage for the
|
||||
|
||||
@@ -12,6 +12,8 @@ import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraftforge.fml.common.network.ByteBufUtils;
|
||||
|
||||
/**
|
||||
* <i>"{@code SpellModifiers} - modify all the things!"</i>
|
||||
* <p>
|
||||
* Object that wraps any number of spell modifiers into one, allowing for expandability within the Spell#cast methods.
|
||||
* This class is essentially a glorified {@link Map} which can be written to and read from a {@link ByteBuf}. It is
|
||||
* possible to calculate spell modifiers from wand NBT within the cast methods, but this is cumbersome and does not
|
||||
|
||||
@@ -12,6 +12,8 @@ import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
|
||||
/**
|
||||
* <i>"Never fear, {@code WandHelper} is here!"</i>
|
||||
* <p>
|
||||
* Much like {@link net.minecraft.enchantment.EnchantmentHelper EnchantmentHelper}, this class has some static methods
|
||||
* which allow cleaner and more concise interaction with the wand NBT data, which is quite a complex structure. Such
|
||||
* interaction previously resulted in rather verbose and repetitive code which was hard to read and even harder to
|
||||
|
||||
@@ -59,6 +59,9 @@ import net.minecraftforge.fml.relauncher.Side;
|
||||
import net.minecraftforge.fml.relauncher.SideOnly;
|
||||
|
||||
/**
|
||||
* <i>"Where do you put random but useful bits and pieces? {@code WizardryUtilities} of course - the 'stuff that doesn't
|
||||
* fit anywhere else' class!"</i>
|
||||
* <p>
|
||||
* This class contains some useful static methods for use anywhere - items, entities, spells, events, blocks, etc.
|
||||
* Broadly speaking, these fall into the following categories:
|
||||
* <p>
|
||||
|
||||
Reference in New Issue
Block a user