-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: 秋雨落 <[email protected]>
- Loading branch information
Showing
47 changed files
with
144 additions
and
358 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 1 addition & 14 deletions
15
fabric/src/main/java/cuteneko/catsplus/fabric/client/CatsPlusFabricClient.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,11 @@ | ||
package cuteneko.catsplus.fabric.client; | ||
|
||
import cuteneko.catsplus.client.CatsPlusClient; | ||
import cuteneko.catsplus.item.ModItems; | ||
import net.fabricmc.api.ClientModInitializer; | ||
import net.fabricmc.fabric.api.client.rendering.v1.ColorProviderRegistry; | ||
import net.minecraft.core.component.DataComponents; | ||
|
||
public class CatsPlusFabricClient implements ClientModInitializer { | ||
@Override | ||
public void onInitializeClient() { | ||
CatsPlusClient.initClient(); | ||
|
||
ColorProviderRegistry.ITEM.register((stack, tintIndex) -> { | ||
if (tintIndex == 0) { | ||
var color = stack.get(DataComponents.DYED_COLOR); | ||
if (color != null) { | ||
return color.rgb(); | ||
} | ||
} | ||
return -1; | ||
}, ModItems.CAT_BAG.get()); | ||
CatsPlusClient.setupClient(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
.../15e558425d03769b4c939a16ffd55f843ac56d0f → .../15e558425d03769b4c939a16ffd55f843ac56d0f
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
// 1.21.1 2024-12-19T20:49:40.2540232 Cats+/Language (en_us) | ||
// 1.21.1 2024-12-29T17:25:32.8356958 Cats+/Language (en_us) | ||
4c954a23ddc8e4a06ac36b5dd90df1616bbb774f assets\catsplus\lang\en_us.json |
2 changes: 1 addition & 1 deletion
2
.../49e5c65ca1ab59f598f710846fb0f8d549021d95 → .../49e5c65ca1ab59f598f710846fb0f8d549021d95
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
// 1.21.1 2024-12-19T20:49:40.2555458 Cats+/Language (zh_cn) | ||
// 1.21.1 2024-12-29T17:25:32.8366935 Cats+/Language (zh_cn) | ||
48c49b72a471aa7dc799813b98f69a62d1c6a0dc assets\catsplus\lang\zh_cn.json |
1 change: 1 addition & 0 deletions
1
src/generated/resources/.cache/5e79d2cdbf486275146451d641b6d6e823f0432d
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
// 1.21.1 2024-12-29T17:25:32.8376931 Cats+/Tags for minecraft:block |
2 changes: 1 addition & 1 deletion
2
.../aaa80d5935224bd236f347a63f6c896153bd61b8 → .../aaa80d5935224bd236f347a63f6c896153bd61b8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
// 1.21.1 2024-12-19T20:49:40.2565329 Cats+/Tags for minecraft:item | ||
// 1.21.1 2024-12-29T17:25:32.8376931 Cats+/Tags for minecraft:item | ||
bc229f680fa773a41269c1569f5a700f669eb8e5 data\catsplus\tags\item\cooked_fishes.json |
4 changes: 2 additions & 2 deletions
4
.../d5ee957bafb940ae78b04b56b65ec8b9002aa9dc → .../d5ee957bafb940ae78b04b56b65ec8b9002aa9dc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// 1.21.1 2024-12-19T20:49:40.2555458 Cats+/Recipes | ||
// 1.21.1 2024-12-29T17:25:32.8366935 Cats+/Recipes | ||
42d7ddfe18f0e54b5b8899b35b51d6317bd6746b data\catsplus\recipe\cat_bag.json | ||
1e24c90e0b77a584a20cae12e030f5721fe2de72 data\catsplus\recipe\totemeow.json | ||
bc8eed3e40d27434c01dc0762c38ea6444076bb2 data\catsplus\advancement\recipes\tools\cat_bag.json | ||
d9f24ab4cd89db43509b7cfd2f0719ddbb3d2b2d data\catsplus\advancement\recipes\tools\totemeow.json | ||
42d7ddfe18f0e54b5b8899b35b51d6317bd6746b data\catsplus\recipe\cat_bag.json |
2 changes: 1 addition & 1 deletion
2
.../dcf38aaf6b2f28016e34adbe561ad13afee480c8 → .../dcf38aaf6b2f28016e34adbe561ad13afee480c8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
// 1.21.1 2024-12-19T20:49:40.2545277 Cats+/Model Definitions | ||
// 1.21.1 2024-12-29T17:25:32.8366935 Cats+/Model Definitions | ||
882a1bd93aa3b1750ec3f9e2176a49e5561f45a9 assets\catsplus\models\item\totemeow.json |
Oops, something went wrong.