Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Open-Source
Minecraft
QMXTech Mod Template
Commits
45e61d36
Commit
45e61d36
authored
Dec 07, 2014
by
malachy1681
Browse files
Various Tweaks
parent
57750d3e
Changes
4
Hide whitespace changes
Inline
Side-by-side
build.gradle
View file @
45e61d36
...
...
@@ -18,7 +18,7 @@ buildscript {
apply
plugin:
'forge'
version
=
"1.0.0"
group
=
"com.qmxtech.modname"
// http://maven.apache.org/guides/mini/guide-naming-conventions.html
group
=
"com.qmxtech.modname"
// http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName
=
"ModName"
minecraft
{
...
...
src/main/java/com/qmxtech/modname/proxy/ClientProxy.java
View file @
45e61d36
...
...
@@ -25,21 +25,33 @@ public class ClientProxy extends CommonProxy
@Override
public
void
preInit
()
{
// Perform necessary pre-initialization.
// Call superclass method.
super
.
preInit
();
// Perform necessary client-side pre-initialization.
/* CODE */
}
@Override
public
void
init
()
{
// Perform necessary initialization.
// Call superclass method.
super
.
init
();
// Perform necessary client-side initialization.
/* CODE */
}
@Override
public
void
postInit
()
{
// Perform necessary post-initialization.
// Call superclass method.
super
.
postInit
();
// Perform necessary client-side post-initialization.
/* CODE */
}
...
...
src/main/java/com/qmxtech/modname/proxy/CommonProxy.java
View file @
45e61d36
...
...
@@ -25,17 +25,23 @@ public class CommonProxy implements IProxy
@Override
public
void
preInit
()
{
// Do nothing.
// Perform necessary common pre-initialization.
/* CODE */
}
@Override
public
void
init
()
{
// Do nothing.
// Perform necessary common initialization.
/* CODE */
}
@Override
public
void
postInit
()
{
// Do nothing.
// Perform necessary common post-initialization.
/* CODE */
}
}
...
...
src/main/java/com/qmxtech/modname/proxy/ServerProxy.java
View file @
45e61d36
...
...
@@ -25,21 +25,33 @@ public class ServerProxy extends CommonProxy
@Override
public
void
preInit
()
{
// Perform necessary pre-initialization.
// Call superclass method.
super
.
preInit
();
// Perform necessary server-side pre-initialization.
/* CODE */
}
@Override
public
void
init
()
{
// Perform necessary initialization.
// Call superclass method.
super
.
init
();
// Perform necessary server-side initialization.
/* CODE */
}
@Override
public
void
postInit
()
{
// Perform necessary post-initialization.
// Call superclass method.
super
.
postInit
();
// Perform necessary server-side post-initialization.
/* CODE */
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment