Updated recipe for dust and changed texture. Also trying to get Subtle Knife to work.

This commit is contained in:
dragonruler1000 2025-05-12 21:18:26 -05:00
parent 590254167b
commit fd080d8e30
5 changed files with 10 additions and 5 deletions

View file

@ -38,7 +38,7 @@ mod_name=Hdm Mod
# The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default.
mod_license=MIT
# The mod version. See https://semver.org/
mod_version=1.0
mod_version=1.1
# The group ID for the mod. It is only important when publishing as an artifact to a Maven repository.
# This should match the base package used for the mod sources.
# See https://maven.apache.org/guides/mini/guide-naming-conventions.html

View file

@ -1,5 +1,7 @@
package us.minecraftchest2.hdm_mod.item.custom;
import jdk.nashorn.internal.ir.Block;
import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.item.ItemUseContext;
@ -18,12 +20,14 @@ public class SubtleKnife extends Item {
@Override
public ActionResultType onItemUseFirst(ItemStack stack, ItemUseContext context) {
World world = context.getWorld();
// BlockPos pos =
PlayerEntity player = context.getPlayer();
if(!world.isRemote) {
BlockPos another_pos;
if(world.isRemote) {
// world.setBlockState()
}
return super.onItemUseFirst(stack, context);
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 191 B

After

Width:  |  Height:  |  Size: 380 B

Before After
Before After

View file

@ -6,6 +6,7 @@
}
],
"result": {
"item": "hdm_mod:dust"
"item": "hdm_mod:dust",
"count": 9
}
}