-
Posts
613 -
Joined
-
Last visited
Everything posted by Bedrock_Miner
-
Well, I think the Title explains nearly everything. How can I add a hyperlink for a Website to the Player's private chat?
-
Hey Guys! I think you all know the Vanilla Item renderer. If the graphics are set to fancy it renders the Item in 3D with the shape based on the Alpha channel of the Item's texture. How can you use this method of rendering, for example to easily give a volume to a single face, while rendering Blocks or entities?
-
How to find an empty place in the nether?
Bedrock_Miner replied to Bedrock_Miner's topic in Modder Support
Thanks, this worked -
Hey Guys! I want to find an empty place in Nether for my world generator to create some structures there. I need a place with at least ten Blocks air above it. How can I find such place in the world generator? To generate on the surface you can use getHeightValue, but in the Nether? I don't think it will work there.
-
[SOLVED] Showing Crafting GUI problems
Bedrock_Miner replied to Bedrock_Miner's topic in Modder Support
Yes, you're right I made a class extends ContainerWorkbench and overrid canInteractWith. It works now -
Right click/clicked block not working
Bedrock_Miner replied to Alix_The_Alicorn's topic in Modder Support
Sorry, didn't see the scroll bar. I would suggest creating some debugging outputs. Just add System.out.println("Method XYZ has been called"); to your methods at the very beginning and outside of the if - Blocks! You also should output the values of the variables that you check in the if Blocks. If you have registered the Block correctly, the methods should be called. -
[SOLVED] Showing Crafting GUI problems
Bedrock_Miner replied to Bedrock_Miner's topic in Modder Support
Does this mean I have to copy-paste everything into a new Container class? By the way: Thank you Vanilla minecraft to be so clearly understandable -
[SOLVED] Showing Crafting GUI problems
Bedrock_Miner replied to Bedrock_Miner's topic in Modder Support
Well, problem one solved; problem two appeared. I've just forgotten to add the @Instance annotation to the instance. But now, I got another Problem: I get an Exception when clicking the Crafting Table. I think, the Container is null. Error log: I found the output "g != null" but nowhere "c != null". Why is the Container c == null? Whats wrong? -
You don't have to use it with eclipse, I think. But it is the best way. If you want to use another Editor, just create your code in the src folder and build it with gradle. By the way: Why do you want to use notepad? Eclipse is much better
-
[SOLVED] Showing Crafting GUI problems
Bedrock_Miner replied to Bedrock_Miner's topic in Modder Support
OK, now I got problems with the GUI Handler: I have this GUI Handler: inititalized like this: NetworkRegistry.INSTANCE.registerGuiHandler(this, new GUIHandlerCrafting()); and called like this: player.openGui(Main.instance, 0, world, x, y, z); and I end up in this error message: -
Right click/clicked block not working
Bedrock_Miner replied to Alix_The_Alicorn's topic in Modder Support
The onBlockClicked method is just for Punching the Block (left click). If you want a method for right click, use onBlockActivated. PS: Just look in the Javadoc of the methods you are using, this can be very helpful. -
A few errors that I can't understand
Bedrock_Miner replied to AssassinHero's topic in Modder Support
Guy, if you want to make mods, please learn Java first! -> You are not inside a constructor, so you are not allowed to run the method super(World);! ->You get an error, because you don't initialize all final fields in the constructor. -
Hey Guys! I wanted to create a new Crafting table with a different texture which shows the vanilla crafting GUI. The problem is, when I click the crafting Table, nothing happens. I copied the onBlockActivated method from the vanilla crafting table, so why does it not work? public boolean onBlockActivated(Worldworld, int x, int y, int z, EntityPlayer player, int side, float playerX, float playerY, float playerZ) { if (world.isRemote) { return true; } else { player.displayGUIWorkbench(x, y, z); return true; } }
-
I had exactly the same problem some time ago. Look here: http://www.minecraftforge.net/forum/index.php/topic,10567.msg53494.html#msg53494 Its actually for 1.6.4 but it should work except from the fact that some names might have changed.
-
Hey Guys! I set up my Forge-Gradle system some time ago but now I had to recreate it completely. The problem is that I can't remember whether I used setupDevWorkspace or setupDecompWorkspace... Can anyone tell me where the difference is? Another problem is: I tried both: setupDecompWorkspace and setupDevWorkspace and gradlew eclipse afterwards but with none of them I see the MC-Code in eclipse. Whats wrong? I also think, the system is a little bit buggy, I ran setupDecompWorkspace five times and three times of it the forge-jar was not added to the files.
-
I want to add some trees to minecraft and for this purpose I need to know, how to generate them into the World properly, one time when generating a new Chunk, the other time when growing saplings. Can you tell me how to do this?
-
I now added Weapon Craft to my Minimods! Enjoy!
-
Could you be a little bit more precise? Which textures are not loaded? The mod ones ore the Vanilla Textures? Where are they located? And which Resourcepack is needed to load them? Could you maybe post the File structure?
-
Textures loading...But in the wrong folder?
Bedrock_Miner replied to Godson's topic in Modder Support
The textures are loaded from bin/... because there are the compiled classes and from there your minecraft starts. If you use Eclipse, you can just put the textures in src/assets/<MODID>/textures/... Then you go into your Eclipse workspace, select the src-Directory in the Package explorer and press F5, or right click and select refresh. Eclipse then copies the Textures automatically into the bin/assets folder. I wouldn't recommend to place the Textures only in the bin/assets folder, because if you clean everything up they're gone. Just do it with Eclipse as I mentioned above. Hope, this helps you