-
Posts
157 -
Joined
-
Last visited
Everything posted by zlappedx3
-
MinecraftForge.EVENT_BUS.register
-
Saving Data per World [1.20.2] [SOLVED]
zlappedx3 replied to chrisicrafter27's topic in Modder Support
1. Pass the ServerLevel parameter into factory(). 2. Call the getDataStorage() method within ServerLevel. 3. Call the computeIfAbsent() method within the ServerLevel::getDataStorage() method. 4. Pass the new SavedData.Factory<BeaconData>(BeaconData::new, BeaconData::load, DataFixTypes.LEVEL), yourmodID parameters into your computeIfAbsent() method. 5. Return it out as the factory() method. -
[1.20.2] I'm having trouble rendering textures inside obj models
zlappedx3 replied to zlappedx3's topic in Modder Support
Wow! I'm not alone anymore. Waiting for the answer. -
[1.19.4] I have a slight issue regarding placed features.
zlappedx3 replied to zlappedx3's topic in Modder Support
It seems like I made a slight mistake. Now I am able to use it properly. I didn't thoroughly check the data pack and it seems like there was a bug in the error checking of the IDE I was using. I don't blame anyone for this confusion. However, I can still build it even though the IDE is still indicating errors. -
[1.19.4] I have a slight issue regarding placed features.
zlappedx3 replied to zlappedx3's topic in Modder Support
I have completed everything you mentioned, and here is an example from GitHub: https://github.com/Tutorials-By-Kaupenjoe/Forge-Tutorial-1.19.3/blob/7-treeGeneration I would like you to look at the two main classes as follows: ModConfiguredFeatures, located in the package net.kaupenjoe.tutorialmod.worldgen ModWorldGenProvider, located in the package net.kaupenjoe.tutorialmod.datagen If you're using version 1.19.4-45.0.39 without updating to 45.0.40, the mentioned code works fine. However, if you switch to version 45.0.40 and try to add the method ModConfiguredFeatures::bootstrap, there will be an immediate issue. It seems like it cannot accept a method with a parameter as an instance, but it can still work properly with an instance that doesn't have an instant parameter, such as BootstapContext<PlacedFeature>. -
[1.19.4] I have a slight issue regarding placed features.
zlappedx3 posted a topic in Modder Support
Hello, in 1.19.4-45.0.40, I'm using the RegistrySetBuilder class to add a method that has a parameter ConfiguredFeature<?, ?>>. However, I'm unable to add it successfully. But in version 45.0.39, I was able to do it without any problems. Do you happen to have any solutions to this issue? -
Hello, I want to render .obj inside my screen, is there a way to call .obj to render ? without using render items.
-
Wow Thank you so mush.
-
When i checking log update from forge it is not described as KeyInputEvent change to what, Can you give a hint or something? Or do I have to search in vanilla?
-
[1.18.1] Why my bow can't pulling animetion
zlappedx3 replied to zlappedx3's topic in Modder Support
@Luis_ST Okay thank you very mush now i meet this example. https://mcforge.readthedocs.io/en/latest/models/itemproperties/ -
[1.18.1] Why my bow can't pulling animetion
zlappedx3 replied to zlappedx3's topic in Modder Support
@Luis_ST What is ItemPropertyFunction ? -
Hello guys i create my bow and put overrides[] on my json model but pulling animetion don't work please try hint me something.
-
[1.18.1] How to change color sky in DimensionSpecialEffects ?
zlappedx3 replied to zlappedx3's topic in Modder Support
Thank you so mush. @-@ -
Hello Devs now i can create some dimension from this tutorial Link now I'm searching buildSurface method on vanilla how to generate as random surface. where is it.
-
Sometimes if you have a slight hint of vanilla, that's okay.
-
Thank you for direction, The next time i have plan for create some world. But now I will haven't asked yet.
-
I like to do things not like the locals. sorry for bothering. By the way, HEIGHTMAP_WORLD_SURFACE is the same as HEIGHTMAP_SQUARE, right?
-
@Luis_ST I check ConfiguredFeature class from vanilla i see method placed() has new PlacedFeature() object if i use @Override from placed() method and return some PlacedFeature from TreePlacements can it working ? Edit : Maybe give me an example ?
-
Normally in 1.17.1 i use BiomeLoadingEvent#getGeneration()#getFeatures() then and add some Supplier ConfiguredFeature<?, ?> But in 1.18.1 it want PlacedFeature and i look ConfiguredFeature class i see placed() method. Ummmmm Let's go back to 1.17.1 on decorated() method by put this parameter .decorated(Features.Decorators.HEIGHTMAP_SQUARE).decorated(FeatureDecorator.COUNT_EXTRA.configured(new FrequencyWithExtraChanceDecoratorConfiguration(1, 0.1F, 1))) Okay now coming to 1.18.1 i use placed() method by put this parameter. .placed(PlacementUtils.HEIGHTMAP_WORLD_SURFACE, PlacementUtils.countExtra(1, 0.1F, 1)) but there are no trees, Is there a way to make a tree spawn?
-
@Luis_ST Thank you so mush now i can do it.
-
@Luis_ST 2 Finally Quastion if i use StructureFeatures#registerStructures it's static method can it working ?, and the what is @mixin(something.class) and how to use it ? PS. Sorry now i'm so stupid but if you example about this i will thank you so mush.
-
If StructureSettings#configuredStructures is private variable how to add to the StructureSettings#configuredStructures ?
-
Hello normally in 1.17.1 i call BiomeLoadingEvent for add some Structure from BiomeGenerationSettingsBuilder#getStructures() but when i modding on 1.18.1 getStructures() method is missing. Don't ask me what I want, you should know what I want.