Skip to content

Commit

Permalink
Add main files
Browse files Browse the repository at this point in the history
  • Loading branch information
haaldor authored Jul 21, 2022
1 parent 5d7b803 commit d23a056
Show file tree
Hide file tree
Showing 6 changed files with 264 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
{
"type": "minecraft:entity",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:alternatives",
"children": [
{
"type": "minecraft:item",
"name": "minecraft:sculk_shrieker",
"functions": [
{
"function": "set_nbt",
"tag": "{display:{Name:\"\\\"Primed Sculk Shrieker\\\"\"},BlockStateTag:{can_summon:\"true\"}}"
}
],
"conditions": [
{
"condition": "minecraft:damage_source_properties",
"predicate": {
"direct_entity": {
"equipment": {
"mainhand": {
"enchantments": [
{
"enchantment": "minecraft:silk_touch",
"levels": {
"min": 1
}
}
]
}
}
}
}
}
]
},
{
"type": "minecraft:item",
"name": "minecraft:sculk_catalyst"
}
]
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:player_head",
"weight": 1,
"functions": [
{
"function": "set_nbt",
"tag": "{SkullOwner:{Id:[I;-1918074277,941639967,-1247506580,1612784779],Name:\"Warden\",Properties:{textures:[{Value:\"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYjJmMzg3OWI3MzcxMjc0ODVlYjM1ZGRlZTc0OGQwNmNmOTE0YjE5M2Q5Nzc1M2FlMzRlOTIyMzA4NDI4MzFmYiJ9fX0=\"}]}}}"
}
]
}
],
"conditions": [
{
"condition": "killed_by_player"
},
{
"condition": "random_chance_with_looting",
"chance": 0.05,
"looting_multiplier": 0.15
}
]
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
{
"type": "minecraft:entity",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:alternatives",
"children": [
{
"type": "minecraft:item",
"name": "minecraft:sculk_shrieker",
"functions": [
{
"function": "set_nbt",
"tag": "{display:{Name:\"\\\"Primed Sculk Shrieker\\\"\"},BlockStateTag:{can_summon:\"true\"}}"
}
],
"conditions": [
{
"condition": "minecraft:damage_source_properties",
"predicate": {
"direct_entity": {
"equipment": {
"mainhand": {
"enchantments": [
{
"enchantment": "minecraft:silk_touch",
"levels": {
"min": 1
}
}
]
}
}
}
}
}
]
},
{
"type": "minecraft:item",
"name": "minecraft:sculk_catalyst"
}
]
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "item",
"name": "minecraft:player_head",
"weight": 1,
"functions": [
{
"function": "set_nbt",
"tag": "{SkullOwner:{Id:[I;-1918074277,941639967,-1247506580,1612784779],Name:\"Warden\",Properties:{textures:[{Value:\"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYjJmMzg3OWI3MzcxMjc0ODVlYjM1ZGRlZTc0OGQwNmNmOTE0YjE5M2Q5Nzc1M2FlMzRlOTIyMzA4NDI4MzFmYiJ9fX0=\"}]}}}"
}
]
}
],
"conditions": [
{
"condition": "killed_by_player"
},
{
"condition": "random_chance_with_looting",
"chance": 0.05,
"looting_multiplier": 0.15
}
]
}
]
}
6 changes: 6 additions & 0 deletions warden_drop_fix + more mob heads compatibility/pack.mcmeta
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"pack": {
"pack_format": 10,
"description": "Warden drops usable Sculk Shriekers"
}
}
50 changes: 50 additions & 0 deletions warden_drop_fix/data/minecraft/loot_tables/entities/warden.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"type": "minecraft:entity",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:alternatives",
"children": [
{
"type": "minecraft:item",
"name": "minecraft:sculk_shrieker",
"functions": [
{
"function": "set_nbt",
"tag": "{display:{Name:\"\\\"Primed Sculk Shrieker\\\"\"},BlockStateTag:{can_summon:\"true\"}}"
}
],
"conditions": [
{
"condition": "minecraft:damage_source_properties",
"predicate": {
"direct_entity": {
"equipment": {
"mainhand": {
"enchantments": [
{
"enchantment": "minecraft:silk_touch",
"levels": {
"min": 1
}
}
]
}
}
}
}
}
]
},
{
"type": "minecraft:item",
"name": "minecraft:sculk_catalyst"
}
]
}
]
}
]
}
50 changes: 50 additions & 0 deletions warden_drop_fix/data/wardenfix/loot_tables/entities/warden.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"type": "minecraft:entity",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:alternatives",
"children": [
{
"type": "minecraft:item",
"name": "minecraft:sculk_shrieker",
"functions": [
{
"function": "set_nbt",
"tag": "{display:{Name:\"\\\"Primed Sculk Shrieker\\\"\"},BlockStateTag:{can_summon:\"true\"}}"
}
],
"conditions": [
{
"condition": "minecraft:damage_source_properties",
"predicate": {
"direct_entity": {
"equipment": {
"mainhand": {
"enchantments": [
{
"enchantment": "minecraft:silk_touch",
"levels": {
"min": 1
}
}
]
}
}
}
}
}
]
},
{
"type": "minecraft:item",
"name": "minecraft:sculk_catalyst"
}
]
}
]
}
]
}
6 changes: 6 additions & 0 deletions warden_drop_fix/pack.mcmeta
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"pack": {
"pack_format": 10,
"description": "Warden drops usable Sculk Shriekers"
}
}

0 comments on commit d23a056

Please sign in to comment.