Jump to content

Recommended Posts

Posted

So i have started to make a pollution mod, where when i i burn stuff the air gets polluted, and the clouds turn black near thouse chunks, you also starts getting harder and harder to breath, if it really goes out of hand.. i plan to make it a bit more interesting, but right now i want to compile the first version of my plugin.. but i dont know how to do it :(

 

so i tryed the.

 

step 1) ./recompile.sh

step 2) ./getchangedsrc.sh

step 3) ./reobfuscate.sh

 

it gives me the class files in the reobf /dk/minsk/minecraft/pollution/*.class

 

now i have some textures, that is nowhere to be found, they are in the minecraft.jar file /texture/pollution/Block.png /texture/pollution/Item.png /texture/pollution/Fog.png

 

now i was wondering.. how do i get it proberly working, so i can destribute it, it would be a great help, as this is my first plugin, and i would love to share it with my friend, and expand it :)

Posted

okay, so i came to this conclusion that i am a compleete morron. i used the Forge 4.1.4.297 Mod with 4.1.4.298 source.. and the Configuration class did not use getBlock() yet, but the depricated getOrCreateIntProperty().

 

i figured how to get the Texture working, by simply zip the root of reobf/minecraft, with the images/sounds added.

 

sorry for that, but i am happy now, my first working mod, yay :D

Posted

if your modding on mac, make a .sh file with the following contents

 

#!/bin/bash
python runtime/recompile.py "$@"
python runtime/getchangedsrc.py "$@"
python runtime/reobfuscate.py "$@"

 

if your modding on windows make a .bat with the following contents

 

@echo off
runtime\bin\python\python_mcp runtime\recompile.py %*
runtime\bin\python\python_mcp runtime\getchangedsrc.py %*
runtime\bin\python\python_mcp runtime\reobfuscate.py %*
pause

 

this just makes it easier to distribute and you only have to run one file instead of 3

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.