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.

VaalAlves

Members
  • Joined

  • Last visited

  1. I'm trying to make a block that can drop 1 of 3 possible items if broken, but only drops itself when broken by a pickaxe with silk touch. I got the 1 out of 3 part working fine, and the item does drop itself when i break it with silktouch but it drops one of those 3 items in addition to itself. Here's my code. { "type": "minecraft:block", "pools": [ { "rolls": 1, "entries": [ { "type": "minecraft:alternatives", "children": [ { "type": "minecraft:item", "conditions": [ { "condition": "minecraft:match_tool", "predicate": { "enchantments": [ { "enchantment": "minecraft:silk_touch", "levels": { "min": 1 } } ] } } ], "name": "fossilsandstuff:cretaceous_fossil_deposit" } ] } ] }, { "rolls": 1, "entries": [ { "type": "minecraft:item", "weight": 33.3, "name": "fossilsandstuff:brachiosaurus_raw_fossil" }, { "type": "minecraft:item", "weight": 33.3, "name": "fossilsandstuff:stegosaurus_raw_fossil" }, { "type": "minecraft:item", "weight": 33.3, "name": "fossilsandstuff:allosaurus_raw_fossil" } ] } ] } Thanks.
  2. I want my mod ores to spawn inside the diorite, granite and andesite deposits but i'm not exactly sure on how to do this. Could someone give me some directions on how to approach this? Thanks.
  3. How would i go about creating a new tool type? I'm specifically trying to make a tool that would function like a pickaxe but only for certain blocks. Thanks. Edit: Use ToolItem and use a Set variable for the effectiveBlocksIn parameter (create the variable before the ToolItem, not during.)

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.