Everything posted by dries007
-
Some Questions...
1. NBT data is used to save data needed by the TileEntity (TE). This is used to store data about the items and setting in the machine. 2. No clue. 3. There are tools for that, forgot the name.
-
Is it possible to add a custom gamemode?
A gamemode is basically a set of player. abilities. You can tell the player he can fly, instabreak, don't break/place blocks,..... If that is good enough, then there you have it. (Shameless plug:) I use a similar system to grant players flight but not creative mode with the command /fly.
-
Server Mods Only?
All mods that actually add content (blocks, items) need a client side to.
-
GitHub Source
yes, have you setup MCP? it needs to run where all the other scripts are run, the MCP root
-
GitHub Source
There is a tutorial on the wiki, I made it. You can easily use the part about GitHub, but the jenkins part is more like a guideline. Find it here
-
GitHub Source
I thinks that's because it doesn't understand the common folder thing yet. I'm currently working on someones jenkins, when I'm don't (and it works) I'll post the file here.
-
Get dedicated server instance?
Try the modsloader one, or use a variable that gets initialized @ServerStartup, I use the variable style, I found it works better and it looks cleaner, but that is opinion.
-
Change canThisPaneConnectToThisBlockID to non-final
https://github.com/MinecraftForge/MinecraftForge/pull/136 Hope its good enough
-
Change canThisPaneConnectToThisBlockID to non-final
this is posted in the wrong sectio by mistake, can someone move it to suggestions? Thanks OvermindDL1
-
Incompatible with nearby all mods i like
MCPatcher, Don't use it, IT SUCKS (It does stuff it shouldn't do) Use Optifine Ps installing mods is easy, Open minecraft.jar with 7z(or other archiver) and drag Forge in the jar. Install all other mods by placing the zips in the .minecraft/mods folder (gets generated 1th rime forge is installed) --> Unless otherwise instructed by the mod information (from where you downloaded the mod)
-
Change canThisPaneConnectToThisBlockID to non-final
I would like the method to be override-able by my own pane so I can make my panes connect to other blocks. If there is an other way of doing this (without making a custom render) I'd like to know. Ps. Method in question: canThisPaneConnectToThisBlockID in class BlockPane, line 196
-
1.2.5 Item drops.
Look for the code that plays the break sound. (the Item class maybe?) Ps, 1.2.5 is end of life!
-
Jenkins build system
As promised, a tutorial. I hope its good enough....
-
Chat command handler?
If you make a command class, register it by ServerCommandManager.registerCommand(new CommandPing()); the you can (in the processCommand sub of the commandclass) use the ICommandSender. ICommandSender is basically a player.
-
[SOLVED] create gun?
try going from the bow/arrow code and do it step by step. With extensive testing! The second you get an error, you know where you went wrong. (I shouldn't be the one telling you this, I don't do it the 'clean' way eater )
-
[SOLVED] create gun?
You mean an item that fires an arrow or your own bullet? If your fine with the arrow, take a look at the ItemBow class.
-
Chat command handler?
If you want to add a command, don't use the event bus, use the CommandHandler. This allows for your command to get in the help list,.... If you want/need an example, look at this. I use the bus because I want to block vanilla commands too, but I don't think that's what you want.
-
Jenkins build system
Awsome!! If I get github working, I'm writing a tutorial
-
Jenkins build system
I am working on a jenkins build system for my mods and I'm getting this error. Someone know why it all works on windows but not on ubuntu server? (I did chmod 777 the folder)
-
Forge and Minecraft 1.3.1
Oh you use your own workbench gui, I thought you 'barrowed' the vanilla one... (I want to make a mod that adds a workbench item instead of a block to the game, but I have no clue on how to trick mc into opening a crafting window without workbench...) Thanks a lot though, I might end up making an own GUI too.
-
Forge and Minecraft 1.3.1
I don't think you can just tell a different block to act like a crafting table. (If you can I would really want to know ) Can you give us the block's code?
-
Forge Animated Texture
Can you share a link to the file you found your solution in? I might need it to for something
-
[solved] NullPointerExeption, Have No Idea Why
You need an mcmod.info file, I had the same problem here until I added a mcmod.info file into the zip of the mod. Make sure the "modid": "NAME", is right. If I'm not mistaken that is FML's mod list freaking out because it has no name. mcmod.info
-
.getEntityData() & death
I found out you can best store a collection (with .getTags()) and then run that through a while(Iterator.hasnext()) loop and kill out the ones you don't want.
-
Saving items?
Might I ask why you need CAPS_AND_'_' ? (No one ever explained that, and I learned all my java from this)
IPS spam blocked by CleanTalk.