GTNewHorizons / GT-New-Horizons-Modpack

New Modpack with Gregtech, Thaumcraft and Witchery
https://www.gtnewhorizons.com/
Other
955 stars 296 forks source link

[NEI] Item-hiding/broken names #4928

Closed glowredman closed 2 years ago

glowredman commented 5 years ago

Which modpack version are you using?

2.0.7.5 #

What happened?

Many Items/Blocks/Fluids that are shown in NEI have no texture and/or a broken name. #

What do you suggest instead/what changes do you propose?

Hiding Items/Blocks/Fluids that are not relevant for the user (like "tile.blockDoorAlloy.name", which is the bottom half of the IC2 Reinforced Door). This would lead to a simplified NEI appearance, while decreasing confusion of the user and providing the user with a better overview. Some Blocks/Fluids should get a correct name while being hidden in NEI because they are, while not relevant for the user, real in-world Blocks/Fluids and as such shown by WAILA. However, this whole change is nearly pure cosmetic and does not help balancing the game.

.lang-file (put in ./resources/ANYMODID/lang/en_US.lang):

#ENTITIES
entity.batKing.name=Bat King
entity.TwilightForest.Penguin.name=Penguin

#BLOCKS
block.relocatorPortal.name.name=Portal
extratrees.block.woodslab.name2=Fence
gtplusplus.blockcasings.3.14.name=Casing
tile.appliedenergistics2.BlockPaint.name=Paint
tile.Battlesign.name=Battlesign
tile.BiblioClipboard.name=Clipboard
tile.biomeIslandCore.name=Island Core
tile.blockCosmeticDoubleSlabStone.name=Arcane Stone Slab
tile.blockCosmeticDoubleSlabWood.name=Greatwood Slab
tile.blockDoorAlloy.name=Reinforced Door
tile.blockInhibitorObelisk.name=Inhibitor Obelisk
tile.blockLightNode.name=Light
tile.blockMagicBox.name=Magic Box
tile.blockManaPod.name=Mana Pod
tile.Block of Germanium.name=Block of Germanium
tile.blockPortalNothing.name=Portal
tile.blockRedPlasma.name=Red Plasma
tile.blockWarded.name=Warded Block
tile.brewingStand.name=Brewing Stand
tile.chisel.aluminum_stairs.0.name=Aluminum Stairs
tile.chisel.aluminum_stairs.1.name=Aluminum Stairs
tile.chisel.aluminum_stairs.2.name=Aluminum Stairs
tile.chisel.aluminum_stairs.3.name=Aluminum Stairs
tile.chisel.aluminum_stairs.4.name=Aluminum Stairs
tile.chisel.aluminum_stairs.5.name=Aluminum Stairs
tile.chisel.aluminum_stairs.6.name=Aluminum Stairs
tile.chisel.aluminum_stairs.7.name=Aluminum Stairs
tile.chisel.amber.name=Block of Amber
tile.chisel.bloodBrick.name=Bloodstone Brick
tile.chisel.sandstone2.name=Sandstone
tile.churnon.name=Churn
tile.dimensionAustraliaPortalBlock.name=Australia Portal
tile.ExpReversePump.0.name=Reverse Pump
tile.extrautils:pureLove.name=Block of Pure Love
tile.flowerPot.name=Flower Pot
tile.gaseousLight.name=Gaseous Light
tile.gaseousShadow.name=Gaseous Shadow
tile.Germanium Frame Box.name=Germanium Frame Box
tile.infusedFarmland.name=Infused Farmland
tile.infusedGrainBlock.name=Infused Grain
tile.laserBeam.name=Laser Beam
tile.metaphysicalBrick.name=Metaphysical Brick
tile.metaphysicalRose.name=Metaphysical Rose
tile.nitorGas.name=Nitor Gas
tile.NuclearFuel.name=Nuclear Fuel
tile.ovenon.name=Oven
tile.pipeBlock.name=Pipe
tile.quernon.name=Quern
tile.reactorSim.name=Reactor Simulator
tile.relocation.blockmovingrow:0.name=Moving Block
tile.securityDoor.name=Security Door
tile.sink.name=Sink
tile.sleepingBagBlock.name=Sleeping Bag
tile.templeEndPortal.name=End Portal
tile.TFBossSpawner.5.name=Spawner
tile.TFBossSpawner.6.name=Spawner
tile.TFBossSpawner.7.name=Spawner
tile.TFBossSpawner.8.name=Spawner
tile.TFBossSpawner.9.name=Spawner
tile.TFBossSpawner.10.name=Spawner
tile.TFBossSpawner.11.name=Spawner
tile.TFBossSpawner.12.name=Spawner
tile.TFBossSpawner.13.name=Spawner
tile.TFBossSpawner.14.name=Spawner
tile.TFBossSpawner.15.name=Spawner
tile.TFTowerTranslucent.8.name=Block
tile.TFTowerTranslucent.9.name=Block
tile.TFTowerTranslucent.10.name=Block
tile.TFTowerTranslucent.11.name=Block
tile.TFTowerTranslucent.12.name=Block
tile.TFTowerTranslucent.13.name=Block
tile.TFTowerTranslucent.14.name=Block
tile.TFTowerTranslucent.15.name=Block
tile.TFTrophy.0.name=Hydra Trophy
tile.TFTrophy.1.name=Naga Trophy
tile.TFTrophy.2.name=Lich Trophy
tile.TFTrophy.3.name=Ur-ghast Trophy
tile.TFTrophy.4.name=Snow Queen Trophy
tile.ThaumicHorizons_evanescent.name=Evanescent
tile.ThaumicHorizons_vatInterior.name=Vat Interior
tile.turretBaseEM.name=Elemental Matter Turret Base
tile.turretHeadEM.name=Elemental Matter Cannon

#ITEMS
item.enderZooIcon.name=Ender Zoo Icon
item.injection.15.name=Injection
item.itemBoltGermanium.name=Germanium Bolt
item.itemCellCarbyne.name=Carbyne Cell
item.itemDustGermanium.name=Germanium Dust
item.itemDustSmallGermanium.name=Small Pile of Germanium Dust
item.itemDustTinyGermanium.name=Tiny Pile of Germanium Dust
item.itemGearGermanium.name=Germanium Gear
item.itemIngotGermanium.name=Germanium Ingot
item.itemNuggetGermanium.name=Germanium Nugget
item.itemNumber.name=Number
item.itemPlateGermanium.name=Germanium Plate
item.itemRingGermanium.name=Germanium Ring
item.itemRodGermanium.name=Germanium Rod
item.itemRotorGermanium.name=Germanium Rotor
item.itemScrewGermanium.name=Germanium Screw
item.mantle.manual.test.name=Test Manual
item.SilverThread.name= Silver Thread
item.vat.name=Vat
item.VinteumThread.name=Vinteum Thread

#NODETYPES
nodetype.null.name=

#TOOLTIPS
item.upgrade_speed.name.desc=
item.upgrade_automation.name.desc=
item.upgrade_stack.name.desc=
item.upgrade_reversion.name.desc=
tile.dirt.13.desc=
tile.dirt.14.desc=
tile.dirt.15.desc=
tile.imperial.0.desc=
tile.imperial.1.desc=
tile.imperial.2.desc=
tile.imperial.3.desc=
tile.imperial.4.desc=
tile.rebel.0.desc=
tile.rebel.1.desc=
tile.rebel.2.desc=
tile.rebel.3.desc=
tile.rebel.4.desc=
tile.sandstone.16.desc=
tile.sandstone.17.desc=
tile.valentines.2.desc=
tile.valentines.3.desc=
tile.valentines.4.desc=
tile.valentines.5.desc=
tile.valentines.6.desc=
tile.valentines.7.desc=
tile.valentines.8.desc=
tile.valentines.9.desc=

.zs-file (put in ./scripts/NEI.zs):

// --- Created by glowredman ---

import mods.nei.NEI;

// Hide

NEI.hide(<AWWayofTime:spectralContainer>);
NEI.hide(<ArchitectureCraft:shape>);
NEI.hide(<ArchitectureCraft:cladding>);
NEI.hide(<BiblioCraft:BiblioClipboard>);
NEI.hide(<BuildCraft|Core:buildToolBlock>);
NEI.hide(<BuildCraft|Transport:pipeBlock>);
NEI.hide(<EnderIO:blockLightNode>);
NEI.hide(<ForgeRelocation:relocation.blockmovingrow>);
NEI.hide(<GraviSuite:BlockRelocatorPortal>);
NEI.hide(<HardcoreEnderExpansion:corrupted_energy_high>);
NEI.hide(<HardcoreEnderExpansion:corrupted_energy_low>);
NEI.hide(<IC2:blockDoorAlloy>);
NEI.hide(<IC2:blockCable>);
NEI.hide(<IC2:blockDynamite>);
NEI.hide(<IC2:blockDynamiteRemote>);
NEI.hide(<ProjRed|Illumination:projectred.illumination.airousLight>);
NEI.hide(<Railcraft:firestone.recharge>);
NEI.hide(<StevesCarts:ModularCart>);
NEI.hide(<TConstruct:HeldItemBlock>);
NEI.hide(<TConstruct:BattleSignBlock>);
NEI.hide(<TConstruct:Boneana>);
NEI.hide(<Thaumcraft:blockArcaneFurnace>);
NEI.hide(<Thaumcraft:blockWarded>);
NEI.hide(<Thaumcraft:blockHole>);
NEI.hide(<Thaumcraft:blockEldritchNothing>);
NEI.hide(<ThaumicHorizons:vat>);
NEI.hide(<ThaumicHorizons:vatSolid>);
NEI.hide(<ThaumicHorizons:vatInterior>);
NEI.hide(<ThaumicHorizons:evanescent>);
NEI.hide(<ThaumicHorizons:light>);
NEI.hide(<ThaumicHorizons:lightSolar>);
NEI.hide(<ThaumicMachina:nodeTransmodifier>);
NEI.hide(<ThaumicMachina:metaphysicalBrick>);
NEI.hide(<ThaumicMachina:metaphysicalRose>);
NEI.hide(<ThaumicMachina:wandCore>);
NEI.hide(<ThaumicTinkerer:gaseousLight>);
NEI.hide(<ThaumicTinkerer:forcefield>);
NEI.hide(<ThaumicTinkerer:nitorGas>);
NEI.hide(<ThaumicTinkerer:gaseousShadow>);
NEI.hide(<WarpTheory:blockVanish>);
NEI.hide(<appliedenergistics2:tile.BlockMatrixFrame>);
NEI.hide(<appliedenergistics2:tile.BlockCableBus>);
NEI.hide(<appliedenergistics2:tile.BlockPaint>);
NEI.hide(<chisel:aluminum_stairs.3:*>);
NEI.hide(<chisel:aluminum_stairs.4:*>);
NEI.hide(<chisel:aluminum_stairs.5:*>);
NEI.hide(<chisel:aluminum_stairs.6:*>);
NEI.hide(<chisel:aluminum_stairs.7:*>);
NEI.hide(<chisel:amber>);
NEI.hide(<chisel:bloodBrick>);
NEI.hide(<harvestcraft:ovenon>);
NEI.hide(<harvestcraft:churnon>);
NEI.hide(<harvestcraft:quernon>);
NEI.hide(<malisisdoors:door_acacia>);
NEI.hide(<malisisdoors:door_birch>);
NEI.hide(<malisisdoors:door_dark_oak>);
NEI.hide(<malisisdoors:door_jungle>);
NEI.hide(<malisisdoors:door_spruce>);
NEI.hide(<malisisdoors:wood_sliding_door>);
NEI.hide(<malisisdoors:iron_sliding_door>);
NEI.hide(<malisisdoors:jail_door>);
NEI.hide(<malisisdoors:laboratory_door>);
NEI.hide(<malisisdoors:factory_door>);
NEI.hide(<malisisdoors:shoji_door>);
NEI.hide(<malisisdoors:curtain_black>);
NEI.hide(<malisisdoors:curtain_red>);
NEI.hide(<malisisdoors:curtain_green>);
NEI.hide(<malisisdoors:curtain_brown>);
NEI.hide(<malisisdoors:curtain_blue>);
NEI.hide(<malisisdoors:curtain_purple>);
NEI.hide(<malisisdoors:curtain_cyan>);
NEI.hide(<malisisdoors:curtain_silver>);
NEI.hide(<malisisdoors:curtain_gray>);
NEI.hide(<malisisdoors:curtain_pink>);
NEI.hide(<malisisdoors:curtain_lime>);
NEI.hide(<malisisdoors:curtain_yellow>);
NEI.hide(<malisisdoors:curtain_light_blue>);
NEI.hide(<malisisdoors:curtain_magenta>);
NEI.hide(<malisisdoors:curtain_orange>);
NEI.hide(<malisisdoors:curtain_white>);
NEI.hide(<malisisdoors:mixed_block>);
NEI.hide(<malisisdoors:null>);
NEI.hide(<malisisdoors:forcefieldDoor>);
NEI.hide(<malisisdoors:item.custom_door>);
NEI.hide(<opensecurity:SecurityDoor>);
NEI.hide(<opensecurity:SecurityDoorPrivate>);
NEI.hide(<tinkersdefense:Block_CrestMount>);
NEI.hide(<tinkersdefense:Block_ArmorAnvil>);
NEI.hide(<tinkersdefense:Block_JewelersBench>);
NEI.hide(<witchery:coffinblock>);
NEI.hide(<miscutils:gtpp.bucket.generic>);
NEI.hide(<miscutils:blockGenericRedstone.detector>);
NEI.hide(<miscutils:blockGenericRedstone.test>);

// Rename

<Mantle:mantleBook>.displayName = "Test Book";
<ProjRed|Illumination:projectred.illumination.airousLight>.displayName = "Light";
Prometheus0000 commented 3 years ago

@glowredman Feel free to make a PR, I don't feel like testing everything on this list

glowredman commented 3 years ago

Sure, also this is probably not accurate anymore. I think I'll put as much in code as possible

Dream-Master commented 3 years ago

@glowredman are all things are fixed or some missing ?

glowredman commented 3 years ago

Some are still missing, these were only the obvious ones

glowredman commented 3 years ago

Probably still works, I might test it and PR it or, if I'm really bored, put it in code - at some point in time.