-
Notifications
You must be signed in to change notification settings - Fork 40
Texture System
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.
Wiki text is available under CC BY-NC-SA 3.0 unless otherwise noted.
1.19.x ResourcePacks
1.19.x DataPacks
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
Storage Units
Transformers
Cables
Charge Pads
Luminators
Stone Macerator
Iron Furnace
Wood Gasificator
Industrial Worktable
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
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
Electric Enchanter
Mass Fabricator
Teleporter
Terraformer
Uranium Enricher
Reactor Planner
Nuclear Reactor
Steam Reactor
Uranium Enricher
Reactor Components
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)
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
Advanced Comparator
Scaffolds
Iron Fence
Rubber & Resign Sheet
Crafting Components
Construction Foam (CF)
Reinforced Blocks
Explosives
Boats
Coins
UU-Matter