Nauticality 0.1.0 - 1.17

Release for ModFest 1.17!
This commit is contained in:
Motschen
2021-07-03 16:59:15 +02:00
parent 20419d502b
commit 78f524ced0
76 changed files with 2047 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
{
"variants": {
"": [
{"model": "nauticality:block/algae"},
{"model": "nauticality:block/algae", "y": 90},
{"model": "nauticality:block/algae", "y": 180},
{"model": "nauticality:block/algae", "y": 270}
]
}
}

View File

@@ -0,0 +1,10 @@
{
"variants": {
"half=lower": {
"model": "nauticality:block/cattail_bottom"
},
"half=upper": {
"model": "nauticality:block/cattail_top"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

View File

@@ -0,0 +1,17 @@
{
"itemGroup.nauticality.main": "Nauticality",
"item.nauticality.glow_fish_spawn_egg": "Glow Fish Spawn Egg",
"item.nauticality.glow_fish_bucket": "Glow Fish Bucket",
"entity.nauticality.glow_fish": "Glow Fish",
"item.nauticality.pirate_spawn_egg": "Pirate Spawn Egg",
"entity.nauticality.pirate": "Pirate",
"item.nauticality.submarine": "Submarine",
"entity.nauticality.submarine": "Submarine",
"item.nauticality.eyepatch": "Eyepatch",
"item.nauticality.cattail": "Cattail",
"item.nauticality.algae": "Algae",
"block.nauticality.cattail": "Cattail",
"block.nauticality.algae": "Algae",
"nauticality.midnightconfig.title": "Nauticality Config",
"nauticality.midnightconfig.pirateShipRate": "Pirate Ship spawn rate"
}

View File

@@ -0,0 +1,14 @@
{
"defaultMap": {
"spriteMap": [
{
"sprite": "nauticality:block/cattail_bottom",
"material": "canvas:low_foliage"
},
{
"sprite": "nauticality:block/cattail_top",
"material": "canvas:high_foliage"
}
]
}
}

View File

@@ -0,0 +1,12 @@
{
"map": [
{
"predicate": {
"materialPredicate": {
"renderLayerName": "eyes"
}
},
"material": "canvas:emissive_transform"
}
]
}

View File

@@ -0,0 +1,12 @@
{
"map": [
{
"predicate": {
"materialPredicate": {
"renderLayerName": "eyes"
}
},
"material": "canvas:emissive_transform"
}
]
}

View File

@@ -0,0 +1,2 @@
{
}

View File

@@ -0,0 +1,3 @@
{
"defaultMaterial": "nauticality:cold_glow"
}

View File

@@ -0,0 +1,3 @@
{
"defaultMaterial": "nauticality:cold_glow"
}

View File

@@ -0,0 +1,8 @@
{
"layers": [
{
"vertexSource": "canvas:shaders/material/default.vert",
"fragmentSource": "nauticality:shaders/material/cold_glow.frag"
}
]
}

View File

@@ -0,0 +1,18 @@
{
"credit": "Made with Blockbench",
"parent": "block/block",
"textures": {
"0": "nauticality:block/algae",
"particle": "nauticality:block/algae"
},
"elements": [
{
"from": [0, 0, 0],
"to": [16, 0.1, 16],
"faces": {
"up": {"uv": [0, 0, 16, 16], "texture": "#0", "tintindex": 0},
"down": {"uv": [0, 0, 16, 16], "rotation": 90, "texture": "#0", "tintindex": 0}
}
}
]
}

View File

@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/template_seagrass",
"textures": {
"texture": "nauticality:block/cattail_bottom"
}
}

View File

@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/template_seagrass",
"textures": {
"texture": "nauticality:block/cattail_top"
}
}

View File

@@ -0,0 +1,6 @@
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "nauticality:block/algae"
}
}

View File

@@ -0,0 +1,6 @@
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "nauticality:block/cattail_top"
}
}

View File

@@ -0,0 +1,80 @@
{
"credit": "Made with Blockbench",
"parent": "block/block",
"textures": {
"0": "block/black_wool",
"particle": "block/black_wool"
},
"elements": [
{
"from": [0, 10, 0],
"to": [16, 11, 1],
"faces": {
"north": {"uv": [0, 0, 16, 1], "texture": "#0"},
"east": {"uv": [0, 0, 1, 1], "texture": "#0"},
"south": {"uv": [0, 0, 16, 1], "texture": "#0"},
"west": {"uv": [0, 0, 1, 1], "texture": "#0"},
"up": {"uv": [0, 0, 16, 1], "texture": "#0"},
"down": {"uv": [0, 0, 16, 1], "texture": "#0"}
}
},
{
"from": [0, 10, 15],
"to": [16, 11, 16],
"faces": {
"north": {"uv": [0, 0, 16, 1], "texture": "#0"},
"east": {"uv": [0, 0, 1, 1], "texture": "#0"},
"south": {"uv": [0, 0, 16, 1], "texture": "#0"},
"west": {"uv": [0, 0, 1, 1], "texture": "#0"},
"up": {"uv": [0, 0, 16, 1], "texture": "#0"},
"down": {"uv": [0, 0, 16, 1], "texture": "#0"}
}
},
{
"from": [15, 10, 1],
"to": [16, 11, 15],
"faces": {
"north": {"uv": [0, 0, 1, 1], "texture": "#0"},
"east": {"uv": [0, 0, 14, 1], "texture": "#0"},
"south": {"uv": [0, 0, 1, 1], "texture": "#0"},
"west": {"uv": [0, 0, 14, 1], "texture": "#0"},
"up": {"uv": [0, 0, 1, 14], "texture": "#0"},
"down": {"uv": [0, 0, 1, 14], "texture": "#0"}
}
},
{
"from": [0, 10, 1],
"to": [1, 11, 15],
"faces": {
"north": {"uv": [0, 0, 1, 1], "texture": "#0"},
"east": {"uv": [0, 0, 14, 1], "texture": "#0"},
"south": {"uv": [0, 0, 1, 1], "texture": "#0"},
"west": {"uv": [0, 0, 14, 1], "texture": "#0"},
"up": {"uv": [0, 0, 1, 14], "texture": "#0"},
"down": {"uv": [0, 0, 1, 14], "texture": "#0"}
}
},
{
"from": [2, 6, 0],
"to": [8, 10, 1],
"faces": {
"north": {"uv": [0, 0, 6, 4], "texture": "#0"},
"east": {"uv": [0, 0, 1, 4], "texture": "#0"},
"south": {"uv": [0, 0, 6, 4], "texture": "#0"},
"west": {"uv": [0, 0, 1, 4], "texture": "#0"},
"up": {"uv": [0, 0, 6, 1], "texture": "#0"},
"down": {"uv": [0, 0, 6, 1], "texture": "#0"}
}
}
],
"display": {
"head": {
"scale": [0.9, 0.9, 0.9]
}
},
"overrides": [
{"predicate": { "right": 1 },
"model": "nauticality:item/eyepatch_right"
}
]
}

View File

@@ -0,0 +1,75 @@
{
"credit": "Made with Blockbench",
"parent": "block/block",
"textures": {
"0": "block/black_wool",
"particle": "block/black_wool"
},
"elements": [
{
"from": [0, 10, 0],
"to": [16, 11, 1],
"faces": {
"north": {"uv": [0, 0, 16, 1], "texture": "#0"},
"east": {"uv": [0, 0, 1, 1], "texture": "#0"},
"south": {"uv": [0, 0, 16, 1], "texture": "#0"},
"west": {"uv": [0, 0, 1, 1], "texture": "#0"},
"up": {"uv": [0, 0, 16, 1], "texture": "#0"},
"down": {"uv": [0, 0, 16, 1], "texture": "#0"}
}
},
{
"from": [0, 10, 15],
"to": [16, 11, 16],
"faces": {
"north": {"uv": [0, 0, 16, 1], "texture": "#0"},
"east": {"uv": [0, 0, 1, 1], "texture": "#0"},
"south": {"uv": [0, 0, 16, 1], "texture": "#0"},
"west": {"uv": [0, 0, 1, 1], "texture": "#0"},
"up": {"uv": [0, 0, 16, 1], "texture": "#0"},
"down": {"uv": [0, 0, 16, 1], "texture": "#0"}
}
},
{
"from": [15, 10, 1],
"to": [16, 11, 15],
"faces": {
"north": {"uv": [0, 0, 1, 1], "texture": "#0"},
"east": {"uv": [0, 0, 14, 1], "texture": "#0"},
"south": {"uv": [0, 0, 1, 1], "texture": "#0"},
"west": {"uv": [0, 0, 14, 1], "texture": "#0"},
"up": {"uv": [0, 0, 1, 14], "texture": "#0"},
"down": {"uv": [0, 0, 1, 14], "texture": "#0"}
}
},
{
"from": [0, 10, 1],
"to": [1, 11, 15],
"faces": {
"north": {"uv": [0, 0, 1, 1], "texture": "#0"},
"east": {"uv": [0, 0, 14, 1], "texture": "#0"},
"south": {"uv": [0, 0, 1, 1], "texture": "#0"},
"west": {"uv": [0, 0, 14, 1], "texture": "#0"},
"up": {"uv": [0, 0, 1, 14], "texture": "#0"},
"down": {"uv": [0, 0, 1, 14], "texture": "#0"}
}
},
{
"from": [8, 6, 0],
"to": [14, 10, 1],
"faces": {
"north": {"uv": [0, 0, 6, 4], "texture": "#0"},
"east": {"uv": [0, 0, 1, 4], "texture": "#0"},
"south": {"uv": [0, 0, 6, 4], "texture": "#0"},
"west": {"uv": [0, 0, 1, 4], "texture": "#0"},
"up": {"uv": [0, 0, 6, 1], "texture": "#0"},
"down": {"uv": [0, 0, 6, 1], "texture": "#0"}
}
}
],
"display": {
"head": {
"scale": [0.9, 0.9, 0.9]
}
}
}

View File

@@ -0,0 +1,6 @@
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "nauticality:item/glow_fish_bucket"
}
}

View File

@@ -0,0 +1,3 @@
{
"parent": "minecraft:item/template_spawn_egg"
}

View File

@@ -0,0 +1,3 @@
{
"parent": "minecraft:item/template_spawn_egg"
}

View File

@@ -0,0 +1,6 @@
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "nauticality:item/submarine"
}
}

View File

@@ -0,0 +1,12 @@
#include frex:shaders/api/fragment.glsl
#include frex:shaders/lib/math.glsl
/******************************************************
nauticality:shaders/material/cold_glow.frag
******************************************************/
void frx_startFragment(inout frx_FragmentData fragData) {
float b = frx_smootherstep(0.1, 0.5, dot(fragData.spriteColor.rgb, vec3(-1.0, 0.0, 1.0)));
float l = frx_smootherstep(0.8, 1.0, frx_luminance(fragData.spriteColor.rgb));
fragData.emissivity = max(b, l);
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

View File

@@ -0,0 +1,20 @@
{
"type": "minecraft:block",
"pools": [
{
"rolls": 1.0,
"bonus_rolls": 0.0,
"entries": [
{
"type": "minecraft:item",
"name": "nauticality:algae"
}
],
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
]
}
]
}

View File

@@ -0,0 +1,29 @@
{
"type": "minecraft:block",
"pools": [
{
"rolls": 1.0,
"bonus_rolls": 0.0,
"entries": [
{
"type": "minecraft:item",
"conditions": [
{
"condition": "minecraft:block_state_property",
"block": "nauticality:cattail",
"properties": {
"half": "lower"
}
}
],
"name": "nauticality:cattail"
}
],
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
]
}
]
}

View File

@@ -0,0 +1,39 @@
{
"type": "minecraft:entity",
"pools": [
{
"rolls": 1.0,
"bonus_rolls": 0.0,
"entries": [
{
"type": "minecraft:item",
"functions": [
{
"function": "minecraft:set_count",
"count": {
"type": "minecraft:uniform",
"min": 0.0,
"max": 1.0
},
"add": false
},
{
"function": "minecraft:looting_enchant",
"count": {
"type": "minecraft:uniform",
"min": 0.0,
"max": 1.0
}
}
],
"name": "nauticality:eyepatch"
}
],
"conditions": [
{
"condition": "minecraft:killed_by_player"
}
]
}
]
}

View File

@@ -0,0 +1,26 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"#Y ",
"G n",
"YY "
],
"key": {
"#": {
"item": "minecraft:redstone_lamp"
},
"Y": {
"item": "minecraft:yellow_concrete"
},
"G": {
"item": "minecraft:glass"
},
"n": {
"item": "minecraft:netherite_ingot"
}
},
"result": {
"item": "nauticality:submarine",
"count": 1
}
}

View File

@@ -0,0 +1,46 @@
{
"schemaVersion": 1,
"id": "nauticality",
"version": "${version}",
"name": "Nauticality",
"description": "Explore the oceans with submarines, fight against pirates and watch the beautiful glow fish!",
"authors": [
"Motschen",
"TeamMidnightDust"
],
"contact": {
"homepage": "https://www.midnightdust.eu/",
"sources": "https://github.com/TeamMidnightDust/Nauticality",
"issues": "https://github.com/TeamMidnightDust/Nauticality/issues"
},
"license": "MIT",
"icon": "assets/nauticality/icon.png",
"environment": "*",
"entrypoints": {
"main": [
"eu.midnightdust.nauticality.NauticalityMain"
],
"client": [
"eu.midnightdust.nauticality.NauticalityClient"
]
},
"mixins": [
"nauticality.mixins.json"
],
"depends": {
"fabric": "*",
"midnightlib": "*"
},
"custom": {
"modmenu": {
"links": {
"modmenu.discord": "https://discord.gg/jAGnWYHm3r"
}
}
}
}

View File

@@ -0,0 +1,13 @@
{
"required": true,
"package": "eu.midnightdust.nauticality.mixin",
"compatibilityLevel": "JAVA_16",
"mixins": [
"GenerationSettingsAccessorMixin",
"MixinLivingEntity",
"BoatEntityAccessor"
],
"injectors": {
"defaultRequire": 1
}
}