Any advice would be appreciated thank you. It doesn't work and I'm not sure how I should go about doing this other than trying to remake the potion effects and setting it so it cant be cured by milk. ![]() I don't think I can add setCurativeItems in the item class (1st piece of code) so I tried to instead make my own potion effect which just has those 3 effects (2nd piece of code) and tried to make it so that it has no curative items. However, any environment, from Netbeans to vim/emacs, can be made to work. Choose your IDE: Forge only explicitly supports developing with Eclipse, but there are additional run tasks for IntelliJ IDEA or Visual Studio Code environments. Any advice would be appreciated thank you.Hey there, currently trying to figure out how to make it so an item that gives potion effects can't have those potion effects cured by milk. Move the files listed above to a new folder. If you are wanting to use an older Forge/Minecraft version, just keep turning back the date in your adles mappings. current date) will probably always be for the latest Forge/Minecraft version, e.g. I don't think I can add setCurativeItems in the item class (1st piece of code) so I tried to instead make my own potion effect which just has those 3 effects (2nd piece of code) and tried to make it so that it has no curative items. Thats because each MCP mapping is for a specific version of Minecraft - you cant mix and match. Hey there, currently trying to figure out how to make it so an item that gives potion effects can't have those potion effects cured by milk. Add the Start directory by choosing just start and hit ok.ĥ) Then add another via the + in that same dialog, and this time navigate until you find forgeBin-1.8.x-XX.XX.X.XXXX.jar and choose it.įailing this you've probably gone in a different direction that the IntilliJ IDEA herd in which case you probably should go back to the start and start with re-downloading the MDK into a clean directory, then run the above steps. compile oup:artifact:version:classifier // compile oup:artifact:version // Real examples // compile com.mod-buildcraft:buildcraft:6.0. ![]() Add a dependency and locate your gradle cache directory (mine is C:\users\myname\.gradle\caches\minecraft\net\minecraftforge\forge\Ĥ) There should be two directories with noting here, the first being "start" and second being "start". minecraft net.minecraftforge:forge:1.16.5-36.1.31 // You may put jars on which you depend on in. Due to some peculiarities of Minecraft mod development, however, there are additional steps required to get everything to work properly. ![]() Looks like you've not got the ForegBin src location setup correctly.ġ) make sure you get the latest MDK and run two commands via terminal - first being "SetupDevWorkspace" as this will ensure all the gradle caches etc are aligned with that version and what not.Ģ) make sure you then run "gradle idea" as this should generate the IDEA files needed for you automatically.ģ) Now, should that still fail, it could be a minor mapping issue in which case you go into Module Settings -> Dependencies. JetBrains’ flagship IDE comes with great integrated support for Gradle: Forge’s build system of choice.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |