Jump to content

Star_SNG

Members
  • Posts

    4
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Star_SNG's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Okay, I had to change .fromItems to .of, which I tried before and didn't work. but after putting get() with .of it works. Thanks for the help
  2. I've been searching the internet for hours and tried so many things but I just can't seem to find the solution. Please help me. Here is the code: public enum ModItemTier implements IItemTier { SNG(4, 2031, 9.0F, 4.0F, 15, () -> { return Ingredient.fromItems(ModItems.SNG_INGOT); } );
  3. Okay it works now. Thanks for the help
  4. I looked online and can't find a solution that worked. Here is the code for the block: public static final RegistryObject<Block> SNG_ORE = BLOCKS.register("sng_ore", () -> new Block(AbstractBlock.Properties .of(Material.METAL) .strength(5.0f,6.0f) .sound(SoundType.STONE) .harvestLevel(2) .harvestTool(ToolType.PICKAXE) ) );
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.