use strict
This commit is contained in:
parent
89d74ee72d
commit
3d89d59d4d
272 changed files with 388 additions and 21 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -11,6 +11,9 @@
|
||||||
.vs/
|
.vs/
|
||||||
.vscode/
|
.vscode/
|
||||||
.idea/
|
.idea/
|
||||||
|
package.json
|
||||||
|
package-lock.json
|
||||||
|
node_modules/
|
||||||
|
|
||||||
# Pakku
|
# Pakku
|
||||||
build/
|
build/
|
||||||
|
|
|
||||||
30
eslint.config.js
Normal file
30
eslint.config.js
Normal file
|
|
@ -0,0 +1,30 @@
|
||||||
|
import js from "@eslint/js";
|
||||||
|
import globals from "globals";
|
||||||
|
import { defineConfig } from "eslint/config";
|
||||||
|
import stylistic from '@stylistic/eslint-plugin'
|
||||||
|
|
||||||
|
|
||||||
|
export default defineConfig([
|
||||||
|
{
|
||||||
|
files: ["**/*.{js,mjs,cjs,ts,mts,cts}"],
|
||||||
|
plugins: {
|
||||||
|
"js": js,
|
||||||
|
"@stylistic": stylistic
|
||||||
|
},
|
||||||
|
|
||||||
|
extends: ["js/recommended"],
|
||||||
|
languageOptions: { globals: globals.node, ecmaVersion: "ES2015" },
|
||||||
|
rules: {
|
||||||
|
"no-undef": "off",
|
||||||
|
"no-unused-vars": "off",
|
||||||
|
"@stylistic/comma-style": [1, "last"],
|
||||||
|
"@stylistic/brace-style": [1, "1tbs"],
|
||||||
|
"@stylistic/function-call-spacing": [1, "never"],
|
||||||
|
"@stylistic/no-floating-decimal": "error",
|
||||||
|
"@stylistic/arrow-spacing": [1, { "before": true, "after": true }],
|
||||||
|
"@stylistic/block-spacing": [1, "always"],
|
||||||
|
"@stylistic/keyword-spacing": [1, { "before": true, "after": true }],
|
||||||
|
"@stylistic/dot-location": [1, "property"]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
]);
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
"use strict";
|
||||||
|
|
||||||
const registerTooltips = (event) =>
|
const registerTooltips = (event) =>
|
||||||
{
|
{
|
||||||
event.addAdvanced(['gtceu:lv_macerator', 'gtceu:mv_macerator', 'gtceu:hp_steam_macerator'], (item, advanced, text) => {
|
event.addAdvanced(['gtceu:lv_macerator', 'gtceu:mv_macerator', 'gtceu:hp_steam_macerator'], (item, advanced, text) => {
|
||||||
|
|
|
||||||
|
|
@ -1,16 +0,0 @@
|
||||||
{
|
|
||||||
"compilerOptions": {
|
|
||||||
"lib": [
|
|
||||||
"ES5",
|
|
||||||
"ES2015"
|
|
||||||
],
|
|
||||||
"rootDirs": [
|
|
||||||
"probe/generated",
|
|
||||||
"probe/user",
|
|
||||||
"server_scripts",
|
|
||||||
"startup_scripts",
|
|
||||||
"client_scripts"
|
|
||||||
],
|
|
||||||
"target": "ES2015"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
function registerTFCDataForAdAstra(event) {
|
function registerTFCDataForAdAstra(event) {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
function registerAdAstraLoots(event) {
|
function registerAdAstraLoots(event) {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
const registerAdAstraRecipes = (event) => {
|
const registerAdAstraRecipes = (event) => {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
const registerAdAstraFluidTags = (event) => {
|
const registerAdAstraFluidTags = (event) => {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
const registerAdvancedPeripheralsRecipes = (event) => {
|
const registerAdvancedPeripheralsRecipes = (event) => {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
function registerAdvancedPeripheralsRecyclingRecipes(event) {
|
function registerAdvancedPeripheralsRecyclingRecipes(event) {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
const registerAdvancedPeripheralsItemTags = (event) => {
|
const registerAdvancedPeripheralsItemTags = (event) => {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
const registerAE2Recipes = (event) => {
|
const registerAE2Recipes = (event) => {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
const registerAE2ItemTags = (event) => {
|
const registerAE2ItemTags = (event) => {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
const registerAE2InsertExportCardRecipes = (event) => {
|
const registerAE2InsertExportCardRecipes = (event) => {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
const registerAE2NetworkAnalyzerRecipes = (event) => {
|
const registerAE2NetworkAnalyzerRecipes = (event) => {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
const registerAE2WTLibRecipes = (event) => {
|
const registerAE2WTLibRecipes = (event) => {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
"use strict";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {Internal.TFCDataEventJS} event
|
* @param {Internal.TFCDataEventJS} event
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
"use strict";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {Internal.RecipesEventJS} event
|
* @param {Internal.RecipesEventJS} event
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
"use strict";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {TagEvent.Item} event
|
* @param {TagEvent.Item} event
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
const registerAlekiroofsItemTags = (event) => {
|
const registerAlekiroofsItemTags = (event) => {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
"use strict";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {Internal.RecipesEventJS} event
|
* @param {Internal.RecipesEventJS} event
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
"use strict";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
const registerAsticorCartsRecipes = (event) => {
|
const registerAsticorCartsRecipes = (event) => {
|
||||||
event.remove({ id: 'astikorcarts:animal_cart' })
|
event.remove({ id: 'astikorcarts:animal_cart' })
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
const registerAsticorCartsItemTags = (event) => {
|
const registerAsticorCartsItemTags = (event) => {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
const registerBeneathRecipes = (event) => {
|
const registerBeneathRecipes = (event) => {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
"use strict";
|
||||||
|
|
||||||
const registerBeneathBlockTags = (event) => {
|
const registerBeneathBlockTags = (event) => {
|
||||||
|
|
||||||
global.BENEATH_DISABLED_ITEMS.forEach(item => {
|
global.BENEATH_DISABLED_ITEMS.forEach(item => {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
function registerBetterEndRecipes(event) {
|
function registerBetterEndRecipes(event) {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
function registerBetterEndItemTags(event) {
|
function registerBetterEndItemTags(event) {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
"use strict";
|
||||||
|
|
||||||
const registerBuildingGadgetsRecipes = (event) => {
|
const registerBuildingGadgetsRecipes = (event) => {
|
||||||
|
|
||||||
event.remove({ mod: 'buildinggadgets2' })
|
event.remove({ mod: 'buildinggadgets2' })
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
const registerCccBridgeRecipes = (event) => {
|
const registerCccBridgeRecipes = (event) => {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
function registerCccBridgeRecyclingRecipes(event) {
|
function registerCccBridgeRecyclingRecipes(event) {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
"use strict";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {Internal.TFCDataEventJS} evt
|
* @param {Internal.TFCDataEventJS} evt
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
"use strict";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {Internal.RecipesEventJS} evt
|
* @param {Internal.RecipesEventJS} evt
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
"use strict";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {TagEvent.Item} evt
|
* @param {TagEvent.Item} evt
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
"use strict";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {Internal.RecipesEventJS} event
|
* @param {Internal.RecipesEventJS} event
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
const registerComputerCraftData = (event) => {
|
const registerComputerCraftData = (event) => {
|
||||||
const TURTLE_TOOL_TYPES = [ GTToolType.SWORD, GTToolType.PICKAXE, GTToolType.AXE, GTToolType.SHOVEL, GTToolType.HOE ]
|
const TURTLE_TOOL_TYPES = [ GTToolType.SWORD, GTToolType.PICKAXE, GTToolType.AXE, GTToolType.SHOVEL, GTToolType.HOE ]
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
const registerComputerCraftRecipes = (event) => {
|
const registerComputerCraftRecipes = (event) => {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
function registerComputerCraftRecyclingRecipes(event) {
|
function registerComputerCraftRecyclingRecipes(event) {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
const registerComputerCraftItemTags = (event) => {
|
const registerComputerCraftItemTags = (event) => {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
function registerConstructionwandRecipes(event) {
|
function registerConstructionwandRecipes(event) {
|
||||||
//remove recipes
|
//remove recipes
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
function registerConstructionWandItemTags(event) {
|
function registerConstructionWandItemTags(event) {
|
||||||
event.add('tfc:usable_on_tool_rack', 'constructionwand:stone_wand')
|
event.add('tfc:usable_on_tool_rack', 'constructionwand:stone_wand')
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
const registerCreateRecipes = (event) => {
|
const registerCreateRecipes = (event) => {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
const registerCreateItemTags = (event) => {
|
const registerCreateItemTags = (event) => {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
function registerTFCDataForCreateAddition(event) {
|
function registerTFCDataForCreateAddition(event) {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
const $FoodData = Java.loadClass("net.dries007.tfc.common.capabilities.food.FoodData")
|
const $FoodData = Java.loadClass("net.dries007.tfc.common.capabilities.food.FoodData")
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
const registerCreateAdditionsRecipes = (event) => {
|
const registerCreateAdditionsRecipes = (event) => {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
const registerCreateAdditionsItemTags = (event) => {
|
const registerCreateAdditionsItemTags = (event) => {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
const registerCreateConnectedRecipes = (event) => {
|
const registerCreateConnectedRecipes = (event) => {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
"use strict";
|
||||||
|
|
||||||
const registerCreateConnectedItemTags = (event) => {
|
const registerCreateConnectedItemTags = (event) => {
|
||||||
|
|
||||||
global.CREATE_CONNECTED_DISABLED_ITEMS.forEach(item => {
|
global.CREATE_CONNECTED_DISABLED_ITEMS.forEach(item => {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
function registerCreateFactoryLogisticsRecipes(event) {
|
function registerCreateFactoryLogisticsRecipes(event) {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
function registerCreateFactoryLogisticsItemTags(event) {
|
function registerCreateFactoryLogisticsItemTags(event) {
|
||||||
event.add('c:hidden_from_recipe_viewers', 'create_factory_logistics:incomplete_fluid_mechanism')
|
event.add('c:hidden_from_recipe_viewers', 'create_factory_logistics:incomplete_fluid_mechanism')
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
function registerCreateHorsePowerBlockRecipes(event) {
|
function registerCreateHorsePowerBlockRecipes(event) {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
"use strict";
|
||||||
|
|
||||||
function registerCreateHypertubeRecipes(event) {
|
function registerCreateHypertubeRecipes(event) {
|
||||||
event.remove({ mod: 'create_hypertube' })
|
event.remove({ mod: 'create_hypertube' })
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
"use strict";
|
||||||
|
|
||||||
const registerCreatedecoRecipes = (event) => {
|
const registerCreatedecoRecipes = (event) => {
|
||||||
|
|
||||||
//#region Item Replacements
|
//#region Item Replacements
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
"use strict";
|
||||||
|
|
||||||
const metalBars = ['andesite', 'brass', 'iron', 'copper', 'industrial_iron', 'zinc'];
|
const metalBars = ['andesite', 'brass', 'iron', 'copper', 'industrial_iron', 'zinc'];
|
||||||
|
|
||||||
const registerCreateDecoItemTags = (event) => {
|
const registerCreateDecoItemTags = (event) => {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
function registerDiggerHelmetRecipes(event) {
|
function registerDiggerHelmetRecipes(event) {
|
||||||
event.remove({ mod: 'diggerhelmet' })
|
event.remove({ mod: 'diggerhelmet' })
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
function registerDiggerHelmetItemTags(event) {
|
function registerDiggerHelmetItemTags(event) {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
"use strict";
|
||||||
|
|
||||||
const registerDomumOrnamentumRecipes = (event) => {
|
const registerDomumOrnamentumRecipes = (event) => {
|
||||||
|
|
||||||
event.remove({ mod: 'domum_ornamentum', type: 'minecraft:crafting_shaped' })
|
event.remove({ mod: 'domum_ornamentum', type: 'minecraft:crafting_shaped' })
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
"use strict";
|
||||||
|
|
||||||
const registerDomumOrnamentumBlockTags = (event) => {
|
const registerDomumOrnamentumBlockTags = (event) => {
|
||||||
|
|
||||||
//#region Hidden Items
|
//#region Hidden Items
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
function registerEndermanOverhaulRecipes(event) {
|
function registerEndermanOverhaulRecipes(event) {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
"use strict";
|
||||||
|
|
||||||
const registerEndermanOverhaulItemTags = (event) => {
|
const registerEndermanOverhaulItemTags = (event) => {
|
||||||
|
|
||||||
const DISABLED_ITEMS = [
|
const DISABLED_ITEMS = [
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {Internal.RecipesEventJS} event
|
* @param {Internal.RecipesEventJS} event
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
const registerEveryCompatRecipes = (event) => {
|
const registerEveryCompatRecipes = (event) => {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
const registerEveryCompatItemTags = (event) => {
|
const registerEveryCompatItemTags = (event) => {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
const registerExposureRecipes = (event) => {
|
const registerExposureRecipes = (event) => {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
"use strict";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {TagEvent.Item} evt
|
* @param {TagEvent.Item} evt
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
"use strict";
|
||||||
|
|
||||||
const registerExtendedAE2Recipes = (event) => {
|
const registerExtendedAE2Recipes = (event) => {
|
||||||
|
|
||||||
event.remove({not:[
|
event.remove({not:[
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
const registerExtendedAE2ItemTags = (event) => {
|
const registerExtendedAE2ItemTags = (event) => {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
const registerFirmaCivRecipes = (event) => {
|
const registerFirmaCivRecipes = (event) => {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
const registerFirmaCivItemTags = (event) => {
|
const registerFirmaCivItemTags = (event) => {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
const registerTFCDataForFirmalife = (event) => {
|
const registerTFCDataForFirmalife = (event) => {
|
||||||
registerFirmalifeItemSize(event)
|
registerFirmalifeItemSize(event)
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
const registerFirmaLifeRecipes = (event) => {
|
const registerFirmaLifeRecipes = (event) => {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
const registerFirmaLifeItemTags = (event) => {
|
const registerFirmaLifeItemTags = (event) => {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
const registerFramedBlocksRecipes = (event) => {
|
const registerFramedBlocksRecipes = (event) => {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
const registerFramedBlocksItemTags = (event) => {
|
const registerFramedBlocksItemTags = (event) => {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
"use strict";
|
||||||
|
|
||||||
// Handles the quest for drinking water. The drinking water quest checks if the player has this stage.
|
// Handles the quest for drinking water. The drinking water quest checks if the player has this stage.
|
||||||
ItemEvents.firstRightClicked(evt =>
|
ItemEvents.firstRightClicked(evt =>
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
"use strict";
|
||||||
|
|
||||||
//#region Preservation Filter
|
//#region Preservation Filter
|
||||||
FTBFilterSystemEvents.customFilter("HasPreservation", evt =>
|
FTBFilterSystemEvents.customFilter("HasPreservation", evt =>
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
const registerFTBQuestsRecipes = (event) => {
|
const registerFTBQuestsRecipes = (event) => {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
const registerFTBQuestsItemTags = (event) => {
|
const registerFTBQuestsItemTags = (event) => {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
"use strict";
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* NBT Structure of a Grappling Hook:
|
* NBT Structure of a Grappling Hook:
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
function registerGrapplemodItemTags(event) {
|
function registerGrapplemodItemTags(event) {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
function registerGreateRecipes(event) {
|
function registerGreateRecipes(event) {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
function registerGreateRecyclingRecipes(event) {
|
function registerGreateRecyclingRecipes(event) {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
function removeGreateRecipes(event) {
|
function removeGreateRecipes(event) {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
function registerGreateItemTags(event) {
|
function registerGreateItemTags(event) {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
"use strict";
|
||||||
|
|
||||||
global.GTCEU_ANVIL_TOOL_TYPES = [
|
global.GTCEU_ANVIL_TOOL_TYPES = [
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
const registerTFCDataForGTCEU = (event) => {
|
const registerTFCDataForGTCEU = (event) => {
|
||||||
registerGTCEUHeats(event)
|
registerGTCEUHeats(event)
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
"use strict";
|
||||||
|
|
||||||
PlayerEvents.tick((event) => {
|
PlayerEvents.tick((event) => {
|
||||||
const { player } = event;
|
const { player } = event;
|
||||||
if (player.age % 100 == 0 && player.legsArmorItem == 'gtceu:nanomuscle_leggings') {
|
if (player.age % 100 == 0 && player.legsArmorItem == 'gtceu:nanomuscle_leggings') {
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
// priority: 10
|
// priority: 10
|
||||||
|
"use strict";
|
||||||
const STONE_TYPES_TO_COBBLE = {
|
const STONE_TYPES_TO_COBBLE = {
|
||||||
gabbro: 'tfc:rock/cobble/gabbro',
|
gabbro: 'tfc:rock/cobble/gabbro',
|
||||||
shale: 'tfc:rock/cobble/shale',
|
shale: 'tfc:rock/cobble/shale',
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
function registerGTCEuMachineRecipes(event) {
|
function registerGTCEuMachineRecipes(event) {
|
||||||
//#region Выход: Filter Casing
|
//#region Выход: Filter Casing
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
function registerGTCEUMetalRecipes(event) {
|
function registerGTCEUMetalRecipes(event) {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
function registerGTCEURecyclingRecipes(event) {
|
function registerGTCEURecyclingRecipes(event) {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
function removeGTCEURecipes(event) {
|
function removeGTCEURecipes(event) {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
function registerGTCEuTFCMetalsRecipes(event)
|
function registerGTCEuTFCMetalsRecipes(event)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
const registerGTCEUItemTags = (event) => {
|
const registerGTCEUItemTags = (event) => {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
//#region Mixer Recipes
|
//#region Mixer Recipes
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
const registerHandGliderRecipes = (event) => {
|
const registerHandGliderRecipes = (event) => {
|
||||||
|
|
||||||
event.remove({id: 'hangglider:glider_framework'})
|
event.remove({id: 'hangglider:glider_framework'})
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
const registerHotOrNotRecipes = (event) => {
|
const registerHotOrNotRecipes = (event) => {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
// priority: 0
|
// priority: 0
|
||||||
|
"use strict";
|
||||||
|
|
||||||
const registerHotOrNotItemTags = (event) => {
|
const registerHotOrNotItemTags = (event) => {
|
||||||
|
|
||||||
|
|
|
||||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue