Skip to content

Commit

Permalink
prop item model definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
Cart3r1234 committed Jan 12, 2025
1 parent fdc12d9 commit dda94bc
Show file tree
Hide file tree
Showing 60 changed files with 773 additions and 425 deletions.
100 changes: 47 additions & 53 deletions src/main/resources/assets/portalcubed/emissives.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
{
"block/floor_button": "block/button_emissives",
"block/floor_button_active": "block/button_emissives",
"item/floor_button": "block/button_emissives",

"block/cube_button": "block/button_emissives",
"block/cube_button_active": "block/button_emissives",
"item/cube_button": "block/button_emissives",

"block/old_ap_floor_button": "block/button_emissives",
"block/old_ap_floor_button_active": "block/button_emissives",
"item/old_ap_floor_button": "block/button_emissives",

"block/pedestal_button": "block/pedestal_button_e",
"block/pedestal_button_active": "block/pedestal_button_e",
Expand All @@ -19,11 +16,9 @@
"block/pedestal_button_base_left_active": "block/pedestal_button_e",
"block/pedestal_button_base_right": "block/pedestal_button_e",
"block/pedestal_button_base_right_active": "block/pedestal_button_e",
"item/pedestal_button": "block/pedestal_button_e",

"block/portal_1_floor_button": "block/button_emissives",
"block/portal_1_floor_button_active": "block/button_emissives",
"item/portal_1_floor_button": "block/button_emissives",

"item/white_octopus_chamber_door": "item/octopus_chamber_door_emissive",
"block/white_octopus_chamber_door_top_right_open": "block/chamber_door_emissive",
Expand Down Expand Up @@ -72,62 +67,61 @@
"block/gray_chamber_door_bottom_left_open": "block/chamber_door_emissive",
"block/gray_chamber_door_bottom_left_unlocked": "block/chamber_door_emissive",

"item/portal_gun_default": "item/portal_gun_dyeable",
"item/portal_gun_primary": "item/portal_gun_dyeable",
"item/portal_gun_secondary": "item/portal_gun_dyeable",
"item/portal_gun_atlas": "item/portal_gun_dyeable",
"item/portal_gun_p_body": "item/portal_gun_dyeable",
"item/portal_gun_reloaded": "item/portal_gun_dyeable",
"item/potatos_portal_gun": "item/portal_gun_dyeable",
"item/2005_beta_portal_gun": "item/portal_gun_dyeable",
"item/2006_beta_portal_gun": "item/portal_gun_dyeable",
"item/mel_portal_gun": "item/portal_gun_dyeable",
"item/lego_portal_gun": "item/portal_gun_dyeable",
"item/damaged_portal_gun": "item/portal_gun_dyeable",
"item/painted_portal_gun": "item/portal_gun_dyeable",
"item/2d_portal_gun": "item/2d_portal_gun_dyeable",
"item/2d_portal_gun_atlas": "item/2d_portal_gun_dyeable",
"item/2d_portal_gun_p_body": "item/2d_portal_gun_dyeable",
"item/2d_portal_gun_reloaded": "item/2d_portal_gun_dyeable",
"item/legacy_portal_gun": "item/portal_gun_dyeable",
"item/legacy_portal_gun_atlas": "item/portal_gun_dyeable",
"item/legacy_portal_gun_p_body": "item/portal_gun_dyeable",
"item/legacy_portal_gun_reloaded": "item/portal_gun_dyeable",
"item/tiny_potatos_portal_gun": "item/portal_gun_dyeable",
"item/wand": "item/wand_orb",
"item/smithers_portal_gun": "item/portal_gun_dyeable",
"item/rick_portal_gun": "item/portal_gun_dyeable",

"item/storage_cube": "prop/storage_cube_ring",
"item/storage_cube_lit": "prop/storage_cube_ring",
"item/dirty_storage_cube": "prop/dirty_storage_cube_ring",
"item/dirty_storage_cube_lit": "prop/dirty_storage_cube_ring",
"item/christmas_storage_cube": "prop/christmas_storage_cube_bow",
"item/christmas_storage_cube_lit": "prop/christmas_storage_cube_bow_lit",
"item/companion_cube": "prop/companion_cube_ring",
"item/companion_cube_lit": "prop/companion_cube_ring",
"item/dirty_companion_cube": "prop/dirty_companion_cube_ring",
"item/dirty_companion_cube_lit": "prop/dirty_companion_cube_ring",
"item/christmas_companion_cube": "prop/christmas_companion_cube_bow",
"item/christmas_companion_cube_lit": "prop/christmas_companion_cube_bow_lit",
"item/redirection_cube_lit": "prop/redirection_cube_center_lit",
"item/dirty_redirection_cube_lit": "prop/dirty_redirection_cube_center_lit",
"item/schrodinger_cube_lit": "prop/schrodinger_cube_center_lit",
"item/dirty_schrodinger_cube_lit": "prop/dirty_schrodinger_cube_center_lit",
"portal_gun/portal_gun_default": "item/portal_gun_dyeable",
"portal_gun/portal_gun_primary": "item/portal_gun_dyeable",
"portal_gun/portal_gun_secondary": "item/portal_gun_dyeable",
"portal_gun/portal_gun_atlas": "item/portal_gun_dyeable",
"portal_gun/portal_gun_p_body": "item/portal_gun_dyeable",
"portal_gun/portal_gun_reloaded": "item/portal_gun_dyeable",
"portal_gun/potatos_portal_gun": "item/portal_gun_dyeable",
"portal_gun/2005_beta_portal_gun": "item/portal_gun_dyeable",
"portal_gun/2006_beta_portal_gun": "item/portal_gun_dyeable",
"portal_gun/mel_portal_gun": "item/portal_gun_dyeable",
"portal_gun/lego_portal_gun": "item/portal_gun_dyeable",
"portal_gun/damaged_portal_gun": "item/portal_gun_dyeable",
"portal_gun/painted_portal_gun": "item/portal_gun_dyeable",
"portal_gun/2d_portal_gun": "item/2d_portal_gun_dyeable",
"portal_gun/2d_portal_gun_atlas": "item/2d_portal_gun_dyeable",
"portal_gun/2d_portal_gun_p_body": "item/2d_portal_gun_dyeable",
"portal_gun/2d_portal_gun_reloaded": "item/2d_portal_gun_dyeable",
"portal_gun/legacy_portal_gun": "item/portal_gun_dyeable",
"portal_gun/legacy_portal_gun_atlas": "item/portal_gun_dyeable",
"portal_gun/legacy_portal_gun_p_body": "item/portal_gun_dyeable",
"portal_gun/legacy_portal_gun_reloaded": "item/portal_gun_dyeable",
"portal_gun/tiny_potatos_portal_gun": "item/portal_gun_dyeable",
"portal_gun/wand": "item/wand_orb",
"portal_gun/smithers_portal_gun": "item/portal_gun_dyeable",
"portal_gun/rick_portal_gun": "item/portal_gun_dyeable",

"prop/storage_cube": "prop/storage_cube_ring",
"prop/storage_cube_lit": "prop/storage_cube_ring",
"prop/dirty_storage_cube": "prop/dirty_storage_cube_ring",
"prop/dirty_storage_cube_lit": "prop/dirty_storage_cube_ring",
"prop/christmas_storage_cube": "prop/christmas_storage_cube_bow",
"prop/christmas_storage_cube_lit": "prop/christmas_storage_cube_bow_lit",
"prop/companion_cube": "prop/companion_cube_ring",
"prop/companion_cube_lit": "prop/companion_cube_ring",
"prop/dirty_companion_cube": "prop/dirty_companion_cube_ring",
"prop/dirty_companion_cube_lit": "prop/dirty_companion_cube_ring",
"prop/christmas_companion_cube": "prop/christmas_companion_cube_bow",
"prop/christmas_companion_cube_lit": "prop/christmas_companion_cube_bow_lit",
"prop/redirection_cube_lit": "prop/redirection_cube_center_lit",
"prop/dirty_redirection_cube_lit": "prop/dirty_redirection_cube_center_lit",
"prop/schrodinger_cube_lit": "prop/schrodinger_cube_center_lit",
"prop/dirty_schrodinger_cube_lit": "prop/dirty_schrodinger_cube_center_lit",

"item/prop_barrier": "item/prop_barrier_e",
"item/advanced_knee_replacements": "item/advanced_knee_replacements_e",

"item/radio": "prop/radio_e",
"item/radio_transmission_received": "prop/radio_e",
"item/radio_awaiting_transmission": "prop/radio_e",
"item/dirty_radio": "prop/radio_e",
"prop/radio": "prop/radio_e",
"prop/radio_transmission_received": "prop/radio_e",
"prop/radio_awaiting_transmission": "prop/radio_e",
"prop/dirty_radio": "prop/radio_e",

"item/taco_with_way_too_much_ranch_on_it_holy_shit_why_is_there_so_much": "prop/the_taco",
"prop/taco_with_way_too_much_ranch_on_it_holy_shit_why_is_there_so_much": "prop/the_taco",

"item/construction_cannon": "item/construction_cannon_screen",

"item/error": "block/error",
"block/error": "block/error",

"item/small_signage": "signage/small_signage_blank",
Expand Down
29 changes: 29 additions & 0 deletions src/main/resources/assets/portalcubed/items/beans.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"model": {
"type": "minecraft:range_dispatch",
"property": "portalcubed:prop_variant",
"entries": [
{
"threshold": 0,
"model": {
"type": "minecraft:model",
"model": "portalcubed:prop/open_beans"
}
},
{
"threshold": 1,
"model": {
"type": "minecraft:model",
"model": "portalcubed:prop/open_beans"
}
},
{
"threshold": 2,
"model": {
"type": "minecraft:model",
"model": "portalcubed:prop/closed_beans"
}
}
]
}
}
57 changes: 57 additions & 0 deletions src/main/resources/assets/portalcubed/items/clipboard.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"model": {
"type": "minecraft:range_dispatch",
"property": "portalcubed:prop_variant",
"entries": [
{
"threshold": 0,
"model": {
"type": "minecraft:model",
"model": "portalcubed:prop/clipboard_blank"
}
},
{
"threshold": 1,
"model": {
"type": "minecraft:model",
"model": "portalcubed:prop/clipboard_blank"
}
},
{
"threshold": 2,
"model": {
"type": "minecraft:model",
"model": "portalcubed:prop/clipboard_chell"
}
},
{
"threshold": 3,
"model": {
"type": "minecraft:model",
"model": "portalcubed:prop/clipboard_chicken"
}
},
{
"threshold": 4,
"model": {
"type": "minecraft:model",
"model": "portalcubed:prop/clipboard_hazards"
}
},
{
"threshold": 5,
"model": {
"type": "minecraft:model",
"model": "portalcubed:prop/clipboard_knee"
}
},
{
"threshold": 6,
"model": {
"type": "minecraft:model",
"model": "portalcubed:prop/clipboard_text"
}
}
]
}
}
70 changes: 70 additions & 0 deletions src/main/resources/assets/portalcubed/items/companion_cube.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
{
"model": {
"type": "minecraft:select",
"cases": [
{
"model": {
"type": "minecraft:range_dispatch",
"property": "portalcubed:prop_variant",
"entries": [
{
"threshold": 0,
"model": {
"type": "minecraft:model",
"model": "portalcubed:prop/christmas_companion_cube"
}
},
{
"threshold": 1,
"model": {
"type": "minecraft:model",
"model": "portalcubed:prop/christmas_companion_cube_lit"
}
}
]
},
"when": [
"12-24",
"12-25",
"12-26"
]
}
],
"fallback": {
"type": "minecraft:range_dispatch",
"property": "portalcubed:prop_variant",
"entries": [
{
"threshold": 0,
"model": {
"type": "minecraft:model",
"model": "portalcubed:prop/companion_cube"
}
},
{
"threshold": 1,
"model": {
"type": "minecraft:model",
"model": "portalcubed:prop/companion_cube_lit"
}
},
{
"threshold": 2,
"model": {
"type": "minecraft:model",
"model": "portalcubed:prop/dirty_companion_cube"
}
},
{
"threshold": 3,
"model": {
"type": "minecraft:model",
"model": "portalcubed:prop/dirty_companion_cube_lit"
}
}
]
},
"pattern": "MM-dd",
"property": "minecraft:local_time"
}
}
6 changes: 6 additions & 0 deletions src/main/resources/assets/portalcubed/items/error.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"model": {
"type": "minecraft:model",
"model": "portalcubed:block/error"
}
}
85 changes: 85 additions & 0 deletions src/main/resources/assets/portalcubed/items/lil_pineapple.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
{
"model": {
"type": "minecraft:range_dispatch",
"property": "portalcubed:prop_variant",
"entries": [
{
"threshold": 0,
"model": {
"type": "minecraft:model",
"model": "portalcubed:prop/lil_pineapple"
}
},
{
"threshold": 1,
"model": {
"type": "minecraft:model",
"model": "portalcubed:prop/lil_pineapple_ace"
}
},
{
"threshold": 2,
"model": {
"type": "minecraft:model",
"model": "portalcubed:prop/lil_pineapple_agender"
}
},
{
"threshold": 3,
"model": {
"type": "minecraft:model",
"model": "portalcubed:prop/lil_pineapple_aro"
}
},
{
"threshold": 4,
"model": {
"type": "minecraft:model",
"model": "portalcubed:prop/lil_pineapple_bi"
}
},
{
"threshold": 5,
"model": {
"type": "minecraft:model",
"model": "portalcubed:prop/lil_pineapple_genderfluid"
}
},
{
"threshold": 6,
"model": {
"type": "minecraft:model",
"model": "portalcubed:prop/lil_pineapple_lesbian"
}
},
{
"threshold": 7,
"model": {
"type": "minecraft:model",
"model": "portalcubed:prop/lil_pineapple_nonbinary"
}
},
{
"threshold": 8,
"model": {
"type": "minecraft:model",
"model": "portalcubed:prop/lil_pineapple_pan"
}
},
{
"threshold": 9,
"model": {
"type": "minecraft:model",
"model": "portalcubed:prop/lil_pineapple_trans"
}
},
{
"threshold": 10,
"model": {
"type": "minecraft:model",
"model": "portalcubed:prop/lil_pineapple_proud"
}
}
]
}
}
Loading

0 comments on commit dda94bc

Please sign in to comment.