From dc3df3edd5843bde0c1335d6a8e460b2c832aa48 Mon Sep 17 00:00:00 2001 From: Foghrye4 Date: Sat, 17 Jun 2017 08:12:18 +0300 Subject: full project files --- .../AsynchronousExecutor.CallBackProvider.html | 280 +++++++++ .../common/util/AsynchronousExecutor.html | 474 ++++++++++++++ .../minecraftforge/common/util/BlockSnapshot.html | 697 +++++++++++++++++++++ .../common/util/ChunkCoordComparator.html | 272 ++++++++ .../minecraftforge/common/util/Constants.NBT.html | 439 +++++++++++++ .../net/minecraftforge/common/util/Constants.html | 252 ++++++++ .../net/minecraftforge/common/util/EnumHelper.html | 544 ++++++++++++++++ .../net/minecraftforge/common/util/FakePlayer.html | 558 +++++++++++++++++ .../common/util/FakePlayerFactory.html | 289 +++++++++ .../minecraftforge/common/util/ForgeDirection.html | 551 ++++++++++++++++ .../minecraftforge/common/util/RotationHelper.html | 279 +++++++++ .../minecraftforge/common/util/package-frame.html | 35 ++ .../common/util/package-summary.html | 207 ++++++ .../minecraftforge/common/util/package-tree.html | 170 +++++ 14 files changed, 5047 insertions(+) create mode 100644 javadoc/net/minecraftforge/common/util/AsynchronousExecutor.CallBackProvider.html create mode 100644 javadoc/net/minecraftforge/common/util/AsynchronousExecutor.html create mode 100644 javadoc/net/minecraftforge/common/util/BlockSnapshot.html create mode 100644 javadoc/net/minecraftforge/common/util/ChunkCoordComparator.html create mode 100644 javadoc/net/minecraftforge/common/util/Constants.NBT.html create mode 100644 javadoc/net/minecraftforge/common/util/Constants.html create mode 100644 javadoc/net/minecraftforge/common/util/EnumHelper.html create mode 100644 javadoc/net/minecraftforge/common/util/FakePlayer.html create mode 100644 javadoc/net/minecraftforge/common/util/FakePlayerFactory.html create mode 100644 javadoc/net/minecraftforge/common/util/ForgeDirection.html create mode 100644 javadoc/net/minecraftforge/common/util/RotationHelper.html create mode 100644 javadoc/net/minecraftforge/common/util/package-frame.html create mode 100644 javadoc/net/minecraftforge/common/util/package-summary.html create mode 100644 javadoc/net/minecraftforge/common/util/package-tree.html (limited to 'javadoc/net/minecraftforge/common/util') diff --git a/javadoc/net/minecraftforge/common/util/AsynchronousExecutor.CallBackProvider.html b/javadoc/net/minecraftforge/common/util/AsynchronousExecutor.CallBackProvider.html new file mode 100644 index 0000000..d3e4c49 --- /dev/null +++ b/javadoc/net/minecraftforge/common/util/AsynchronousExecutor.CallBackProvider.html @@ -0,0 +1,280 @@ + + + + + +AsynchronousExecutor.CallBackProvider (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.common.util
+

Interface AsynchronousExecutor.CallBackProvider<P,T,C,E extends java.lang.Throwable>

+
+
+
+
    +
  • +
    +
    All Superinterfaces:
    +
    java.util.concurrent.ThreadFactory
    +
    +
    +
    Enclosing class:
    +
    AsynchronousExecutor<P,T,C,E extends java.lang.Throwable>
    +
    +
    +
    +
    public static interface AsynchronousExecutor.CallBackProvider<P,T,C,E extends java.lang.Throwable>
    +extends java.util.concurrent.ThreadFactory
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      TcallStage1(P parameter) +
      Normally an asynchronous call, but can be synchronous
      +
      voidcallStage2(P parameter, + T object) +
      Synchronous call
      +
      voidcallStage3(P parameter, + T object, + C callback) +
      Synchronous call, called multiple times, once per registered callback
      +
      +
        +
      • + + +

        Methods inherited from interface java.util.concurrent.ThreadFactory

        +newThread
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + + + +
        +
      • +

        callStage1

        +
        T callStage1(P parameter)
        +             throws E extends java.lang.Throwable
        +
        Normally an asynchronous call, but can be synchronous
        +
        Parameters:
        parameter - parameter object provided
        +
        Returns:
        the created object
        +
        Throws:
        +
        E extends java.lang.Throwable
        +
      • +
      + + + + + +
        +
      • +

        callStage2

        +
        void callStage2(P parameter,
        +              T object)
        +                throws E extends java.lang.Throwable
        +
        Synchronous call
        +
        Parameters:
        parameter - parameter object provided
        object - the previously created object
        +
        Throws:
        +
        E extends java.lang.Throwable
        +
      • +
      + + + + + +
        +
      • +

        callStage3

        +
        void callStage3(P parameter,
        +              T object,
        +              C callback)
        +                throws E extends java.lang.Throwable
        +
        Synchronous call, called multiple times, once per registered callback
        +
        Parameters:
        parameter - parameter object provided
        object - the previously created object
        callback - the current callback to execute
        +
        Throws:
        +
        E extends java.lang.Throwable
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/common/util/AsynchronousExecutor.html b/javadoc/net/minecraftforge/common/util/AsynchronousExecutor.html new file mode 100644 index 0000000..98f08a3 --- /dev/null +++ b/javadoc/net/minecraftforge/common/util/AsynchronousExecutor.html @@ -0,0 +1,474 @@ + + + + + +AsynchronousExecutor (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.common.util
+

Class AsynchronousExecutor<P,T,C,E extends java.lang.Throwable>

+
+
+ +
+
    +
  • +
    Type Parameters:
    P - The type of parameter you provide to make the object that will be created. It should implement Object.hashCode() and Object.equals(Object) if you want to get the value early.
    T - The type of object you provide. This is created in stage 1, and passed to stage 2, 3, and returned if get() is called.
    C - The type of callback you provide. You may register many of these to be passed to the provider in stage 3, one at a time.
    E - A type of exception you may throw and expect to be handled by the main thread
    +
    +
    +
    public final class AsynchronousExecutor<P,T,C,E extends java.lang.Throwable>
    +extends java.lang.Object
    +
    Executes tasks using a multi-stage process executor. Synchronous executions are via finishActive() or the get(Object) methods. +
  • Stage 1 creates the object from a parameter, and is usually called asynchronously. +
  • Stage 2 takes the parameter and object from stage 1 and does any synchronous processing to prepare it. +
  • Stage 3 takes the parameter and object from stage 1, as well as a callback that was registered, and performs any synchronous calculations.
+ + +
+
+ +
+
+ +
+ + + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/common/util/BlockSnapshot.html b/javadoc/net/minecraftforge/common/util/BlockSnapshot.html new file mode 100644 index 0000000..df83bce --- /dev/null +++ b/javadoc/net/minecraftforge/common/util/BlockSnapshot.html @@ -0,0 +1,697 @@ + + + + + +BlockSnapshot (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.common.util
+

Class BlockSnapshot

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.io.Serializable
    +
    +
    +
    +
    public class BlockSnapshot
    +extends java.lang.Object
    +implements java.io.Serializable
    +
    Represents a captured snapshot of a block which will not change + automatically. +

    + Unlike Block, which only one object can exist per coordinate, BlockSnapshot + can exist multiple times for any given Block.

    +
    See Also:
    Serialized Form
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        x

        +
        public final int x
        +
      • +
      + + + +
        +
      • +

        y

        +
        public final int y
        +
      • +
      + + + +
        +
      • +

        z

        +
        public final int z
        +
      • +
      + + + +
        +
      • +

        dimId

        +
        public final int dimId
        +
      • +
      + + + +
        +
      • +

        replacedBlock

        +
        public transient Block replacedBlock
        +
      • +
      + + + +
        +
      • +

        meta

        +
        public final int meta
        +
      • +
      + + + +
        +
      • +

        flag

        +
        public int flag
        +
      • +
      + + + +
        +
      • +

        world

        +
        public transient World world
        +
      • +
      + + + + +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        BlockSnapshot

        +
        public BlockSnapshot(World world,
        +             int x,
        +             int y,
        +             int z,
        +             Block block,
        +             int meta)
        +
      • +
      + + + +
        +
      • +

        BlockSnapshot

        +
        public BlockSnapshot(World world,
        +             int x,
        +             int y,
        +             int z,
        +             Block block,
        +             int meta,
        +             NBTTagCompound nbt)
        +
      • +
      + + + +
        +
      • +

        BlockSnapshot

        +
        public BlockSnapshot(World world,
        +             int x,
        +             int y,
        +             int z,
        +             Block block,
        +             int meta,
        +             int flag)
        +
      • +
      + + + +
        +
      • +

        BlockSnapshot

        +
        public BlockSnapshot(int dimension,
        +             int x,
        +             int y,
        +             int z,
        +             java.lang.String modid,
        +             java.lang.String blockName,
        +             int meta,
        +             int flag,
        +             NBTTagCompound nbt)
        +
        Raw constructor designed for serialization usages.
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getBlockSnapshot

        +
        public static BlockSnapshot getBlockSnapshot(World world,
        +                             int x,
        +                             int y,
        +                             int z)
        +
      • +
      + + + +
        +
      • +

        getBlockSnapshot

        +
        public static BlockSnapshot getBlockSnapshot(World world,
        +                             int x,
        +                             int y,
        +                             int z,
        +                             int flag)
        +
      • +
      + + + + + + + +
        +
      • +

        getCurrentBlock

        +
        public Block getCurrentBlock()
        +
      • +
      + + + +
        +
      • +

        getWorld

        +
        public World getWorld()
        +
      • +
      + + + +
        +
      • +

        getReplacedBlock

        +
        public Block getReplacedBlock()
        +
      • +
      + + + +
        +
      • +

        getTileEntity

        +
        public TileEntity getTileEntity()
        +
      • +
      + + + +
        +
      • +

        restore

        +
        public boolean restore()
        +
      • +
      + + + +
        +
      • +

        restore

        +
        public boolean restore(boolean force)
        +
      • +
      + + + +
        +
      • +

        restore

        +
        public boolean restore(boolean force,
        +              boolean applyPhysics)
        +
      • +
      + + + +
        +
      • +

        restoreToLocation

        +
        public boolean restoreToLocation(World world,
        +                        int x,
        +                        int y,
        +                        int z,
        +                        boolean force,
        +                        boolean applyPhysics)
        +
      • +
      + + + +
        +
      • +

        writeToNBT

        +
        public void writeToNBT(NBTTagCompound compound)
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(java.lang.Object obj)
        +
        +
        Overrides:
        +
        equals in class java.lang.Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/common/util/ChunkCoordComparator.html b/javadoc/net/minecraftforge/common/util/ChunkCoordComparator.html new file mode 100644 index 0000000..8ff601c --- /dev/null +++ b/javadoc/net/minecraftforge/common/util/ChunkCoordComparator.html @@ -0,0 +1,272 @@ + + + + + +ChunkCoordComparator (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.common.util
+

Class ChunkCoordComparator

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.util.Comparator<ChunkCoordIntPair>
    +
    +
    +
    +
    public class ChunkCoordComparator
    +extends java.lang.Object
    +implements java.util.Comparator<ChunkCoordIntPair>
    +
  • +
+
+
+
    +
  • + + + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      intcompare(ChunkCoordIntPair a, + ChunkCoordIntPair b) 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
        +
      • + + +

        Methods inherited from interface java.util.Comparator

        +equals
      • +
      +
    • +
    +
  • +
+
+
+ +
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/common/util/Constants.NBT.html b/javadoc/net/minecraftforge/common/util/Constants.NBT.html new file mode 100644 index 0000000..4cc53fa --- /dev/null +++ b/javadoc/net/minecraftforge/common/util/Constants.NBT.html @@ -0,0 +1,439 @@ + + + + + +Constants.NBT (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.common.util
+

Class Constants.NBT

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    Constants
    +
    +
    +
    +
    public static class Constants.NBT
    +extends java.lang.Object
    +
    NBT Tag type IDS, used when storing the nbt to disc, Should align with NBTBase.getId, + table used in NBTBase.func_150283_g + + Main use is checking tag type in NBTTagCompound.func_150297_b(String, int)
    +
  • +
+
+
+ +
+
+ +
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/common/util/Constants.html b/javadoc/net/minecraftforge/common/util/Constants.html new file mode 100644 index 0000000..e1a8cc9 --- /dev/null +++ b/javadoc/net/minecraftforge/common/util/Constants.html @@ -0,0 +1,252 @@ + + + + + +Constants (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.common.util
+

Class Constants

+
+
+ +
+
    +
  • +
    +
    +
    public class Constants
    +extends java.lang.Object
    +
    A class containing constants for magic numbers used in the minecraft codebase. + Everything here should be checked each update, and have a comment relating to where to check it.
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Nested Class Summary

      + + + + + + + + + + +
      Nested Classes 
      Modifier and TypeClass and Description
      static class Constants.NBT +
      NBT Tag type IDS, used when storing the nbt to disc, Should align with NBTBase.getId, + table used in NBTBase.func_150283_g + + Main use is checking tag type in NBTTagCompound.func_150297_b(String, int)
      +
      +
    • +
    + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      Constants() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Constants

        +
        public Constants()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/common/util/EnumHelper.html b/javadoc/net/minecraftforge/common/util/EnumHelper.html new file mode 100644 index 0000000..dff6c7b --- /dev/null +++ b/javadoc/net/minecraftforge/common/util/EnumHelper.html @@ -0,0 +1,544 @@ + + + + + +EnumHelper (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.common.util
+

Class EnumHelper

+
+
+ +
+
    +
  • +
    +
    Direct Known Subclasses:
    +
    EnumHelperClient
    +
    +
    +
    +
    public class EnumHelper
    +extends java.lang.Object
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        EnumHelper

        +
        public EnumHelper()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        addAction

        +
        public static EnumAction addAction(java.lang.String name)
        +
      • +
      + + + +
        +
      • +

        addArmorMaterial

        +
        public static ItemArmor.ArmorMaterial addArmorMaterial(java.lang.String name,
        +                                       int durability,
        +                                       int[] reductionAmounts,
        +                                       int enchantability)
        +
      • +
      + + + +
        +
      • +

        addArt

        +
        public static EntityPainting.EnumArt addArt(java.lang.String name,
        +                            java.lang.String tile,
        +                            int sizeX,
        +                            int sizeY,
        +                            int offsetX,
        +                            int offsetY)
        +
      • +
      + + + +
        +
      • +

        addCreatureAttribute

        +
        public static EnumCreatureAttribute addCreatureAttribute(java.lang.String name)
        +
      • +
      + + + +
        +
      • +

        addCreatureType

        +
        public static EnumCreatureType addCreatureType(java.lang.String name,
        +                               java.lang.Class typeClass,
        +                               int maxNumber,
        +                               Material material,
        +                               boolean peaceful,
        +                               boolean animal)
        +
      • +
      + + + + + + + +
        +
      • +

        addEnchantmentType

        +
        public static EnumEnchantmentType addEnchantmentType(java.lang.String name)
        +
      • +
      + + + + + + + + + + + + + + + +
        +
      • +

        addSkyBlock

        +
        public static EnumSkyBlock addSkyBlock(java.lang.String name,
        +                       int lightValue)
        +
      • +
      + + + + + + + +
        +
      • +

        addToolMaterial

        +
        public static Item.ToolMaterial addToolMaterial(java.lang.String name,
        +                                int harvestLevel,
        +                                int maxUses,
        +                                float efficiency,
        +                                float damage,
        +                                int enchantability)
        +
      • +
      + + + +
        +
      • +

        addRarity

        +
        public static EnumRarity addRarity(java.lang.String name,
        +                   EnumChatFormatting color,
        +                   java.lang.String displayName)
        +
      • +
      + + + +
        +
      • +

        setFailsafeFieldValue

        +
        public static void setFailsafeFieldValue(java.lang.reflect.Field field,
        +                         java.lang.Object target,
        +                         java.lang.Object value)
        +                                  throws java.lang.Exception
        +
        Throws:
        +
        java.lang.Exception
        +
      • +
      + + + +
        +
      • +

        addEnum

        +
        public static <T extends java.lang.Enum<?>> T addEnum(java.lang.Class<T> enumType,
        +                                      java.lang.String enumName,
        +                                      java.lang.Object... paramValues)
        +
      • +
      + + + +
        +
      • +

        addEnum

        +
        public static <T extends java.lang.Enum<?>> T addEnum(java.lang.Class[][] map,
        +                                      java.lang.Class<T> enumType,
        +                                      java.lang.String enumName,
        +                                      java.lang.Object... paramValues)
        +
      • +
      + + + +
        +
      • +

        addEnum

        +
        public static <T extends java.lang.Enum<?>> T addEnum(java.lang.Class<T> enumType,
        +                                      java.lang.String enumName,
        +                                      java.lang.Class<?>[] paramTypes,
        +                                      java.lang.Object[] paramValues)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/common/util/FakePlayer.html b/javadoc/net/minecraftforge/common/util/FakePlayer.html new file mode 100644 index 0000000..e9da208 --- /dev/null +++ b/javadoc/net/minecraftforge/common/util/FakePlayer.html @@ -0,0 +1,558 @@ + + + + + +FakePlayer (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.common.util
+

Class FakePlayer

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/common/util/FakePlayerFactory.html b/javadoc/net/minecraftforge/common/util/FakePlayerFactory.html new file mode 100644 index 0000000..aa30560 --- /dev/null +++ b/javadoc/net/minecraftforge/common/util/FakePlayerFactory.html @@ -0,0 +1,289 @@ + + + + + +FakePlayerFactory (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.common.util
+

Class FakePlayerFactory

+
+
+ +
+
    +
  • +
    +
    +
    public class FakePlayerFactory
    +extends java.lang.Object
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      FakePlayerFactory() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      static FakePlayerget(WorldServer world, + com.mojang.authlib.GameProfile username) +
      Get a fake player with a given username, + Mods should either hold weak references to the return value, or listen for a + WorldEvent.Unload and kill all references to prevent worlds staying in memory.
      +
      static FakePlayergetMinecraft(WorldServer world) 
      static voidunloadWorld(WorldServer world) 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        FakePlayerFactory

        +
        public FakePlayerFactory()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        get

        +
        public static FakePlayer get(WorldServer world,
        +             com.mojang.authlib.GameProfile username)
        +
        Get a fake player with a given username, + Mods should either hold weak references to the return value, or listen for a + WorldEvent.Unload and kill all references to prevent worlds staying in memory.
        +
      • +
      + + + +
        +
      • +

        unloadWorld

        +
        public static void unloadWorld(WorldServer world)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/common/util/ForgeDirection.html b/javadoc/net/minecraftforge/common/util/ForgeDirection.html new file mode 100644 index 0000000..80c84b4 --- /dev/null +++ b/javadoc/net/minecraftforge/common/util/ForgeDirection.html @@ -0,0 +1,551 @@ + + + + + +ForgeDirection (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.common.util
+

Enum ForgeDirection

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.io.Serializable, java.lang.Comparable<ForgeDirection>
    +
    +
    +
    +
    public enum ForgeDirection
    +extends java.lang.Enum<ForgeDirection>
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        offsetX

        +
        public final int offsetX
        +
      • +
      + + + +
        +
      • +

        offsetY

        +
        public final int offsetY
        +
      • +
      + + + +
        +
      • +

        offsetZ

        +
        public final int offsetZ
        +
      • +
      + + + +
        +
      • +

        flag

        +
        public final int flag
        +
      • +
      + + + +
        +
      • +

        VALID_DIRECTIONS

        +
        public static final ForgeDirection[] VALID_DIRECTIONS
        +
      • +
      + + + +
        +
      • +

        OPPOSITES

        +
        public static final int[] OPPOSITES
        +
      • +
      + + + +
        +
      • +

        ROTATION_MATRIX

        +
        public static final int[][] ROTATION_MATRIX
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static ForgeDirection[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (ForgeDirection c : ForgeDirection.values())
        +    System.out.println(c);
        +
        +
        Returns:
        an array containing the constants of this enum type, in the order they are declared
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static ForgeDirection valueOf(java.lang.String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        Parameters:
        name - the name of the enum constant to be returned.
        +
        Returns:
        the enum constant with the specified name
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        +
        java.lang.NullPointerException - if the argument is null
        +
      • +
      + + + +
        +
      • +

        getOrientation

        +
        public static ForgeDirection getOrientation(int id)
        +
      • +
      + + + + + + + + +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/common/util/RotationHelper.html b/javadoc/net/minecraftforge/common/util/RotationHelper.html new file mode 100644 index 0000000..2676874 --- /dev/null +++ b/javadoc/net/minecraftforge/common/util/RotationHelper.html @@ -0,0 +1,279 @@ + + + + + +RotationHelper (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.common.util
+

Class RotationHelper

+
+
+ +
+
    +
  • +
    +
    +
    public class RotationHelper
    +extends java.lang.Object
    +
    This class is a helper function for vanilla blocks, and should not be called by Modders. + Refer to block.rotateBlock and block.getValidRotations instead.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        RotationHelper

        +
        public RotationHelper()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getValidVanillaBlockRotations

        +
        public static ForgeDirection[] getValidVanillaBlockRotations(Block block)
        +
      • +
      + + + +
        +
      • +

        rotateVanillaBlock

        +
        public static boolean rotateVanillaBlock(Block block,
        +                         World worldObj,
        +                         int x,
        +                         int y,
        +                         int z,
        +                         ForgeDirection axis)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/common/util/package-frame.html b/javadoc/net/minecraftforge/common/util/package-frame.html new file mode 100644 index 0000000..02ed6d9 --- /dev/null +++ b/javadoc/net/minecraftforge/common/util/package-frame.html @@ -0,0 +1,35 @@ + + + + + +net.minecraftforge.common.util (Forge API) + + + + +

net.minecraftforge.common.util

+
+

Interfaces

+ +

Classes

+ +

Enums

+ +
+ + diff --git a/javadoc/net/minecraftforge/common/util/package-summary.html b/javadoc/net/minecraftforge/common/util/package-summary.html new file mode 100644 index 0000000..4f8ebac --- /dev/null +++ b/javadoc/net/minecraftforge/common/util/package-summary.html @@ -0,0 +1,207 @@ + + + + + +net.minecraftforge.common.util (Forge API) + + + + + + + +
+ + + + + +
+ + +
+

Package net.minecraftforge.common.util

+
+
+ +
+ +
+ + + + + +
+ + + + diff --git a/javadoc/net/minecraftforge/common/util/package-tree.html b/javadoc/net/minecraftforge/common/util/package-tree.html new file mode 100644 index 0000000..a714776 --- /dev/null +++ b/javadoc/net/minecraftforge/common/util/package-tree.html @@ -0,0 +1,170 @@ + + + + + +net.minecraftforge.common.util Class Hierarchy (Forge API) + + + + + + + +
+ + + + + +
+ + +
+

Hierarchy For Package net.minecraftforge.common.util

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +

Enum Hierarchy

+ +
+ +
+ + + + + +
+ + + + -- cgit v1.2.3