-
Flerponius started following help using the usingConvertsTo method with a custom item
-
help using the usingConvertsTo method with a custom item
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?
-
Multiple simultaneous recipes in a single BlockEntity
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.
-
[1.20.1] Using writeId in custom EntityDataSerializer
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?
-
[1.16.1] Entity Summoning Fails With No Errors
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!
-
[Solved] [1.15.2] Unable to load resources
That was it! Thank you so much! I feel dumb now. It always helps to have a fresh set of eyes.
-
[Solved] [1.15.2] Unable to load resources
It didn't help.
-
[Solved] [1.15.2] Unable to load resources
-
[Solved] [1.15.2] Unable to load resources
-
[Solved] [1.15.2] Unable to load resources
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
-
Failure in Operation Task :reobfJar during build
Thank you for the help!
-
Failure in Operation Task :reobfJar during build
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
-
Failure in Operation Task :reobfJar during build
Actually I wasn't using either; I just ran the build task in eclipse. I'm guessing that might be why its not working?
-
Flerponius changed their profile photo
-
Failure in Operation Task :reobfJar during build
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
IPS spam blocked by CleanTalk.