本模组之所以被创建,是因为我在尝试使用出色的“Additional Loot Tables”模组初始化并添加自定义战利品表时遇到了一些困难。
此模组仅用于提供一些可供你通过 LootTweaker 覆盖的战利品表,且这些战利品表默认情况下不会被使用。所有箱子默认使用冰窟战利品表,所有实体默认使用凋灵骷髅战利品表。
由于该模组仅旨在提供一些占位符供你按需修改并用于整合包,因此可能不会有太多更新。但如果你有任何需求或希望增加更多功能,请告诉我,这很简单就能实现。
可供你覆盖的箱子战利品表:
neuroflow:chests/chestloot1
neuroflow:chests/chestloot2
neuroflow:chests/chestloot3
...
neuroflow:chests/chestloot15
neuroflow:chests/chestloot16
可供你覆盖的实体战利品表:
neuroflow:entities/entityloot1
neuroflow:entities/entityloot2
neuroflow:entities/entityloot3
...
neuroflow:entities/entityloot9
LootTweaker 脚本示例:清除掉落物并添加线
import crafttweaker.entity.IEntityDropFunction;
import loottweaker.vanilla.loot.LootTables;
import loottweaker.vanilla.loot.LootTable;
import loottweaker.vanilla.loot.LootPool;
import loottweaker.vanilla.loot.Conditions;
import loottweaker.vanilla.loot.Functions;
val chest1 = LootTables.getTable("neuroflow:chests/chestloot1");
val main = chest1.getPool("main");
main.clearEntries();
val c1p1 = chest1.addPool("c1p1", 1, 3, 0, 2);
c1p1.addItemEntry(<minecraft:string>, 5);
放置带有指定战利品表的箱子的命令:
setblock ~ ~ ~1 chest 1 0 {LootTable:"neuroflow:chests/chestloot1"}
This mod was created because I had some trouble initializing and adding my own custom loot tables with the wonderful "Additional Loot Tables" mod.
This was just created to give some loot tables for you to override with LootTweaker and the loottables here are not used by default. All chests have igloo loottable by default, and all entities use wither_skeleton.
There probably won't be many updates to this mod as it is just to give some placeholders for you to change to your liking and use for modpacks, but if you have any requests or want more let me know and it is pretty simple to do.
Chest Loot Tables for you to override:
neuroflow:chests/chestloot1
neuroflow:chests/chestloot2
neuroflow:chests/chestloot3
...
neuroflow:chests/chestloot15
neuroflow:chests/chestloot16
Entity Loot Tables for you to override:
neuroflow:entities/entityloot1
neuroflow:entities/entityloot2
neuroflow:entities/entityloot3
...
neuroflow:entities/entityloot9
Example LootTweaker Script to clear drops and add string
import crafttweaker.entity.IEntityDropFunction;
import loottweaker.vanilla.loot.LootTables;
import loottweaker.vanilla.loot.LootTable;
import loottweaker.vanilla.loot.LootPool;
import loottweaker.vanilla.loot.Conditions;
import loottweaker.vanilla.loot.Functions;
val chest1 = LootTables.getTable("neuroflow:chests/chestloot1");
val main = chest1.getPool("main");
main.clearEntries();
val c1p1 = chest1.addPool("c1p1", 1, 3, 0, 2);
c1p1.addItemEntry(<minecraft:string>, 5);
Command to place chest with loot table:
setblock ~ ~ ~1 chest 1 0 {LootTable:"neuroflow:chests/chestloot1"}
评论 0
登录后参与评分
还没有评论,来抢沙发吧