Skip to content

Commit

Permalink
improve how block drops are configured.
Browse files Browse the repository at this point in the history
  • Loading branch information
IntegratedQuantum committed Dec 29, 2024
1 parent 62a4b54 commit 19b1e7e
Show file tree
Hide file tree
Showing 162 changed files with 205 additions and 224 deletions.
3 changes: 3 additions & 0 deletions assets/cubyz/blocks/basalt.zig.zon
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
.{
.class = .stone,
.hardness = 25,
.drops = .{
.{.items = .{.auto}},
},
.breakingPower = 1,
.rotation = .stairs,
.model = "cubyz:cube",
Expand Down
3 changes: 3 additions & 0 deletions assets/cubyz/blocks/basalt_bricks.zig.zon
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
.{
.class = .stone,
.hardness = 25,
.drops = .{
.{.items = .{.auto}},
},
.breakingPower = 1,
.rotation = .stairs,
.model = "cubyz:cube",
Expand Down
3 changes: 3 additions & 0 deletions assets/cubyz/blocks/basalt_tile.zig.zon
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
.{
.class = .stone,
.hardness = 25,
.drops = .{
.{.items = .{.auto}},
},
.breakingPower = 1,
.rotation = .stairs,
.model = "cubyz:cube",
Expand Down
2 changes: 1 addition & 1 deletion assets/cubyz/blocks/basalt_wall.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.class = .stone,
.hardness = 25,
.drops = .{
.auto,
.{.items = .{.auto}},
},
.rotation = .fence,
.model = "cubyz:wall",
Expand Down
2 changes: 1 addition & 1 deletion assets/cubyz/blocks/birch_fence.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.class = .wood,
.hardness = 7,
.drops = .{
.auto,
.{.items = .{.auto}},
},
.absorbedLight = 0x202830,
.rotation = .fence,
Expand Down
4 changes: 2 additions & 2 deletions assets/cubyz/blocks/birch_leaves.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
.class = .leaf,
.hardness = 0.4,
.drops = .{
.auto,
"0.1 cubyz:apple",
.{.items = .{.auto}},
.{.chance = 0.1, .items = .{"cubyz:apple"}},
},
.degradable = true,
.alwaysViewThrough = true,
Expand Down
2 changes: 1 addition & 1 deletion assets/cubyz/blocks/birch_log.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.class = .wood,
.hardness = 8,
.drops = .{
.auto,
.{.items = .{.auto}},
},
.rotation = .log,
.model = "cubyz:cube",
Expand Down
2 changes: 1 addition & 1 deletion assets/cubyz/blocks/birch_planks.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},

.drops = .{
.auto,
.{.items = .{.auto}},
},
.model = "cubyz:cube",
.rotation = .stairs,
Expand Down
2 changes: 1 addition & 1 deletion assets/cubyz/blocks/birch_top.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.class = .wood,
.hardness = 8,
.drops = .{
.auto,
.{.items = .{.auto}},
},
.rotation = .log,
.model = "cubyz:cube",
Expand Down
2 changes: 1 addition & 1 deletion assets/cubyz/blocks/cactus.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.class = .leaf,
.hardness = 4,
.drops = .{
.auto,
.{.items = .{.auto}},
},
.model = "cubyz:cube",
.texture = "cubyz:cactus",
Expand Down
2 changes: 1 addition & 1 deletion assets/cubyz/blocks/chalk/aqua.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.class = .stone,
.hardness = 6,
.drops = .{
.auto,
.{.items = .{.auto}},
},
.model = "cubyz:cube",
.rotation = .stairs,
Expand Down
2 changes: 1 addition & 1 deletion assets/cubyz/blocks/chalk/black.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.class = .stone,
.hardness = 6,
.drops = .{
.auto,
.{.items = .{.auto}},
},
.model = "cubyz:cube",
.rotation = .stairs,
Expand Down
2 changes: 1 addition & 1 deletion assets/cubyz/blocks/chalk/blue.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.class = .stone,
.hardness = 6,
.drops = .{
.auto,
.{.items = .{.auto}},
},
.model = "cubyz:cube",
.rotation = .stairs,
Expand Down
2 changes: 1 addition & 1 deletion assets/cubyz/blocks/chalk/brown.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.class = .stone,
.hardness = 6,
.drops = .{
.auto,
.{.items = .{.auto}},
},
.model = "cubyz:cube",
.rotation = .stairs,
Expand Down
2 changes: 1 addition & 1 deletion assets/cubyz/blocks/chalk/crimson.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.class = .stone,
.hardness = 6,
.drops = .{
.auto,
.{.items = .{.auto}},
},
.model = "cubyz:cube",
.rotation = .stairs,
Expand Down
2 changes: 1 addition & 1 deletion assets/cubyz/blocks/chalk/cyan.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.class = .stone,
.hardness = 6,
.drops = .{
.auto,
.{.items = .{.auto}},
},
.model = "cubyz:cube",
.rotation = .stairs,
Expand Down
2 changes: 1 addition & 1 deletion assets/cubyz/blocks/chalk/dark_grey.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.class = .stone,
.hardness = 6,
.drops = .{
.auto,
.{.items = .{.auto}},
},
.model = "cubyz:cube",
.rotation = .stairs,
Expand Down
2 changes: 1 addition & 1 deletion assets/cubyz/blocks/chalk/green.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.class = .stone,
.hardness = 6,
.drops = .{
.auto,
.{.items = .{.auto}},
},
.model = "cubyz:cube",
.rotation = .stairs,
Expand Down
2 changes: 1 addition & 1 deletion assets/cubyz/blocks/chalk/grey.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.class = .stone,
.hardness = 6,
.drops = .{
.auto,
.{.items = .{.auto}},
},
.model = "cubyz:cube",
.rotation = .stairs,
Expand Down
2 changes: 1 addition & 1 deletion assets/cubyz/blocks/chalk/indigo.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.class = .stone,
.hardness = 6,
.drops = .{
.auto,
.{.items = .{.auto}},
},
.model = "cubyz:cube",
.rotation = .stairs,
Expand Down
2 changes: 1 addition & 1 deletion assets/cubyz/blocks/chalk/lime.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.class = .stone,
.hardness = 6,
.drops = .{
.auto,
.{.items = .{.auto}},
},
.model = "cubyz:cube",
.rotation = .stairs,
Expand Down
2 changes: 1 addition & 1 deletion assets/cubyz/blocks/chalk/magenta.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.class = .stone,
.hardness = 6,
.drops = .{
.auto,
.{.items = .{.auto}},
},
.model = "cubyz:cube",
.rotation = .stairs,
Expand Down
2 changes: 1 addition & 1 deletion assets/cubyz/blocks/chalk/orange.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.class = .stone,
.hardness = 6,
.drops = .{
.auto,
.{.items = .{.auto}},
},
.model = "cubyz:cube",
.rotation = .stairs,
Expand Down
2 changes: 1 addition & 1 deletion assets/cubyz/blocks/chalk/pink.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.class = .stone,
.hardness = 6,
.drops = .{
.auto,
.{.items = .{.auto}},
},
.model = "cubyz:cube",
.rotation = .stairs,
Expand Down
2 changes: 1 addition & 1 deletion assets/cubyz/blocks/chalk/purple.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.class = .stone,
.hardness = 6,
.drops = .{
.auto,
.{.items = .{.auto}},
},
.model = "cubyz:cube",
.rotation = .stairs,
Expand Down
2 changes: 1 addition & 1 deletion assets/cubyz/blocks/chalk/red.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.class = .stone,
.hardness = 6,
.drops = .{
.auto,
.{.items = .{.auto}},
},
.model = "cubyz:cube",
.rotation = .stairs,
Expand Down
2 changes: 1 addition & 1 deletion assets/cubyz/blocks/chalk/violet.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.class = .stone,
.hardness = 6,
.drops = .{
.auto,
.{.items = .{.auto}},
},
.model = "cubyz:cube",
.rotation = .stairs,
Expand Down
2 changes: 1 addition & 1 deletion assets/cubyz/blocks/chalk/viridian.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.class = .stone,
.hardness = 6,
.drops = .{
.auto,
.{.items = .{.auto}},
},
.model = "cubyz:cube",
.rotation = .stairs,
Expand Down
2 changes: 1 addition & 1 deletion assets/cubyz/blocks/chalk/white.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.class = .stone,
.hardness = 6,
.drops = .{
.auto,
.{.items = .{.auto}},
},
.model = "cubyz:cube",
.rotation = .stairs,
Expand Down
2 changes: 1 addition & 1 deletion assets/cubyz/blocks/chalk/yellow.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.class = .stone,
.hardness = 6,
.drops = .{
.auto,
.{.items = .{.auto}},
},
.model = "cubyz:cube",
.rotation = .stairs,
Expand Down
2 changes: 1 addition & 1 deletion assets/cubyz/blocks/cloth/aqua.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.class = .stone,
.hardness = 2,
.drops = .{
.auto,
.{.items = .{.auto}},
},
.collide = false,
.model = "cubyz:carpet",
Expand Down
2 changes: 1 addition & 1 deletion assets/cubyz/blocks/cloth/black.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.class = .stone,
.hardness = 2,
.drops = .{
.auto,
.{.items = .{.auto}},
},
.collide = false,
.model = "cubyz:carpet",
Expand Down
2 changes: 1 addition & 1 deletion assets/cubyz/blocks/cloth/blue.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.class = .stone,
.hardness = 2,
.drops = .{
.auto,
.{.items = .{.auto}},
},
.collide = false,
.model = "cubyz:carpet",
Expand Down
2 changes: 1 addition & 1 deletion assets/cubyz/blocks/cloth/brown.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.class = .stone,
.hardness = 2,
.drops = .{
.auto,
.{.items = .{.auto}},
},
.collide = false,
.model = "cubyz:carpet",
Expand Down
2 changes: 1 addition & 1 deletion assets/cubyz/blocks/cloth/crimson.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.class = .stone,
.hardness = 2,
.drops = .{
.auto,
.{.items = .{.auto}},
},
.collide = false,
.model = "cubyz:carpet",
Expand Down
2 changes: 1 addition & 1 deletion assets/cubyz/blocks/cloth/cyan.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.class = .stone,
.hardness = 2,
.drops = .{
.auto,
.{.items = .{.auto}},
},
.collide = false,
.model = "cubyz:carpet",
Expand Down
2 changes: 1 addition & 1 deletion assets/cubyz/blocks/cloth/dark_grey.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.class = .stone,
.hardness = 2,
.drops = .{
.auto,
.{.items = .{.auto}},
},
.collide = false,
.model = "cubyz:carpet",
Expand Down
2 changes: 1 addition & 1 deletion assets/cubyz/blocks/cloth/green.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.class = .stone,
.hardness = 2,
.drops = .{
.auto,
.{.items = .{.auto}},
},
.collide = false,
.model = "cubyz:carpet",
Expand Down
2 changes: 1 addition & 1 deletion assets/cubyz/blocks/cloth/grey.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.class = .stone,
.hardness = 2,
.drops = .{
.auto,
.{.items = .{.auto}},
},
.collide = false,
.model = "cubyz:carpet",
Expand Down
2 changes: 1 addition & 1 deletion assets/cubyz/blocks/cloth/indigo.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.class = .stone,
.hardness = 2,
.drops = .{
.auto,
.{.items = .{.auto}},
},
.collide = false,
.model = "cubyz:carpet",
Expand Down
2 changes: 1 addition & 1 deletion assets/cubyz/blocks/cloth/lime.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.class = .stone,
.hardness = 2,
.drops = .{
.auto,
.{.items = .{.auto}},
},
.collide = false,
.model = "cubyz:carpet",
Expand Down
2 changes: 1 addition & 1 deletion assets/cubyz/blocks/cloth/magenta.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.class = .stone,
.hardness = 2,
.drops = .{
.auto,
.{.items = .{.auto}},
},
.collide = false,
.model = "cubyz:carpet",
Expand Down
2 changes: 1 addition & 1 deletion assets/cubyz/blocks/cloth/orange.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.class = .stone,
.hardness = 2,
.drops = .{
.auto,
.{.items = .{.auto}},
},
.collide = false,
.model = "cubyz:carpet",
Expand Down
Loading

0 comments on commit 19b1e7e

Please sign in to comment.