Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 08/04/19 in all areas

  1. Looks like a reference to EnumFacing. My guess at (regular, readable) Java for that whole line would be: switch(EnumFacing.VALUES[facing.ordinal()]) { ... }
    1 point
  2. Change this to return your own ActionResult. Unsure of the crash, but perhaps a NullPointerException? Post your crash.
    1 point
  3. You're probably using a static variable somewhere. The TileEntities for each block should be all be different instances of your TileEntity class. I can't think of any reason why that might be so. But if one of the variables inside your TileEntity was declared as `static` then every TileEntity would share that same state. From the way you describe it, I'd guess that more than one of your variables is declared static.
    1 point
  4. ItemBase is abusing inheritance by using it to run the same code multiple times. This would work, however it would stop your Item from extending other classes. You could either do what it does (i.e. setting registry name, adding to modItemList) in your Item's constructor or when you instantiate your item. I would suggest text-based tutorials. Example being: https://github.com/Cadiboo/Example-Mod Yes I get it. So was I. Sorry if I made you think I was trying to be a jerk.
    1 point
  5. Hey dude, i showed him an old mod that does EXACTLY what hes ALREADY doing. I told him i already did it EXACTLY the same way before. and it works. problematic or not, its not my place to tell him to do it another way.. I just wanted to help show him what it looks like when it works. I mean I didnt encourage him to do it this way, he already had it. Lol Dont post unless you want to help cause you're not helping you're just a dick!
    1 point
  6. Is it possible that your resources folder isn't a source folder?
    1 point
  7. I said apply a modifier to the attribute not change the base value. Also why are you doing it on the client do it on the server.
    1 point
  8. Also, make your mod ID longer. You have a limit of 64 characters. Use them.
    1 point
  9. The problem with most alternative mod loaders, is that they are created out of spite with "Fuck Forge" as their motivation. But then they use our tools, our data, and our work to make their system. That's the thing that pisses me off about things like Rift. I have not looked at Fabric so i can't comment on what they are doing, or if they are doing it correctly/legally. However, I would also advise against using any loader that "gives the hooks to the users", by "exposing" mixins and encouraging the average user to use it. Because that flat out won't work. The reason Forge has compatibility with so many mods is because we've cultivated all the internal hooks as clean changes that make it so modders DON'T have to break things in MC code to make their mods work. So you can get a couple nice mods yes, but it'll become difficult when you start trying to create modern mod packs. As for updating to snapshots. I update the mappings internally when I get time cuz I like seeing what has changed. I would LIKE to make those mappings public but it isn't worth doing as they are not the highest quality and we loose a lot of information. I am looking for people who are willing to help create open source versions of some of the internal tools I use {which I did not create and thus is not my place to release} as well as a better three way binary mapping generator.. If anyone actually wants to help out on that, hop on discord either Forge's or sponge's and we can talk... Anyways, using 3rd party smaller loaders just to explore the new vanilla code is fine. But do not expect stable or useful releases from those.
    1 point
  10. I too am annoyed by this change. I would rather do it the old way and use folders under the mods folder like we used to be able to so. This change is not very user friendly and a step backwards. Surely this is an easy option to write into the program.
    0 points
×
×
  • Create New...

Important Information

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