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.

Flerponius

Members
  • Joined

  • Last visited

  1. I am trying to make a custom item that converts to another custom item when eaten. The food properties includes "usingConvertsTo(ModItems.ITEM_NAME.get())", however since the item is not yet registered during the registration process, the get() method returns null. Is there any way to work around this?
  2. Is it possible to have a BlockEntity that processes multiple recipes (of the same type) simultaneously? The only way I have thought of so far is to have a BlockEntity that has multiple ItemStackHandlers, but this is apparently not recommended.
  3. I am trying to make a custom entity that is similar to a villager, and have been basing my code on vanilla. Villagers use a unique EntityDataSerializer, and I am trying to do the same. However, the villager EntityDataSerializer uses the writeId method in FriendlyByteBuf, which only accepts vanilla registries, and I need to use an IForgeRegistry. Is there a way to get around this, or should I try to rework the entity to utilize multiple EntityDataAccessors that each use a vanilla EntityDataSerializer?
  4. I'm following a tutorial by Technovision on youtube, and as far as I know, I have everything set up correctly to be able to summon my custom entity. Someone else has checked my code, and confirmed that it looks correct. However, I still cannot summon my entity (or any entity from my mod's namespace). The strangest part is that latest.log shows no errors. Main class: https://pastebin.com/qjTm4b3u Entity class: https://pastebin.com/jBAzQDFC Event Bus Subscriber: https://pastebin.com/4gWNTcmy Entity Initialization class: https://pastebin.com/veyc983p Latest log: https://pastebin.com/cr0WcRGm If there are any other files I should add, please let me know!
  5. That was it! Thank you so much! I feel dumb now. It always helps to have a fresh set of eyes.
  6. Sorry, forgot to screenshot that.
  7. Screenshots to show that the files are in the right place
  8. I am unable to load any models and textures, despite having the files in (what I hope is) the correct place. When I try to run the client, Minecraft gives the error: File Mod File: ...build\resources\main failed to load Interestingly, The error message is listed twice. latest.log
  9. Sorry about taking so long to get back to you. The log is as follows: > Configure project : New Dep: net.minecraftforge:forge:1.15.2-31.2.0_mapped_snapshot_20200514-1.15.1 > Task :compileJava NO-SOURCE > Task :processResources NO-SOURCE > Task :classes UP-TO-DATE > Task :jar > Task :downloadMcpConfig > Task :extractSrg > Task :createMcpToSrg > Task :reobfJar > Task :assemble > Task :compileTestJava NO-SOURCE > Task :processTestResources NO-SOURCE > Task :testClasses UP-TO-DATE > Task :test NO-SOURCE > Task :check UP-TO-DATE > Task :build Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/4.10.3/userguide/command_line_interface.html#sec:command_line_warnings BUILD SUCCESSFUL in 20s 5 actionable tasks: 5 executed
  10. Actually I wasn't using either; I just ran the build task in eclipse. I'm guessing that might be why its not working?
  11. Flerponius changed their profile photo
  12. When I try to build the project, I get the following error: Failed to capture fingerprint of input files for task ':reobfJar' property 'classpath' during up-to-date check. The details are in the attached .txt file. Error.txt

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.