Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

telinc1

Members
  • Posts

    20
  • Joined

  • Last visited

Everything posted by telinc1

  1. My problem is pretty simple. Seeing as the item methods in DungeonHooks are deprecated, that means that they will be eventually removed, so I want to port to ChestGenHooks, but I'm having trouble. This is my current method: public static void addDungeonItems() { ChestGenHooks chestGenHooksDungeon = ChestGenHooks.getInfo(ChestGenHooks.DUNGEON_CHEST); // Mega Adamant Blocks in dungeons chestGenHooksDungeon.addItem(new WeightedRandomChestContent(new ItemStack(TelicraftMain.megaAdamant), 55, 1, 3)); // Tomatoes and Peppers in dugeons chestGenHooksDungeon.addItem(new WeightedRandomChestContent(new ItemStack(TelicraftMain.tomato), 95, 3, 4)); chestGenHooksDungeon.addItem(new WeightedRandomChestContent(new ItemStack(TelicraftMain.pepper), 95, 3, 4)); // Adamant in dungeons chestGenHooksDungeon.addItem(new WeightedRandomChestContent(new ItemStack(TelicraftMain.adamant), 30, 3, 5)); } Using this, the game crashes when it generates a dungeon. Crash report I also found that I can use this (bold part is what's changed from previous method): public static void addDungeonItems() { ChestGenHooks chestGenHooksDungeon = new ChestGenHooks(ChestGenHooks.DUNGEON_CHEST); // Changed line, note from OP // Mega Adamant Blocks in dungeons chestGenHooksDungeon.addItem(new WeightedRandomChestContent(new ItemStack(TelicraftMain.megaAdamant), 55, 1, 3)); // Tomatoes and Peppers in dugeons chestGenHooksDungeon.addItem(new WeightedRandomChestContent(new ItemStack(TelicraftMain.tomato), 95, 3, 4)); chestGenHooksDungeon.addItem(new WeightedRandomChestContent(new ItemStack(TelicraftMain.pepper), 95, 3, 4)); // Adamant in dungeons chestGenHooksDungeon.addItem(new WeightedRandomChestContent(new ItemStack(TelicraftMain.adamant), 30, 3, 5)); } Using this, the game doesn't crash but no items get generated. Can somebody explain to me how to use ChestGenHooks? Thanks in advance! -Telinc1
  2. This is my first released content-adding mod! It's called Telicraft, TeliMod before 2 or 3 months. It adds a new ore and a bunch of other things to Minecraft. It requires Forge and ForgeModLoader. Downloads WARNING: YOU NEED TELINCCORE! [1.4.6] Telicraft Beta 3.5.0 Universal* [1.4.6] Telicraft Source [1.4.6] Telicraft API *Due to my limited amount of RAM, universal means "server starts up without errors and can be connected to". Installation 1. Open your minecraft.jar/minecraft_server.jar and ensure Forge is installed. A really cheap way of doing it is checking if the cpw folder exists. 2. Go to your "mods" folder. It is lcoated in your root directory, "%appdata%/.minecraft" for clients. 3. Add Telicraft's .jar in there. Also add TelincCore, that's highly required. 4. Launch Minecraft / the server and see if everything's working! If not, check "Reporting a bug". Reporting a bug 1. Make sure you're using the latest Forge for the Minecraft version you're running. 2. Make sure you have the latest version of Telicraft. 3. Scroll through the "Issues" tab on GitHub and the "Known bugs" section of this post. 3a. If the bug is visual, tell me what happened and the exact steps to reproduce it. 3b. If the bug crashes the game, tell me how to reproduce it and include the crash report or you ForgeModLoader-client-0.log file. "black screen" is not enough. 3c. If the bug involves something not working or acting weirdly include what it is and exact steps to reproduce. Known bugs 1. The Primed Meteor Bomb doesn't render properly. 2. The /telicraft-petrifylook command doesn't write to config. 3. The Adamant Furnace's superheat acts a little bit strangely. Blocks To be written. Items To be written. Recipes To be written. Buildcraft Integration If you have Buildcraft installed, the following will be added: 1. Facades for some of the blocks, Advanced Crafting Table missing. 2. Triggers for Gates. 2a. Adamant Furnace: "Furnace is in superheat mode", "Furnace Safe", "Furnace Hot", "Furnace Dangerous", "No heat" 2b. Alarm: "Alarm active" Not Enough Item Integration If you have NEI installed, you will get the following: 1. Item Subset for Telicraft, type "@Telicraft" in search box to display only blocks & items from Telicraft. 2. Recipe viewers for the Sharpener and Advanced Crafting Table. Miscellaneous I want to thank you for using this mod. Any feedback is welcome. If I forgot anything, please tell me! -Telinc1
  3. The topic title sums it, really. I want to add a new command, and the only method I found for it is addComand() in the ModLoader.java class. Is it safe to use the method, or is there another one? Thanks in advance! -Telinc
  4. sorry i dont understand what you mean? Basically what he's saying is that you set the ID variables after registring the blocks, meaning that you are "creating" the blocks before setting the IDs, thus resulting in their IDs being 0. The fix is kind of complicated, but I will try to explain it. Basically, remove the "public final static Block" before the variables and do "public static Block compactdirt;" before all the methods, but still in the "public class compactblocks". After that, move the setting of the variables (compactdirt = new compactdirt...) in the method marked with @Init. If you don't understand, write.
  5. Well, I have tried everything, but nothing's working. Here's my problem: I'm creating a custom explosive, and it's all working, but when I ignite it, a white box jumps up and disappears. Here are the relevant files: Pastebin link I don't know what I'm doing wrong, as I copied the TNT classes. Can anyone help me? Thanks in advance!
  6. Hooray, my first submitted mod! TelincCore is my core mod. It will be required for all the mods I will release, but can also be used by you! It comes with several function to assist you and a few classes to make your mods smaller. Information about the mod itself and all of its functions and classes can found at Telinc's Mods Wiki. [1.4.6] TelincCore Universal [1.4.6] TelincCore Source - Not available yet, sorry [1.3.2] [Forge 303] TelincCore Universal [1.3.2] [Forge 303] TelincCore Source Installation 1. Open up you minecraft.jar/minecraft_server.jar (Minecraft Server.exe can't be modified to my knowledge) 2. Make sure Minecraft Forge is installed. A cheap way of doing it is checking if the folder "cpw" is present. 3. If you don't have a mods folder in your .minecraft/server directory, create it or boot up the game/server. 4. Put TelincCore's universal .JAR in there. Don't extract it! 5. Launch Minecraft/the server and see if everything's working! Reporting a bug To deal with a bug, I need the following info: Does the bug crash the game/server, or is a method/class not working? I also need: If it crashes: Exact steps for reproducing and a crash report (if available). Not working method/class: The method or class that fails to work. If it works and it stops, exact steps to reproduce. And finally: Does the bug only happen on the client, only happen on the server, or on both? Frequently Asked Questions Q: How do I install TelincCore on a server? A: It's the same as installing it on a client. Q: My game crashes! fix ur mod ya idiot its nyat warking A: See: Reporting a bug A2: See: Installation Q: How do I add this to my mod? A: Go to the wiki (linked above) and search for the text "check out this page". It should be a link to the tutorials. Q: The wiki is invalid/doesn't contain any information about a given subject! A: For the first case, feel free to edit it. For the second case, let me know and I will add it!
  7. Strange, but right after I ran a global search for the class, the problem fixed itself and then I just needed to play around with ModLoader.addArmor(); to make it work and the server is okay. Or at least the test server only... I will see about the real one. But thanks anyways.
  8. Well, I searched around all files from project Minecraft and the only place I found "WorldClient" was on line 29 at cpw.mods.fml.common.modloader.BaseModProxy: import net.minecraft.src.WorldClient; Where else could this thing be?
  9. Well, I have a nasty problem. From Eclipse and go to Run -> Server the Minecraft Server opens, but it prints out the following error: And it fails to run. I'm sure it's a problem from my mod, but I have no idea how to fix it. Any help is appriciated, thanks in advance! P.S.: This also happens if I decompile, reobfuscate and put it on a normal server.
  10. Really, really sorry for multiple threads sharing the same theme, but I need some help. Let me get straight to the problem. On lines 495 and 496 in my main file (TelicraftMain.java) I have: AchievementPage telicraftAP = new AchievementPage("Telicraft", test1, test1); AchievementPage.registerAchievementPage(telicraftAP); Now, all of this works except for one problem. When I click on the button to change the achievement page, the GUI is all white. Here's what I mean: Tab "Minecraft": [/img] Tab "Telicraft": [/img] So, how do I resolve this? Thanks in advance!
  11. I'm trying to make achievements. I now get everything except for one part: using your own textures. For example, if I do this: public static Achievement notForKids = (new Achievement(1001, "notForKids", 2, 5, testBlock, AchievementList.openInventory)).registerAchievement(); The game crashes with the following log: http://pastebin.com/qjC1q7kh But if I replace "testBlock" with "Block.tnt", or "Item.swordDiamond" it works. So, my question should be obvious. How do I use my own textures on achievements?
  12. I think it does, actually. Or if it doesn't, a cheap solution would be setting the block to ID 0 (Air) and spawning EntityPrimedTNT with a fuse lenght of 0 in the location of the block. I do think that this will work.
  13. The title should say it all. I basically want to make a block that explodes upon right-clicking it with a Flint and Steel. Would be nice if you could tell me how to get the block's coordinates as well. Thanks in advance! -Telinc1
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.