2020-02-04 14:48:21 +01:00
|
|
|
package com.simibubi.create;
|
|
|
|
|
2021-11-21 09:44:37 +01:00
|
|
|
import java.util.EnumMap;
|
2020-06-15 19:14:03 +02:00
|
|
|
import java.util.HashMap;
|
2020-02-04 14:48:21 +01:00
|
|
|
import java.util.Map;
|
|
|
|
|
2021-05-31 02:05:41 +02:00
|
|
|
import com.jozufozu.flywheel.core.PartialModel;
|
2021-04-29 23:03:52 +02:00
|
|
|
import com.simibubi.create.content.contraptions.fluids.FluidTransportBehaviour;
|
2020-06-15 19:14:03 +02:00
|
|
|
import com.simibubi.create.foundation.utility.Iterate;
|
2020-08-25 20:12:33 +02:00
|
|
|
import com.simibubi.create.foundation.utility.Lang;
|
2020-02-04 14:48:21 +01:00
|
|
|
|
2021-11-02 00:08:20 +01:00
|
|
|
import net.minecraft.core.Direction;
|
2021-11-02 06:18:30 +01:00
|
|
|
import net.minecraft.world.item.DyeColor;
|
2020-02-04 14:48:21 +01:00
|
|
|
|
2020-06-15 19:14:03 +02:00
|
|
|
public class AllBlockPartials {
|
|
|
|
|
2021-11-21 09:44:37 +01:00
|
|
|
public static final PartialModel
|
2020-06-15 19:14:03 +02:00
|
|
|
|
2022-02-01 01:14:21 +01:00
|
|
|
SCHEMATICANNON_CONNECTOR = block("schematicannon/connector"), SCHEMATICANNON_PIPE = block("schematicannon/pipe"),
|
2020-08-25 20:12:33 +02:00
|
|
|
|
2021-11-21 09:44:37 +01:00
|
|
|
SHAFTLESS_COGWHEEL = block("cogwheel_shaftless"), SHAFTLESS_LARGE_COGWHEEL = block("large_cogwheel_shaftless"),
|
|
|
|
COGWHEEL_SHAFT = block("cogwheel_shaft"), SHAFT_HALF = block("shaft_half"),
|
2020-06-15 19:14:03 +02:00
|
|
|
|
2021-11-21 09:44:37 +01:00
|
|
|
BELT_PULLEY = block("belt_pulley"), BELT_START = block("belt/start"), BELT_MIDDLE = block("belt/middle"),
|
|
|
|
BELT_END = block("belt/end"), BELT_START_BOTTOM = block("belt/start_bottom"),
|
|
|
|
BELT_MIDDLE_BOTTOM = block("belt/middle_bottom"), BELT_END_BOTTOM = block("belt/end_bottom"),
|
|
|
|
BELT_DIAGONAL_START = block("belt/diagonal_start"), BELT_DIAGONAL_MIDDLE = block("belt/diagonal_middle"),
|
|
|
|
BELT_DIAGONAL_END = block("belt/diagonal_end"),
|
2020-07-12 14:54:03 +02:00
|
|
|
|
2021-11-21 09:44:37 +01:00
|
|
|
ENCASED_FAN_INNER = block("encased_fan/propeller"), HAND_CRANK_HANDLE = block("hand_crank/handle"),
|
|
|
|
MECHANICAL_PRESS_HEAD = block("mechanical_press/head"), MECHANICAL_MIXER_POLE = block("mechanical_mixer/pole"),
|
2022-02-01 01:14:21 +01:00
|
|
|
MECHANICAL_MIXER_HEAD = block("mechanical_mixer/head"),
|
|
|
|
MECHANICAL_CRAFTER_LID = block("mechanical_crafter/lid"),
|
2021-11-21 09:44:37 +01:00
|
|
|
MECHANICAL_CRAFTER_ARROW = block("mechanical_crafter/arrow"),
|
|
|
|
MECHANICAL_CRAFTER_BELT_FRAME = block("mechanical_crafter/belt"),
|
|
|
|
MECHANICAL_CRAFTER_BELT = block("mechanical_crafter/belt_animated"),
|
|
|
|
SAW_BLADE_HORIZONTAL_ACTIVE = block("mechanical_saw/blade_horizontal_active"),
|
|
|
|
SAW_BLADE_HORIZONTAL_INACTIVE = block("mechanical_saw/blade_horizontal_inactive"),
|
|
|
|
SAW_BLADE_HORIZONTAL_REVERSED = block("mechanical_saw/blade_horizontal_reversed"),
|
|
|
|
SAW_BLADE_VERTICAL_ACTIVE = block("mechanical_saw/blade_vertical_active"),
|
|
|
|
SAW_BLADE_VERTICAL_INACTIVE = block("mechanical_saw/blade_vertical_inactive"),
|
|
|
|
SAW_BLADE_VERTICAL_REVERSED = block("mechanical_saw/blade_vertical_reversed"), GAUGE_DIAL = block("gauge/dial"),
|
|
|
|
GAUGE_INDICATOR = block("gauge/indicator"), GAUGE_HEAD_SPEED = block("gauge/speedometer/head"),
|
|
|
|
GAUGE_HEAD_STRESS = block("gauge/stressometer/head"), BEARING_TOP = block("bearing/top"),
|
|
|
|
BEARING_TOP_WOODEN = block("bearing/top_wooden"), DRILL_HEAD = block("mechanical_drill/head"),
|
|
|
|
HARVESTER_BLADE = block("mechanical_harvester/blade"), DEPLOYER_POLE = block("deployer/pole"),
|
2022-02-01 01:14:21 +01:00
|
|
|
DEPLOYER_HAND_POINTING = block("deployer/hand_pointing"),
|
|
|
|
DEPLOYER_HAND_PUNCHING = block("deployer/hand_punching"),
|
2021-11-21 09:44:37 +01:00
|
|
|
DEPLOYER_HAND_HOLDING = block("deployer/hand_holding"), ANALOG_LEVER_HANDLE = block("analog_lever/handle"),
|
|
|
|
ANALOG_LEVER_INDICATOR = block("analog_lever/indicator"), FUNNEL_FLAP = block("funnel/flap"),
|
|
|
|
BELT_FUNNEL_FLAP = block("belt_funnel/flap"), BELT_TUNNEL_FLAP = block("belt_tunnel/flap"),
|
2022-05-05 20:20:54 +02:00
|
|
|
FLEXPEATER_INDICATOR = block("diodes/indicator"),
|
2021-04-08 19:22:11 +02:00
|
|
|
|
2022-05-05 20:20:54 +02:00
|
|
|
CUCKOO_MINUTE_HAND = block("cuckoo_clock/minute_hand"), CUCKOO_HOUR_HAND = block("cuckoo_clock/hour_hand"),
|
|
|
|
CUCKOO_LEFT_DOOR = block("cuckoo_clock/left_door"), CUCKOO_RIGHT_DOOR = block("cuckoo_clock/right_door"),
|
|
|
|
CUCKOO_PIG = block("cuckoo_clock/pig"), CUCKOO_CREEPER = block("cuckoo_clock/creeper"),
|
2021-04-08 19:22:11 +02:00
|
|
|
|
2021-11-21 09:44:37 +01:00
|
|
|
GANTRY_COGS = block("gantry_carriage/wheels"),
|
2021-04-08 19:22:11 +02:00
|
|
|
|
2021-11-21 09:44:37 +01:00
|
|
|
ROPE_COIL = block("rope_pulley/rope_coil"), ROPE_HALF = block("rope_pulley/rope_half"),
|
|
|
|
ROPE_HALF_MAGNET = block("rope_pulley/rope_half_magnet"),
|
2021-04-08 19:22:11 +02:00
|
|
|
|
2021-11-21 09:44:37 +01:00
|
|
|
HOSE_COIL = block("hose_pulley/rope_coil"), HOSE = block("hose_pulley/rope"),
|
|
|
|
HOSE_MAGNET = block("hose_pulley/pulley_magnet"), HOSE_HALF = block("hose_pulley/rope_half"),
|
|
|
|
HOSE_HALF_MAGNET = block("hose_pulley/rope_half_magnet"),
|
2020-07-12 13:13:43 +02:00
|
|
|
|
2021-11-21 09:44:37 +01:00
|
|
|
MILLSTONE_COG = block("millstone/inner"),
|
2021-04-08 19:22:11 +02:00
|
|
|
|
2021-11-21 09:44:37 +01:00
|
|
|
SYMMETRY_PLANE = block("symmetry_effect/plane"), SYMMETRY_CROSSPLANE = block("symmetry_effect/crossplane"),
|
|
|
|
SYMMETRY_TRIPLEPLANE = block("symmetry_effect/tripleplane"),
|
2020-06-15 19:14:03 +02:00
|
|
|
|
2021-11-21 09:44:37 +01:00
|
|
|
STICKER_HEAD = block("sticker/head"),
|
2021-04-08 19:22:11 +02:00
|
|
|
|
2021-11-21 09:44:37 +01:00
|
|
|
PORTABLE_STORAGE_INTERFACE_MIDDLE = block("portable_storage_interface/block_middle"),
|
|
|
|
PORTABLE_STORAGE_INTERFACE_MIDDLE_POWERED = block("portable_storage_interface/block_middle_powered"),
|
|
|
|
PORTABLE_STORAGE_INTERFACE_TOP = block("portable_storage_interface/block_top"),
|
2020-06-15 19:14:03 +02:00
|
|
|
|
2021-11-21 09:44:37 +01:00
|
|
|
PORTABLE_FLUID_INTERFACE_MIDDLE = block("portable_fluid_interface/block_middle"),
|
|
|
|
PORTABLE_FLUID_INTERFACE_MIDDLE_POWERED = block("portable_fluid_interface/block_middle_powered"),
|
|
|
|
PORTABLE_FLUID_INTERFACE_TOP = block("portable_fluid_interface/block_top"),
|
2020-07-12 13:13:43 +02:00
|
|
|
|
2021-11-21 09:44:37 +01:00
|
|
|
ARM_COG = block("mechanical_arm/cog"), ARM_BASE = block("mechanical_arm/base"),
|
|
|
|
ARM_LOWER_BODY = block("mechanical_arm/lower_body"), ARM_UPPER_BODY = block("mechanical_arm/upper_body"),
|
|
|
|
ARM_HEAD = block("mechanical_arm/head"), ARM_CLAW_BASE = block("mechanical_arm/claw_base"),
|
|
|
|
ARM_CLAW_GRIP = block("mechanical_arm/claw_grip"),
|
2020-07-12 13:13:43 +02:00
|
|
|
|
2021-11-21 09:44:37 +01:00
|
|
|
MECHANICAL_PUMP_ARROW = block("mechanical_pump/arrow"), MECHANICAL_PUMP_COG = block("mechanical_pump/cog"),
|
|
|
|
FLUID_PIPE_CASING = block("fluid_pipe/casing"), FLUID_VALVE_POINTER = block("fluid_valve/pointer"),
|
2020-08-25 20:12:33 +02:00
|
|
|
|
2021-11-21 09:44:37 +01:00
|
|
|
SPOUT_TOP = block("spout/top"), SPOUT_MIDDLE = block("spout/middle"), SPOUT_BOTTOM = block("spout/bottom"),
|
2021-06-27 17:46:56 +02:00
|
|
|
|
2021-11-21 09:44:37 +01:00
|
|
|
PECULIAR_BELL = block("peculiar_bell"), HAUNTED_BELL = block("haunted_bell"),
|
2021-04-08 19:22:11 +02:00
|
|
|
|
2021-11-21 09:44:37 +01:00
|
|
|
TOOLBOX_DRAWER = block("toolbox/drawer"),
|
2021-04-08 19:22:11 +02:00
|
|
|
|
2021-11-21 09:44:37 +01:00
|
|
|
SPEED_CONTROLLER_BRACKET = block("rotation_speed_controller/bracket"),
|
2021-05-31 02:05:41 +02:00
|
|
|
|
2021-11-21 09:44:37 +01:00
|
|
|
GOGGLES = block("goggles"),
|
2021-04-08 19:22:11 +02:00
|
|
|
|
2021-11-21 09:44:37 +01:00
|
|
|
EJECTOR_TOP = block("weighted_ejector/top"),
|
2020-06-15 19:14:03 +02:00
|
|
|
|
2021-11-21 09:44:37 +01:00
|
|
|
COPPER_BACKTANK_SHAFT = block("copper_backtank/block_shaft_input"),
|
|
|
|
COPPER_BACKTANK_COGS = block("copper_backtank/block_cogs"),
|
Big Data
- Added the Display Board
- Added the Data Gatherer
- Nixie Tubes no longer animate text from "dynamic" vanilla text components
- Trains now keep travel time statistics for prediction purposes
- Created "Data-target" behaviour for Signs, Display Boards, Lecterns and Nixie Tubes
- Created "Data-source" behaviour for Train Stations, Clocks, Nixie Tubes, Content Observers, Stockpile Switches, Respawn Anchors, Depots, Belts, Belt Tunnels and Command Blocks
2022-04-05 19:04:04 +02:00
|
|
|
|
|
|
|
TRACK_SEGMENT_LEFT = block("track/segment_left"), TRACK_SEGMENT_RIGHT = block("track/segment_right"),
|
|
|
|
TRACK_TIE = block("track/tie"), GIRDER_SEGMENT_TOP = block("metal_girder/segment_top"),
|
2022-02-09 21:13:33 +01:00
|
|
|
GIRDER_SEGMENT_MIDDLE = block("metal_girder/segment_middle"),
|
|
|
|
GIRDER_SEGMENT_BOTTOM = block("metal_girder/segment_bottom"),
|
Big Data
- Added the Display Board
- Added the Data Gatherer
- Nixie Tubes no longer animate text from "dynamic" vanilla text components
- Trains now keep travel time statistics for prediction purposes
- Created "Data-target" behaviour for Signs, Display Boards, Lecterns and Nixie Tubes
- Created "Data-source" behaviour for Train Stations, Clocks, Nixie Tubes, Content Observers, Stockpile Switches, Respawn Anchors, Depots, Belts, Belt Tunnels and Command Blocks
2022-04-05 19:04:04 +02:00
|
|
|
|
|
|
|
TRACK_STATION_OVERLAY = block("track_overlay/station"), TRACK_SIGNAL_OVERLAY = block("track_overlay/signal"),
|
2022-02-16 03:14:31 +01:00
|
|
|
TRACK_ASSEMBLING_OVERLAY = block("track_overlay/assembling"),
|
|
|
|
TRACK_SIGNAL_DUAL_OVERLAY = block("track_overlay/signal_dual"),
|
2022-06-05 17:02:33 +02:00
|
|
|
TRACK_OBSERVER_OVERLAY = block("track_overlay/observer"),
|
Big Data
- Added the Display Board
- Added the Data Gatherer
- Nixie Tubes no longer animate text from "dynamic" vanilla text components
- Trains now keep travel time statistics for prediction purposes
- Created "Data-target" behaviour for Signs, Display Boards, Lecterns and Nixie Tubes
- Created "Data-source" behaviour for Train Stations, Clocks, Nixie Tubes, Content Observers, Stockpile Switches, Respawn Anchors, Depots, Belts, Belt Tunnels and Command Blocks
2022-04-05 19:04:04 +02:00
|
|
|
|
|
|
|
BOGEY_FRAME = block("track/bogey/bogey_frame"), SMALL_BOGEY_WHEELS = block("track/bogey/bogey_wheel"),
|
|
|
|
BOGEY_PIN = block("track/bogey/bogey_drive_wheel_pin"), BOGEY_PISTON = block("track/bogey/bogey_drive_piston"),
|
|
|
|
BOGEY_DRIVE = block("track/bogey/bogey_drive"), LARGE_BOGEY_WHEELS = block("track/bogey/bogey_drive_wheel"),
|
|
|
|
|
2022-02-01 01:14:21 +01:00
|
|
|
TRAIN_COUPLING_HEAD = block("track/bogey/coupling_head"),
|
|
|
|
TRAIN_COUPLING_CABLE = block("track/bogey/coupling_cable"),
|
Big Data
- Added the Display Board
- Added the Data Gatherer
- Nixie Tubes no longer animate text from "dynamic" vanilla text components
- Trains now keep travel time statistics for prediction purposes
- Created "Data-target" behaviour for Signs, Display Boards, Lecterns and Nixie Tubes
- Created "Data-source" behaviour for Train Stations, Clocks, Nixie Tubes, Content Observers, Stockpile Switches, Respawn Anchors, Depots, Belts, Belt Tunnels and Command Blocks
2022-04-05 19:04:04 +02:00
|
|
|
|
|
|
|
TRAIN_CONTROLS_COVER = block("controls/train/cover"), TRAIN_CONTROLS_LEVER = block("controls/train/lever"),
|
|
|
|
|
|
|
|
ENGINE_PISTON = block("steam_engine/piston"), ENGINE_LINKAGE = block("steam_engine/linkage"),
|
|
|
|
ENGINE_CONNECTOR = block("steam_engine/shaft_connector"), BOILER_GAUGE = block("steam_engine/gauge"),
|
2022-05-02 17:14:51 +02:00
|
|
|
BOILER_GAUGE_DIAL = block("steam_engine/gauge_dial"),
|
Big Data
- Added the Display Board
- Added the Data Gatherer
- Nixie Tubes no longer animate text from "dynamic" vanilla text components
- Trains now keep travel time statistics for prediction purposes
- Created "Data-target" behaviour for Signs, Display Boards, Lecterns and Nixie Tubes
- Created "Data-source" behaviour for Train Stations, Clocks, Nixie Tubes, Content Observers, Stockpile Switches, Respawn Anchors, Depots, Belts, Belt Tunnels and Command Blocks
2022-04-05 19:04:04 +02:00
|
|
|
|
|
|
|
SIGNAL_ON = block("track_signal/indicator_on"), SIGNAL_OFF = block("track_signal/indicator_off"),
|
2022-05-15 23:40:33 +02:00
|
|
|
DISPLAY_LINK_TUBE = block("display_link/tube"), DISPLAY_LINK_GLOW = block("display_link/glow"),
|
Big Data
- Added the Display Board
- Added the Data Gatherer
- Nixie Tubes no longer animate text from "dynamic" vanilla text components
- Trains now keep travel time statistics for prediction purposes
- Created "Data-target" behaviour for Signs, Display Boards, Lecterns and Nixie Tubes
- Created "Data-source" behaviour for Train Stations, Clocks, Nixie Tubes, Content Observers, Stockpile Switches, Respawn Anchors, Depots, Belts, Belt Tunnels and Command Blocks
2022-04-05 19:04:04 +02:00
|
|
|
|
2022-04-09 19:49:00 +02:00
|
|
|
STATION_ON = block("track_station/flag_on"), STATION_OFF = block("track_station/flag_off"),
|
|
|
|
STATION_ASSEMBLE = block("track_station/flag_assemble"),
|
|
|
|
|
Big Data
- Added the Display Board
- Added the Data Gatherer
- Nixie Tubes no longer animate text from "dynamic" vanilla text components
- Trains now keep travel time statistics for prediction purposes
- Created "Data-target" behaviour for Signs, Display Boards, Lecterns and Nixie Tubes
- Created "Data-source" behaviour for Train Stations, Clocks, Nixie Tubes, Content Observers, Stockpile Switches, Respawn Anchors, Depots, Belts, Belt Tunnels and Command Blocks
2022-04-05 19:04:04 +02:00
|
|
|
SIGNAL_PANEL = block("track_signal/panel"), SIGNAL_WHITE_CUBE = block("track_signal/white_cube"),
|
|
|
|
SIGNAL_WHITE_GLOW = block("track_signal/white_glow"), SIGNAL_WHITE = block("track_signal/white_tube"),
|
|
|
|
SIGNAL_RED_CUBE = block("track_signal/red_cube"), SIGNAL_RED_GLOW = block("track_signal/red_glow"),
|
|
|
|
SIGNAL_RED = block("track_signal/red_tube"), SIGNAL_YELLOW_CUBE = block("track_signal/yellow_cube"),
|
|
|
|
SIGNAL_YELLOW_GLOW = block("track_signal/yellow_glow"), SIGNAL_YELLOW = block("track_signal/yellow_tube"),
|
2020-08-25 20:12:33 +02:00
|
|
|
|
2022-07-02 13:55:04 +02:00
|
|
|
BLAZE_INERT = block("blaze_burner/blaze/inert"), BLAZE_SUPER_ACTIVE = block("blaze_burner/blaze/super_active"),
|
2022-06-05 17:02:33 +02:00
|
|
|
BLAZE_GOGGLES = block("blaze_burner/goggles"), BLAZE_IDLE = block("blaze_burner/blaze/idle"),
|
|
|
|
BLAZE_ACTIVE = block("blaze_burner/blaze/active"), BLAZE_SUPER = block("blaze_burner/blaze/super"),
|
|
|
|
BLAZE_BURNER_FLAME = block("blaze_burner/flame"), BLAZE_BURNER_RODS = block("blaze_burner/rods_small"),
|
|
|
|
BLAZE_BURNER_RODS_2 = block("blaze_burner/rods_large"),
|
2022-05-30 18:43:30 +02:00
|
|
|
BLAZE_BURNER_SUPER_RODS = block("blaze_burner/superheated_rods_small"),
|
|
|
|
BLAZE_BURNER_SUPER_RODS_2 = block("blaze_burner/superheated_rods_large"),
|
|
|
|
|
2022-05-07 02:21:23 +02:00
|
|
|
WHISTLE_MOUTH_LARGE = block("steam_whistle/large_mouth"),
|
|
|
|
WHISTLE_MOUTH_MEDIUM = block("steam_whistle/medium_mouth"),
|
|
|
|
WHISTLE_MOUTH_SMALL = block("steam_whistle/small_mouth"),
|
2022-05-30 18:43:30 +02:00
|
|
|
|
2021-11-21 09:44:37 +01:00
|
|
|
CRAFTING_BLUEPRINT_1x1 = entity("crafting_blueprint_small"),
|
|
|
|
CRAFTING_BLUEPRINT_2x2 = entity("crafting_blueprint_medium"),
|
|
|
|
CRAFTING_BLUEPRINT_3x3 = entity("crafting_blueprint_large"),
|
2022-04-08 17:16:27 +02:00
|
|
|
|
2022-04-08 01:41:20 +02:00
|
|
|
TRAIN_HAT = entity("train_hat"),
|
Big Data
- Added the Display Board
- Added the Data Gatherer
- Nixie Tubes no longer animate text from "dynamic" vanilla text components
- Trains now keep travel time statistics for prediction purposes
- Created "Data-target" behaviour for Signs, Display Boards, Lecterns and Nixie Tubes
- Created "Data-source" behaviour for Train Stations, Clocks, Nixie Tubes, Content Observers, Stockpile Switches, Respawn Anchors, Depots, Belts, Belt Tunnels and Command Blocks
2022-04-05 19:04:04 +02:00
|
|
|
|
2022-02-01 01:14:21 +01:00
|
|
|
COUPLING_ATTACHMENT = entity("minecart_coupling/attachment"), COUPLING_RING = entity("minecart_coupling/ring"),
|
2021-11-21 09:44:37 +01:00
|
|
|
COUPLING_CONNECTOR = entity("minecart_coupling/connector")
|
|
|
|
|
|
|
|
;
|
2021-09-16 04:10:34 +02:00
|
|
|
|
|
|
|
public static final Map<FluidTransportBehaviour.AttachmentTypes, Map<Direction, PartialModel>> PIPE_ATTACHMENTS =
|
2021-11-21 09:44:37 +01:00
|
|
|
new EnumMap<>(FluidTransportBehaviour.AttachmentTypes.class);
|
2022-02-01 01:14:21 +01:00
|
|
|
|
Big Data
- Added the Display Board
- Added the Data Gatherer
- Nixie Tubes no longer animate text from "dynamic" vanilla text components
- Trains now keep travel time statistics for prediction purposes
- Created "Data-target" behaviour for Signs, Display Boards, Lecterns and Nixie Tubes
- Created "Data-source" behaviour for Train Stations, Clocks, Nixie Tubes, Content Observers, Stockpile Switches, Respawn Anchors, Depots, Belts, Belt Tunnels and Command Blocks
2022-04-05 19:04:04 +02:00
|
|
|
public static final Map<Direction, PartialModel> METAL_GIRDER_BRACKETS = new EnumMap<>(Direction.class);
|
2021-11-21 09:44:37 +01:00
|
|
|
public static final Map<DyeColor, PartialModel> TOOLBOX_LIDS = new EnumMap<>(DyeColor.class);
|
2020-06-15 19:14:03 +02:00
|
|
|
|
|
|
|
static {
|
2021-04-29 23:03:52 +02:00
|
|
|
for (FluidTransportBehaviour.AttachmentTypes type : FluidTransportBehaviour.AttachmentTypes.values()) {
|
2020-08-25 20:12:33 +02:00
|
|
|
if (!type.hasModel())
|
|
|
|
continue;
|
2021-04-29 23:03:52 +02:00
|
|
|
Map<Direction, PartialModel> map = new HashMap<>();
|
2020-08-25 20:12:33 +02:00
|
|
|
for (Direction d : Iterate.directions) {
|
|
|
|
String asId = Lang.asId(type.name());
|
2021-11-21 09:44:37 +01:00
|
|
|
map.put(d, block("fluid_pipe/" + asId + "/" + Lang.asId(d.getSerializedName())));
|
2020-08-25 20:12:33 +02:00
|
|
|
}
|
|
|
|
PIPE_ATTACHMENTS.put(type, map);
|
|
|
|
}
|
2021-10-07 16:16:24 +02:00
|
|
|
for (DyeColor color : DyeColor.values())
|
2021-11-21 09:44:37 +01:00
|
|
|
TOOLBOX_LIDS.put(color, block("toolbox/lid/" + Lang.asId(color.name())));
|
2022-02-09 02:05:48 +01:00
|
|
|
for (Direction d : Iterate.horizontalDirections)
|
|
|
|
METAL_GIRDER_BRACKETS.put(d, block("metal_girder/bracket_" + Lang.asId(d.name())));
|
2020-06-15 19:14:03 +02:00
|
|
|
}
|
|
|
|
|
2021-11-21 09:44:37 +01:00
|
|
|
private static PartialModel block(String path) {
|
|
|
|
return new PartialModel(Create.asResource("block/" + path));
|
2020-02-04 14:48:21 +01:00
|
|
|
}
|
|
|
|
|
2021-11-21 09:44:37 +01:00
|
|
|
private static PartialModel entity(String path) {
|
|
|
|
return new PartialModel(Create.asResource("entity/" + path));
|
2020-02-04 14:48:21 +01:00
|
|
|
}
|
|
|
|
|
2021-10-16 10:46:49 +02:00
|
|
|
public static void init() {
|
2021-04-29 23:03:52 +02:00
|
|
|
// init static fields
|
2020-02-04 14:48:21 +01:00
|
|
|
}
|
2021-10-16 10:46:49 +02:00
|
|
|
|
2020-02-04 14:48:21 +01:00
|
|
|
}
|