-
-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0426ddb
commit 1d64e14
Showing
21 changed files
with
236 additions
and
12 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
21 changes: 21 additions & 0 deletions
21
...in/java/net/blay09/mods/cookingforblockheads/fabric/datagen/ModEntityTypeTagProvider.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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package net.blay09.mods.cookingforblockheads.fabric.datagen; | ||
|
||
import net.blay09.mods.cookingforblockheads.tag.ModEntityTypeTags; | ||
import net.fabricmc.fabric.api.datagen.v1.FabricDataOutput; | ||
import net.fabricmc.fabric.api.datagen.v1.provider.FabricTagProvider; | ||
import net.minecraft.core.HolderLookup; | ||
import net.minecraft.core.registries.Registries; | ||
import net.minecraft.world.entity.EntityType; | ||
|
||
import java.util.concurrent.CompletableFuture; | ||
|
||
public class ModEntityTypeTagProvider extends FabricTagProvider<EntityType<?>> { | ||
public ModEntityTypeTagProvider(FabricDataOutput output, CompletableFuture<HolderLookup.Provider> registriesFuture) { | ||
super(output, Registries.ENTITY_TYPE, registriesFuture); | ||
} | ||
|
||
@Override | ||
protected void addTags(HolderLookup.Provider arg) { | ||
getOrCreateTagBuilder(ModEntityTypeTags.COW).add(EntityType.COW); | ||
} | ||
} |
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
12 changes: 12 additions & 0 deletions
12
shared/src/generated/resources/assets/cookingforblockheads/models/block/black_oven.json
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,12 @@ | ||
{ | ||
"parent": "cookingforblockheads:block/dyed_oven", | ||
"textures": { | ||
"backsplash": "cookingforblockheads:block/black_oven_side", | ||
"ovenbottom": "cookingforblockheads:block/black_oven_bottom", | ||
"ovenfront": "cookingforblockheads:block/black_oven_front", | ||
"ovenfront_active": "cookingforblockheads:block/black_oven_front_active", | ||
"oventop": "cookingforblockheads:block/black_oven_top", | ||
"particle": "cookingforblockheads:block/black_oven_side", | ||
"texture": "cookingforblockheads:block/black_oven_side" | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
shared/src/generated/resources/assets/cookingforblockheads/models/block/blue_oven.json
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,12 @@ | ||
{ | ||
"parent": "cookingforblockheads:block/dyed_oven", | ||
"textures": { | ||
"backsplash": "cookingforblockheads:block/blue_oven_side", | ||
"ovenbottom": "cookingforblockheads:block/blue_oven_bottom", | ||
"ovenfront": "cookingforblockheads:block/blue_oven_front", | ||
"ovenfront_active": "cookingforblockheads:block/blue_oven_front_active", | ||
"oventop": "cookingforblockheads:block/blue_oven_top", | ||
"particle": "cookingforblockheads:block/blue_oven_side", | ||
"texture": "cookingforblockheads:block/blue_oven_side" | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
shared/src/generated/resources/assets/cookingforblockheads/models/block/brown_oven.json
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,12 @@ | ||
{ | ||
"parent": "cookingforblockheads:block/dyed_oven", | ||
"textures": { | ||
"backsplash": "cookingforblockheads:block/brown_oven_side", | ||
"ovenbottom": "cookingforblockheads:block/brown_oven_bottom", | ||
"ovenfront": "cookingforblockheads:block/brown_oven_front", | ||
"ovenfront_active": "cookingforblockheads:block/brown_oven_front_active", | ||
"oventop": "cookingforblockheads:block/brown_oven_top", | ||
"particle": "cookingforblockheads:block/brown_oven_side", | ||
"texture": "cookingforblockheads:block/brown_oven_side" | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
shared/src/generated/resources/assets/cookingforblockheads/models/block/cyan_oven.json
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,12 @@ | ||
{ | ||
"parent": "cookingforblockheads:block/dyed_oven", | ||
"textures": { | ||
"backsplash": "cookingforblockheads:block/cyan_oven_side", | ||
"ovenbottom": "cookingforblockheads:block/cyan_oven_bottom", | ||
"ovenfront": "cookingforblockheads:block/cyan_oven_front", | ||
"ovenfront_active": "cookingforblockheads:block/cyan_oven_front_active", | ||
"oventop": "cookingforblockheads:block/cyan_oven_top", | ||
"particle": "cookingforblockheads:block/cyan_oven_side", | ||
"texture": "cookingforblockheads:block/cyan_oven_side" | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
shared/src/generated/resources/assets/cookingforblockheads/models/block/gray_oven.json
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,12 @@ | ||
{ | ||
"parent": "cookingforblockheads:block/dyed_oven", | ||
"textures": { | ||
"backsplash": "cookingforblockheads:block/gray_oven_side", | ||
"ovenbottom": "cookingforblockheads:block/gray_oven_bottom", | ||
"ovenfront": "cookingforblockheads:block/gray_oven_front", | ||
"ovenfront_active": "cookingforblockheads:block/gray_oven_front_active", | ||
"oventop": "cookingforblockheads:block/gray_oven_top", | ||
"particle": "cookingforblockheads:block/gray_oven_side", | ||
"texture": "cookingforblockheads:block/gray_oven_side" | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
shared/src/generated/resources/assets/cookingforblockheads/models/block/green_oven.json
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,12 @@ | ||
{ | ||
"parent": "cookingforblockheads:block/dyed_oven", | ||
"textures": { | ||
"backsplash": "cookingforblockheads:block/green_oven_side", | ||
"ovenbottom": "cookingforblockheads:block/green_oven_bottom", | ||
"ovenfront": "cookingforblockheads:block/green_oven_front", | ||
"ovenfront_active": "cookingforblockheads:block/green_oven_front_active", | ||
"oventop": "cookingforblockheads:block/green_oven_top", | ||
"particle": "cookingforblockheads:block/green_oven_side", | ||
"texture": "cookingforblockheads:block/green_oven_side" | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
shared/src/generated/resources/assets/cookingforblockheads/models/block/light_blue_oven.json
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,12 @@ | ||
{ | ||
"parent": "cookingforblockheads:block/dyed_oven", | ||
"textures": { | ||
"backsplash": "cookingforblockheads:block/light_blue_oven_side", | ||
"ovenbottom": "cookingforblockheads:block/light_blue_oven_bottom", | ||
"ovenfront": "cookingforblockheads:block/light_blue_oven_front", | ||
"ovenfront_active": "cookingforblockheads:block/light_blue_oven_front_active", | ||
"oventop": "cookingforblockheads:block/light_blue_oven_top", | ||
"particle": "cookingforblockheads:block/light_blue_oven_side", | ||
"texture": "cookingforblockheads:block/light_blue_oven_side" | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
shared/src/generated/resources/assets/cookingforblockheads/models/block/light_gray_oven.json
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,12 @@ | ||
{ | ||
"parent": "cookingforblockheads:block/dyed_oven", | ||
"textures": { | ||
"backsplash": "cookingforblockheads:block/light_gray_oven_side", | ||
"ovenbottom": "cookingforblockheads:block/light_gray_oven_bottom", | ||
"ovenfront": "cookingforblockheads:block/light_gray_oven_front", | ||
"ovenfront_active": "cookingforblockheads:block/light_gray_oven_front_active", | ||
"oventop": "cookingforblockheads:block/light_gray_oven_top", | ||
"particle": "cookingforblockheads:block/light_gray_oven_side", | ||
"texture": "cookingforblockheads:block/light_gray_oven_side" | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
shared/src/generated/resources/assets/cookingforblockheads/models/block/lime_oven.json
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,12 @@ | ||
{ | ||
"parent": "cookingforblockheads:block/dyed_oven", | ||
"textures": { | ||
"backsplash": "cookingforblockheads:block/lime_oven_side", | ||
"ovenbottom": "cookingforblockheads:block/lime_oven_bottom", | ||
"ovenfront": "cookingforblockheads:block/lime_oven_front", | ||
"ovenfront_active": "cookingforblockheads:block/lime_oven_front_active", | ||
"oventop": "cookingforblockheads:block/lime_oven_top", | ||
"particle": "cookingforblockheads:block/lime_oven_side", | ||
"texture": "cookingforblockheads:block/lime_oven_side" | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
shared/src/generated/resources/assets/cookingforblockheads/models/block/magenta_oven.json
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,12 @@ | ||
{ | ||
"parent": "cookingforblockheads:block/dyed_oven", | ||
"textures": { | ||
"backsplash": "cookingforblockheads:block/magenta_oven_side", | ||
"ovenbottom": "cookingforblockheads:block/magenta_oven_bottom", | ||
"ovenfront": "cookingforblockheads:block/magenta_oven_front", | ||
"ovenfront_active": "cookingforblockheads:block/magenta_oven_front_active", | ||
"oventop": "cookingforblockheads:block/magenta_oven_top", | ||
"particle": "cookingforblockheads:block/magenta_oven_side", | ||
"texture": "cookingforblockheads:block/magenta_oven_side" | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
shared/src/generated/resources/assets/cookingforblockheads/models/block/orange_oven.json
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,12 @@ | ||
{ | ||
"parent": "cookingforblockheads:block/dyed_oven", | ||
"textures": { | ||
"backsplash": "cookingforblockheads:block/orange_oven_side", | ||
"ovenbottom": "cookingforblockheads:block/orange_oven_bottom", | ||
"ovenfront": "cookingforblockheads:block/orange_oven_front", | ||
"ovenfront_active": "cookingforblockheads:block/orange_oven_front_active", | ||
"oventop": "cookingforblockheads:block/orange_oven_top", | ||
"particle": "cookingforblockheads:block/orange_oven_side", | ||
"texture": "cookingforblockheads:block/orange_oven_side" | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
shared/src/generated/resources/assets/cookingforblockheads/models/block/oven.json
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,12 @@ | ||
{ | ||
"parent": "cookingforblockheads:block/dyed_oven", | ||
"textures": { | ||
"backsplash": "cookingforblockheads:block/white_oven_side", | ||
"ovenbottom": "cookingforblockheads:block/white_oven_bottom", | ||
"ovenfront": "cookingforblockheads:block/white_oven_front", | ||
"ovenfront_active": "cookingforblockheads:block/white_oven_front_active", | ||
"oventop": "cookingforblockheads:block/white_oven_top", | ||
"particle": "cookingforblockheads:block/white_oven_side", | ||
"texture": "cookingforblockheads:block/white_oven_side" | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
shared/src/generated/resources/assets/cookingforblockheads/models/block/pink_oven.json
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,12 @@ | ||
{ | ||
"parent": "cookingforblockheads:block/dyed_oven", | ||
"textures": { | ||
"backsplash": "cookingforblockheads:block/pink_oven_side", | ||
"ovenbottom": "cookingforblockheads:block/pink_oven_bottom", | ||
"ovenfront": "cookingforblockheads:block/pink_oven_front", | ||
"ovenfront_active": "cookingforblockheads:block/pink_oven_front_active", | ||
"oventop": "cookingforblockheads:block/pink_oven_top", | ||
"particle": "cookingforblockheads:block/pink_oven_side", | ||
"texture": "cookingforblockheads:block/pink_oven_side" | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
shared/src/generated/resources/assets/cookingforblockheads/models/block/purple_oven.json
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,12 @@ | ||
{ | ||
"parent": "cookingforblockheads:block/dyed_oven", | ||
"textures": { | ||
"backsplash": "cookingforblockheads:block/purple_oven_side", | ||
"ovenbottom": "cookingforblockheads:block/purple_oven_bottom", | ||
"ovenfront": "cookingforblockheads:block/purple_oven_front", | ||
"ovenfront_active": "cookingforblockheads:block/purple_oven_front_active", | ||
"oventop": "cookingforblockheads:block/purple_oven_top", | ||
"particle": "cookingforblockheads:block/purple_oven_side", | ||
"texture": "cookingforblockheads:block/purple_oven_side" | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
shared/src/generated/resources/assets/cookingforblockheads/models/block/red_oven.json
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,12 @@ | ||
{ | ||
"parent": "cookingforblockheads:block/dyed_oven", | ||
"textures": { | ||
"backsplash": "cookingforblockheads:block/red_oven_side", | ||
"ovenbottom": "cookingforblockheads:block/red_oven_bottom", | ||
"ovenfront": "cookingforblockheads:block/red_oven_front", | ||
"ovenfront_active": "cookingforblockheads:block/red_oven_front_active", | ||
"oventop": "cookingforblockheads:block/red_oven_top", | ||
"particle": "cookingforblockheads:block/red_oven_side", | ||
"texture": "cookingforblockheads:block/red_oven_side" | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
shared/src/generated/resources/assets/cookingforblockheads/models/block/yellow_oven.json
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,12 @@ | ||
{ | ||
"parent": "cookingforblockheads:block/dyed_oven", | ||
"textures": { | ||
"backsplash": "cookingforblockheads:block/yellow_oven_side", | ||
"ovenbottom": "cookingforblockheads:block/yellow_oven_bottom", | ||
"ovenfront": "cookingforblockheads:block/yellow_oven_front", | ||
"ovenfront_active": "cookingforblockheads:block/yellow_oven_front_active", | ||
"oventop": "cookingforblockheads:block/yellow_oven_top", | ||
"particle": "cookingforblockheads:block/yellow_oven_side", | ||
"texture": "cookingforblockheads:block/yellow_oven_side" | ||
} | ||
} |
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
File renamed without changes.