b11354767d
Moved all configuration variables from mod_pocketDim to DDProperties (formerly DimDoorsConfig). Changed property names to be clearer in config file, modified some comments, and generally cleaned up the config file. Fixed some missing properties and variables that were reading from the wrong properties. Modified the order in which mod_pocketDim instantiated some of its static fields so that they would load after properties are read. Almost all classes load after properties are read. Fixed indentation across various files and replaced references to properties in mod_pocketDim with references to DDProperties.
23 lines
837 B
Java
23 lines
837 B
Java
|
|
|
|
// This is my package declaration, do not mess with the standard (package net.minecraft.src;) like I did,
|
|
// Because I know what Im doing in this part, If you don't know what your doing keep it the normal (package net.minecraft.src;)
|
|
package StevenDimDoors.mod_pocketDimClient;
|
|
|
|
// Theses are all the imports you need
|
|
import net.minecraft.network.INetworkManager;
|
|
import net.minecraft.network.packet.Packet250CustomPayload;
|
|
import cpw.mods.fml.common.network.IPacketHandler;
|
|
import cpw.mods.fml.common.network.Player;
|
|
|
|
// Create a class and implement IPacketHandler
|
|
// This just handles the data packets in the server
|
|
public class ClientPacketHandler implements IPacketHandler{
|
|
|
|
@Override
|
|
public void onPacketData(INetworkManager manager,
|
|
Packet250CustomPayload packet, Player player) {
|
|
// TODO Auto-generated method stub
|
|
|
|
}
|
|
}
|