Jump to content

zlappedx3

Members
  • Posts

    157
  • Joined

  • Last visited

Everything posted by zlappedx3

  1. 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.
  2. Hi, I'm using the old way, the model is up. But when I use "loader": "forge:obj" and use the mlt file to call the texture normally, when I test it in the game, it loads all the textures in the texture.block packet in my resources. If you have any further questions about this issue, you can ask me.
  3. 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.
  4. 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>.
  5. 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?
  6. Hello, I want to render .obj inside my screen, is there a way to call .obj to render ? without using render items.
  7. 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?
  8. @Luis_ST Okay thank you very mush now i meet this example. https://mcforge.readthedocs.io/en/latest/models/itemproperties/
  9. Hello guys i create my bow and put overrides[] on my json model but pulling animetion don't work please try hint me something.
  10. Hello guys i meet the getSunriseColor() but i just changed color of the sunlight only, can i change color of sky ?
  11. 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.
  12. Sometimes if you have a slight hint of vanilla, that's okay.
  13. Thank you for direction, The next time i have plan for create some world. But now I will haven't asked yet.
  14. 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?
  15. @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 ?
  16. 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?
  17. @Luis_ST Thank you so mush now i can do it.
  18. @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.
  19. If StructureSettings#configuredStructures is private variable how to add to the StructureSettings#configuredStructures ?
  20. 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.
×
×
  • Create New...

Important Information

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