Changed formatting to have bracing on a new line
This commit is contained in:
parent
e5eddd6c45
commit
e48eedb874
189 changed files with 6092 additions and 4041 deletions
|
@ -9,23 +9,28 @@ import net.minecraftforge.fml.common.network.simpleimpl.IMessage;
|
|||
import net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper;
|
||||
import net.minecraftforge.fml.relauncher.Side;
|
||||
|
||||
public class BloodMagicPacketHandler {
|
||||
public class BloodMagicPacketHandler
|
||||
{
|
||||
|
||||
public static final SimpleNetworkWrapper INSTANCE = new SimpleNetworkWrapper(Constants.Mod.MODID);
|
||||
|
||||
public static void init() {
|
||||
public static void init()
|
||||
{
|
||||
INSTANCE.registerMessage(ChatUtil.PacketNoSpamChat.Handler.class, ChatUtil.PacketNoSpamChat.class, 0, Side.CLIENT);
|
||||
}
|
||||
|
||||
public static void sendToAllAround(IMessage message, TileEntity te, int range) {
|
||||
public static void sendToAllAround(IMessage message, TileEntity te, int range)
|
||||
{
|
||||
INSTANCE.sendToAllAround(message, new NetworkRegistry.TargetPoint(te.getWorld().provider.getDimensionId(), te.getPos().getX(), te.getPos().getY(), te.getPos().getZ(), range));
|
||||
}
|
||||
|
||||
public static void sendToAllAround(IMessage message, TileEntity te) {
|
||||
public static void sendToAllAround(IMessage message, TileEntity te)
|
||||
{
|
||||
sendToAllAround(message, te, 64);
|
||||
}
|
||||
|
||||
public static void sendTo(IMessage message, EntityPlayerMP player) {
|
||||
public static void sendTo(IMessage message, EntityPlayerMP player)
|
||||
{
|
||||
INSTANCE.sendTo(message, player);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue