The Ultimate Collection of Multiplayer Modding
+2
Strengthowns
TheOnly1ne
6 posters
Page 1 of 1
The Ultimate Collection of Multiplayer Modding
Here's some of the thing you need:
Eclipse(USE ECLIPSE!)
ModLoader(Client)
ItemSpriteAPI(Client(Optional, but recommended))
ModLoaderMp(Client & Server)
Minecraft Coder Pack(Assuming you set it up with the above)
A Brain
Java Knowledge
How to set up the MCP with ModLoaderMp:
You need: Fresh bin folder; minecraft_server.jar <--- use the .jar
For client install:
Risugami's ModLoader
Flan's ModLoaderMp Client Version
DELETE META-INF!
For minecraft_server.jar:
ModLoaderMp Server Version
DO NOT DELETE THE META-INF!
Now put those in your MCP/jars folder and decompile
If you get an error in net.minecraft.server.MinecraftServer.java then open spoiler and follow directions, or if you dont just skip it.
Will do video tutorials on my channel so stay tuned. If you want to be notified when they come out subscribe to me at TMGxFarGATE
Ok so let's get started
Do the same for client and server(Start in client and copy over to server)
Block
mod_Sexy
BlockSexyBlocks
Eclipse(USE ECLIPSE!)
ModLoader(Client)
ItemSpriteAPI(Client(Optional, but recommended))
ModLoaderMp(Client & Server)
Minecraft Coder Pack(Assuming you set it up with the above)
A Brain
Java Knowledge
How to set up the MCP with ModLoaderMp:
You need: Fresh bin folder; minecraft_server.jar <--- use the .jar
For client install:
Risugami's ModLoader
Flan's ModLoaderMp Client Version
DELETE META-INF!
For minecraft_server.jar:
ModLoaderMp Server Version
DO NOT DELETE THE META-INF!
Now put those in your MCP/jars folder and decompile
If you get an error in net.minecraft.server.MinecraftServer.java then open spoiler and follow directions, or if you dont just skip it.
- Spoiler:
- Delete lines 344 - 375 and replace with a }
Will do video tutorials on my channel so stay tuned. If you want to be notified when they come out subscribe to me at TMGxFarGATE
Ok so let's get started
Do the same for client and server(Start in client and copy over to server)
Block
mod_Sexy
- Code:
package net.minecraft.src;
import java.util.Random;
public class mod_Sexy extends BaseModMp {
public static final Block sexy = new BlockSexyBlocks(200, ModLoader.addOverride("/terrain.png", "/folder/pic.png", Material.ground).setBlockName("name").setHardness(1F);
public mod_Sexy() {
ModLoader.RegisterBlock(sexy);
ModLoader.AddName(sexy, "Name"); // Client only
ModLoader.AddRecipe(new ItemStack(sexy, 1), new Object[] {
"X", Character.valueOf('X'), Block.dirt
});
}
public String Version() {
return "Sexy";
}
}
BlockSexyBlocks
- Code:
package net.minecraft.src;
import java.util.Random;
public class BlockSexyBlocks extends Block {
public BlockSexyBlocks(int i, int j, Material material) {
super(i, j, material);
}
public int idDropped(Random random) {
return blockID;
}
}
Last edited by TheOnly1ne on Tue Oct 25, 2011 3:14 am; edited 2 times in total
TheOnly1ne- Member
- Posts : 10
Join date : 2011-10-20
Location : I'm in your window.
Re: The Ultimate Collection of Multiplayer Modding
I don't care if anybody bumps this. I'm the only topic.
TheOnly1ne- Member
- Posts : 10
Join date : 2011-10-20
Location : I'm in your window.
Re: The Ultimate Collection of Multiplayer Modding
If you do a good SMP Modloader setup tutorial, I'll change it and put it in the official section. Giving credit of course.
Re: The Ultimate Collection of Multiplayer Modding
Ok done!Strengthowns wrote:If you do a good SMP Modloader setup tutorial, I'll change it and put it in the official section. Giving credit of course.
TheOnly1ne- Member
- Posts : 10
Join date : 2011-10-20
Location : I'm in your window.
Re: The Ultimate Collection of Multiplayer Modding
Are you sure you need to delete those lines, I heard on simo_415's thread that you replace it with some stuff?
Re: The Ultimate Collection of Multiplayer Modding
It was in flan's tutorials. He is the updater for the mod because SDK is "dead".Strengthowns wrote:Are you sure you need to delete those lines, I heard on simo_415's thread that you replace it with some stuff?
TheOnly1ne- Member
- Posts : 10
Join date : 2011-10-20
Location : I'm in your window.
Re: The Ultimate Collection of Multiplayer Modding
TheOnly1ne wrote:It was in flan's tutorials. He is the updater for the mod because SDK is "dead".Strengthowns wrote:Are you sure you need to delete those lines, I heard on simo_415's thread that you replace it with some stuff?
His quote was for some reason edited. It USED to show what to replace the run() function with, but now it's just a }. Here's what you replace the run() function with:
- Code:
public void run()
{
try
{
if(startServer())
{
long l = System.currentTimeMillis();
long l1 = 0L;
while(serverRunning)
{
ModLoader.OnTick(this);
long l2 = System.currentTimeMillis();
long l3 = l2 - l;
if(l3 > 2000L)
{
logger.warning("Can't keep up! Did the system time change, or is the server overloaded?");
l3 = 2000L;
}
if(l3 < 0L)
{
logger.warning("Time ran backwards! Did the system time change?");
l3 = 0L;
}
l1 += l3;
l = l2;
if(worldMngr[0].isAllPlayersFullyAsleep())
{
doTick();
l1 = 0L;
} else
{
while(l1 > 50L)
{
l1 -= 50L;
doTick();
}
}
Thread.sleep(1L);
}
} else
{
while(serverRunning)
{
commandLineParser();
try
{
Thread.sleep(10L);
}
catch(InterruptedException interruptedexception)
{
interruptedexception.printStackTrace();
}
}
}
}
catch(Throwable throwable1)
{
throwable1.printStackTrace();
logger.log(Level.SEVERE, "Unexpected exception", throwable1);
while(serverRunning)
{
commandLineParser();
try
{
Thread.sleep(10L);
}
catch(InterruptedException interruptedexception1)
{
interruptedexception1.printStackTrace();
}
}
}
finally
{
try
{
stopServer();
serverStopped = true;
}
catch(Throwable throwable2)
{
throwable2.printStackTrace();
}
finally
{
try
{
stopServer();
serverStopped = true;
}
catch(Throwable throwable2)
{
throwable2.printStackTrace();
}
finally
{
System.exit(0);
}
}
}
}
groxmapper- Member
- Posts : 27
Join date : 2011-10-24
Re: The Ultimate Collection of Multiplayer Modding
no he is ''dead", as in unactive
ikke009- Member
- Posts : 65
Join date : 2011-10-24
Age : 30
Location : The netherlands
Re: The Ultimate Collection of Multiplayer Modding
Why is he not doing mods anymore though he did good mods
Re: The Ultimate Collection of Multiplayer Modding
Well hes "alive" now XDikke009 wrote:no he is ''dead", as in unactive
but hes still trying to catch up though...just fair for you to know...if you didnt
axciom- Member
- Posts : 1
Join date : 2011-10-20
Similar topics
» [1.8.1] Gardentivers Multiplayer Mods
» [Unanswered] Help with modding
» [Unanswered] Bow modding.
» [1.8.1] Modloader Modding Setup
» [SSP Modding For 1.0.0] How To Make An Item For 1.0.0
» [Unanswered] Help with modding
» [Unanswered] Bow modding.
» [1.8.1] Modloader Modding Setup
» [SSP Modding For 1.0.0] How To Make An Item For 1.0.0
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum