Skip to content

Commit

Permalink
add vampire beacon
Browse files Browse the repository at this point in the history
  • Loading branch information
Cheaterpaul committed Oct 31, 2023
1 parent cc8eb47 commit 6d23b3f
Show file tree
Hide file tree
Showing 35 changed files with 1,095 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "vampirism:block/vampire_beacon"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"parent": "minecraft:block/beacon",
"render_type": "minecraft:cutout",
"textures": {
"beacon": "vampirism:block/vampire_beacon"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"parent": "vampirism:block/vampire_beacon"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"parent": "minecraft:recipes/root",
"criteria": {
"has_glass": {
"conditions": {
"items": [
{
"tag": "forge:glass"
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_mother_core": {
"conditions": {
"items": [
{
"items": [
"vampirism:mother_core"
]
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_obsidian": {
"conditions": {
"items": [
{
"tag": "forge:obsidian"
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_the_recipe": {
"conditions": {
"recipe": "vampirism:vampire_beacon"
},
"trigger": "minecraft:recipe_unlocked"
}
},
"requirements": [
[
"has_mother_core",
"has_obsidian",
"has_glass",
"has_the_recipe"
]
],
"rewards": {
"recipes": [
"vampirism:vampire_beacon"
]
},
"sends_telemetry_event": false
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"type": "minecraft:block",
"pools": [
{
"bonus_rolls": 0.0,
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
],
"entries": [
{
"type": "minecraft:item",
"functions": [
{
"function": "minecraft:copy_name",
"source": "block_entity"
}
],
"name": "vampirism:vampire_beacon"
}
],
"rolls": 1.0
}
],
"random_sequence": "vampirism:blocks/vampire_beacon"
}
24 changes: 24 additions & 0 deletions src/generated/resources/data/vampirism/recipes/vampire_beacon.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"type": "minecraft:crafting_shaped",
"category": "misc",
"key": {
"C": {
"item": "vampirism:mother_core"
},
"G": {
"tag": "forge:glass"
},
"O": {
"tag": "forge:obsidian"
}
},
"pattern": [
"GGG",
"GCG",
"OOO"
],
"result": {
"item": "vampirism:vampire_beacon"
},
"show_notification": true
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"values": [
"vampirism:blood_infused_iron_block",
"vampirism:blood_infused_enhanced_iron_block"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"values": [
"#vampirism:pure_blood",
"#vampirism:heart",
"vampirism:soul_orb_vampire"
]
}
Loading

0 comments on commit 6d23b3f

Please sign in to comment.