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.

KollyPop

Members
  • Joined

  • Last visited

Everything posted by KollyPop

  1. Hey, I'm in 1.16.3, and would like to make something that controls the player. This could be done by simulating a key being pressed maybe, but I don't know how to do that.
  2. I ran gradlew genIntellijRuns , filled out the module and JRE, but this is happening? Edit: I have already tried refreshing the gradle dependencies
  3. Could someone help me show text on the screen? Let's say coordinates, in the bottom left corner of the screen. I don't know how to do this, as I'm new to modding. 1.16.1
  4. Hello! I've looked through all the errors, and it's something to do with my RegistryHandler class, at the init() function. There also seems to be an error at the public static final RegistryObject<Item> RUBY = ITEMS.register("ruby", ItemBase::new); Here's the class: package com.octacontakaitria.lcd.util; import com.octacontakaitria.lcd.LCD; import com.octacontakaitria.lcd.items.ItemBase; import net.minecraft.block.Block; import net.minecraft.item.Item; import net.minecraftforge.fml.RegistryObject; import net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext; import net.minecraftforge.registries.DeferredRegister; import net.minecraftforge.registries.ForgeRegistries; public class RegistryHandler { public static final DeferredRegister<Item> ITEMS = DeferredRegister.create(ForgeRegistries.ITEMS, LCD.MOD_ID); public static void init() { ITEMS.register(FMLJavaModLoadingContext.get().getModEventBus()); } // Items public static final RegistryObject<Item> RUBY = ITEMS.register("ruby", ItemBase::new); } Here's the latest.log: https://pastebin.com/88vgh8p3 Thanks in advance.
  5. Hello, I was watching some tutorial on how to make items, but it was in 1.15.2. Now I'm recreating that tutorial for 1.16.1 into IntelliJ. Here is a little code block: public class RegistryHandler { public static final DeferredRegister<Item> ITEMS = new DeferredRegister<>(ForgeRegistries.ITEMS, LCD.MOD_ID); public static void init() { ITEMS.register(FMLJavaModLoadingContext.get().getModEventBus()); } // Items public static final RegistryObject<Item> RUBY = ITEMS.register("ruby", ItemBase::new); } I have imported everything that is required, and this line is causing problems: public static final DeferredRegister<Item> ITEMS = new DeferredRegister<>(ForgeRegistries.ITEMS, LCD.MOD_ID); at the end of the code block below. . . . er<Item> ITEMS = new DeferredRegister<> The error I am receiving is: 'DeferredRegister(net.minecraftforge.registries.IForgeRegistry<T>, java.lang.String)' has private access in 'net.minecraftforge.registries.DeferredRegister' If someone could help me out, that'd be great. Has anything changed? Has this method become outdated?

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.