Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

LucarioKnight

Members
  • Joined

  • Last visited

Everything posted by LucarioKnight

  1. This did solve the problem with no tool/wrong tools (Thanks so much btw ), but this still leaves the issue of wrong tool level. Idk if this is just another function like the one you mentioned or something completely unrelated.
  2. I'm new to modding and am trying to set up a simple block. Similar to diamond block, it's only supposed to be mined by an iron pickaxe or better. All other properties went smoothly except for harvest tool and level. I don't get any errors, although I am able to harvest it with everything (hand, wrong tool, lower tool level). Here is code package com.lucarioknight.testing.blocks; import net.minecraft.block.Block; import net.minecraft.block.SoundType; import net.minecraft.block.material.Material; import net.minecraftforge.common.ToolType; public class RubyBlock extends Block { public RubyBlock() { super(Block.Properties.create(Material.IRON) .hardnessAndResistance(5.0f) .sound(SoundType.METAL) .harvestTool(ToolType.PICKAXE) .harvestLevel(2)); } } Also loot table in case it helps (rework of minecraft diamond block loot table) { "type": "minecraft:block", "pools": [ { "rolls": 1, "entries": [ { "type": "minecraft:item", "name": "testy:ruby_block" } ], "conditions": [ { "condition": "minecraft:survives_explosion" } ] } ] } Thanks in advance, LucarioKnight

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.