Comments (4)
Thanks for the hint, the ResourceManagerHelper.registerBuiltinResourcePack
method should I think do what I want, but I don't have the necessary internet connection to test right now
from rug.
Actually after having a closer look now, I don't think that method works. It requires the datapack to be in the mod jar file, but the whole reason why I manually copy the files into the datapack directory is that I need the pack to be dynamic, depending on what rules are set the contents of that pack vary.
As previously discussed in #17 (comment), I am also pretty much unable to create the datapack files before the default first load starts, because carpet only parses the rule config after that.
If you have another suggestion for a potential solution or I simply misunderstood the registerBuiltinResourcePack
method, please tell me. You seem a lot more experienced with fabric mod development than I am. Otherwise I sadly might have to close this as wontfix...
from rug.
My recommendation would be: for each carpet rule that controls a datapack, remove it, and replace it with a builtin datapack.
The only difference for users would be that they enable/disable them with /datapack enable/disable <data pack name>
instead of /carpet <carpet rule name> true/false
.
from rug.
That won't work with rules like unpackableIce
however, as they can be customized with a user specified integer value. Also I like the way these rules are integrated with the others, so users don't have to think about them being any different.
So, as the hard conflict between our mods seems to have been resolved on your side, I will close this now.
from rug.
Related Issues (20)
- Zerotick Plants Causing Immense Lag HOT 4
- moreFortressSpawningBlocks stops fortress mob spawning in bigger bounding box
- Backport to 1.15.2 HOT 3
- silkTouchSpawners not saving mob type HOT 3
- Incompatible with MiniTweaks on fabric mod loader 0.12.1
- Not compatible with VillagerFix due to mixins on ZombieVillager HOT 1
- [Feature Suggestion] ediblePhantomMembranes? HOT 2
- Better easyHarvesting HOT 2
- Incompatible with Plan | Player Analytics HOT 3
- Multiple Issues with 1.18.2 HOT 1
- Port to 1.19 HOT 1
- 1.19 missing new wood in woodcutting rule HOT 1
- Rule EasyChest missing Mangrove HOT 1
- Failed to start server HOT 2
- Crashing with pekhui HOT 1
- Incompatible with Baritone HOT 3
- Not compatible with 1.19.3 HOT 5
- Rug preventing server from starting HOT 4
- Update to 1.20.1 Please HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rug.