Everything posted by larsgerrits
-
[UNSOLVED] Eclipse/MCP Problem (?)
What is actually happening? Is the server not in your server list, or can't you start the server up from eclipse?
-
Anonymous Item that "Will no survive a 1.7 upgrade"
It means that a item uses methods that will be removed in the 1.7 update
-
how to add new drops to vanilla mobs?? 1.6.4
Don't make topics when there are exactly the same topics!
-
[1.6.4]How to create a Quiver
Mayb you could use reflection to put a method inside the bow class to check if the Quiver is equipped and if it has arrows in it and then use the arrows from the quiver.
-
[1.6.4]How to create a Quiver
You mean like a backpack that stores arrows, and which then could be used by a bow in the inventory, without having arrows in the standard players inventory?
-
[SOLVED] ProxyInjector LoaderException crash
You need to do the proxy stuff in the initialize method.
-
[1.6.4]How to create a Quiver
What is a Quiver?
-
Hex Color Picker in a GUI?
You could write every pixel with a different Hex value on the gui and if they click, check if its on one of the pixels and set the wools hex value based on the one you clicked. PS i don't know how to do that, but its a rough idea
-
[SOLVED][1.3.2] TextField won't appear
I understand that, but it didn't lost it in my opinion...
-
[SOLVED][1.3.2] TextField won't appear
May i ask something: Why are you still modding in MC1.3.2? Why not update to MC1.6.4?
-
Custom Workbench?
I have absolutely no idea how to make those. Then I would say that you first of all need to learn all of those things, study the vanilla workbench code and then give it another try
-
[SOLVED]Constantly updating class?
Does this have anything to do with this topic?
-
[SOLVED] Cancelling a Player placing a block in the onBlockActivated() method?
I suggest using events (i don't know which event, but you could search), check which block is about to be placed and then cancel if it's your block.
-
[SOLVED][1.6.4] Bad Proxy Registration?
Change this line: public static ClientProxyMoChickens proxy; to public static CommonProxyMoChickens proxy; And show us the ClientProxy class
-
[Solved] Breaking blocks when shift-right-clicking with specific item [1.6]
Solved it, i just needed to return false if is could wrench it.
-
[Solved] Breaking blocks when shift-right-clicking with specific item [1.6]
With this code: It doesn't break the block. It doesn't even print the lines in the console.
-
[Solved] Breaking blocks when shift-right-clicking with specific item [1.6]
Any thoughts on how i can do that?
-
[Solved] Breaking blocks when shift-right-clicking with specific item [1.6]
Hello, i want to make a item that when you shift-right-click a block that implements IWrenchable, it breaks the block, much like the IC2 wrench does with it machines. I have this code in my item class: With that code it will spawn items in the world, but you can't pick them up, and it doesn't break the block. Instead, it's turning invisible. I have used the breakBlock method, but that doesn't work at all.
-
Water level bar
For the water drinking, (maybe) you could check if the player is drinking a standard water bottle, and if that's done, add some water to the thirst bar.
-
Trying to make vanilla client server side mods with forge
You can remove forge from the client if you aren't using ANY of the forge classes/annotations/methods in your mod.
-
Custom model with transparent textures?
You are disabling GL11.GL_CULL_FACE, but you aren't enabling it after you're done with rendering.
-
Adding a chest into a structure and placing random but defined loot in it
Tileentitys are called every tick, so you can update the tileentity 20 times per second. If you use this code: int tickCount = 0; public void updateEntity () { tickCount++; } every second tickCount gets incremented by 20. So when its at 10 seconds, tickCount is at 200. The furnace uses that method to check if there are items to be smelted, and to decrease the fuel level. So its actually very nice to use.
-
Rendering help
Are you calling the registerRenderers() method?
-
[Solved] Integer not incrementing (It sounds weird, I know) [1.6]
That could be... But how would i resolve that? I know it uses the getDescriptionPacket or something like that method, but i don't know how to use it. Maybe you could give a example?
-
[Solved] Integer not incrementing (It sounds weird, I know) [1.6]
Ok, so it actually wasn't the this.redstonePower+=1000; , but this code public int getRedstonePowerScaled(int scaleFactor) { System.out.println(this.redstonePower * scaleFactor) } and i'm passing 27 as my scaleFactor, but it's just returning 0, even when the redstonePower > 1000 is. When i have the System.out.println() in my smeltItem() method (i'm making a sort-of furnace type thingy) it gives the right value, but if i put the same System.out.println() in my getRedstonePowerScaled method, it doesn't work. Any ideas? I will not be responding so quickly, because i'm gonna sleep now ( i'm 14 years old and it's 03:30 AM here in the netherlands )
IPS spam blocked by CleanTalk.