Tetra warnings for enchanted lumber
This commit is contained in:
parent
62556317cb
commit
bef3339e7b
1 changed files with 5 additions and 0 deletions
|
|
@ -7,4 +7,9 @@ onEvent('item.tooltip', event => {
|
|||
'§7Forcing something so hydrophobic to fuse with water might rip the fabric of space-time...§r',
|
||||
]);
|
||||
event.add('createaddition:connector', ['§cPlacement Disabled by Modpack Creator§r']);
|
||||
event.addAdvanced('minecraft:enchanted_book', (item, advanced, text) => {
|
||||
if (item.toString().includes(".enchant('vtweaks:lumbering', 1)")) {
|
||||
text.add(Text.of('§cCannot be applied to Tetra Tools§r'));
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue