krystianwiechec
-
Posts
11 -
Joined
-
Last visited
Posts posted by krystianwiechec
-
-
20 minutes ago, DaemonUmbra said:
Did you set it to require a tool?
Also I recommend NOT setting things up this way, as it makes things inflexible, set the properties when you invoke the constructor rather than in the constructor itself.
I set the hardness, resistance, harvest level and harvest tool. I didn't know had to set up that it required a tool. How to set it up?
-
Hey, I did Ruby Block in my modification:
public class RubyBlock extends Block { public RubyBlock() { super(Block.Properties.create(Material.IRON) .hardnessAndResistance(5.0f, 6.0f) .sound(SoundType.METAL) .harvestLevel(2) .harvestTool(ToolType.PICKAXE) ); } }
I found a list of the hardness and resistance of all blocks on the Internet, the hardness of the emerald block is 5, resistance 6, so I set the same in my block. And now the problems:
- Although the harvest level is set to 2, the block will drop an item even if i destroys it with a wooden or stone pickaxe,
- When I place my block and emerald block next to each other and destroyed both with a stone and wooden pickaxe, my block breaks faster but iron, diamond and netherite pickaxes both destroy the same amount of time.
How is it possible? I'm from Polish and I don't know English well, I hope everything is understandable, but if not, I will try to explain what I mean better. I am a beginner, but I know java basics
-
I make my Minecraft client and I want him to be from forge.
-
I'm trying to modify forge source code in eclipse ide and I don't know how to create a project to make it work like mcp.
-
Hi, I downloaded the forge source code from https://github.com/MinecraftForge/MinecraftForge and I would like to work on this code, but I don't know how to create a project there so that it all works as in mcp in the sense that I can run it in eclipse ide and then when I finish exporting it to the jar. I am begging you for help.
-
4 minutes ago, 65_7a said:
1.14 and above is supported on this forum.
So let's decide it's version 1.14
-
Just now, Novârch said:
1.12 nie jest już obsługiwane na tym forum. Zaktualizuj do najnowszej wersji Minecraft, aby uzyskać wsparcie.
And what versions are on the forum?
-
7 minutes ago, Novârch said:
1.8 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support.
Ok, so let's set Minecraft version to 1.12
-
Hi, I want to say at first that if I shouldn't ask this question here, I'm sorry but I don't know where I can ask this question. So my problem is that, I decompiled minecraft 1.14 and now modifies the game code (I change gui etc.) as if I'm creating my client, I wanted to display my graphics with the png extension in the main menu of the game and here is the problem that i don't know how to do it, i am new to java but i know the basics.
[1.16.4] Ignoring block properties?
in Modder Support
Posted
Ok i found this method.