mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-01-10 17:30:29 +00:00
e4ef92ca2d
This is largely invisible (it's marked as a child of the main "computercraft" mod), but allows other mods (such as Plethora) to add hard/soft dependencies on CC:T in a user-friendly manner.
31 lines
904 B
Java
31 lines
904 B
Java
/*
|
|
* This file is part of ComputerCraft - http://www.computercraft.info
|
|
* Copyright Daniel Ratcliffe, 2011-2019. Do not distribute without permission.
|
|
* Send enquiries to dratcliffe@gmail.com
|
|
*/
|
|
|
|
package dan200.computercraft;
|
|
|
|
import net.minecraftforge.fml.common.Mod;
|
|
import net.minecraftforge.fml.common.network.NetworkCheckHandler;
|
|
import net.minecraftforge.fml.relauncher.Side;
|
|
|
|
import java.util.Map;
|
|
|
|
/**
|
|
* A stub mod for CC: Tweaked. This doesn't have any functionality (everything of note is done in
|
|
* {@link ComputerCraft}), but people may depend on this if they require CC: Tweaked functionality.
|
|
*/
|
|
@Mod(
|
|
modid = "cctweaked", name = ComputerCraft.NAME, version = ComputerCraft.VERSION,
|
|
acceptableRemoteVersions = "*"
|
|
)
|
|
public class CCTweaked
|
|
{
|
|
@NetworkCheckHandler
|
|
public boolean onNetworkConnect( Map<String, String> mods, Side side )
|
|
{
|
|
return true;
|
|
}
|
|
}
|