Started by
PoisonousPotato
on
Topic category: Help with Minecraft modding (Java Edition)
Text with two " means it's from my mod.
Help me please.
I want that with your fists you can only break:
- Dirt, Sand, Mud, Snow and other similar elements.
- Plants, Leaves, Lilypads, Flowers, Crops and similar elements.
- Other weak blocks (i actually don't need to tell everything)
I also want so that Glass, Glass Pane, Stained Glass, Stained Glass Pane and Tinted Glass will hurt you.
Edited by PoisonousPotato on Sat, 12/07/2024 - 01:48
For breakage damage:
“When a block is broken"
If [get block at X Y Z is the same block as “ glass, ... ”] do {
inflicts <number you want> damage to <target event/entity> with a damage source <d s you want>
}
thanks! also... you could help me at: https://mcreator.net/forum/111946/help-me-two-things and at https://mcreator.net/forum/111919/help-dimensions-and-biomes and also the part of the fist can only break certain blocks ill put to the code? if you cant, call people that are smart in mcreator? i'm asking it for days and no one helps me there.