Jump to content

The_Basset_Hound

Members
  • Posts

    10
  • Joined

  • Last visited

Everything posted by The_Basset_Hound

  1. Okay, you've told me what I'm doing wrong, but I'm still not sure how to make it right. What technique do I use to do this correctly?
  2. I think I solved my issue. I took the onUpdate method and made it a player tick event listener, then checked to see whether or not the attack key was held down and whether or not the event.player was holding the item, and if both of those are true, pull items in. My issue was probably with me using player.getWorld() instead of player.world. the new ItemVacpack (tick event listener is at bottom of file) i would still like to know more about the issue, though. What is the difference between Entity.getWorld() and Entity.world?
  3. Hello, I'm trying to create a vacuum item that pulls item entities around the player in when they are left clicking. So far I have it working, but adding the velocity to the item entity only seems to be working on the client side (item entities will go towards the player but not into the player's inventory, and when the player is near them they teleport back to where they had been before using the vacuum). That's the issue as I understand it, but it might be something else entirely. I have done nothing with server/client interaction so if that is the issue I don't know what to do. If anyone has a link to a tutorial or a mod that behaves like this, or can provide me an explanation of their own, I would very much appreciate it. Link to the vacuum item in question Thanks, Basset
  4. This looks like it's working thus far. Thank you so much for all of your help.
  5. So there's no way to scale it down using forge? I used magicavoxel to create the model and I'm not sure I'm able to scale it down in that. I'd also like to know how to translate and rotate it, like I know you can do when not using blockstates.
  6. Thank you for this. I got it working using blockstates and the model is in the game. Now i'm running into the problem of scaling it down (it's absolutely massive). Also when it is in my inventory, the icon is enormous and covers my screen. Where in my json file do I put the "scale" tag? Do I need to make a json for it in my models/item folder as well to scale it down? Here's a link to my blockstate json.
  7. Here's a debuglog I generated when starting up the client. I don't know what a proxy is and haven't found a good explanation on it, but I'm not calling it straight from my mod's preinit method. Here are the relevant files in pastebin: Link to the main mod file Link to the vacpack item file Link to the mod item file Link to the file I'm using to register the items Thanks for the reply.
  8. Hello, I'm pretty new to modding Minecraft and don't understand item models. Could someone walk me through using a .obj file as a model for an item? So far I have been using tutorials meant for using .obj files as models for blocks, and I've seen from a couple of places that all I have to do is add a .obj file extension somewhere, but I'm not sure where. I have also added the OBJLoader.INSTANCE.addDomain(SlimeRancher.MODID); to my mod during preinitialization. Right now I have my vacpack.obj file sitting in my models/item folder along with my vacpack.mtl file. When I test the mod, during loading, I get a slew of errors, the first being Exception loading model for variant slimerancher:vacpack#inventory for item "slimerancher:vacpack", normal location exception: net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model slimerancher:item/vacpack with loader VanillaLoader.INSTANCE, skipping If anyone could help me out I'd appreciate it. Also, if I'm missing important information from this post, please tell me and I'll add it asap. Thanks, Basset
  9. Hello, I am brand new to mod making and the setup process is acting strange. It's not giving me errors or anything, but halfway through the gradlew setupDecompWorkspace it repeatedly prints into my terminal Current status: 6/6 100% and at the bottom > Building 30% > :getAssets . I've waited quite a while for this to finish and it doesn't seem to want to. Is there any way for me to get this to work? I would really like to make my own mods. In case it is needed I am using an iMac running OS X 10.9.5. I am attempting to mod Minecraft 1.7.10 using Forge version 10.13.4.1614. Thanks in advance, Basset
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.