Nauticality 0.1.0 - 1.17
Release for ModFest 1.17!
10
src/main/resources/assets/nauticality/blockstates/algae.json
Executable 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}
|
||||
]
|
||||
}
|
||||
}
|
||||
10
src/main/resources/assets/nauticality/blockstates/cattail.json
Executable file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"variants": {
|
||||
"half=lower": {
|
||||
"model": "nauticality:block/cattail_bottom"
|
||||
},
|
||||
"half=upper": {
|
||||
"model": "nauticality:block/cattail_top"
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
src/main/resources/assets/nauticality/icon.png
Executable file
|
After Width: | Height: | Size: 45 KiB |
17
src/main/resources/assets/nauticality/lang/en_us.json
Executable 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"
|
||||
}
|
||||
14
src/main/resources/assets/nauticality/materialmaps/block/cattail.json
Executable 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"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
12
src/main/resources/assets/nauticality/materialmaps/entity/glow_fish.json
Executable file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"map": [
|
||||
{
|
||||
"predicate": {
|
||||
"materialPredicate": {
|
||||
"renderLayerName": "eyes"
|
||||
}
|
||||
},
|
||||
"material": "canvas:emissive_transform"
|
||||
}
|
||||
]
|
||||
}
|
||||
12
src/main/resources/assets/nauticality/materialmaps/entity/submarine.json
Executable file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"map": [
|
||||
{
|
||||
"predicate": {
|
||||
"materialPredicate": {
|
||||
"renderLayerName": "eyes"
|
||||
}
|
||||
},
|
||||
"material": "canvas:emissive_transform"
|
||||
}
|
||||
]
|
||||
}
|
||||
2
src/main/resources/assets/nauticality/materialmaps/item/cattail.json
Executable file
@@ -0,0 +1,2 @@
|
||||
{
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"defaultMaterial": "nauticality:cold_glow"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"defaultMaterial": "nauticality:cold_glow"
|
||||
}
|
||||
8
src/main/resources/assets/nauticality/materials/cold_glow.json
Executable file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"layers": [
|
||||
{
|
||||
"vertexSource": "canvas:shaders/material/default.vert",
|
||||
"fragmentSource": "nauticality:shaders/material/cold_glow.frag"
|
||||
}
|
||||
]
|
||||
}
|
||||
18
src/main/resources/assets/nauticality/models/block/algae.json
Executable 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}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
6
src/main/resources/assets/nauticality/models/block/cattail_bottom.json
Executable file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:block/template_seagrass",
|
||||
"textures": {
|
||||
"texture": "nauticality:block/cattail_bottom"
|
||||
}
|
||||
}
|
||||
6
src/main/resources/assets/nauticality/models/block/cattail_top.json
Executable file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:block/template_seagrass",
|
||||
"textures": {
|
||||
"texture": "nauticality:block/cattail_top"
|
||||
}
|
||||
}
|
||||
6
src/main/resources/assets/nauticality/models/item/algae.json
Executable file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "nauticality:block/algae"
|
||||
}
|
||||
}
|
||||
6
src/main/resources/assets/nauticality/models/item/cattail.json
Executable file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "nauticality:block/cattail_top"
|
||||
}
|
||||
}
|
||||
80
src/main/resources/assets/nauticality/models/item/eyepatch.json
Executable 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"
|
||||
}
|
||||
]
|
||||
}
|
||||
75
src/main/resources/assets/nauticality/models/item/eyepatch_right.json
Executable 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]
|
||||
}
|
||||
}
|
||||
}
|
||||
6
src/main/resources/assets/nauticality/models/item/glow_fish_bucket.json
Executable file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "nauticality:item/glow_fish_bucket"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "minecraft:item/template_spawn_egg"
|
||||
}
|
||||
3
src/main/resources/assets/nauticality/models/item/pirate_spawn_egg.json
Executable file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "minecraft:item/template_spawn_egg"
|
||||
}
|
||||
6
src/main/resources/assets/nauticality/models/item/submarine.json
Executable file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "nauticality:item/submarine"
|
||||
}
|
||||
}
|
||||
12
src/main/resources/assets/nauticality/shaders/material/cold_glow.frag
Executable 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);
|
||||
}
|
||||
BIN
src/main/resources/assets/nauticality/textures/block/algae.png
Executable file
|
After Width: | Height: | Size: 5.9 KiB |
BIN
src/main/resources/assets/nauticality/textures/block/algae_g.png
Executable file
|
After Width: | Height: | Size: 5.8 KiB |
BIN
src/main/resources/assets/nauticality/textures/block/cattail_bottom.png
Executable file
|
After Width: | Height: | Size: 6.1 KiB |
BIN
src/main/resources/assets/nauticality/textures/block/cattail_top.png
Executable file
|
After Width: | Height: | Size: 6.2 KiB |
BIN
src/main/resources/assets/nauticality/textures/entity/glow_fish/glow_fish.png
Executable file
|
After Width: | Height: | Size: 6.3 KiB |
|
After Width: | Height: | Size: 6.2 KiB |
BIN
src/main/resources/assets/nauticality/textures/entity/illager/pirate.png
Executable file
|
After Width: | Height: | Size: 9.6 KiB |
BIN
src/main/resources/assets/nauticality/textures/entity/submarine/submarine.png
Executable file
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 11 KiB |
BIN
src/main/resources/assets/nauticality/textures/item/glow_fish_bucket.png
Executable file
|
After Width: | Height: | Size: 5.4 KiB |
BIN
src/main/resources/assets/nauticality/textures/item/submarine.png
Executable file
|
After Width: | Height: | Size: 5.3 KiB |
20
src/main/resources/data/nauticality/loot_tables/blocks/algae.json
Executable 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"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
29
src/main/resources/data/nauticality/loot_tables/blocks/cattail.json
Executable 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"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
39
src/main/resources/data/nauticality/loot_tables/entities/pirate.json
Executable 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"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
26
src/main/resources/data/nauticality/recipes/submarine.json
Executable 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
|
||||
}
|
||||
}
|
||||
BIN
src/main/resources/data/nauticality/structures/pirate_ship.nbt
Executable file
46
src/main/resources/fabric.mod.json
Executable 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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
13
src/main/resources/nauticality.mixins.json
Executable file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"required": true,
|
||||
"package": "eu.midnightdust.nauticality.mixin",
|
||||
"compatibilityLevel": "JAVA_16",
|
||||
"mixins": [
|
||||
"GenerationSettingsAccessorMixin",
|
||||
"MixinLivingEntity",
|
||||
"BoatEntityAccessor"
|
||||
],
|
||||
"injectors": {
|
||||
"defaultRequire": 1
|
||||
}
|
||||
}
|
||||