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.

TheGoldenProof

Members
  • Joined

  • Last visited

Everything posted by TheGoldenProof

  1. yeah I finally figured it out after reading everything a couple of times.
  2. in my src\main\resources\assets\saom\textures\blocks I have the two textures for my log, "gigas_cedar_log_end.png" and "gigas_cedar_log_end.png". when I run minecraft, they come up as missing textures and my log says this I manually put them into the \bin\assets\saom\textures\blocks folder and they showed up just fine, but were deleted next time i ran minecraft. Why would they work in the bin folder but not the sources folder? all my other textures are working. Are they not being copied over for some reason? EDIT Fixed. I had to refresh eclipse, which i didn't have to do for any of my other textures. How do i delete a topic?
  3. so the {addedMod}.meta would be the manifest for the new mod. where is the manifest for my mod? and where does the {addedMod}.meta go? src/main/resources i dont really know what a manifest is still and dont understand how to make one and how to give it maven coordinates. EDIT kind of figuring things out. Once I make my jar file, I have to open it and edit the MANIFEST.MF in /META-INF and put jar { manifest { attributes("Implementation-Title": "Gradle", "Implementation-Version": version, "ContainedDeps": "name of jar file in /META_INF/libraries",) } } and then in the mods {addedMod}.meta I put jar { manifest { attributes("Implementation-Title": "Gradle", "Implementation-Version": version, "Maven-Artifact": "Maven artifact name thing") } } the part im confused about: did Terrails say that i can just put dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) // For all .jar files in folder compile files('libs/file_name.jar') // For one .jar file in folder } into my build.gradle and it will also do what im trying to do without any of this manifest stuff? ANOTHER EDIT Couldn't figure out how to do it and i finally got the manifest to have the properties in it but minecraft immediately crashed saying that the mod wasnt there. I forgot to put it in. I extracted the jar and put it in and zipped and renamed it, minecraft couldn't read it. Finally, i realized that 7zip lets you create folders and add files to an archive without having to extract it first and now it all works. Thanks for the help
  4. I'm trying to check if an item is in a player's inventory using the onUpdate way I found here. I noticed it uses EntityPlayerMP, but in another place I saw EntityPlayer. What the difference and which should I use? Also if i should do the inventory checking differently tell me.
  5. Not really sure how any of this dependency stuff works but I kind of have an idea. My build.gradle doesn't have a "jar" section, so do I add it my self? Where is /META-INF? I don't understand what this maven stuff is and a have a very vague understanding of what a repository is from submitting bug reports on git. I think the .meta file is just a manifest file, and forge will use the .meta files if the jar doesn't have one. It gets the groupId:artifactId:version thing so it can be archived. What does that mean? I have the jar file that I want to use as a dependency and i looked in its META-INF folder and looked at its MANIFEST.MF file and all it said was "Manifest-Version: 1.0" Does that mean that it was a poorly made mod and what do I do about it? Do i give it a custom maven coordinate (Is that what the groupId:... thing is called?)? I'm not sure where I go from here. Also, if when I successfully do this dependency extraction thing, it adds the mod to minecraft but not the mods folder, correct? How to I use the mod its dependent on while making my mod? I saw that you make a folder called libs and put it in there and do some build path thing to access its code, but will that add it to the client when i run it in eclipse or do I have to add it to the run/mods folder? I tried to put all of my questions into one post as much as possible but I'm bound to have more. This was originally here but I was told to put it into a new post
  6. I'm going through the same this he is, except I'm newer. Not really sure how any of this dependency stuff works but I kind of have an idea. My build.gradle doesn't have a "jar" section, so do I add it my self? Where is /META-INF? I don't understand what this maven stuff is and a have a very vague understanding of what a repository is from submitting bug reports on git. I think the .meta file is just a manifest file, and forge will use the .meta files if the jar doesn't have one. It gets the groupId:artifactId:version thing so it can be archived. What does that mean? I have the jar file that I want to use as a dependency and i looked in its META-INF folder and looked at its MANIFEST.MF file and all it said was "Manifest-Version: 1.0" Does that mean that it was a poorly made mod and what do I do about it? Do i give it a custom maven coordinate (Is that what the groupId:... thing is called?)? I'm not sure where I go from here. Also, if when I successfully do this dependency extraction thing, it adds the mod to minecraft but not the mods folder, correct? How to I use the mod its dependent on while making my mod? I saw that you make a folder called libs and put it in there and do some build path thing to access its code, but will that add it to the client when i run it in eclipse or do I have to add it to the run/mods folder? I tried to put all of my questions into one post as much as possible but I'm bound to have more.
  7. Could you put a picture or something of where exactly the libs folder is placed within the project? Also, does putting the mod there also add it to the game?

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.