Skip to content

Commit

Permalink
More asset/data stuff (shocking, I know)
Browse files Browse the repository at this point in the history
- Changed the rocket turret textures to reduce the brightness of the emissives
- Added some detail to the gel block textures
- Removed the excursion funnel block references from emissive.json since they're not blocks anymore
- Remade the neurotoxin emitter assets.  They now actually show their `facing` state rather than having vents on all sides
- Added the neurotoxin emitters to pickaxe.json and gave them a loot table
- Moved the recipe advancements to the `recipes` subfolder
- Tweaked the rocket turret subtitles
- Fixed a punctuation mistake in the radio tooltip
- Fixed an issue with the portal 2 storage cube recipe
  • Loading branch information
Cart3r1234 committed Jul 17, 2023
1 parent a25ddb7 commit a255f2a
Show file tree
Hide file tree
Showing 45 changed files with 272 additions and 53 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,52 @@
{
"variants": {
"powered=false": {
"model": "portalcubed:block/neurotoxin_emitter_off"
"facing=east,powered=true": {
"model": "portalcubed:block/neurotoxin_emitter_on",
"y": 270
},
"powered=true": {
"model": "portalcubed:block/neurotoxin_emitter_on"
"facing=north,powered=true": {
"model": "portalcubed:block/neurotoxin_emitter_on",
"y": 180
},
"facing=south,powered=true": {
"model": "portalcubed:block/neurotoxin_emitter_on",
"y": 0
},
"facing=west,powered=true": {
"model": "portalcubed:block/neurotoxin_emitter_on",
"y": 90
},
"facing=up,powered=true": {
"model": "portalcubed:block/neurotoxin_emitter_on",
"x": 90
},
"facing=down,powered=true": {
"model": "portalcubed:block/neurotoxin_emitter_on",
"x": 270
},
"facing=east,powered=false": {
"model": "portalcubed:block/neurotoxin_emitter_off",
"y": 270
},
"facing=north,powered=false": {
"model": "portalcubed:block/neurotoxin_emitter_off",
"y": 180
},
"facing=south,powered=false": {
"model": "portalcubed:block/neurotoxin_emitter_off",
"y": 0
},
"facing=west,powered=false": {
"model": "portalcubed:block/neurotoxin_emitter_off",
"y": 90
},
"facing=up,powered=false": {
"model": "portalcubed:block/neurotoxin_emitter_off",
"x": 90
},
"facing=down,powered=false": {
"model": "portalcubed:block/neurotoxin_emitter_off",
"x": 270
}
}
}
8 changes: 4 additions & 4 deletions src/main/resources/assets/portalcubed/lang/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

"subtitles.portalcubed.gel_bounce": "Something bounces on propulsion gel",
"subtitles.portalcubed.gel_run": "Something slides on propulsion gel",

"subtitles.portalcubed.portal_gun_secondary_fire": "Portal gun secondary fire",
"subtitles.portalcubed.portal_gun_primary_fire": "Portal gun primary fire",
"subtitles.portalcubed.portal_invalid_surface": "Portal gun failed",
Expand All @@ -21,15 +22,14 @@
"subtitles.portalcubed.laser.node_deactivate": "Laser node deactivates",
"subtitles.portalcubed.laser.node_sing": "Laser node sings",


"subtitles.portalcubed.pedestal_button_press": "Switch activates",
"subtitles.portalcubed.pedestal_button_release": "Switch deactivates",
"subtitles.portalcubed.floor_button_press": "Button activates",
"subtitles.portalcubed.floor_button_release": "Button deactivates",

"subtitles.portalcubed.rocket.fire": "Rocket launches",
"subtitles.portalcubed.rocket.locked": "Rocket locked",
"subtitles.portalcubed.rocket.locking": "Rocket locking",
"subtitles.portalcubed.rocket.locked": "Rocket turret fires",
"subtitles.portalcubed.rocket.locking": "Rocket turret locks on",

"subtitles.portalcubed.pellet.bounce": "Energy pellet bounces",
"subtitles.portalcubed.pellet.explode": "Energy pellet explodes",
Expand All @@ -54,7 +54,7 @@
"tooltip.portalcubed.schrodinger_cube.2": "Schrodinger Cubes linked by name",
"tooltip.portalcubed.schrodinger_cube.3": "ignore other Schrodinger Cubes.",

"tooltip.portalcubed.radio.1": " Changes if the music toggles when picked up.",
"tooltip.portalcubed.radio.1": " Changes if the music toggles when picked up",

"tooltip.portalcubed.velocity_helper.1": " Links Velocity Helpers",
"tooltip.portalcubed.velocity_helper.2": " Opens Configuration Menu",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,78 @@
{
"parent": "block/cube_all",
"textures": {
"all": "portalcubed:block/neurotoxin_emitter_off"
}
"credit": "Made by Cart3r using Blockbench.",
"textures": {
"0": "portalcubed:block/neurotoxin_emitter_vent",
"1": "portalcubed:block/neurotoxin_emitter_front",
"2": "portalcubed:block/dirty_borderless_panel",
"3": "portalcubed:block/neurotoxin_emitter_background",
"particle": "portalcubed:block/neurotoxin_emitter_vent"
},
"elements": [
{
"from": [0, 0, 0],
"to": [16, 16, 16],
"faces": {
"north": {"uv": [0, 0, 16, 16], "texture": "#2", "cullface": "north"},
"east": {"uv": [0, 0, 16, 16], "texture": "#2", "cullface": "east"},
"south": {"uv": [0, 0, 16, 16], "texture": "#1", "cullface": "south"},
"west": {"uv": [0, 0, 16, 16], "texture": "#2", "cullface": "west"},
"up": {"uv": [0, 0, 16, 16], "texture": "#2", "cullface": "up"},
"down": {"uv": [0, 0, 16, 16], "texture": "#2", "cullface": "down"}
}
},
{
"from": [1.95, 1.95, 15.85],
"to": [14.05, 14.05, 15.95],
"rotation": {"angle": 0, "axis": "y", "origin": [-2, -2, -0.076]},
"faces": {
"south": {"uv": [2, 2, 14, 14], "texture": "#0", "cullface": "south"}
}
},
{
"from": [1, 1, 16],
"to": [15, 15, 15],
"faces": {
"east": {"uv": [14.032, 1.032, 14.968, 14.968], "texture": "#3"},
"south": {"uv": [1.032, 1.032, 14.968, 14.968], "texture": "#3"},
"west": {"uv": [1.032, 1.032, 1.968, 14.968], "texture": "#3"},
"up": {"uv": [1.032, 1.032, 14.968, 1.968], "texture": "#3"},
"down": {"uv": [1.032, 14.032, 14.968, 14.968], "texture": "#3"}
}
}
],
"display": {
"thirdperson_righthand": {
"rotation": [75, -120, 0],
"translation": [0, 2.5, 0],
"scale": [0.375, 0.375, 0.375]
},
"thirdperson_lefthand": {
"rotation": [75, -120, 0],
"translation": [0, 2.5, 0],
"scale": [0.375, 0.375, 0.375]
},
"firstperson_righthand": {
"rotation": [0, -64, 0],
"scale": [0.4, 0.4, 0.4]
},
"firstperson_lefthand": {
"rotation": [0, -64, 0],
"scale": [0.4, 0.4, 0.4]
},
"ground": {
"translation": [0, 3, 0],
"scale": [0.25, 0.25, 0.25]
},
"gui": {
"rotation": [30, 45, 0],
"scale": [0.625, 0.625, 0.625]
},
"head": {
"rotation": [0, 180, 0]
},
"fixed": {
"rotation": [0, 180, 0],
"scale": [0.5, 0.5, 0.5]
}
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,124 @@
{
"parent": "block/cube_all",
"textures": {
"all": "portalcubed:block/neurotoxin_emitter_on"
}
"credit": "Made by Cart3r using Blockbench.",
"textures": {
"0": "portalcubed:block/neurotoxin_emitter_vent",
"1": "portalcubed:block/neurotoxin_emitter_front",
"2": "portalcubed:block/dirty_borderless_panel",
"3": "portalcubed:block/neurotoxin_emitter_background",
"particle": "portalcubed:block/neurotoxin_emitter_vent"
},
"elements": [
{
"from": [0, 0, 0],
"to": [16, 16, 16],
"faces": {
"north": {"uv": [0, 0, 16, 16], "texture": "#2", "cullface": "north"},
"east": {"uv": [0, 0, 16, 16], "texture": "#2", "cullface": "east"},
"south": {"uv": [0, 0, 16, 16], "texture": "#1", "cullface": "south"},
"west": {"uv": [0, 0, 16, 16], "texture": "#2", "cullface": "west"},
"up": {"uv": [0, 0, 16, 16], "texture": "#2", "cullface": "up"},
"down": {"uv": [0, 0, 16, 16], "texture": "#2", "cullface": "down"}
}
},
{
"from": [1, 1, 16],
"to": [15, 15, 15],
"faces": {
"east": {"uv": [14.032, 1.032, 14.968, 14.968], "texture": "#3"},
"south": {"uv": [1.032, 1.032, 14.968, 14.968], "texture": "#3"},
"west": {"uv": [1.032, 1.032, 1.968, 14.968], "texture": "#3"},
"up": {"uv": [1.032, 1.032, 14.968, 1.968], "texture": "#3"},
"down": {"uv": [1.032, 14.032, 14.968, 14.968], "texture": "#3"}
}
},
{
"from": [2, 12, 16],
"to": [14, 14, 16],
"rotation": {"angle": -45, "axis": "x", "origin": [8, 13, 16]},
"faces": {
"north": {"uv": [2, 2, 14, 4], "texture": "#0"},
"south": {"uv": [2, 2, 14, 4], "texture": "#0"}
}
},
{
"from": [2, 10, 16],
"to": [14, 12, 16],
"rotation": {"angle": -45, "axis": "x", "origin": [8, 11, 16]},
"faces": {
"north": {"uv": [2, 4, 14, 6], "texture": "#0"},
"south": {"uv": [2, 4, 14, 6], "texture": "#0"}
}
},
{
"from": [2, 8, 16],
"to": [14, 10, 16],
"rotation": {"angle": -45, "axis": "x", "origin": [8, 9, 16]},
"faces": {
"north": {"uv": [2, 6, 14, 8], "texture": "#0"},
"south": {"uv": [2, 6, 14, 8], "texture": "#0"}
}
},
{
"from": [2, 6, 16],
"to": [14, 8, 16],
"rotation": {"angle": -45, "axis": "x", "origin": [8, 7, 16]},
"faces": {
"north": {"uv": [2, 8, 14, 10], "texture": "#0"},
"south": {"uv": [2, 8, 14, 10], "texture": "#0"}
}
},
{
"from": [2, 4, 16],
"to": [14, 6, 16],
"rotation": {"angle": -45, "axis": "x", "origin": [8, 5, 16]},
"faces": {
"north": {"uv": [2, 10, 14, 12], "texture": "#0"},
"south": {"uv": [2, 10, 14, 12], "texture": "#0"}
}
},
{
"from": [2, 2, 16],
"to": [14, 4, 16],
"rotation": {"angle": -45, "axis": "x", "origin": [8, 3, 16]},
"faces": {
"north": {"uv": [2, 12, 14, 14], "texture": "#0"},
"south": {"uv": [2, 12, 14, 14], "texture": "#0"}
}
}
],
"display": {
"thirdperson_righthand": {
"rotation": [75, -120, 0],
"translation": [0, 2.5, 0],
"scale": [0.375, 0.375, 0.375]
},
"thirdperson_lefthand": {
"rotation": [75, -120, 0],
"translation": [0, 2.5, 0],
"scale": [0.375, 0.375, 0.375]
},
"firstperson_righthand": {
"rotation": [0, -64, 0],
"scale": [0.4, 0.4, 0.4]
},
"firstperson_lefthand": {
"rotation": [0, -64, 0],
"scale": [0.4, 0.4, 0.4]
},
"ground": {
"translation": [0, 3, 0],
"scale": [0.25, 0.25, 0.25]
},
"gui": {
"rotation": [30, 45, 0],
"scale": [0.625, 0.625, 0.625]
},
"head": {
"rotation": [0, 180, 0]
},
"fixed": {
"rotation": [0, 180, 0],
"scale": [0.5, 0.5, 0.5]
}
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"parent": "portalcubed:block/neurotoxin_emitter_off"
"parent": "portalcubed:block/neurotoxin_emitter_on"

}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
"portalcubed:aged_padded_gray_half_panel",
"portalcubed:aged_padded_gray_panel",
"portalcubed:light_bridge_emitter",
"portalcubed:neurotoxin_emitter",
"portalcubed:laser_emitter",
"portalcubed:laser_catcher",
"portalcubed:laser_relay",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"type": "minecraft:block",
"pools": [
{
"rolls": 1.0,
"bonus_rolls": 0.0,
"entries": [
{
"type": "minecraft:item",
"name": "portalcubed:neurotoxin_emitter"
}
],
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
]
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"item": "minecraft:redstone_lamp"
},
"Y": {
"tag": "c:light_blue_dye"
"tag": "c:light_blue_dyes"
}
},
"result": {
Expand Down
34 changes: 0 additions & 34 deletions src/main/resources/emissives.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,40 +54,6 @@
"block/reversed_excursion_funnel_beam_end"
],

"block/excursion_funnel_quadrant_1": [
"block/excursion_funnel_beam",
"block/excursion_funnel_beam_end"
],
"block/excursion_funnel_quadrant_2": [
"block/excursion_funnel_beam",
"block/excursion_funnel_beam_end"
],
"block/excursion_funnel_quadrant_3": [
"block/excursion_funnel_beam",
"block/excursion_funnel_beam_end"
],
"block/excursion_funnel_quadrant_4": [
"block/excursion_funnel_beam",
"block/excursion_funnel_beam_end"
],

"block/excursion_funnel_reversed_quadrant_1": [
"block/excursion_funnel_beam",
"block/reversed_excursion_funnel_beam_end"
],
"block/excursion_funnel_reversed_quadrant_2": [
"block/excursion_funnel_beam",
"block/reversed_excursion_funnel_beam_end"
],
"block/excursion_funnel_reversed_quadrant_3": [
"block/excursion_funnel_beam",
"block/reversed_excursion_funnel_beam_end"
],
"block/excursion_funnel_reversed_quadrant_4": [
"block/excursion_funnel_beam",
"block/reversed_excursion_funnel_beam_end"
],


"block/laser_emitter_active": "block/laser_emitter_e",
"block/laser_catcher_active": "block/laser_emitter_e",
Expand Down
Loading

0 comments on commit a255f2a

Please sign in to comment.