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.

nov4e

Members
  • Joined

  • Last visited

Everything posted by nov4e

  1. How? The directory of the json recipes?
  2. no the recipe return minecraft:clock.
  3. Yes but i need the item string beacuse if i have to add a smelting recipe it needs a itemstack It has to be in client proxy?
  4. So for fix that i have to register recipes that has a vanilla item output in code?
  5. I found this example.
  6. Hi, how I can set a permanent action bar that indicates the armor points? I have to add the action bar on player join? Thanks in advice
  7. ItemList: ItemRegistry: IHasModel: Client Proxy Registry: Item Class Example:
  8. Can i send the code here via spoilers?
  9. No, I can't sorry. You need the code for this?
  10. getAttackDamage not exists. Maybe is getDamage? @Override public int getDamage(ItemStack stack) { return 3; }
  11. Hello. I've got some questions about the mod I'm developing. The first thing is why this string appears in my log? Potentially Dangerous alternative prefix `minecraft` for name `clock`, expected `nex`. This could be a intended override, but in most cases indicates a broken mod. Basically I maked a json recipe with output minecraft:clock, it works but i want to remove this string from the log because with a lot of crafting can be result annoying. This is the json recipe file: NEX is The Mod ID(Yeah, I'm going to change it) I've got another question about my mod. public static final ToolMaterial WOOD_KNIFE = EnumHelper.addToolMaterial("knife_wood", 1, 29, 3F, -3F, 6); public static final ItemSword woodenKnife = new BasicKnife("wooden_knife", WOOD_KNIFE, CreativeTabs.COMBAT); Is this the best way to set the damage of a sword? Thanks for your reply. - Nov4e
  12. Thanks for the help guys @Sunser @V0idWa1k3r
  13. How I can use jei api for make a compact?? I want to add a recipe category that has 1 input and 1 output. Someone can link here tutorials or something?? Thanks.
  14. yeah is here the file.
  15. Ok so i have to remove inject/ ?? I found inject in the documentation
  16. So it has to be: HDropsLiving.tableScales = LootTableList.register(new ResourceLocation("nex:inject/bone_drop")); ?
  17. okok but i need help for loottables.
  18. okok but we are here for talking about loot tables. If I would do that i have to rewrite a lot of models, recipes ufff
  19. HDropsLiving.tableScales = LootTableList.register(new ResourceLocation("nex:bone_drop")); nex is the mod id
  20. It's just for make a base. Tomorrow I will change the code. What you mean? I would it drops minecraft:bone. Now eclipse tell me this is not correct.
  21. @SubscribeEvent public static void onLootTable(LootTableLoadEvent event) { if (event.getName().toString().equals("minecraft:entities/pig")) { LootEntry entry = new LootEntryTable(tableScales, 1, 0, new LootCondition[0], "bone_drop"); LootPool pool = new LootPool(new LootEntry[] { entry }, new LootCondition[0], new RandomValueRange(1), new RandomValueRange(0, 1), "bone_drop"); event.getTable().addPool(pool); } } { "pools": [ { "rolls": 1, "name": "bone", "entries": [ { "type": "item", "weight": 1, "name": "minecraft:bone", "functions": [ { "function": "set_count", "count": { "min": 1, "max": 2 } }, { "function": "looting_enchant", "count": { "min": 1, "max": 2 }, "limit": 2 } ] } ] } ] } HDropsLiving.tableScales = LootTableList.register(new ResourceLocation("bone_drop")); Thi is correct?
  22. why I have to use loot tables?

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.