mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-21 20:52:42 +00:00
25 lines
604 B
Java
25 lines
604 B
Java
package crazypants.enderio.rail;
|
|
|
|
import java.util.List;
|
|
|
|
import net.minecraft.entity.Entity;
|
|
import net.minecraft.entity.item.EntityMinecart;
|
|
import net.minecraft.world.World;
|
|
import net.minecraftforge.common.util.ForgeDirection;
|
|
|
|
public interface ICartLinkUtil {
|
|
|
|
int getNumberOfCartsInTrain(EntityMinecart cart);
|
|
|
|
List<EntityMinecart> getCartsInTrain(EntityMinecart cart);
|
|
|
|
void updateCartLinks(World world, EntityMinecart cart);
|
|
|
|
void recreateLinks(EntityMinecart cart);
|
|
|
|
void breakLinks(World worldObj, Entity entity);
|
|
|
|
void setCartDirection(EntityMinecart cart, ForgeDirection dir);
|
|
|
|
}
|