-
[1.14/1.13] How to add a custom potions with the brewing recipes?
Is there any guide about adding to minecraft a custom potion effects, custom potions, brewing stand recipes?
-
[1.14.2] Using a tool in crafting
How to make it so that when using the tool in crafting, it does not disappear, but simply receives damage?
-
[1.14.2] Is it allowed to ask questions about the Fabric?
thx
-
[1.14.2] Is it allowed to ask questions about the Fabric?
If yes, then here is my question: Why can't minecraft data be edited in fabric mod? I create a mod. In the resources folder, I create package data.minecraft.loot_tables.blocks and place the grass.json file there, but nothing works. I checked the right of the loot table written by me.
-
[1.13.2] How to run minecraft command from the mod?
I want to run the minecraft command (for example, /say hello) from the mod main class
-
[1.13.2] How to check right click on the block by item in mainhand?
Any methods
-
[1.13.2] How to run minecraft command from the mod?
I searched info but find nothing helpful.
-
[Solved] [1.13.2] How to change drop chances for only one item?
I want to change drop chances for the vanilla sand block for only one item, for example, for the stick. But if i write this code, i change drop chances for all drops of the sand block: if ((event.getState().getBlock() instanceof BlockSand)) { event.getDrops().add(new ItemStack(Items.STICK, 1)); event.setDropChance((float) 0.08); }
-
[Solved] [1.13.2] Why is this code not working?
Many thanks
-
[Solved] [1.13.2] How to change a drop from a block when a player holds a stick in his hand?
It is necessary that when a player breaks the gravel with a stick in his hand, for example, dirt also drops. I tried to write the necessary code myself, but nothing works, and I need an example.
-
[Solved] [1.13.2] Why is this code not working?
I wrote this code, but test_item don't drops when i break a gravel with a stick in mainhand. What's wrong? if ((event.getState().getBlock() instanceof BlockGravel)) { if (event.getHarvester() != null) { ItemStack tool = event.getHarvester().getHeldItemMainhand(); ItemStack item = new ItemStack(Items.STICK); if (tool == item) { event.getDrops().add(new ItemStack(ItemList.test_item, 1)); event.setDropChance((float) 0.8); } } }
-
[Solved] [1.13.2] Help fix a mistake
I do not understand anything but ok ?. As they say in russian 'Них#я не понял, но очень интересно'
-
[Solved] [1.13.2] Help fix a mistake
And that's working. Thank you very much
-
[Solved] [1.13.2] Help fix a mistake
but my english "has a mistake"?
-
[Solved] [1.13.2] Help fix a mistake
it means, that line "IBlockState blockState = event.getState().getBlockState();" has no mistake?
IPS spam blocked by CleanTalk.