Jump to content

QuantumSoul

Members
  • Posts

    82
  • Joined

  • Last visited

Everything posted by QuantumSoul

  1. Go get sleep. Then come back, read all of that and you'll figure it out.
  2. Hi, I tried to use world saved data using this link. But I couldn't find either World#getMapStorage() nor World#getPerWorldStorage(). Well there is World#getMapData() but there is no setData function. What can I do ? Thanks in advance.
  3. I think, - You add the mods to your workspace using the build.gradle file, in the dependecies { - You declare the mod dependecies using the mods.toml file. Docs here There are already examples in those files.
  4. Isn't it another ID ?
  5. I think if we want to use ForgeRegistries, we have to create a LOT of new classes just to solve that one layer problem
  6. I feel like we both work on the same kind of mod lmao
  7. Hi, I need to save player coordinates when they teleport into my dimension so I can use them to send them back. I have two questions: 1. Should I save the data in the player or the world ? 2. What data saving should I use, Capabilities, World Saved Data or another one ? Thanks in advance
  8. I've been working on my mod dimension for three days and I still don't get what I'm doing but here are the best links (for dimensions and general world generation): http://jabelarminecraft.blogspot.com/p/minecraft-forge-1721710-biome-quick-tips.html https://jabelarminecraft.blogspot.com/p/minecraft-modding-custom-dimension.html https://gist.github.com/Commoble/ac7d7b57c9cbbfcae310c4ab110c3cc0
  9. In my custom BiomeProvider I have to use a custom layer which looks like this: public class CustomLayer implements IC0Transformer { @Override public int apply(INoiseRandom context, int value) { return Registry.BIOME.getId(BiomeInit.CUSTOM_BIOME) } } How can I do without using Minecraft Registry IDs ?
  10. I think that when the ship is set, the blocks are replaced by entities having their texture And when it's unset, they are replaced back to blocks
  11. How ? I tried adding a namespace but it didn't work so I removed it and I found that it is the top one, the @ObjectHolder at the top which is crashing. My work around is to do that
  12. I changed it to @SubscribeEvent public static void registerModDimensions(final RegistryEvent.Register<ModDimension> event) { event.getRegistry().register(new ModDimension() { @Override public BiFunction<World, DimensionType, ? extends Dimension> getFactory() { return BinaryDimension::new; } }.setRegistryName(BinaryMod.MOD_ID + ":" + DIM_BINARY_ID)); } And It still crashes with the same error.
  13. Hey, I tried registering my custom dimension but it crashes, I checked different times but couldn't find why. DimensionMod: Crash report: https://pastebin.com/MsqtmeqS
  14. What is the advantage of using DeferredRegisters instead of RegistryEvent ?
  15. Hey, When I start the server it doesn't do anything but there are no errors or crashes The log just says hundreds of "[pool-2-thread-1/DEBUG] [ne.mi.fm.lo.mo.Scanner/SCAN]: Scanning Mod File: <path>" then "Process finished with exit code 0"
  16. On the left panel, change your projet view from "projet" to "packages" Then go to Libraries > net > minecraft
  17. It's a full block and I want to use it's four sides as a ladder and it's down side as a way to "magnet" player's head to travel horizontally. It has to be a full block since it is generated by clusters
  18. Isn't there an event for when the player move ?
  19. What can I do then, except resizing the block ? EDIT: I guess I should use an event but I couldn't find which one
  20. Hi, I have a custom ore, generating in the overworld. How to make my custom mob spawn near those ore blocks ?
  21. I put a breakpoint and it's never called
×
×
  • Create New...

Important Information

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