Improve how the fluix material is handled
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
GTCEuStartupEvents.registry("gtceu:material", (event) => {
|
||||
event
|
||||
.create("fluix")
|
||||
.dust()
|
||||
.gem()
|
||||
.components("1x nether_quartz", "1x certus_quartz", "1x redstone")
|
||||
.color(0x8f5ccb)
|
||||
.iconSet(GTMaterialIconSet.DULL)
|
||||
.flags(GTMaterialFlags.GENERATE_PLATE, GTMaterialFlags.GENERATE_GEAR);
|
||||
.flags(GTMaterialFlags.GENERATE_PLATE, GTMaterialFlags.GENERATE_GEAR, GTMaterialFlags.FLAMMABLE);
|
||||
|
||||
/*
|
||||
event
|
||||
|
||||
10
kubejs/startup_scripts/material_testing/modification.js
Normal file
10
kubejs/startup_scripts/material_testing/modification.js
Normal file
@@ -0,0 +1,10 @@
|
||||
const $AEItems = Java.loadClass("appeng.core.definitions.AEItems");
|
||||
const $AEBlocks = Java.loadClass("appeng.core.definitions.AEBlocks");
|
||||
|
||||
GTCEuStartupEvents.materialModification(event => {
|
||||
TagPrefix.gem.setIgnored(GTMaterialRegistry.getMaterial("fluix"), $AEItems.FLUIX_CRYSTAL);
|
||||
TagPrefix.gemFlawless.setIgnored(GTMaterialRegistry.getMaterial("fluix"));
|
||||
TagPrefix.gemExquisite.setIgnored(GTMaterialRegistry.getMaterial("fluix"));
|
||||
TagPrefix.block.modifyMaterialAmount(GTMaterials.get("fluix"), 4);
|
||||
TagPrefix.block.setIgnored(GTMaterials.get("fluix"), $AEBlocks.FLUIX_BLOCK.asItem());
|
||||
});
|
||||
Reference in New Issue
Block a user