generated from neoforged/MDK
-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
1ca02a8
commit 3d50db9
Showing
26 changed files
with
465 additions
and
8 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
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
4 changes: 2 additions & 2 deletions
4
src/main/generated/.cache/d8d9664aab66d4b32b72030c7c0b2fbfc87cde08
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.20.4 2024-04-07T15:45:49.6043422 Languages: en_us for mod: bibliocraft | ||
559c81a4948f893a0171d2deeb263bb1eb16fb5b assets/bibliocraft/lang/en_us.json | ||
// 1.20.4 2024-04-09T21:38:47.108993 Languages: en_us for mod: bibliocraft | ||
f3049f0a4f5f84cadb8e2960e1eaf682df44d96e assets/bibliocraft/lang/en_us.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
7 changes: 7 additions & 0 deletions
7
src/main/generated/assets/bibliocraft/blockstates/dinner_plate.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,7 @@ | ||
{ | ||
"variants": { | ||
"": { | ||
"model": "bibliocraft:block/dinner_plate" | ||
} | ||
} | ||
} |
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
3 changes: 3 additions & 0 deletions
3
src/main/generated/assets/bibliocraft/models/item/dinner_plate.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,3 @@ | ||
{ | ||
"parent": "bibliocraft:block/dinner_plate" | ||
} |
34 changes: 34 additions & 0 deletions
34
src/main/generated/data/bibliocraft/advancements/recipes/decorations/dinner_plate.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,34 @@ | ||
{ | ||
"parent": "minecraft:recipes/root", | ||
"criteria": { | ||
"has_smooth_quartz": { | ||
"conditions": { | ||
"items": [ | ||
{ | ||
"items": [ | ||
"minecraft:smooth_quartz_slab" | ||
] | ||
} | ||
] | ||
}, | ||
"trigger": "minecraft:inventory_changed" | ||
}, | ||
"has_the_recipe": { | ||
"conditions": { | ||
"recipe": "bibliocraft:dinner_plate" | ||
}, | ||
"trigger": "minecraft:recipe_unlocked" | ||
} | ||
}, | ||
"requirements": [ | ||
[ | ||
"has_the_recipe", | ||
"has_smooth_quartz" | ||
] | ||
], | ||
"rewards": { | ||
"recipes": [ | ||
"bibliocraft:dinner_plate" | ||
] | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
src/main/generated/data/bibliocraft/advancements/recipes/misc/clipboard.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,34 @@ | ||
{ | ||
"parent": "minecraft:recipes/root", | ||
"criteria": { | ||
"has_paper": { | ||
"conditions": { | ||
"items": [ | ||
{ | ||
"items": [ | ||
"minecraft:paper" | ||
] | ||
} | ||
] | ||
}, | ||
"trigger": "minecraft:inventory_changed" | ||
}, | ||
"has_the_recipe": { | ||
"conditions": { | ||
"recipe": "bibliocraft:clipboard" | ||
}, | ||
"trigger": "minecraft:recipe_unlocked" | ||
} | ||
}, | ||
"requirements": [ | ||
[ | ||
"has_the_recipe", | ||
"has_paper" | ||
] | ||
], | ||
"rewards": { | ||
"recipes": [ | ||
"bibliocraft:clipboard" | ||
] | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
src/main/generated/data/bibliocraft/loot_tables/blocks/dinner_plate.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,21 @@ | ||
{ | ||
"type": "minecraft:block", | ||
"pools": [ | ||
{ | ||
"bonus_rolls": 0.0, | ||
"conditions": [ | ||
{ | ||
"condition": "minecraft:survives_explosion" | ||
} | ||
], | ||
"entries": [ | ||
{ | ||
"type": "minecraft:item", | ||
"name": "bibliocraft:dinner_plate" | ||
} | ||
], | ||
"rolls": 1.0 | ||
} | ||
], | ||
"random_sequence": "bibliocraft:blocks/dinner_plate" | ||
} |
26 changes: 26 additions & 0 deletions
26
src/main/generated/data/bibliocraft/recipes/clipboard.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,26 @@ | ||
{ | ||
"type": "minecraft:crafting_shaped", | ||
"category": "misc", | ||
"key": { | ||
"F": { | ||
"tag": "forge:feathers" | ||
}, | ||
"I": { | ||
"tag": "forge:dyes/black" | ||
}, | ||
"L": { | ||
"tag": "minecraft:wooden_pressure_plates" | ||
}, | ||
"P": { | ||
"item": "minecraft:paper" | ||
} | ||
}, | ||
"pattern": [ | ||
"I F", | ||
"PPP", | ||
" L " | ||
], | ||
"result": { | ||
"item": "bibliocraft:clipboard" | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
src/main/generated/data/bibliocraft/recipes/dinner_plate.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,15 @@ | ||
{ | ||
"type": "minecraft:crafting_shaped", | ||
"category": "misc", | ||
"key": { | ||
"S": { | ||
"item": "minecraft:smooth_quartz_slab" | ||
} | ||
}, | ||
"pattern": [ | ||
"SSS" | ||
], | ||
"result": { | ||
"item": "bibliocraft:dinner_plate" | ||
} | ||
} |
39 changes: 39 additions & 0 deletions
39
...ava/com/github/minecraftschurlimods/bibliocraft/content/dinnerplate/DinnerPlateBlock.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,39 @@ | ||
package com.github.minecraftschurlimods.bibliocraft.content.dinnerplate; | ||
|
||
import com.github.minecraftschurlimods.bibliocraft.util.ShapeUtil; | ||
import net.minecraft.core.BlockPos; | ||
import net.minecraft.world.level.BlockGetter; | ||
import net.minecraft.world.level.block.Block; | ||
import net.minecraft.world.level.block.state.BlockState; | ||
import net.minecraft.world.phys.shapes.CollisionContext; | ||
import net.minecraft.world.phys.shapes.Shapes; | ||
import net.minecraft.world.phys.shapes.VoxelShape; | ||
|
||
@SuppressWarnings("deprecation") | ||
public class DinnerPlateBlock extends Block { | ||
public static final VoxelShape SHAPE = ShapeUtil.combine( | ||
Shapes.box(0.25, 0, 0.3125, 0.75, 0.0625, 0.6875), | ||
Shapes.box(0.1875, 0, 0.375, 0.25, 0.0625, 0.625), | ||
Shapes.box(0.75, 0, 0.375, 0.8125, 0.0625, 0.625), | ||
Shapes.box(0.71875, 0.03125, 0.34375, 0.78125, 0.09375, 0.65625), | ||
Shapes.box(0.34375, 0.03125, 0.21875, 0.65625, 0.09375, 0.28125), | ||
Shapes.box(0.21875, 0.03125, 0.34375, 0.28125, 0.09375, 0.65625), | ||
Shapes.box(0.34375, 0.03125, 0.71875, 0.65625, 0.09375, 0.78125), | ||
Shapes.box(0.28125, 0.03125, 0.28125, 0.40625, 0.09375, 0.34375), | ||
Shapes.box(0.28125, 0.03125, 0.34375, 0.34375, 0.09375, 0.40625), | ||
Shapes.box(0.59375, 0.03125, 0.28125, 0.71875, 0.09375, 0.34375), | ||
Shapes.box(0.65625, 0.03125, 0.34375, 0.71875, 0.09375, 0.40625), | ||
Shapes.box(0.59375, 0.03125, 0.65625, 0.71875, 0.09375, 0.71875), | ||
Shapes.box(0.65625, 0.03125, 0.59375, 0.71875, 0.09375, 0.65625), | ||
Shapes.box(0.28125, 0.03125, 0.65625, 0.40625, 0.09375, 0.71875), | ||
Shapes.box(0.28125, 0.03125, 0.59375, 0.34375, 0.09375, 0.65625)); | ||
|
||
public DinnerPlateBlock(Properties properties) { | ||
super(properties); | ||
} | ||
|
||
@Override | ||
public VoxelShape getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) { | ||
return SHAPE; | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
...in/java/com/github/minecraftschurlimods/bibliocraft/content/dinnerplate/package-info.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,7 @@ | ||
@MethodsReturnNonnullByDefault | ||
@ParametersAreNonnullByDefault | ||
package com.github.minecraftschurlimods.bibliocraft.content.dinnerplate; | ||
|
||
import net.minecraft.MethodsReturnNonnullByDefault; | ||
|
||
import javax.annotation.ParametersAreNonnullByDefault; |
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
Oops, something went wrong.