+ glow glass

TODO:

fix glow glass texture
This commit is contained in:
Glitchlabs
2026-06-25 20:43:58 +02:00
parent 8026424417
commit 9759abe9aa
110 changed files with 979 additions and 5 deletions
@@ -0,0 +1,5 @@
// 1.21.1 2026-06-25T20:42:25.224764876 Tags for minecraft:block mod id ornamentum
35133e95f1c8fdd7a1c21afcc231fc0bffefb9a8 data/minecraft/tags/block/ancient_city_replaceable.json
35133e95f1c8fdd7a1c21afcc231fc0bffefb9a8 data/minecraft/tags/block/mineable/pickaxe.json
35133e95f1c8fdd7a1c21afcc231fc0bffefb9a8 data/minecraft/tags/block/needs_diamond_tool.json
35133e95f1c8fdd7a1c21afcc231fc0bffefb9a8 data/minecraft/tags/block/sculk_replaceable_world_gen.json
@@ -0,0 +1,17 @@
// 1.21.1 2026-06-25T20:42:25.224355126 Loot Tables
1179e46db3d46fc3c3ed5468855ed87d2fb60019 data/ornamentum/loot_table/blocks/black_glow_stained_glass.json
e0303d460f84f2d058296ca73321657e671d0322 data/ornamentum/loot_table/blocks/blue_glow_stained_glass.json
a4648ce5f810c216ee43e33303189d530551331b data/ornamentum/loot_table/blocks/brown_glow_stained_glass.json
8e2f5d15fd661818f289853b52041d3a955bf9bc data/ornamentum/loot_table/blocks/cyan_glow_stained_glass.json
944021f21649a8eeb5d3d1cc69d31905e69ba6dc data/ornamentum/loot_table/blocks/gray_glow_stained_glass.json
a038f998c5c87722d779ad1b09b5b1138881157a data/ornamentum/loot_table/blocks/green_glow_stained_glass.json
0e9df03907fc078372b2f9912da7026d8147d59b data/ornamentum/loot_table/blocks/light_blue_glow_stained_glass.json
1f19091f55f6418ae2b8b9c24c9541349d681489 data/ornamentum/loot_table/blocks/light_gray_glow_stained_glass.json
853fd94e43870766b6e9a00dfc0ce29ac6d8ca33 data/ornamentum/loot_table/blocks/lime_glow_stained_glass.json
900aaf28acb92f3ec1e482ab02f7c2b40ee7f22a data/ornamentum/loot_table/blocks/magenta_glow_stained_glass.json
f3bf293e7d0b5e4fb3e5a12feb822164b9372323 data/ornamentum/loot_table/blocks/orange_glow_stained_glass.json
699bc10cccf0fc9dbb07ad419e8ab3d85db57ce2 data/ornamentum/loot_table/blocks/pink_glow_stained_glass.json
da40ee30a48e13e39920278d3693013778fa3b90 data/ornamentum/loot_table/blocks/purple_glow_stained_glass.json
0a069945c7aa1dc767f22c96f585d20a6172ef87 data/ornamentum/loot_table/blocks/red_glow_stained_glass.json
a098a50a8a5c44618ac69c6d92df29264557aff6 data/ornamentum/loot_table/blocks/white_glow_stained_glass.json
4c3a61d3ef32cd6340c9994d0b8ef65dfa2e07b5 data/ornamentum/loot_table/blocks/yellow_glow_stained_glass.json
@@ -0,0 +1,49 @@
// 1.21.1 2026-06-25T20:42:25.223637974 Block States: ornamentum
def29f564d72e8825a7a76d66e0d240a9611e33f assets/ornamentum/blockstates/black_glow_stained_glass.json
b0a9accab5f9ebfd0afcfc0ffd24f604b276aa30 assets/ornamentum/blockstates/blue_glow_stained_glass.json
9227eb60d3215e16f8a93b288304a8aec03c26cc assets/ornamentum/blockstates/brown_glow_stained_glass.json
a72209f1ca6c50b5911d4ab672c7fbc7b7966c45 assets/ornamentum/blockstates/cyan_glow_stained_glass.json
f85a5a2def3478741740a267898cf33c41056afd assets/ornamentum/blockstates/gray_glow_stained_glass.json
c380e42693db5efa36c7427ca4ec46830432843f assets/ornamentum/blockstates/green_glow_stained_glass.json
749271956d3dd1ff3e850a185fad63c018e6fec8 assets/ornamentum/blockstates/light_blue_glow_stained_glass.json
835084135b85ce3503840d4fc11f4c800c480222 assets/ornamentum/blockstates/light_gray_glow_stained_glass.json
ebfc54921431b412cbef5633291959022677fea8 assets/ornamentum/blockstates/lime_glow_stained_glass.json
64f9063bda9f0f8ad63143d76be4fc2da555f1c3 assets/ornamentum/blockstates/magenta_glow_stained_glass.json
588721dd792b506c26839cebeb001a49fdc87d6a assets/ornamentum/blockstates/orange_glow_stained_glass.json
3833ce62b92ec5743f12275ef9fe7371e1048eff assets/ornamentum/blockstates/pink_glow_stained_glass.json
e3d1d58b1032cd69193f3ff014856b4130fb54d6 assets/ornamentum/blockstates/purple_glow_stained_glass.json
42df5911a899cd5f5db628cc3feedb4aa660b53d assets/ornamentum/blockstates/red_glow_stained_glass.json
fe0fb514a88609ba0964a6cb1f54aa7c8be65f46 assets/ornamentum/blockstates/white_glow_stained_glass.json
b99bd81e6e28337ba24dcd9d11c5497c4845b426 assets/ornamentum/blockstates/yellow_glow_stained_glass.json
fc821a5304517d010802e9737034edacc800a59f assets/ornamentum/models/block/black_glow_stained_glass.json
7873d89615eea58ea95776a004038b4ae6ce07f3 assets/ornamentum/models/block/blue_glow_stained_glass.json
88b075d381081dd09fe19bbcf42305ad8c99c790 assets/ornamentum/models/block/brown_glow_stained_glass.json
6c7a0f00f50245fde1d890f9b8fbff64acda9af6 assets/ornamentum/models/block/cyan_glow_stained_glass.json
f6da7f180322f2d9cd47f2792cc60fc2ce8de442 assets/ornamentum/models/block/gray_glow_stained_glass.json
b42c21cea55220e34f7e4b807e0db8da4617da3c assets/ornamentum/models/block/green_glow_stained_glass.json
7fdf53ae7e7bb865b709562a22a4f118836e839b assets/ornamentum/models/block/light_blue_glow_stained_glass.json
1e391c291c07b5b6a95248078c84fed079292d6e assets/ornamentum/models/block/light_gray_glow_stained_glass.json
d9ff504be9439be49c87d836ce27e73e9080f5a1 assets/ornamentum/models/block/lime_glow_stained_glass.json
a1da82ff1acf7979b2dcee389255687fbe8229eb assets/ornamentum/models/block/magenta_glow_stained_glass.json
9e47009db1be0a81f798f19cd42089f7ab242b90 assets/ornamentum/models/block/orange_glow_stained_glass.json
36b037368364135203ce2892e4fc25f56699ee4f assets/ornamentum/models/block/pink_glow_stained_glass.json
ac3eebf8debb654edbf1b7c8c1f6d36ebfd99625 assets/ornamentum/models/block/purple_glow_stained_glass.json
9bb76a7971f86ae91f21e072e99725fc00036127 assets/ornamentum/models/block/red_glow_stained_glass.json
f6001a72e7afa8946a95c73c647d12eed7f5bc4e assets/ornamentum/models/block/white_glow_stained_glass.json
37059d61e696f0dd00a10753c3a05751378eca10 assets/ornamentum/models/block/yellow_glow_stained_glass.json
0354cf94037e5b8720903148a630667307520447 assets/ornamentum/models/item/black_glow_stained_glass.json
a151ac7e3b81b0350dc49baa55ca7528ca7d1ccf assets/ornamentum/models/item/blue_glow_stained_glass.json
5634918ed95052f48ec87cc886c2b47df3c7c5f7 assets/ornamentum/models/item/brown_glow_stained_glass.json
d3ed59110233af9a62fcab01a20ddc6e8d8e64fc assets/ornamentum/models/item/cyan_glow_stained_glass.json
d61a6f2bb1dae2fe00522b7e0ee0c1777e5c68cb assets/ornamentum/models/item/gray_glow_stained_glass.json
4c5f586acd8d6e4f271092b322c7ffa53652fd78 assets/ornamentum/models/item/green_glow_stained_glass.json
b217747dc73fce30a29142cca1e53ac427f7f190 assets/ornamentum/models/item/light_blue_glow_stained_glass.json
cce8331129ab3f7b61e88c99a6db55797216a61c assets/ornamentum/models/item/light_gray_glow_stained_glass.json
4e694e080bf28b39a19ef8c34e45eb047f40cc34 assets/ornamentum/models/item/lime_glow_stained_glass.json
6aec4b056006dbcb2f56b64a490e848681b5546e assets/ornamentum/models/item/magenta_glow_stained_glass.json
ca6d440109a9370197f9d97f246e5e290dd5f3c7 assets/ornamentum/models/item/orange_glow_stained_glass.json
0cb183d2d271f1e815a96f6ea86b4bab6b2d5181 assets/ornamentum/models/item/pink_glow_stained_glass.json
b2fc8da917d78178a0ef6c6276d3b9945162cff1 assets/ornamentum/models/item/purple_glow_stained_glass.json
bf6b6b63deb6f2b382842a5d2456bd44c583be06 assets/ornamentum/models/item/red_glow_stained_glass.json
9957e1e32025482a06e311ba2028550e3dc0d636 assets/ornamentum/models/item/white_glow_stained_glass.json
dc1b6c26165c7d21968cc98b22e6c3b4fde4ff40 assets/ornamentum/models/item/yellow_glow_stained_glass.json
@@ -0,0 +1,2 @@
// 1.21.1 2026-06-25T20:42:25.223025437 Tags for minecraft:item mod id ornamentum
35133e95f1c8fdd7a1c21afcc231fc0bffefb9a8 data/minecraft/tags/item/trimmable_armor.json
@@ -0,0 +1 @@
// 1.21.1 2026-06-25T20:42:25.224652377 Item Models: ornamentum
@@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "ornamentum:block/black_glow_stained_glass"
}
}
}
@@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "ornamentum:block/blue_glow_stained_glass"
}
}
}
@@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "ornamentum:block/brown_glow_stained_glass"
}
}
}
@@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "ornamentum:block/cyan_glow_stained_glass"
}
}
}
@@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "ornamentum:block/gray_glow_stained_glass"
}
}
}
@@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "ornamentum:block/green_glow_stained_glass"
}
}
}
@@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "ornamentum:block/light_blue_glow_stained_glass"
}
}
}
@@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "ornamentum:block/light_gray_glow_stained_glass"
}
}
}
@@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "ornamentum:block/lime_glow_stained_glass"
}
}
}
@@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "ornamentum:block/magenta_glow_stained_glass"
}
}
}
@@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "ornamentum:block/orange_glow_stained_glass"
}
}
}
@@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "ornamentum:block/pink_glow_stained_glass"
}
}
}
@@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "ornamentum:block/purple_glow_stained_glass"
}
}
}
@@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "ornamentum:block/red_glow_stained_glass"
}
}
}
@@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "ornamentum:block/white_glow_stained_glass"
}
}
}
@@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "ornamentum:block/yellow_glow_stained_glass"
}
}
}
@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "ornamentum:block/black_glow_stained_glass"
}
}
@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "ornamentum:block/blue_glow_stained_glass"
}
}
@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "ornamentum:block/brown_glow_stained_glass"
}
}
@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "ornamentum:block/cyan_glow_stained_glass"
}
}
@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "ornamentum:block/gray_glow_stained_glass"
}
}
@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "ornamentum:block/green_glow_stained_glass"
}
}
@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "ornamentum:block/light_blue_glow_stained_glass"
}
}
@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "ornamentum:block/light_gray_glow_stained_glass"
}
}
@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "ornamentum:block/lime_glow_stained_glass"
}
}
@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "ornamentum:block/magenta_glow_stained_glass"
}
}
@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "ornamentum:block/orange_glow_stained_glass"
}
}
@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "ornamentum:block/pink_glow_stained_glass"
}
}
@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "ornamentum:block/purple_glow_stained_glass"
}
}
@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "ornamentum:block/red_glow_stained_glass"
}
}
@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "ornamentum:block/white_glow_stained_glass"
}
}
@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "ornamentum:block/yellow_glow_stained_glass"
}
}
@@ -0,0 +1,3 @@
{
"parent": "ornamentum:block/black_glow_stained_glass"
}
@@ -0,0 +1,3 @@
{
"parent": "ornamentum:block/blue_glow_stained_glass"
}
@@ -0,0 +1,3 @@
{
"parent": "ornamentum:block/brown_glow_stained_glass"
}
@@ -0,0 +1,3 @@
{
"parent": "ornamentum:block/cyan_glow_stained_glass"
}
@@ -0,0 +1,3 @@
{
"parent": "ornamentum:block/gray_glow_stained_glass"
}
@@ -0,0 +1,3 @@
{
"parent": "ornamentum:block/green_glow_stained_glass"
}
@@ -0,0 +1,3 @@
{
"parent": "ornamentum:block/light_blue_glow_stained_glass"
}
@@ -0,0 +1,3 @@
{
"parent": "ornamentum:block/light_gray_glow_stained_glass"
}
@@ -0,0 +1,3 @@
{
"parent": "ornamentum:block/lime_glow_stained_glass"
}
@@ -0,0 +1,3 @@
{
"parent": "ornamentum:block/magenta_glow_stained_glass"
}
@@ -0,0 +1,3 @@
{
"parent": "ornamentum:block/orange_glow_stained_glass"
}
@@ -0,0 +1,3 @@
{
"parent": "ornamentum:block/pink_glow_stained_glass"
}
@@ -0,0 +1,3 @@
{
"parent": "ornamentum:block/purple_glow_stained_glass"
}
@@ -0,0 +1,3 @@
{
"parent": "ornamentum:block/red_glow_stained_glass"
}
@@ -0,0 +1,3 @@
{
"parent": "ornamentum:block/white_glow_stained_glass"
}
@@ -0,0 +1,3 @@
{
"parent": "ornamentum:block/yellow_glow_stained_glass"
}
@@ -0,0 +1,3 @@
{
"values": []
}
@@ -0,0 +1,3 @@
{
"values": []
}
@@ -0,0 +1,3 @@
{
"values": []
}
@@ -0,0 +1,3 @@
{
"values": []
}
@@ -0,0 +1,3 @@
{
"values": []
}
@@ -0,0 +1,33 @@
{
"type": "minecraft:block",
"pools": [
{
"bonus_rolls": 0.0,
"conditions": [
{
"condition": "minecraft:match_tool",
"predicate": {
"predicates": {
"minecraft:enchantments": [
{
"enchantments": "minecraft:silk_touch",
"levels": {
"min": 1
}
}
]
}
}
}
],
"entries": [
{
"type": "minecraft:item",
"name": "ornamentum:black_glow_stained_glass"
}
],
"rolls": 1.0
}
],
"random_sequence": "ornamentum:blocks/black_glow_stained_glass"
}
@@ -0,0 +1,33 @@
{
"type": "minecraft:block",
"pools": [
{
"bonus_rolls": 0.0,
"conditions": [
{
"condition": "minecraft:match_tool",
"predicate": {
"predicates": {
"minecraft:enchantments": [
{
"enchantments": "minecraft:silk_touch",
"levels": {
"min": 1
}
}
]
}
}
}
],
"entries": [
{
"type": "minecraft:item",
"name": "ornamentum:blue_glow_stained_glass"
}
],
"rolls": 1.0
}
],
"random_sequence": "ornamentum:blocks/blue_glow_stained_glass"
}
@@ -0,0 +1,33 @@
{
"type": "minecraft:block",
"pools": [
{
"bonus_rolls": 0.0,
"conditions": [
{
"condition": "minecraft:match_tool",
"predicate": {
"predicates": {
"minecraft:enchantments": [
{
"enchantments": "minecraft:silk_touch",
"levels": {
"min": 1
}
}
]
}
}
}
],
"entries": [
{
"type": "minecraft:item",
"name": "ornamentum:brown_glow_stained_glass"
}
],
"rolls": 1.0
}
],
"random_sequence": "ornamentum:blocks/brown_glow_stained_glass"
}
@@ -0,0 +1,33 @@
{
"type": "minecraft:block",
"pools": [
{
"bonus_rolls": 0.0,
"conditions": [
{
"condition": "minecraft:match_tool",
"predicate": {
"predicates": {
"minecraft:enchantments": [
{
"enchantments": "minecraft:silk_touch",
"levels": {
"min": 1
}
}
]
}
}
}
],
"entries": [
{
"type": "minecraft:item",
"name": "ornamentum:cyan_glow_stained_glass"
}
],
"rolls": 1.0
}
],
"random_sequence": "ornamentum:blocks/cyan_glow_stained_glass"
}
@@ -0,0 +1,33 @@
{
"type": "minecraft:block",
"pools": [
{
"bonus_rolls": 0.0,
"conditions": [
{
"condition": "minecraft:match_tool",
"predicate": {
"predicates": {
"minecraft:enchantments": [
{
"enchantments": "minecraft:silk_touch",
"levels": {
"min": 1
}
}
]
}
}
}
],
"entries": [
{
"type": "minecraft:item",
"name": "ornamentum:gray_glow_stained_glass"
}
],
"rolls": 1.0
}
],
"random_sequence": "ornamentum:blocks/gray_glow_stained_glass"
}
@@ -0,0 +1,33 @@
{
"type": "minecraft:block",
"pools": [
{
"bonus_rolls": 0.0,
"conditions": [
{
"condition": "minecraft:match_tool",
"predicate": {
"predicates": {
"minecraft:enchantments": [
{
"enchantments": "minecraft:silk_touch",
"levels": {
"min": 1
}
}
]
}
}
}
],
"entries": [
{
"type": "minecraft:item",
"name": "ornamentum:green_glow_stained_glass"
}
],
"rolls": 1.0
}
],
"random_sequence": "ornamentum:blocks/green_glow_stained_glass"
}
@@ -0,0 +1,33 @@
{
"type": "minecraft:block",
"pools": [
{
"bonus_rolls": 0.0,
"conditions": [
{
"condition": "minecraft:match_tool",
"predicate": {
"predicates": {
"minecraft:enchantments": [
{
"enchantments": "minecraft:silk_touch",
"levels": {
"min": 1
}
}
]
}
}
}
],
"entries": [
{
"type": "minecraft:item",
"name": "ornamentum:light_blue_glow_stained_glass"
}
],
"rolls": 1.0
}
],
"random_sequence": "ornamentum:blocks/light_blue_glow_stained_glass"
}
@@ -0,0 +1,33 @@
{
"type": "minecraft:block",
"pools": [
{
"bonus_rolls": 0.0,
"conditions": [
{
"condition": "minecraft:match_tool",
"predicate": {
"predicates": {
"minecraft:enchantments": [
{
"enchantments": "minecraft:silk_touch",
"levels": {
"min": 1
}
}
]
}
}
}
],
"entries": [
{
"type": "minecraft:item",
"name": "ornamentum:light_gray_glow_stained_glass"
}
],
"rolls": 1.0
}
],
"random_sequence": "ornamentum:blocks/light_gray_glow_stained_glass"
}
@@ -0,0 +1,33 @@
{
"type": "minecraft:block",
"pools": [
{
"bonus_rolls": 0.0,
"conditions": [
{
"condition": "minecraft:match_tool",
"predicate": {
"predicates": {
"minecraft:enchantments": [
{
"enchantments": "minecraft:silk_touch",
"levels": {
"min": 1
}
}
]
}
}
}
],
"entries": [
{
"type": "minecraft:item",
"name": "ornamentum:lime_glow_stained_glass"
}
],
"rolls": 1.0
}
],
"random_sequence": "ornamentum:blocks/lime_glow_stained_glass"
}
@@ -0,0 +1,33 @@
{
"type": "minecraft:block",
"pools": [
{
"bonus_rolls": 0.0,
"conditions": [
{
"condition": "minecraft:match_tool",
"predicate": {
"predicates": {
"minecraft:enchantments": [
{
"enchantments": "minecraft:silk_touch",
"levels": {
"min": 1
}
}
]
}
}
}
],
"entries": [
{
"type": "minecraft:item",
"name": "ornamentum:magenta_glow_stained_glass"
}
],
"rolls": 1.0
}
],
"random_sequence": "ornamentum:blocks/magenta_glow_stained_glass"
}
@@ -0,0 +1,33 @@
{
"type": "minecraft:block",
"pools": [
{
"bonus_rolls": 0.0,
"conditions": [
{
"condition": "minecraft:match_tool",
"predicate": {
"predicates": {
"minecraft:enchantments": [
{
"enchantments": "minecraft:silk_touch",
"levels": {
"min": 1
}
}
]
}
}
}
],
"entries": [
{
"type": "minecraft:item",
"name": "ornamentum:orange_glow_stained_glass"
}
],
"rolls": 1.0
}
],
"random_sequence": "ornamentum:blocks/orange_glow_stained_glass"
}
@@ -0,0 +1,33 @@
{
"type": "minecraft:block",
"pools": [
{
"bonus_rolls": 0.0,
"conditions": [
{
"condition": "minecraft:match_tool",
"predicate": {
"predicates": {
"minecraft:enchantments": [
{
"enchantments": "minecraft:silk_touch",
"levels": {
"min": 1
}
}
]
}
}
}
],
"entries": [
{
"type": "minecraft:item",
"name": "ornamentum:pink_glow_stained_glass"
}
],
"rolls": 1.0
}
],
"random_sequence": "ornamentum:blocks/pink_glow_stained_glass"
}
@@ -0,0 +1,33 @@
{
"type": "minecraft:block",
"pools": [
{
"bonus_rolls": 0.0,
"conditions": [
{
"condition": "minecraft:match_tool",
"predicate": {
"predicates": {
"minecraft:enchantments": [
{
"enchantments": "minecraft:silk_touch",
"levels": {
"min": 1
}
}
]
}
}
}
],
"entries": [
{
"type": "minecraft:item",
"name": "ornamentum:purple_glow_stained_glass"
}
],
"rolls": 1.0
}
],
"random_sequence": "ornamentum:blocks/purple_glow_stained_glass"
}
@@ -0,0 +1,33 @@
{
"type": "minecraft:block",
"pools": [
{
"bonus_rolls": 0.0,
"conditions": [
{
"condition": "minecraft:match_tool",
"predicate": {
"predicates": {
"minecraft:enchantments": [
{
"enchantments": "minecraft:silk_touch",
"levels": {
"min": 1
}
}
]
}
}
}
],
"entries": [
{
"type": "minecraft:item",
"name": "ornamentum:red_glow_stained_glass"
}
],
"rolls": 1.0
}
],
"random_sequence": "ornamentum:blocks/red_glow_stained_glass"
}
@@ -0,0 +1,33 @@
{
"type": "minecraft:block",
"pools": [
{
"bonus_rolls": 0.0,
"conditions": [
{
"condition": "minecraft:match_tool",
"predicate": {
"predicates": {
"minecraft:enchantments": [
{
"enchantments": "minecraft:silk_touch",
"levels": {
"min": 1
}
}
]
}
}
}
],
"entries": [
{
"type": "minecraft:item",
"name": "ornamentum:white_glow_stained_glass"
}
],
"rolls": 1.0
}
],
"random_sequence": "ornamentum:blocks/white_glow_stained_glass"
}
@@ -0,0 +1,33 @@
{
"type": "minecraft:block",
"pools": [
{
"bonus_rolls": 0.0,
"conditions": [
{
"condition": "minecraft:match_tool",
"predicate": {
"predicates": {
"minecraft:enchantments": [
{
"enchantments": "minecraft:silk_touch",
"levels": {
"min": 1
}
}
]
}
}
}
],
"entries": [
{
"type": "minecraft:item",
"name": "ornamentum:yellow_glow_stained_glass"
}
],
"rolls": 1.0
}
],
"random_sequence": "ornamentum:blocks/yellow_glow_stained_glass"
}
@@ -21,6 +21,7 @@ import net.neoforged.fml.ModContainer;
import net.neoforged.fml.common.EventBusSubscriber;
import net.neoforged.fml.common.Mod;
import net.neoforged.fml.config.ModConfig;
import net.neoforged.fml.event.IModBusEvent;
import net.neoforged.fml.event.lifecycle.FMLClientSetupEvent;
import net.neoforged.fml.event.lifecycle.FMLCommonSetupEvent;
import net.neoforged.neoforge.common.NeoForge;
@@ -31,6 +32,8 @@ import net.neoforged.neoforge.registries.DeferredHolder;
import net.neoforged.neoforge.registries.DeferredItem;
import net.neoforged.neoforge.registries.DeferredRegister;
import org.slf4j.Logger;
import ovh.glitchlabs.ornamentum.blocks.ModBlocks;
import ovh.glitchlabs.ornamentum.items.ModItems;
// The value here should match an entry in the META-INF/neoforge.mods.toml file
@Mod(Ornamentum.MODID)
@@ -43,6 +46,11 @@ public class Ornamentum {
// The constructor for the mod class is the first code that is run when your mod is loaded.
// FML will recognize some parameter types like IEventBus or ModContainer and pass them in automatically.
public Ornamentum(IEventBus modEventBus, ModContainer modContainer) {
ModBlocks.register(modEventBus);
ModItems.register(modEventBus);
// Register the commonSetup method for modloading
modEventBus.addListener(this::commonSetup);
@@ -64,6 +72,8 @@ public class Ornamentum {
LOGGER.info(Config.magicNumberIntroduction + Config.magicNumber);
Config.items.forEach((item) -> LOGGER.info("ITEM >> {}", item.toString()));
}
// You can use SubscribeEvent and let the Event Bus discover methods to call
@@ -1,10 +1,17 @@
package ovh.glitchlabs.ornamentum.blocks;
import net.minecraft.core.BlockPos;
import net.minecraft.core.Direction;
import net.minecraft.world.item.BlockItem;
import net.minecraft.world.item.Item;
import net.minecraft.world.level.BlockGetter;
import net.minecraft.world.level.block.Block;
import net.minecraft.world.level.block.Blocks;
import net.minecraft.world.level.block.state.BlockBehaviour;
import net.minecraft.world.level.block.state.BlockState;
import net.minecraft.world.phys.shapes.CollisionContext;
import net.minecraft.world.phys.shapes.Shapes;
import net.minecraft.world.phys.shapes.VoxelShape;
import net.neoforged.bus.api.IEventBus;
import net.neoforged.neoforge.registries.DeferredBlock;
import net.neoforged.neoforge.registries.DeferredRegister;
@@ -17,10 +24,61 @@ public class ModBlocks {
public static final DeferredRegister.Blocks BLOCKS =
DeferredRegister.createBlocks(Ornamentum.MODID);
//public static final DeferredBlock<Block> OBSIDIAN_BRICKS = registerBlock("obsidian_bricks",
// () -> new Block(BlockBehaviour.Properties.ofFullCopy(Blocks.OBSIDIAN)
// ));
//
//GlowGlass
public static final DeferredBlock<Block> LIME_GLOW_STAINED_GLASS = registerBlock("lime_glow_stained_glass",
() -> new Block(BlockBehaviour.Properties.ofFullCopy(Blocks.GLASS)
.emissiveRendering(((blockState, blockGetter, blockPos) -> true))
.lightLevel(blockstate -> 10)
.noOcclusion()
.hasPostProcess((bs, br, bp) -> true))
);
public static final DeferredBlock<Block> WHITE_GLOW_STAINED_GLASS = registerBlock("white_glow_stained_glass",
() -> new Block(BlockBehaviour.Properties.ofFullCopy(LIME_GLOW_STAINED_GLASS.get())));
public static final DeferredBlock<Block> LIGHT_GRAY_GLOW_STAINED_GLASS = registerBlock("light_gray_glow_stained_glass",
() -> new Block(BlockBehaviour.Properties.ofFullCopy(LIME_GLOW_STAINED_GLASS.get())));
public static final DeferredBlock<Block> GRAY_GLOW_STAINED_GLASS = registerBlock("gray_glow_stained_glass",
() -> new Block(BlockBehaviour.Properties.ofFullCopy(LIME_GLOW_STAINED_GLASS.get())));
public static final DeferredBlock<Block> BLACK_GLOW_STAINED_GLASS = registerBlock("black_glow_stained_glass",
() -> new Block(BlockBehaviour.Properties.ofFullCopy(LIME_GLOW_STAINED_GLASS.get())));
public static final DeferredBlock<Block> BROWN_GLOW_STAINED_GLASS = registerBlock("brown_glow_stained_glass",
() -> new Block(BlockBehaviour.Properties.ofFullCopy(LIME_GLOW_STAINED_GLASS.get())));
public static final DeferredBlock<Block> RED_GLOW_STAINED_GLASS = registerBlock("red_glow_stained_glass",
() -> new Block(BlockBehaviour.Properties.ofFullCopy(LIME_GLOW_STAINED_GLASS.get())));
public static final DeferredBlock<Block> ORANGE_GLOW_STAINED_GLASS = registerBlock("orange_glow_stained_glass",
() -> new Block(BlockBehaviour.Properties.ofFullCopy(LIME_GLOW_STAINED_GLASS.get())));
public static final DeferredBlock<Block> YELLOW_GLOW_STAINED_GLASS = registerBlock("yellow_glow_stained_glass",
() -> new Block(BlockBehaviour.Properties.ofFullCopy(LIME_GLOW_STAINED_GLASS.get())));
public static final DeferredBlock<Block> GREEN_GLOW_STAINED_GLASS = registerBlock("green_glow_stained_glass",
() -> new Block(BlockBehaviour.Properties.ofFullCopy(LIME_GLOW_STAINED_GLASS.get())));
public static final DeferredBlock<Block> CYAN_GLOW_STAINED_GLASS = registerBlock("cyan_glow_stained_glass",
() -> new Block(BlockBehaviour.Properties.ofFullCopy(LIME_GLOW_STAINED_GLASS.get())));
public static final DeferredBlock<Block> LIGHT_BLUE_GLOW_STAINED_GLASS = registerBlock("light_blue_glow_stained_glass",
() -> new Block(BlockBehaviour.Properties.ofFullCopy(LIME_GLOW_STAINED_GLASS.get())));
public static final DeferredBlock<Block> BLUE_GLOW_STAINED_GLASS = registerBlock("blue_glow_stained_glass",
() -> new Block(BlockBehaviour.Properties.ofFullCopy(LIME_GLOW_STAINED_GLASS.get())));
public static final DeferredBlock<Block> PURPLE_GLOW_STAINED_GLASS = registerBlock("purple_glow_stained_glass",
() -> new Block(BlockBehaviour.Properties.ofFullCopy(LIME_GLOW_STAINED_GLASS.get())));
public static final DeferredBlock<Block> MAGENTA_GLOW_STAINED_GLASS = registerBlock("magenta_glow_stained_glass",
() -> new Block(BlockBehaviour.Properties.ofFullCopy(LIME_GLOW_STAINED_GLASS.get())));
public static final DeferredBlock<Block> PINK_GLOW_STAINED_GLASS = registerBlock("pink_glow_stained_glass",
() -> new Block(BlockBehaviour.Properties.ofFullCopy(LIME_GLOW_STAINED_GLASS.get())));
private static <T extends Block> DeferredBlock<T> registerBlock(String name, Supplier<T> block) {
DeferredBlock<T> toReturn = BLOCKS.register(name, block);
registerBlockItem(name, toReturn);
@@ -17,6 +17,22 @@ public class ModBlockLootTableProvider extends BlockLootSubProvider {
@Override
protected void generate() {
//dropSelf(ModBlocks.OBSIDIAN_BRICKS.get());
dropWhenSilkTouch(ModBlocks.LIME_GLOW_STAINED_GLASS.get());
dropWhenSilkTouch(ModBlocks.WHITE_GLOW_STAINED_GLASS.get());
dropWhenSilkTouch(ModBlocks.GRAY_GLOW_STAINED_GLASS.get());
dropWhenSilkTouch(ModBlocks.LIGHT_GRAY_GLOW_STAINED_GLASS.get());
dropWhenSilkTouch(ModBlocks.BLACK_GLOW_STAINED_GLASS.get());
dropWhenSilkTouch(ModBlocks.BROWN_GLOW_STAINED_GLASS.get());
dropWhenSilkTouch(ModBlocks.RED_GLOW_STAINED_GLASS.get());
dropWhenSilkTouch(ModBlocks.ORANGE_GLOW_STAINED_GLASS.get());
dropWhenSilkTouch(ModBlocks.YELLOW_GLOW_STAINED_GLASS.get());
dropWhenSilkTouch(ModBlocks.GREEN_GLOW_STAINED_GLASS.get());
dropWhenSilkTouch(ModBlocks.CYAN_GLOW_STAINED_GLASS.get());
dropWhenSilkTouch(ModBlocks.LIGHT_BLUE_GLOW_STAINED_GLASS.get());
dropWhenSilkTouch(ModBlocks.BLUE_GLOW_STAINED_GLASS.get());
dropWhenSilkTouch(ModBlocks.PURPLE_GLOW_STAINED_GLASS.get());
dropWhenSilkTouch(ModBlocks.MAGENTA_GLOW_STAINED_GLASS.get());
dropWhenSilkTouch(ModBlocks.PINK_GLOW_STAINED_GLASS.get());
}
@@ -5,6 +5,7 @@ import net.neoforged.neoforge.client.model.generators.BlockStateProvider;
import net.neoforged.neoforge.common.data.ExistingFileHelper;
import net.neoforged.neoforge.registries.DeferredBlock;
import ovh.glitchlabs.ornamentum.Ornamentum;
import ovh.glitchlabs.ornamentum.blocks.ModBlocks;
public class ModBlockStateProvider extends BlockStateProvider {
public ModBlockStateProvider(PackOutput output, ExistingFileHelper exFileHelper) {
@@ -13,7 +14,23 @@ public class ModBlockStateProvider extends BlockStateProvider {
@Override
protected void registerStatesAndModels() {
// blockWithItem(ModBlocks.POLISHED_OBSIDIAN);
//GLOW GLASS
blockWithItem(ModBlocks.LIME_GLOW_STAINED_GLASS);
blockWithItem(ModBlocks.WHITE_GLOW_STAINED_GLASS);
blockWithItem(ModBlocks.GRAY_GLOW_STAINED_GLASS);
blockWithItem(ModBlocks.LIGHT_GRAY_GLOW_STAINED_GLASS);
blockWithItem(ModBlocks.BLACK_GLOW_STAINED_GLASS);
blockWithItem(ModBlocks.BROWN_GLOW_STAINED_GLASS);
blockWithItem(ModBlocks.RED_GLOW_STAINED_GLASS);
blockWithItem(ModBlocks.ORANGE_GLOW_STAINED_GLASS);
blockWithItem(ModBlocks.YELLOW_GLOW_STAINED_GLASS);
blockWithItem(ModBlocks.GREEN_GLOW_STAINED_GLASS);
blockWithItem(ModBlocks.CYAN_GLOW_STAINED_GLASS);
blockWithItem(ModBlocks.LIGHT_BLUE_GLOW_STAINED_GLASS);
blockWithItem(ModBlocks.BLUE_GLOW_STAINED_GLASS);
blockWithItem(ModBlocks.PURPLE_GLOW_STAINED_GLASS);
blockWithItem(ModBlocks.MAGENTA_GLOW_STAINED_GLASS);
blockWithItem(ModBlocks.PINK_GLOW_STAINED_GLASS);
}
private void blockWithItem(DeferredBlock<?> deferredBlock) {
Binary file not shown.

After

Width:  |  Height:  |  Size: 105 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 114 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 119 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 119 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 119 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 119 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 119 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 B

Some files were not shown because too many files have changed in this diff Show More