-
Posts
82 -
Joined
-
Last visited
Everything posted by QuantumSoul
-
Go get sleep. Then come back, read all of that and you'll figure it out.
-
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.
-
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.
-
Isn't it another ID ?
-
I think if we want to use ForgeRegistries, we have to create a LOT of new classes just to solve that one layer problem
-
I feel like we both work on the same kind of mod lmao
-
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
-
[1.15.2] Custom Dimension/Chunk Generator/World gen
QuantumSoul replied to Axspeo's topic in Modder Support
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 -
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 ?
-
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
-
I tried that too
-
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
-
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.
-
What is the advantage of using DeferredRegisters ?
QuantumSoul replied to QuantumSoul's topic in Modder Support
Ok, I see, thanks -
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
-
What is the advantage of using DeferredRegisters instead of RegistryEvent ?
-
[1.15.2] Server not doing anything but no crash nor error
QuantumSoul replied to QuantumSoul's topic in Modder Support
facepalm nope Thanks -
[1.15.2] Server not doing anything but no crash nor error
QuantumSoul replied to QuantumSoul's topic in Modder Support
https://pastebin.com/FW2aHhai -
On the left panel, change your projet view from "projet" to "packages" Then go to Libraries > net > minecraft
-
[1.15.2] Block interactions deprecation
QuantumSoul replied to QuantumSoul's topic in Modder Support
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 -
[1.15.2] Block interactions deprecation
QuantumSoul replied to QuantumSoul's topic in Modder Support
Isn't there an event for when the player move ? -
[1.15.2] Block interactions deprecation
QuantumSoul replied to QuantumSoul's topic in Modder Support
What can I do then, except resizing the block ? EDIT: I guess I should use an event but I couldn't find which one -
Hi, I have a custom ore, generating in the overworld. How to make my custom mob spawn near those ore blocks ?
-
[1.15.2] Block interactions deprecation
QuantumSoul replied to QuantumSoul's topic in Modder Support
I put a breakpoint and it's never called