feat: loot tables (#43)
self-explanatory Reviewed-on: https://git.neolegacy.dev/neoStudiosLCE/neoLegacy/pulls/43
This commit is contained in:
+82
@@ -0,0 +1,82 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<loot_table>
|
||||
<pools>
|
||||
<pool>
|
||||
<rolls>1</rolls>
|
||||
<entries>
|
||||
<entry>
|
||||
<type>item</type>
|
||||
<name>minecraft:rabbit_hide</name>
|
||||
<weight>1</weight>
|
||||
<functions>
|
||||
<function>
|
||||
<function>set_count</function>
|
||||
<count>
|
||||
<min>0</min>
|
||||
<max>1</max>
|
||||
</count>
|
||||
</function>
|
||||
<function>
|
||||
<function>looting_enchant</function>
|
||||
<count>
|
||||
<min>0</min>
|
||||
<max>1</max>
|
||||
</count>
|
||||
</function>
|
||||
</functions>
|
||||
</entry>
|
||||
</entries>
|
||||
</pool>
|
||||
<pool>
|
||||
<rolls>1</rolls>
|
||||
<entries>
|
||||
<entry>
|
||||
<type>item</type>
|
||||
<name>minecraft:rabbit</name>
|
||||
<weight>1</weight>
|
||||
<functions>
|
||||
<function>
|
||||
<function>set_count</function>
|
||||
<count>
|
||||
<min>0</min>
|
||||
<max>1</max>
|
||||
</count>
|
||||
</function>
|
||||
<function>
|
||||
<function>furnace_smelt</function>
|
||||
<conditions>
|
||||
<condition>
|
||||
<condition>entity_properties</condition>
|
||||
<entity>this</entity>
|
||||
<properties>
|
||||
<on_fire>True</on_fire>
|
||||
</properties>
|
||||
</condition>
|
||||
</conditions>
|
||||
</function>
|
||||
</functions>
|
||||
</entry>
|
||||
</entries>
|
||||
</pool>
|
||||
<pool>
|
||||
<conditions>
|
||||
<condition>
|
||||
<condition>killed_by_player</condition>
|
||||
</condition>
|
||||
<condition>
|
||||
<condition>random_chance_with_looting</condition>
|
||||
<chance>0.1</chance>
|
||||
<looting_multiplier>0.03</looting_multiplier>
|
||||
</condition>
|
||||
</conditions>
|
||||
<rolls>1</rolls>
|
||||
<entries>
|
||||
<entry>
|
||||
<type>item</type>
|
||||
<name>minecraft:rabbit_foot</name>
|
||||
<weight>1</weight>
|
||||
</entry>
|
||||
</entries>
|
||||
</pool>
|
||||
</pools>
|
||||
</loot_table>
|
||||
Reference in New Issue
Block a user