Added TODO for API classes needing investigation

This commit is contained in:
yueh 2016-09-17 15:22:16 +02:00
parent 860636d067
commit 7ae4cc86c7
12 changed files with 35 additions and 8 deletions

View File

@ -32,7 +32,12 @@ import net.minecraft.block.state.IBlockState;
import net.minecraft.client.renderer.block.model.IBakedModel;
import net.minecraft.util.EnumFacing;
/**
* TODO: Needs to be moved to an internal class. API is only allowed to contain interfaces and/or data.
*
* @deprecated
*/
@Deprecated
public class BakingPipeline<F, T> implements BakingPipelineElement<F, T>
{
@ -43,6 +48,9 @@ public class BakingPipeline<F, T> implements BakingPipelineElement<F, T>
this.pipeline = ImmutableList.copyOf( pipeline );
}
/**
* TODO: fix generics
*/
public List pipe( List things, IBakedModel parent, IBlockState state, EnumFacing side, long rand )
{
for( BakingPipelineElement pipe : pipeline )

View File

@ -55,7 +55,7 @@ public interface IMovableHandler
* &#064;code
* Chunk c = world.getChunkFromBlockCoords( x, z );
* c.setChunkBlockTileEntity( x &amp; 0xF, y + y, z &amp; 0xF, tile );
*
*
* if( c.isChunkLoaded )
* {
* world.addTileEntity( tile );

View File

@ -23,7 +23,9 @@
package appeng.api.networking.security;
/**
* TODO: Consider refactoring.
*/
public class BaseActionSource
{

View File

@ -23,7 +23,9 @@
package appeng.api.networking.security;
/**
* TODO: Consider refactoring.
*/
public class MachineSource extends BaseActionSource
{

View File

@ -26,7 +26,9 @@ package appeng.api.networking.security;
import net.minecraft.entity.player.EntityPlayer;
/**
* TODO: Consider refactoring.
*/
public class PlayerSource extends BaseActionSource
{

View File

@ -35,6 +35,8 @@ import appeng.api.util.AEPartLocation;
/**
* All Layers must extends this, this get part implementation is provided to interface with the parts, however a real
* implementation will be used at runtime.
*
* TODO: Consider removing and replacing with capabilities.
*/
public abstract class LayerBase extends TileEntity // implements IPartHost
{

View File

@ -23,7 +23,9 @@
package appeng.api.parts;
/**
* TODO: Consider removing and replacing with capabilities.
*/
public enum LayerFlags
{

View File

@ -28,7 +28,8 @@ import appeng.api.util.AEPartLocation;
/**
* Reports a selected part from th IPartHost
* Reports a selected part from the IPartHost
*
*/
public class SelectedPart
{

View File

@ -42,7 +42,11 @@ import appeng.api.storage.data.IItemList;
* listeners.
*
* @param <StackType>
* @deprecated
*
* TODO: Needs to be redesigned to solve performance issues. Also should not be part of the API as class.
*/
@Deprecated
public class MEMonitorHandler<StackType extends IAEStack> implements IMEMonitor<StackType>
{

View File

@ -24,6 +24,8 @@ import net.minecraft.util.math.AxisAlignedBB;
/**
* Mutable stand in for Axis Aligned BB, this was used to prevent GC Thrashing.. Related code could also be re-written.
*
* TODO: Replace with interface and maybe factory should it ever be needed for addons.
*/
public class AEAxisAlignedBB
{

View File

@ -94,7 +94,7 @@ public enum AEPartLocation
/**
* 100% chance of success.
*
*
* @param side
* @return proper Part Location for a facing enum.
*/

View File

@ -31,6 +31,8 @@ import net.minecraft.util.math.BlockPos;
/**
* Represents a relative coordinate, either relative to another object, or
* relative to the origin of a dimension.
*
* TODO: Consider replacing with {@link BlockPos}
*/
public class WorldCoord
{