This repository has been archived by the owner on Dec 19, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
41 changed files
with
332 additions
and
2 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+260 KB
build/libs/SquidCraft-1.15.2-0.4.0-dev.jar → ...s/SquidCraft-1.15.2-0.4.1-sources-dev.jar
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
48 changes: 48 additions & 0 deletions
48
src/main/java/io/github/squidcraft/block/MultiSquidBlock.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
package io.github.squidcraft.block; | ||
|
||
import net.fabricmc.fabric.api.block.FabricBlockSettings; | ||
import net.minecraft.block.Block; | ||
import net.minecraft.block.Material; | ||
|
||
public class MultiSquidBlock { | ||
public One one() { | ||
return new One(); | ||
} | ||
|
||
public Two two() { | ||
return new Two(); | ||
} | ||
|
||
public Four four() { | ||
return new Four(); | ||
} | ||
|
||
public Eight eight() { | ||
return new Eight(); | ||
} | ||
|
||
} | ||
|
||
class One extends Block { | ||
public One() { | ||
super(FabricBlockSettings.of(Material.EARTH).strength(1.5f, 0.6f).build()); | ||
} | ||
} | ||
|
||
class Two extends Block { | ||
public Two() { | ||
super(FabricBlockSettings.of(Material.EARTH).strength(2.0f, 0.65f).build()); | ||
} | ||
} | ||
|
||
class Four extends Block { | ||
public Four() { | ||
super(FabricBlockSettings.of(Material.EARTH).strength(2.5f, 0.7f).build()); | ||
} | ||
} | ||
|
||
class Eight extends Block { | ||
public Eight() { | ||
super(FabricBlockSettings.of(Material.EARTH).strength(3.0f, 0.75f).build()); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
src/main/resources/assets/squidcraft/blockstates/eight_squid_block.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"variants": { | ||
"": { "model": "squidcraft:block/squid_block" } | ||
} | ||
} |
5 changes: 5 additions & 0 deletions
5
src/main/resources/assets/squidcraft/blockstates/four_squid_block.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"variants": { | ||
"": { "model": "squidcraft:block/squid_block" } | ||
} | ||
} |
5 changes: 5 additions & 0 deletions
5
src/main/resources/assets/squidcraft/blockstates/one_squid_block.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"variants": { | ||
"": { "model": "squidcraft:block/squid_block" } | ||
} | ||
} |
5 changes: 5 additions & 0 deletions
5
src/main/resources/assets/squidcraft/blockstates/two_squid_block.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"variants": { | ||
"": { "model": "squidcraft:block/squid_block" } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
src/main/resources/assets/squidcraft/models/item/eight_squid_block.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"parent": "squidcraft:block/squid_block" | ||
} |
3 changes: 3 additions & 0 deletions
3
src/main/resources/assets/squidcraft/models/item/four_squid_block.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"parent": "squidcraft:block/squid_block" | ||
} |
3 changes: 3 additions & 0 deletions
3
src/main/resources/assets/squidcraft/models/item/one_squid_block.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"parent": "squidcraft:block/squid_block" | ||
} |
3 changes: 3 additions & 0 deletions
3
src/main/resources/assets/squidcraft/models/item/two_squid_block.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"parent": "squidcraft:block/squid_block" | ||
} |
19 changes: 19 additions & 0 deletions
19
src/main/resources/data/squidcraft/loot_tables/blocks/eight_squid_block.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"type": "minecraft:block", | ||
"pools": [ | ||
{ | ||
"rolls": 1, | ||
"entries": [ | ||
{ | ||
"type": "minecraft:item", | ||
"name": "squidcraft:eight_squid_block" | ||
} | ||
], | ||
"conditions": [ | ||
{ | ||
"condition": "minecraft:survives_explosion" | ||
} | ||
] | ||
} | ||
] | ||
} |
19 changes: 19 additions & 0 deletions
19
src/main/resources/data/squidcraft/loot_tables/blocks/four_squid_block.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"type": "minecraft:block", | ||
"pools": [ | ||
{ | ||
"rolls": 1, | ||
"entries": [ | ||
{ | ||
"type": "minecraft:item", | ||
"name": "squidcraft:four_squid_block" | ||
} | ||
], | ||
"conditions": [ | ||
{ | ||
"condition": "minecraft:survives_explosion" | ||
} | ||
] | ||
} | ||
] | ||
} |
19 changes: 19 additions & 0 deletions
19
src/main/resources/data/squidcraft/loot_tables/blocks/one_squid_block.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"type": "minecraft:block", | ||
"pools": [ | ||
{ | ||
"rolls": 1, | ||
"entries": [ | ||
{ | ||
"type": "minecraft:item", | ||
"name": "squidcraft:one_squid_block" | ||
} | ||
], | ||
"conditions": [ | ||
{ | ||
"condition": "minecraft:survives_explosion" | ||
} | ||
] | ||
} | ||
] | ||
} |
19 changes: 19 additions & 0 deletions
19
src/main/resources/data/squidcraft/loot_tables/blocks/two_squid_block.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"type": "minecraft:block", | ||
"pools": [ | ||
{ | ||
"rolls": 1, | ||
"entries": [ | ||
{ | ||
"type": "minecraft:item", | ||
"name": "squidcraft:two_squid_block" | ||
} | ||
], | ||
"conditions": [ | ||
{ | ||
"condition": "minecraft:survives_explosion" | ||
} | ||
] | ||
} | ||
] | ||
} |
19 changes: 19 additions & 0 deletions
19
src/main/resources/data/squidcraft/recipes/book_shelf.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"type": "minecraft:crafting_shaped", | ||
"pattern": [ | ||
"XXX", | ||
"WWW", | ||
"XXX" | ||
], | ||
"key": { | ||
"W": { | ||
"item": "squidcraft:compress_squid_block" | ||
}, | ||
"X": { | ||
"tag": "minecraft:planks" | ||
} | ||
}, | ||
"result": { | ||
"item": "minecraft:bookshelf" | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
src/main/resources/data/squidcraft/recipes/eight_squid_block.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"type": "minecraft:crafting_shapeless", | ||
"ingredients": [ | ||
{ | ||
"item": "squidcraft:four_squid_block" | ||
}, | ||
{ | ||
"item": "squidcraft:four_squid_block" | ||
} | ||
], | ||
"result": { | ||
"item": "squidcraft:eight_squid_block" | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
src/main/resources/data/squidcraft/recipes/four_squid_block.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"type": "minecraft:crafting_shapeless", | ||
"ingredients": [ | ||
{ | ||
"item": "squidcraft:two_squid_block" | ||
}, | ||
{ | ||
"item": "squidcraft:two_squid_block" | ||
} | ||
], | ||
"result": { | ||
"item": "squidcraft:four_squid_block" | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
src/main/resources/data/squidcraft/recipes/four_squid_block_from_eight_squid_block.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"type": "minecraft:crafting_shaped", | ||
"pattern": [ | ||
"W ", | ||
" ", | ||
" " | ||
], | ||
"key": { | ||
"W": { | ||
"item": "squidcraft:eight_squid_block" | ||
} | ||
}, | ||
"result": { | ||
"item": "squidcraft:four_squid_block", | ||
"count": 2 | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
src/main/resources/data/squidcraft/recipes/one_squid_block.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"type": "minecraft:crafting_shaped", | ||
"pattern": [ | ||
"WWW", | ||
"WWW", | ||
"WWW" | ||
], | ||
"key": { | ||
"W": { | ||
"item": "squidcraft:super_compress_squid_block" | ||
} | ||
}, | ||
"result": { | ||
"item": "squidcraft:one_squid_block" | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
src/main/resources/data/squidcraft/recipes/one_squid_block_from_two_squid_block.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"type": "minecraft:crafting_shaped", | ||
"pattern": [ | ||
"W ", | ||
" ", | ||
" " | ||
], | ||
"key": { | ||
"W": { | ||
"item": "squidcraft:two_squid_block" | ||
} | ||
}, | ||
"result": { | ||
"item": "squidcraft:one_squid_block", | ||
"count": 2 | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
src/main/resources/data/squidcraft/recipes/two_squid_block.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"type": "minecraft:crafting_shapeless", | ||
"ingredients": [ | ||
{ | ||
"item": "squidcraft:one_squid_block" | ||
}, | ||
{ | ||
"item": "squidcraft:one_squid_block" | ||
} | ||
], | ||
"result": { | ||
"item": "squidcraft:two_squid_block" | ||
} | ||
} |
Oops, something went wrong.