Skip to content

Commit

Permalink
Update to 1.19
Browse files Browse the repository at this point in the history
Notable API changes:
* TintedSprite in MaterialRenderInfo now contains emissivity (renamed from luminosity)
* Added BakedUniqueGuiModel, just a way simplier to create variant of SeparateTransformsModel because it does not require specifying every property 3+ times in the constructors
* Reworked methods on MaterialModel to require less creator of consumers and to take advantage of Mantle's new "GUI quad builder"
* Tool models now put large first on fallback texture keys instead of last for consistency with the behavior for the part form
* Fixed modifier predicate not having an always fallback like other predicates
* Added FluidContainerModel as the forge one does not do static tints or fluid NBT
* Added SafeClient, will be migrating usages of DistExecutor there as the double lambda is just inefficent and cumbersome

Notable non-API changes:
* Moved fluid textures from block/fluid/ to fluid/ and organized into subfolders
* Fluid textures use Mantle's new system, which means all our old fluid fluid blocks have been removed
* Potions and powdered snow now have JSON controlled textures
* Fluid bucket and block state models are now datagenned
* PotionFluidType replaces PotionFluidAttributes for all the potiony goodness
* Delete diagonal slime channel textures, slime channel is RIP for  awhile and probably needs new textures anyway, if not just rotated textures
* Added argument type deferred register, because mojang thinks just everything needs a registry these days
* Model data is now created when requested instead of cached in the object, as I was told that is how the undocumented API is supposed to work. If people just documented these things...'
* Seems order of keys in JSON is now sorted alphabetically, which caused a lot of JSON files to update. In addition some keys were made optional in vanilla

TODO:
* Remove named book transformers in favor of using extra data
* Rename luminosity field to emissivity in MaterialRenderInfo
* Replace tank model property with a fluid and a capacity property
* Let materials override render types if reasonable
* Migrate tool broken models to an override, they work so well with charging properties
* Modifier models are such a mess, can they be cleaned up at all?
* Replace does not work on abstract tag providers, but this is a forge bug technically so its annoying to work around
* Cleanup tag conditions, probably worth having Mantle support them directly
* Move render types to models instead of static
* Migrate geode and ore placement to biome modifiers
* No idea what is going on with structure worldgen yet, those need work
* See if the new spawn placement registry lets me ditch earth slime mobs
* Migrate the process loot modifier hook somewhere
* Slime island advancements are disabled for now, will bring back when I figure out new structure stuff
  • Loading branch information
KnightMiner committed Mar 15, 2024
1 parent 8c594b4 commit 2c1d477
Show file tree
Hide file tree
Showing 5,541 changed files with 34,858 additions and 35,904 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@ options.txt
/banned-players.json
/ops.json
/whitelist.json
src/generated/resources/.cache/cache
src/generated/resources/.cache/*
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ forge_range=[43.3.0,)
parchment_version=2022.11.27

# Build Dependencies
mantle_version=1.10.3
mantle_range=[1.10.3,)
mantle_version=1.10.6
mantle_range=[1.10.6,)

# Optional compat
jei_version=11.6.+
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"": {
"model": "tconstruct:block/fluid"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"": {
"model": "tconstruct:block/fluid"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"": {
"model": "tconstruct:block/fluid"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"": {
"model": "tconstruct:block/fluid"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"": {
"model": "tconstruct:block/fluid"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"": {
"model": "tconstruct:block/fluid"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"": {
"model": "tconstruct:block/fluid"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"": {
"model": "tconstruct:block/fluid"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"": {
"model": "tconstruct:block/fluid"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"": {
"model": "tconstruct:block/fluid"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"": {
"model": "tconstruct:block/fluid"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"": {
"model": "tconstruct:block/fluid"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"": {
"model": "tconstruct:block/fluid"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"": {
"model": "tconstruct:block/fluid"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"": {
"model": "tconstruct:block/fluid"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"": {
"model": "tconstruct:block/fluid"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"": {
"model": "tconstruct:block/fluid"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"": {
"model": "tconstruct:block/fluid"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"": {
"model": "tconstruct:block/fluid"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"": {
"model": "tconstruct:block/fluid"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"": {
"model": "tconstruct:block/fluid"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"": {
"model": "tconstruct:block/fluid"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"": {
"model": "tconstruct:block/fluid"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"": {
"model": "tconstruct:block/fluid"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"": {
"model": "tconstruct:block/fluid"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"": {
"model": "tconstruct:block/fluid"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"": {
"model": "tconstruct:block/fluid"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"": {
"model": "tconstruct:block/fluid"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"": {
"model": "tconstruct:block/fluid"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"": {
"model": "tconstruct:block/fluid"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"": {
"model": "tconstruct:block/fluid"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"": {
"model": "tconstruct:block/fluid"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"": {
"model": "tconstruct:block/fluid"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"": {
"model": "tconstruct:block/fluid"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"": {
"model": "tconstruct:block/fluid"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"": {
"model": "tconstruct:block/fluid"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"": {
"model": "tconstruct:block/fluid"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"": {
"model": "tconstruct:block/fluid"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"": {
"model": "tconstruct:block/fluid"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"": {
"model": "tconstruct:block/fluid"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"": {
"model": "tconstruct:block/fluid"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"": {
"model": "tconstruct:block/fluid"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"": {
"model": "tconstruct:block/fluid"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"": {
"model": "tconstruct:block/fluid"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"": {
"model": "tconstruct:block/fluid"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"": {
"model": "tconstruct:block/fluid"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"": {
"model": "tconstruct:block/fluid"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"": {
"model": "tconstruct:block/fluid"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"": {
"model": "tconstruct:block/fluid"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"": {
"model": "tconstruct:block/fluid"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"": {
"model": "tconstruct:block/fluid"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"": {
"model": "tconstruct:block/fluid"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"": {
"model": "tconstruct:block/fluid"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"": {
"model": "tconstruct:block/fluid"
}
}
Loading

0 comments on commit 2c1d477

Please sign in to comment.