Fabric port in progress

This commit is contained in:
Sebastian Hartte
2020-06-28 00:45:33 +02:00
parent b79cd732b2
commit 37ce6b262e
102 changed files with 650 additions and 591 deletions
@@ -39,7 +39,7 @@ public interface IUpgradeableHost extends IConfigurableObject, ISegmentedInvento
/**
* the tile...
*
* @return tile entity
* @return block entity
*/
BlockEntity getTile();
}
@@ -49,7 +49,7 @@ public interface IMemoryCard {
* row, left to right. The second 4 the bottom row.
*
* @param is item
* @param settingsName unlocalized string that represents the tile entity.
* @param settingsName unlocalized string that represents the block entity.
* @param data the NBT tag, refer to the normal comment for special
* keys.
*/
@@ -33,7 +33,7 @@ import net.minecraft.util.math.Direction;
*
* Tiles that access other tiles that implement this method can act as Cranks.
*
* This interface must be implemented by a tile entity.
* This interface must be implemented by a block entity.
*/
public interface ICrankable {
@@ -33,8 +33,8 @@ public interface IMovableHandler {
* if you return true from this, your saying you can handle the class, not that
* single entity, you cannot opt out of single entities.
*
* @param myClass tile entity class
* @param tile tile entity
* @param myClass block entity class
* @param tile block entity
*
* @return true if it can handle moving
*/
@@ -67,7 +67,7 @@ public interface IMovableRegistry {
void blacklistBlock(Block blk);
/**
* White list your tile entity with the registry.
* White list your block entity with the registry.
*
* If you tile is handled with IMovableHandler or IMovableTile you do not need
* to white list it.
@@ -75,7 +75,7 @@ public interface IMovableRegistry {
void whiteListTileEntity(Class<? extends BlockEntity> c);
/**
* @param te to be moved tile entity
* @param te to be moved block entity
*
* @return true if the tile has accepted your request to move it
*/
@@ -84,7 +84,7 @@ public interface IMovableRegistry {
/**
* tells the tile you are done moving it.
*
* @param te moved tile entity
* @param te moved block entity
*/
void doneMoving(BlockEntity te);
@@ -101,9 +101,9 @@ public interface IMovableRegistry {
*
* only valid after askToMove(...) = true
*
* @param te tile entity
* @param te block entity
*
* @return moving handler of tile entity
* @return moving handler of block entity
*/
IMovableHandler getHandler(BlockEntity te);
@@ -34,7 +34,7 @@ import appeng.api.util.AEPartLocation;
/**
* Implement to create a networked {@link BlockEntity} or {@link IPart} must be
* implemented for a part, or tile entity to become part of a grid.
* implemented for a part, or block entity to become part of a grid.
*/
public interface IGridHost {
@@ -55,7 +55,7 @@ public interface IGridNode {
* inform the node that your IGridBlock has changed its internal state, and
* force the node to update.
*
* ALWAYS make sure that your tile entity is in the world, and has its node
* ALWAYS make sure that your block entity is in the world, and has its node
* properly saved to be returned from the host before updating state,
*
* If your entity is not in the world, or if you IGridHost returns a different
@@ -204,7 +204,7 @@ public interface IPart extends ICustomCableConnection {
* called by the Part host to keep your part informed.
*
* @param host part side
* @param tile tile entity of part
* @param tile block entity of part
*/
void setPartHostInfo(AEPartLocation side, IPartHost host, BlockEntity tile);
@@ -115,7 +115,7 @@ public interface IPartHost extends ICustomCableConnection {
DimensionalCoord getLocation();
/**
* @return the tile entity for the host, this can either be an FMP tile, or a AE
* @return the block entity for the host, this can either be an FMP tile, or a AE
* tile
*/
BlockEntity getTile();
@@ -35,9 +35,9 @@ public interface ICommonTile {
* implemented on AE's Tile Entities, Gets a list of drops that the entity will
* normally drop, this doesn't include the block itself.
*
* @param world world of tile entity
* @param world world of block entity
* @param pos location of the block
* @param drops drops of tile entity
* @param drops drops of block entity
*/
void getDrops(World world, BlockPos pos, List<ItemStack> drops);
}