Everything posted by Bedrock_Miner
-
Add Hyperlink to Player's Chat
Well, I think the Title explains nearly everything. How can I add a hyperlink for a Website to the Player's private chat?
-
Rendering of 3D objects based on texture
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?
Thanks, this worked
-
How to find an empty place in the nether?
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
Yes, you're right I made a class extends ContainerWorkbench and overrid canInteractWith. It works now
-
Right click/clicked block not working
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
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
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?
-
[1.7.2] Gradle
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
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
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
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.
-
[SOLVED] Showing Crafting GUI problems
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; } }
-
[1.7.2] - Adding data to the player
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.
-
setupDecompWorkspace or setupDevWorkspace - Where is the difference?
I now reinstalled forge completely and it works. Don't know why it didn't before...
-
setupDecompWorkspace or setupDevWorkspace - Where is the difference?
If setupDecompWorkspace should create the sourcecode, why do I never see the code in eclipse? I always see "This is a binary file. Do you want to attach the source code?". And half of the times I even don't see this, because the Forge - jar is not added to the project!
-
setupDecompWorkspace or setupDevWorkspace - Where is the difference?
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.
-
How to generate Trees?
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?
-
Bedrock Miner's Minimods
I now added Weapon Craft to my Minimods! Enjoy!
-
HELP! Compiler got problems with GL11 [Same Problem again - no idea whats wrong]
I reran gradle with the following commands and it works! gradlew.bat cleanCache setupDevWorkspace
-
Problem with textures
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?
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
-
HELP! Compiler got problems with GL11 [Same Problem again - no idea whats wrong]
I rerunned it already, but that wasn't that effective because nearly everything was skipped:
-
HELP! Compiler got problems with GL11 [Same Problem again - no idea whats wrong]
Actually there is no build/natives folder.. Where can I get the libraries to put there?
-
HELP! Compiler got problems with GL11 [Same Problem again - no idea whats wrong]
I use GL11 in my mod several times in some renderers.. I can run my mod in Eclipse. If I try to compile it with Gradle, I get the following errors: Why can't gradle import lwjgl? Help please!
IPS spam blocked by CleanTalk.