Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added assets/cubyz/blocks/textures/trampoline/feet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/cubyz/blocks/textures/trampoline/net.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/cubyz/blocks/textures/trampoline/side.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/cubyz/blocks/textures/trampoline/top.png
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.
20 changes: 20 additions & 0 deletions assets/cubyz/blocks/trampoline.zig.zon
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
.{
.tags = .{.mineable, .choppable},
.blockHealth = 1.0,
.drops = .{
.{.items = .{.auto}},
},
.bounciness = 0.5,
.viewThrough = true,
.absorbedLight = 0x121012,
.model = "cubyz:trampoline",
.texture4 = "cubyz:trampoline/net",
.texture8 = "cubyz:trampoline/underside",
.texture9 = "cubyz:trampoline/feet",
.texture12 = "cubyz:trampoline/top",
.texture13 = "cubyz:trampoline/side",
.lodReplacement = "cubyz:air",
.onUpdate = .{
.type = .checkSupportBlocks,
},
}
189 changes: 189 additions & 0 deletions assets/cubyz/models/trampoline.obj
Original file line number Diff line number Diff line change
@@ -0,0 +1,189 @@
# Made in Blockbench 5.1.3
mtllib materials.mtl

o cube
v 1 1.1102230246251565e-16 0.3125000000000001
v 1 1 0.3124999999999999
v 1 1.1102230246251565e-16 0.3125000000000001
v 1 1 0.3124999999999999
v 0 1 0.3124999999999999
v 0 1.1102230246251565e-16 0.3125000000000001
v 0 1 0.3124999999999999
v 0 1.1102230246251565e-16 0.3125000000000001
vt 0 1
vt 0.25 1
vt 0.25 1
vt 0 1
vt 0 1
vt 0.25 1
vt 0.25 1
vt 0 1
vt 0 1
vt 0.25 1
vt 0.25 1
vt 0 1
vt 0 1
vt 0.25 1
vt 0.25 1
vt 0 1
vt 0.25 0.25
vt 0 0.25
vt 0 0.5
vt 0.25 0.5
vt 0.25 0.5
vt 0 0.5
vt 0 0.25
vt 0.25 0.25
vn 0 1 -2.220446049250313e-16
vn 1 0 0
vn 0 -1 2.220446049250313e-16
vn -1 0 0
vn 0 2.220446049250313e-16 1
vn 0 -2.220446049250313e-16 -1
usemtl m_a5dd4cb9-4ef8-67df-2717-dd0941366c0f
f 4/4/1 7/3/1 5/2/1 2/1/1
f 3/8/2 4/7/2 2/6/2 1/5/2
f 8/12/3 3/11/3 1/10/3 6/9/3
f 7/16/4 8/15/4 6/14/4 5/13/4
f 6/20/5 1/19/5 2/18/5 5/17/5
f 7/24/6 4/23/6 3/22/6 8/21/6
o cube
v 1 0 0.2500000000000001
v 1 1 0.2499999999999999
v 1 0 0.2500000000000001
v 1 1 0.2499999999999999
v 0 1 0.2499999999999999
v 0 0 0.2500000000000001
v 0 1 0.2499999999999999
v 0 0 0.2500000000000001
vt 0 1
vt 0.25 1
vt 0.25 1
vt 0 1
vt 0 1
vt 0.25 1
vt 0.25 1
vt 0 1
vt 0 1
vt 0.25 1
vt 0.25 1
vt 0 1
vt 0 1
vt 0.25 1
vt 0.25 1
vt 0 1
vt 0.25 0.5
vt 0 0.5
vt 0 0.75
vt 0.25 0.75
vt 0.25 0.75
vt 0 0.75
vt 0 0.5
vt 0.25 0.5
vn 0 1 -2.220446049250313e-16
vn 1 0 0
vn 0 -1 2.220446049250313e-16
vn -1 0 0
vn 0 2.220446049250313e-16 1
vn 0 -2.220446049250313e-16 -1
usemtl m_a5dd4cb9-4ef8-67df-2717-dd0941366c0f
f 12/28/7 15/27/7 13/26/7 10/25/7
f 11/32/8 12/31/8 10/30/8 9/29/8
f 16/36/9 11/35/9 9/34/9 14/33/9
f 15/40/10 16/39/10 14/38/10 13/37/10
f 14/44/11 9/43/11 10/42/11 13/41/11
f 15/48/12 12/47/12 11/46/12 16/45/12
o cube
v 1 1.1102230246251565e-16 0.3750000000000001
v 1 1 0.3749999999999999
v 1 0 1.1102230246251565e-16
v 1 1 -1.1102230246251565e-16
v 0 1 0.3749999999999999
v 0 1.1102230246251565e-16 0.3750000000000001
v 0 1 -1.1102230246251565e-16
v 0 0 1.1102230246251565e-16
vt 0.25 1
vt 0.5 1
vt 0.5 0.90625
vt 0.25 0.90625
vt 0.25 1
vt 0.5 1
vt 0.5 0.90625
vt 0.25 0.90625
vt 0.25 1
vt 0.5 1
vt 0.5 0.90625
vt 0.25 0.90625
vt 0.25 1
vt 0.5 1
vt 0.5 0.90625
vt 0.25 0.90625
vt 0 1
vt 0.25 1
vt 0.25 0.75
vt 0 0.75
vt 0.25 0.75
vt 0.5 0.75
vt 0.5 0.5
vt 0.25 0.5
vn 0 1 -2.220446049250313e-16
vn 1 0 0
vn 0 -1 2.220446049250313e-16
vn -1 0 0
vn 0 2.220446049250313e-16 1
vn 0 -2.220446049250313e-16 -1
usemtl m_a5dd4cb9-4ef8-67df-2717-dd0941366c0f
f 20/52/13 23/51/13 21/50/13 18/49/13
f 19/56/14 20/55/14 18/54/14 17/53/14
f 24/60/15 19/59/15 17/58/15 22/57/15
f 23/64/16 24/63/16 22/62/16 21/61/16
f 22/68/17 17/67/17 18/66/17 21/65/17
f 23/72/18 20/71/18 19/70/18 24/69/18
o plane
v 0.125 0 0.375
v 0.125 0 0
v 0.125 1 0.375
v 0.125 1 0
vt 0.5 0.90625
vt 0.5 0.8125
vt 0.25 0.8125
vt 0.25 0.90625
vn 1 0 0
usemtl m_a5dd4cb9-4ef8-67df-2717-dd0941366c0f
f 25/73/19 26/74/19 28/75/19 27/76/19
o plane
v 0.875 1 0.375
v 0.875 1 0
v 0.875 0 0.375
v 0.875 0 0
vt 0.5 0.90625
vt 0.5 0.8125
vt 0.25 0.8125
vt 0.25 0.90625
vn -1 0 0
usemtl m_a5dd4cb9-4ef8-67df-2717-dd0941366c0f
f 29/77/20 30/78/20 32/79/20 31/80/20
o plane
v 0 0.8750000000000002 0.375
v 0 0.8750000000000002 0
v 1 0.875 0.375
v 1 0.875 0
vt 0.5 0.90625
vt 0.5 0.8125
vt 0.25 0.8125
vt 0.25 0.90625
vn -2.220446049250313e-16 -1 0
usemtl m_a5dd4cb9-4ef8-67df-2717-dd0941366c0f
f 33/81/21 34/82/21 36/83/21 35/84/21
o plane
v 1 0.125 0.375
v 1 0.125 0
v 0 0.12500000000000022 0.375
v 0 0.12500000000000022 0
vt 0.5 0.90625
vt 0.5 0.8125
vt 0.25 0.8125
vt 0.25 0.90625
vn 2.220446049250313e-16 1 0
usemtl m_a5dd4cb9-4ef8-67df-2717-dd0941366c0f
f 37/85/22 38/86/22 40/87/22 39/88/22
4 changes: 4 additions & 0 deletions assets/cubyz/recipes/special_recipes.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -169,4 +169,8 @@
.output = "4 cubyz:pebbles",
.reversible = true,
},
.{
.inputs = .{"5 cubyz:iron_ingot"},
.output = "4 cubyz:trampoline",
},
}
Loading