Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,143 @@
--- a/data/minecraft/loot_table/entities/elder_guardian.json
+++ b/data/minecraft/loot_table/entities/elder_guardian.json
@@ -142,46 +_,100 @@
],
"entries": [
{
- "type": "minecraft:loot_table",
- "functions": [
- {
- "conditions": [
- {
- "condition": "minecraft:any_of",
- "terms": [
- {
- "condition": "minecraft:entity_properties",
- "entity": "this",
- "predicate": {
- "flags": {
- "is_on_fire": true
- }
- }
- },
- {
- "condition": "minecraft:entity_properties",
- "entity": "direct_attacker",
- "predicate": {
- "equipment": {
- "mainhand": {
- "predicates": {
- "minecraft:enchantments": [
- {
- "enchantments": "#minecraft:smelts_loot"
- }
- ]
- }
- }
- }
- }
- }
- ]
- }
- ],
- "function": "minecraft:furnace_smelt"
- }
- ],
- "value": "minecraft:gameplay/fishing/fish"
+ "type": "minecraft:item",
+ "functions": [
+ {
+ "conditions": [
+ {
+ "condition": "minecraft:any_of",
+ "terms": [
+ {
+ "condition": "minecraft:entity_properties",
+ "entity": "this",
+ "predicate": {
+ "flags": {
+ "is_on_fire": true
+ }
+ }
+ },
+ {
+ "condition": "minecraft:entity_properties",
+ "entity": "direct_attacker",
+ "predicate": {
+ "equipment": {
+ "mainhand": {
+ "predicates": {
+ "minecraft:enchantments": [
+ {
+ "enchantments": "#minecraft:smelts_loot"
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ ]
+ }
+ ],
+ "function": "minecraft:furnace_smelt"
+ }
+ ],
+ "name": "minecraft:cod",
+ "weight": 60
+ },
+ {
+ "type": "minecraft:item",
+ "functions": [
+ {
+ "conditions": [
+ {
+ "condition": "minecraft:any_of",
+ "terms": [
+ {
+ "condition": "minecraft:entity_properties",
+ "entity": "this",
+ "predicate": {
+ "flags": {
+ "is_on_fire": true
+ }
+ }
+ },
+ {
+ "condition": "minecraft:entity_properties",
+ "entity": "direct_attacker",
+ "predicate": {
+ "equipment": {
+ "mainhand": {
+ "predicates": {
+ "minecraft:enchantments": [
+ {
+ "enchantments": "#minecraft:smelts_loot"
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ ]
+ }
+ ],
+ "function": "minecraft:furnace_smelt"
+ }
+ ],
+ "name": "minecraft:salmon",
+ "weight": 25
+ },
+ {
+ "type": "minecraft:item",
+ "name": "minecraft:tropical_fish",
+ "weight": 2
+ },
+ {
+ "type": "minecraft:item",
+ "name": "minecraft:pufferfish",
+ "weight": 13
}
],
"rolls": 1.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,143 @@
--- a/data/minecraft/loot_table/entities/guardian.json
+++ b/data/minecraft/loot_table/entities/guardian.json
@@ -127,46 +_,100 @@
],
"entries": [
{
- "type": "minecraft:loot_table",
- "functions": [
- {
- "conditions": [
- {
- "condition": "minecraft:any_of",
- "terms": [
- {
- "condition": "minecraft:entity_properties",
- "entity": "this",
- "predicate": {
- "flags": {
- "is_on_fire": true
- }
- }
- },
- {
- "condition": "minecraft:entity_properties",
- "entity": "direct_attacker",
- "predicate": {
- "equipment": {
- "mainhand": {
- "predicates": {
- "minecraft:enchantments": [
- {
- "enchantments": "#minecraft:smelts_loot"
- }
- ]
- }
- }
- }
- }
- }
- ]
- }
- ],
- "function": "minecraft:furnace_smelt"
- }
- ],
- "value": "minecraft:gameplay/fishing/fish"
+ "type": "minecraft:item",
+ "functions": [
+ {
+ "conditions": [
+ {
+ "condition": "minecraft:any_of",
+ "terms": [
+ {
+ "condition": "minecraft:entity_properties",
+ "entity": "this",
+ "predicate": {
+ "flags": {
+ "is_on_fire": true
+ }
+ }
+ },
+ {
+ "condition": "minecraft:entity_properties",
+ "entity": "direct_attacker",
+ "predicate": {
+ "equipment": {
+ "mainhand": {
+ "predicates": {
+ "minecraft:enchantments": [
+ {
+ "enchantments": "#minecraft:smelts_loot"
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ ]
+ }
+ ],
+ "function": "minecraft:furnace_smelt"
+ }
+ ],
+ "name": "minecraft:cod",
+ "weight": 60
+ },
+ {
+ "type": "minecraft:item",
+ "functions": [
+ {
+ "conditions": [
+ {
+ "condition": "minecraft:any_of",
+ "terms": [
+ {
+ "condition": "minecraft:entity_properties",
+ "entity": "this",
+ "predicate": {
+ "flags": {
+ "is_on_fire": true
+ }
+ }
+ },
+ {
+ "condition": "minecraft:entity_properties",
+ "entity": "direct_attacker",
+ "predicate": {
+ "equipment": {
+ "mainhand": {
+ "predicates": {
+ "minecraft:enchantments": [
+ {
+ "enchantments": "#minecraft:smelts_loot"
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ ]
+ }
+ ],
+ "function": "minecraft:furnace_smelt"
+ }
+ ],
+ "name": "minecraft:salmon",
+ "weight": 25
+ },
+ {
+ "type": "minecraft:item",
+ "name": "minecraft:tropical_fish",
+ "weight": 2
+ },
+ {
+ "type": "minecraft:item",
+ "name": "minecraft:pufferfish",
+ "weight": 13
}
],
"rolls": 1.0