Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

ImNotJahan

Members
  • Posts

    68
  • Joined

  • Last visited

Everything posted by ImNotJahan

  1. Yep, turns out I just forgot to register it. Thanks!
  2. "Invalid or unsupported recipe type 'danmachi:smithing'" is what I get whenever a world is loaded, despite (I think) registering it. This is the class I'm registering it in The init() method is just called in my main classes constructor, to make sure the class gets loaded. Here's also the full log:
  3. you just have to run it (eg. double click, if it opens notepad then you have the wrong extension), although I don't think you actually have to make a bat file, even if it's a good idea. Just running the forge server jar instead of the normal server jar should be enough
  4. Just copy and paste the text, or just put the url and we can click on it to see the picture
  5. Wow, well I guess if you've zipped it you could try putting it up on filebin? https://filebin.net/
  6. You can try copy & pasting it into pastebin (https://pastebin.com/) if your log is too large or something like that
  7. So this is probably something very difficult to accomplish, but is there a way to have chunks generate vertically in a certain dimension, as I have a vertical dungeon. Due to chunks only having an x and a y it has to do procedural generation, which I'm not very good at making efficiently, on every floor for every chunk, so it can lag a lot. Edit: here's the chunk generator incase needed: https://github.com/ImNotJahan/danmachi-mod/blob/master/v1.16.5/src/main/java/imnotjahan/mod/danmachi/world/dimension/chunkgenerators/DungeonChunkGenerator.java
  8. What java version are you using (run "java -version" to get it)
  9. Sorry for the very late response, but mixed with what you said + looking at the twilight forest source code I was able to get it working
  10. So I'm following the SimpleImpl forge docs (https://mcforge.readthedocs.io/en/1.16.x/networking/simpleimpl/), and I'm just on registering packets and I've run into the problem that I don't actually know how to make a packet. In the past I know there were things like IMessage & IMessageHandler, I can't find anything like that for 1.16.5 though. Also the register method for SimpleChannel requires a MSG, which I know is the packet but I can't find any definition for a class or anything named MSG either.
  11. I have a capability that has a strength stat and basically I just want the player to have more attack damage depending on how high that stat is. I want to avoid using .setBaseValue (which is what I'm using at the moment) as I feel like there's a very good chance that'll conflict with other things, so instead I want to use .addTransientModifier, only problem is AttributeModifiers which are what it takes in don't seem to have any way to change the value of. Is there any other class extending AttributeModifiers that have a changable value or anything like that? I could just make a new AttributeModifier whenever the stat changes but I'm guessing that's a bad idea since it's meant to have a UUID.
  12. Turns out that was the problem! Changing it got all of the eggs to load in correctly, thanks!
  13. I'm creating spawn eggs using the SpawnEggItem class, but past the first two eggs registered the rest have no texture The log says this [20:26:58] [Worker-Main-11/WARN] [minecraft/ModelBakery]: Unable to load model: 'danmachi:almiraj_spawn_egg#inventory' referenced from: danmachi:almiraj_spawn_egg#inventory: java.io.FileNotFoundException: danmachi:models/item/almiraj_spawn_egg.json For each of the eggs that don't have a texture, and here's the full log And here's the class where I register all my entities and the spawn eggs Everything works other than the textures of those eggs, and also the full repository is here: https://github.com/ImNotJahan/danmachi-mod/tree/master/v1.16.5/
  14. This? private static Path createPath(Path p_244199_0_, ResourceLocation p_244199_1_) { return p_244199_0_.resolve("reports/biomes/" + p_244199_1_.getPath() + ".json"); } If so, I'm not sure what I should put the path to
  15. Ah okay I now understand what you mean, and I feel like this'll be obvious but how do I register the provider? You say using the vanilla registry system but the only way I see one registered in the vanilla things requires arguments from something being executed
  16. It's a custom dimension, and all of them should be here https://github.com/ImNotJahan/danmachi-mod/tree/master/v1.16.5/src/main/resources/data/danmachi
  17. Yea delete everything inside of your serverconfig folder which'll be inside a folder probably called world inside of your servers directory.
  18. Go to C:\Users\chris\curseforge\minecraft\Instances\Life in the village 2\config\ and delete waystones-server.toml
  19. Are you sure you're deleting them on the server? (Also make sure to delete any folders in there as well)
  20. Are you sure you're importing the right class?
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.