Git Product home page Git Product logo

fruitful-forge's People

Contributors

brun333rp avatar combohrenovke avatar estellarium avatar evo934 avatar ex0planetary avatar felinux02 avatar jogurciq avatar justinplayzz avatar kanspirians avatar sarinsa avatar shockmicro avatar stevendevs avatar witheredwasabi avatar

Stargazers

 avatar

Watchers

 avatar  avatar

fruitful-forge's Issues

Fruitful's oak tree configuredfeature is not registered

Hello! Someone was running my mod called Blame with a small modpack and it seemed to have found that Fruitful's ConfiguredFeature form of its budding/flowering oak tree is not registered. This can be an issue for mod compatibility as under certain conditions, unregistered ConfiguredFeatures can basically prevent other mod's registered ConfiguredFeatures from spawning if in the same generation stage.

By that I mean, if mod A adds an unregistered CF to the ore generation stage and the biome's codec reaches it first, it will choke and basically nuke mob B's registered CFs afterwards. Here's a case where BetterCaves forgot to register their CF and caused several CFs from Oh The Biomes You'll Go to stop spawning in the world: YUNG-GANG/YUNGs-Better-Caves#75

Here's a more detailed explanation of why this happens in the biome's codec:
image

Specifically, when you call .withConfiguration on a Feature, you create a ConfiguredFeature. This is what should be registered to the WorldgenRegisties at mod init (you can do it in FMLCommonSetupEvent so you have your config ready too if it is needed).

Anyway here's an example from my mod RepurposedStructures of me registering all my ConfiguredFeatures.
https://github.com/TelepathicGrunt/RepurposedStructures/blob/584433a0745338802c84e9f498dc063c1f5505f8/src/main/java/com/telepathicgrunt/repurposedstructures/modinit/RSConfiguredStructures.java#L72-L74

I hope this helps!

From the log with Blame where it tried to figure out what unnamed configuredfeature is unregistered by parsing its json:


****************** Blame Report 1.9.0 ******************

This is an experimental report. It is suppose to automatically read
the JSON of all the unregistered ConfiguredFeatures, ConfiguredStructures,
and ConfiguredCarvers. Then does its best to collect the terms that seem to
state whose mod the unregistered unnamed stuff belongs to.

Possible mods responsible for unregistered stuff:

fruitful:budding_oak_leaves
fruitful:flowering_oak_leaves

broken recipe

[04:29:36] [Worker-Main-23/ERROR]: Couldn't read item tag list fruitful:gives_sustaining_long from fruitful:tags/items/gives_sustaining_long.json in data pack Fruitful-1.16.5-2.1.0.jar
com.google.gson.JsonSyntaxException: Missing values, expected to find a JsonArray
	at net.minecraft.util.JSONUtils.func_151214_t(SourceFile:425) ~[?:?]
	at net.minecraft.tags.ITag$Builder.func_232956_a_(ITag.java:105) ~[?:?]
	at net.minecraft.tags.TagCollectionReader.func_242223_a(SourceFile:60) [?:?]
	at net.minecraft.tags.TagCollectionReader$$Lambda$18203/2133310044.get(Unknown Source) [?:?]
	at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1582) [?:1.8.0_51]
	at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1574) [?:1.8.0_51]
	at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) [?:1.8.0_51]
	at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) [?:1.8.0_51]
	at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1689) [?:1.8.0_51]
	at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157) [?:1.8.0_51]

plans for backport?

I use a modpack that runs in 1.15.2 because a lot of mods I prefer over others work in 1.15.2 and not above, and I was wondering if there is any plans to backport to 1.15.2 so I could use this mod

According to Blame, 2features of Fruitful aren't registered

****************** Blame Report 1.16.5-3.0.1-forge ******************

This is an experimental report. It is suppose to automatically read
the JSON of all the unregistered ConfiguredFeatures, ConfiguredStructures,
and ConfiguredCarvers. Then does its best to collect the terms that seem to
state whose mod the unregistered stuff belongs to.

Possible mods responsible for unregistered stuff:

fruitful:budding_oak_leaves
fruitful:flowering_oak_leaves
]

[Suggestion] Add option to allow trees to blossom more often.

I really like the concept of needing pollination to grow but does my apple yield really have to depend on the full moon?

It takes 160 (2hrs and 40min) in-game minutes for a full moon to occur.
It takes on average 31 in-game minutes (according to the minecraft wiki) for wheat to fully mature.

Perhaps they could blossom every other day or some blossom according to some config value?

[Enhancement] Farmer's Delight Compat

Farmer's delight adds a couple apple foods (Apple Pie Slice, a placeable Apple Pie, and Fruit Salad), could you let them give sustaining?
Alternatively, could you make a tag for all apple items, so that pack authors can add any number of extra apple items without bugging you guys?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.