Jump to content

skip999

Members
  • Posts

    140
  • Joined

  • Last visited

Everything posted by skip999

  1. Thanks Ill take a look.
  2. OH I have to write it to the packet data. I knew I was missing something. Thanks!
  3. Another thing I have noticed is that half of the classes that I need to import to make the plugin work are not there. I know that it is not an issue with the gradle as I have done that right.
  4. Where would I need to make this change. Unfortunately I know little to nothing about rendering stuff like this.
  5. I am struggling with how I implement the methods. I have tried following the examples they recommend that are updated, but they list mods like Botania and Blood Magic. I see generally what I need to do, but for me its like trying to reverse engineer a combustion engine to make a campfire. It also doesn't help that everyone has a different way of implementing the plugin. So on top of everything I don't even know what is the best way to approach making the plugin.
  6. I have, however the examples they suggest to follow are either super complex or not updated past 1.12.2. I just need a simple example to follow and I can go from there. However, I can't seem to find one.
  7. Hello, I have been working on a custom beacon as part of my mod. I have been able to reverse engineer the vanilla beacon code and create the beams to be rendered on the server-side. I have also created a renderer for the beacon, but it is never called. I got some help with the issue a while ago, and was told the data was never sent to the client for rendering. However, I was never told how you send the information to client, and I have not received a response on the post for a long time. If anyone could help me with this I would really appreciate it! Here is a link to the TileEntity I would like to do this for on my github: https://github.com/skiprocks999/Rings-of-Infinity/blob/Rings-Of-Infinity-1.16.4/RingsOfInfinity/src/main/java/com/contInf/ringsOfInfinity/tileentity/WardingBeaconTileEntity.java All relevant classes will be under the name "WardingBeacon" Let me know if I need to provide any other information
  8. Hello, I was wondering if anyone could point me to a tutorial on how to write a JEI plugin for 1.16.4. I have done some digging and have found some for 1.12.2, but I can't find any for the modern versions of the game. I have also tried following the instructions on wiki the mod provides, but I really struggle to follow them. Any help would be appreciated!
  9. Hello, I have been working on a faster version of a vanilla furnace. However, I have run into an issue with the getCookTime() method. Having received help from the forums, I was informed that I needed to implement the method as seen in the AbstractFurnaceTileEntity class. However, the getRecipe() call needs a IRecipeType, IInventory, and World passed in. I have no problem getting the IRecipeType and World, however I cannot seem to figure out the IInventory. I tried casting this.getInventory() to IInventory, but this does not work. I have tried digging around in the library classes to see if I could come up with something, but this has also turned up empty. If anyone could help with this, I would appreciate it. I have attached a link to the class on my github and a screenshot of the method in question. Let me know if I need to provide anything else. github: https://github.com/skiprocks999/Rings-of-Infinity/blob/Rings-Of-Infinity-1.16.4/RingsOfInfinity/src/main/java/com/contInf/ringsOfInfinity/tileentity/HellfireFurnaceTileEntity.java
  10. Actually scratch that I realized I could simply hijack the registry resourcelocation for the SMELTING category in my findRecipesByType method.
  11. So could I just extend AbstractFurnaceTileEntity for my block and overwrite the tick() method? That seems like the simplest thing to do.
  12. Hello, I have been working on a custom mod, and one of the blocks I want to implement is a faster version of the vanilla furnace (think IC2 electric furnace as an example). I know a way of doing it, which is simply defining a recipe type for it, and then hard-coding the recipes myself, but that seems wholly inefficient (plus it wouldn't work with other mods' smelting recipes). How would I go about doing this? I have a couple of ideas in mind, but they don't quite seem to work. Let me know if I need to provide any files or github pages.
  13. Hello, I have noticed that the method call RenderSystem.color4f(); has been marked as deprecated. For reference, I am using it in my drawGuiContainerBackgroundLayer method for my ContainerScreens. I assume this means it has been replaced as part of the new rendering system. If anyone could point me to the new way of doing it I would appreciate it. Thanks!
  14. Hello, I seem to be having a slight issue with a custom TileEntityRenderer. Essentially, I am creating a custom beacon. I know the block correctly generates the beacon beams, yet the beams do not get sent to the client to actually be rendered. I do not have a lot of experience with tile entity rendering, so I would appreciate it if someone could take a look and tell me what I am doing wrong. I have attached a link to my github. The reliant classes are: >client.renderer.WardingBeaconTileEntityRenderer >tileentity.WardingBeaconTileEntity github link: https://github.com/skiprocks999/Rings-of-Infinity/tree/Rings-Of-Infinity-1.16.4/RingsOfInfinity Thanks in advance!
  15. I tried the clone like you did and now it works so I don't get it.
  16. The file path to the project folder is: E:\Games\Minecraft\Mod Code\Mods\RingsOfInfinity The folder is as you see it on the repository on github
  17. By full path I assume you mean the package path. The full path is : com.contInf.ringsOfInfinity There is also an .enums on the same level as the .ringsOfInfinity, but it hasn't caused any issues in the past. One thing I did not think of last night (I was rather tired when I made the post) is I can just make a new branch for the 1.16.4 port, so I have also included that, along with the 1.15.2 branch. 1.15.2 Branch: https://github.com/skiprocks999/Rings-of-Infinity/tree/Rings-Of-Infinity/RingsOfInfinity 1.16.4 Branch: https://github.com/skiprocks999/Rings-of-Infinity/tree/Rings-Of-Infinity-1.16.4/RingsOfInfinity Let me know if I need to include anything else!
  18. Hello, I have been working on updating my mod dev space to 1.16.4. I have at least gotten it to where there are not any errors, but I can't even test if things still work, as the gradle is throwing the error attached below when I try to build it. I think I may have entered something wrong with the mappings, but I'm not sure what. I can't really attach my entire github project as it still has the 1.15.2 version on it, and I don't want to merge until I have got a working replacement. However, I can provide specific files if you need them. I have gone ahead and attached the build file for the gradle for reference and a --stacktrace for the error as well. Let me know if I need to provide anything else. Thanks in advance! build.gradle
  19. Hello, I apologize if this is a slight necro, but I have been working on other stuff. How do I transmit the beam segments to the client? I can't seem to turn up anything with google, but granted I might just not be searching the right phrase. Thanks!
  20. Hello, I have been working on a custom block that has emits a beacon beam. I'm fairly certain I've nailed down all the functional components in the tick method, and I have set up a renderer class for the tile entity. However, it does not seem to want to render the beam. I know the renderer is initialized, yet it does not seem to want to render the beam. I have included a link to my project on github. The relevant class is under client.renderer, and is callled 'WardingBeaconTileEntityRenderer". If anyone could provide me some tips as to what I may need to fix or point out what I am doing wrong, I would really appreciate it. Thanks in advance! github: https://github.com/skiprocks999/Amulets-of-Infinity/tree/Rings-Of-Infinity/RingsOfInfinity
  21. Hello, I have been beating my head against a wall slowly trying to write a plugin for JEI for my mod. I have been able to get the gradle to import most of the external dependencies to write the thing. However, it does not seem to want to import all of the dependencies, and I cannot seem to figure out why. For example, it has successfully imported the IRecipeCategory, but it does not seem to have imported the IRecipeWrapper. I have attached a couple screenshots to help explain what I mean by this. I have also linked to my project on github. All the relevant files should be under the JEIPluginPackage (its far from complete) My initial thought is that the version I am using for JEI is broken. For reference I am working in 1.15.2 and using JEI 6.0.0.4. I have tried swapping to other versions of the 1.15.2 API to see if that changes anything, but the same problem persists. If anyone knows what I am doing wrong, I would really appreciate the help! github: https://github.com/skiprocks999/Amulets-of-Infinity/tree/Rings-Of-Infinity/RingsOfInfinity
  22. No I suppose I should have explained it a tad bit better. Items that are items only are contained in the one mod (armor, ingots,that sort of thing). Then blocks (and their respective block items) are separate mod. I might merge them in the future, but it essentially helps me keep the clutter down since i am working on the block library alot and havn't touched the item library in a while.
  23. Hello, I have been working on a JEI Plugin for my mod, and I have run into a small problem. As a back story, I have my items in one mod and blocks in another. For the JEI plugin to work, I need to be able to reference the item library in my block library. I know how to do this in JSON files, but I don't know how to do it for inside the class files themselves. Would I need to create a Maven repository for the one mod and then import it via the gradle, or is there a much simpler method? Thanks!
  24. I literally just went back to my eclipse IDE and it worked. I swear its playing games with me. Sorry to bother!
  25. Hello, Ive been trying to install the JEI API files for my mod. However, when I run the gradle it informs me that it is "unable to find valid certification path to requested target" on all of the files it tries to download. Ive poked around on the forums and tried installing the hotspot as suggested. I tried using the Java 8 version, but then I couldn't launch eclipse as it requires Java 11+, so I had to use the Java 11 version instead. The problem still persists. Am I going to have to downdate my eclipse to get this to work, or am I missing something? For reference, I am working with Forge 1.15.2, JEI v6.0.3.15, and I have included an gist of one of the many errors: https://gist.github.com/skiprocks999/d14498dafdec4d0534adcf5eae6bebfc Let me know if I need to include my gradle file as well!
×
×
  • Create New...

Important Information

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