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.
  • Joined

  • Last visited

  1. I don't mind which way i do it, using json loot_table or block break event (it will be useful to know how to do both) i want to override or make a function that will override the existing mc enchant lvl so i can get efficieny 10 book / pickaxe when i break the block. I have heard you can make custom LootFunctions but i cant get my head around how you make it. Any help is appriciated!
  2. I want to make a saturation potion by adding a golden apple to a regeneration potion but i cant find anywhere on how to do it. Ive tried playing around with addRecipe but it doesnt work. Any help is appricated Im on 1.16.5
  3. I tried deleting it off my workspace and adding it back in and it didnt work
  4. I cant remember what i did, i did it yesterday. My code: http://www.github.com/Lollypoplove08/1.16.4-Kitchen-Mod Log: http://www.pastebin.com/m94Lv9ty
  5. I just did something to my mod and now it doesnt work, i dont know what i did tho. I now get the Failed to complete lifecycle event LOAD_REGISTRIES error
  6. How do you use IBakedModels?
  7. It is a tile entity block, the list will max out at 9 slots, so there will be 9 block models (a bit like a composter)
  8. I want to change the .json model of my block depending on the size of my list and I saw something called BlockStates that might be able to do that. How do i use BlockStates to change it? Help is appriciated!
  9. It is intentinal that its only 0-9. System.out is just for testing purposes. Ill watch some videos on OOP. Thanks
  10. Im not an expert in NonNullLists but im not sure why doesnt work. Any help is appriciated
  11. Sorry i forgot that it starts at 0, not 1
  12. private ItemStackHandler getHandler() { if (handler == null) { handler = new ItemStackHandler(1) { @Override public ItemStack extractItem(int slot, int amount, boolean simulate) { if (getStackInSlot(1) == new ItemStack (Items.MILK_BUCKET)) { return ItemStack.EMPTY; } return super.extractItem(slot, amount, simulate); } }; } return handler; }
  13. Ive tried doing that but it isnt working, i could jsut be doing it wrong
  14. Ok, how do i use the extractItem to only be able to extract a certain item then

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.