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.

thepillager

Members
  • Joined

  • Last visited

Everything posted by thepillager

  1. i found this : Did I need to do something
  2. Sorry ! I don't understand but here's a screenshot when i hover on ".effect":
  3. i don't have a class called Food.builder
  4. Hi ! I'm New In Modding So I followed a tutorial about it , I watched TechoVision's Custom Food Tutorial ,Everything's Good But The ".effect" Is Strike Through ,If You Have A Solution That will be helpful :) !! *You Can Download it to see what's Happening NOTE : I use IntelliJ IDEA 2020.1 Minecraft Version : 1.15.2 package com.pillager.morefood.items; import com.pillager.morefood.MorefoodMod; import net.minecraft.item.Food; import net.minecraft.item.Item; import net.minecraft.potion.EffectInstance; import net.minecraft.potion.Effects; public class Cheese extends Item { public Cheese() { super(new Item.Properties() .group(MorefoodMod.TAB) .food(new Food.Builder() .hunger(6) .saturation(16.2f) .effect(new EffectInstance(Effects.SATURATION,2400,1),1.0f) <-".effect" Is StrikeThrough .setAlwaysEdible() .fastToEat() .build() ) ); } } Cheese.java

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.