Skip to content

Texture System

Speiger edited this page Jul 28, 2019 · 1 revision

IC2 Classic uses Sprite sheets to load its textures. This is only do to how IC2Classic generates all it's data.

So how that system works is very simple: It loads the sheet when mc loads the textures and then cuts it appart in game. This makes the system just simulate Sprite sheets while actually using normal sprite icons. It also reduces loading time for the whole reason that there is overall less to load.

But this unique system allows to have sheets and also single sprites.

IC2C has a Sprite Replacement system that allows you to load single sprites into a Sheet.

When a Sprite is getting loaded you need to define a location/identifier for it in Minecraft and this identifier is actually allowing to add replacements.

So this is how the identifier is being generated:

"assets/modID/replacements/spriteSheetID/spriteSheetIDx5y5.png"

breakdown of this is very simple: in the folder "assets/modID/replacements" you put a folder of the sprite sheet you want to replace with its id. Then you create a file that just is named the name of the id of the sprite sheet and the position in the sheet itself. x5y5 mean that it is at horizontal position 5 and vertical position 5. (Starting at 0)

Here is a list of the sprite sheets and their IDs: SpriteID = SpriteFile

  • b0 = block_0.png
  • bc = crops_0.png
  • bgen = block_generator.png
  • bgenComp = block_generator_compact.png
  • bmach_lv = block_machine_LV.png
  • bmach_lv_2 = block_machine_LV_2.png
  • bmach_mv = block_machine_MV.png
  • bmach_hv = block_machine_HV.png
  • bpersonal = block_personal.png
  • bpersonalE = block_personal_Energy.png
  • bcable = block_cable.png
  • belec = block_electric.png
  • i0 = item_0.png
  • i1 = item_1.png
  • i2 = item_2.png
  • i3 = item_3.png
  • batBox = Batbox.png
  • mfe = MFE.png
  • mfsu = MFSU.png
  • bBox = BatteryStation.png
  • CPad = block_pads.png
  • Gui = GuiIcons.png
  • pesu = PESU.png
  • bcable2 = block_cable_2.png
  • slots = slot_icons.png

When using the replacement system all the vanilla rules of sprites apply. Animations etc can be injected too.

If there is questions about it open an issue and it will be answered.

1.19.2

1.19.x ResourcePacks
1.19.x DataPacks

1.12

Ores
Ingots & Blocks
Rubber

Generator
Geothermal Generator
Water Mill
Solar Panel
Wind Mill
Nuclear Reactor
Steam Reactor
Thermal Generator
Basic Steam Turbine
Solar Turbine
Liquid Fuel Generator
Slag Generator
Wave Generator
Ocean Generator
Fuel Boiler
Flux Generators

Transmission & Storage

Storage Units
Transformers
Cables
Charge Pads
Luminators

No-Voltage Machines

Stone Macerator
Iron Furnace
Wood Gasificator
Industrial Worktable

Low-Voltage Machines

Macerator
Electric Furnace
Compressor
Extractor
Canning Machine
Recycler
Sawmill
Miner
Magnetizer
Crop Analyzer
Crop-Matron
Electrolyzer
Pump
Sound Beacon
Electric Wood Gasificator
Rare Earth Extractor
Crop Library
Machine Buffer
Machine Tank

Medium-Voltage Machines

Rotary Macerator
Induction Furnace
Singularity Compressor
Centrifugal Extractor
Vacuum Canner
Compacting Recycler
Charged Electrolyzer
Reactor Planner
Crop Harvester
Ore Probe
Tesla Coil
Overclocked Pump
Ranged Pump

High-Voltage Machines

Electric Enchanter
Mass Fabricator
Teleporter
Terraformer
Uranium Enricher

Extreme-Voltage Machines

Plasmafier

Ludicrous-Voltage Machines

Teleporter Hub

Nuclear Reactors

Reactor Planner
Nuclear Reactor
Steam Reactor
Uranium Enricher
Reactor Components

Tools and Armor

Tools

Treetap
Bronze Tools
Wrench
Insulation Cutter
CF Sprayer
Dynamite Remote
Frequency Transmitter
EU Reader
Machine Tool
Thermometer
Tool Box
Cells
Painters
Scanners
TFBP
Batteries & Energy Packs
Mining Drill
Diamond Drill
Chainsaw
Electric Hoe
Electric Treetap
Electric Wrench
Precision Wrench
Nano Saber
Mining Laser
Mowing Tool
Electric CF Sprayer
Obscurator
Portable Teleporter
Debug Item (Admin)

Armor

Bronze Armor
Composite Armor
Hazmat Suit
CF Backpack
Solar Helmets
Static Boots
NightVision Goggles
Jetpacks
Nano Suit
Quantum Suit
Shields

Machine Upgrades
Inventory Upgrades
Chargepad Modules
Upgrade Kits

JsonCrops
Overgrowth Fertilizer
Cropnalyzer
Terrawart

Other Blocks and Items

Advanced Comparator
Scaffolds
Iron Fence
Rubber & Resign Sheet
Crafting Components
Construction Foam (CF)
Reinforced Blocks
Explosives
Boats
Coins
UU-Matter

Personal Blocks

Personal Storage
Trade O Mats

Keybindings

Clone this wiki locally