Cleanup, disable logspam
This commit is contained in:
parent
4ff65b31d3
commit
a26c51c864
3 changed files with 2 additions and 0 deletions
|
|
@ -0,0 +1,14 @@
|
|||
// Only needed to prevent the player's inventory from looking like this was consumed even though it wasn't.
|
||||
onEvent('block.right_click', event => {
|
||||
if (event.getItem() === 'corail_woodcutter:acacia_woodcutter') {
|
||||
event.cancel();
|
||||
}
|
||||
|
||||
if (event.getItem() === 'createaddition:connector') {
|
||||
event.cancel();
|
||||
}
|
||||
|
||||
if (event.getItem() === 'mekanismgenerators:heat_generator') {
|
||||
event.cancel();
|
||||
}
|
||||
});
|
||||
32
kubejs/client_scripts/HarmoniousEngineering/tooltips.js
Normal file
32
kubejs/client_scripts/HarmoniousEngineering/tooltips.js
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
onEvent('item.tooltip', event => {
|
||||
event.add('moreminecarts:chunkrodite', [
|
||||
'§7Created by destroying a §5Chunk Loader§7 that still has time remaining.§r',
|
||||
]);
|
||||
event.add('kubejs:crude_andesite_alloy', ['§cDeprecated. See Andesite-Zinc Blend.§r']);
|
||||
event.add('kubejs:fluxed_singularity', ['§7Concerningly Unstable...§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'));
|
||||
}
|
||||
if (item.toString().includes(".enchant('minecraft:feather_falling', 4)")) {
|
||||
text.add(Text.of('§5All fall damage is negated and applied to boots instead§r'));
|
||||
}
|
||||
});
|
||||
|
||||
event.add('immersiveengineering:furnace_heater', [
|
||||
'§7Replaced by the Induction Heater from CC&A§r',
|
||||
]);
|
||||
event.add('createaddition:heater', [
|
||||
`§7Replaces IE's Furnace Heater to Prevent Abuse w/ the Flywheel§r`,
|
||||
]);
|
||||
|
||||
['createaddition:connector', 'mekanismgenerators:heat_generator'].forEach(x =>
|
||||
event.add(x, ['§cUsed for Crafting Only§r'])
|
||||
);
|
||||
|
||||
event.add('minecraft:elytra', ['§7Throw in world to convert to a Customizable Elytra.§r']);
|
||||
event.add('mekanism:cardboard_box', [
|
||||
'§7Bigger on the inside?§r',
|
||||
'§7Capable of moving Spawners§r',
|
||||
]);
|
||||
});
|
||||
Loading…
Reference in a new issue