[5] one directory for you, and one for you, and one for...

This commit is contained in:
Jkibbels 2024-09-01 13:49:20 -04:00
parent 3795875cdf
commit 260d3ec1a9
10 changed files with 90 additions and 6 deletions

View File

@ -10,7 +10,6 @@
package jesse.keeblarcraft.AttributeMgr; package jesse.keeblarcraft.AttributeMgr;
import java.util.HashMap; import java.util.HashMap;
import java.util.List;
import jesse.keeblarcraft.Keeblarcraft; import jesse.keeblarcraft.Keeblarcraft;
import jesse.keeblarcraft.AttributeMgr.AttributeNodes.AbstractNode; import jesse.keeblarcraft.AttributeMgr.AttributeNodes.AbstractNode;

View File

@ -1,14 +1,20 @@
/*
*
* AttributeFlight
*
* The flight attribute
*
*
*/
package jesse.keeblarcraft.AttributeMgr.AttributeNodes; package jesse.keeblarcraft.AttributeMgr.AttributeNodes;
import java.util.HashMap; import java.util.HashMap;
import java.util.List; import java.util.List;
import jesse.keeblarcraft.AttributeMgr.AttributeMgr;
public class AttributeFlight extends AbstractNode { public class AttributeFlight extends AbstractNode {
public AttributeFlight() { public AttributeFlight() {
// AttributeMgr.RegisterAttributeClass(getClass());
} }
@Override @Override

View File

@ -1,3 +1,12 @@
/*
*
* BlockManager
*
* The mod block manager
*
*
*/
package jesse.keeblarcraft.CustomBlocks; package jesse.keeblarcraft.CustomBlocks;
import java.util.ArrayList; import java.util.ArrayList;
@ -60,7 +69,7 @@ public class BlockManager {
Keeblarcraft.LOGGER.info("Registering modded blocks for " + Keeblarcraft.MOD_ID); Keeblarcraft.LOGGER.info("Registering modded blocks for " + Keeblarcraft.MOD_ID);
// Register example block to the mod // Register example block to the mod
Block exampleBlock = new Block(FabricBlockSettings.copyOf(Blocks.IRON_BLOCK).sounds(BlockSoundGroup.AMETHYST_BLOCK)); Block exampleBlock = new Block(FabricBlockSettings.copyOf(Blocks.IRON_BLOCK).sounds(BlockSoundGroup.AMETHYST_BLOCK).requiresTool().breakInstantly());
RegisterBlock("example_block", exampleBlock); RegisterBlock("example_block", exampleBlock);
} }

View File

@ -18,7 +18,6 @@ import org.slf4j.LoggerFactory;
import jesse.keeblarcraft.AttributeMgr.AttributeMgr; import jesse.keeblarcraft.AttributeMgr.AttributeMgr;
import jesse.keeblarcraft.Commands.CustomCommandManager; import jesse.keeblarcraft.Commands.CustomCommandManager;
import jesse.keeblarcraft.CustomBlocks.BlockManager; import jesse.keeblarcraft.CustomBlocks.BlockManager;
import jesse.keeblarcraft.CustomItems.CustomItemGroups;
import jesse.keeblarcraft.CustomItems.ItemManager; import jesse.keeblarcraft.CustomItems.ItemManager;
import jesse.keeblarcraft.Utils.CustomExceptions.SETUP_FAILED_EXCEPTION; import jesse.keeblarcraft.Utils.CustomExceptions.SETUP_FAILED_EXCEPTION;
import jesse.keeblarcraft.Utils.ChatUtil; import jesse.keeblarcraft.Utils.ChatUtil;

View File

@ -0,0 +1,5 @@
{
"replace": false,
"values": [
]
}

View File

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

View File

@ -0,0 +1,21 @@
{
"type": "minecraft:crafting_shaped",
"category": "misc",
"pattern": [
"#C#",
"###",
"#C#"
],
"key": {
"#": {
"item": "keeblarcraft:example_block"
},
"C": {
"item": "minecraft:coal"
}
},
"result": {
"item": "keeblarcraft:example_block",
"count": 8
}
}

View File

@ -0,0 +1,13 @@
{
"type": "minecraft:crafting_shapeless",
"category": "building",
"ingredients": [
{
"item": "keeblarcraft:example_block"
}
],
"result": {
"item": "keeblarcraft:example_block",
"count": 1
}
}

View File

@ -0,0 +1,6 @@
{
"replace": false,
"values": [
"keeblarcraft:example_block"
]
}

View File

@ -0,0 +1,6 @@
{
"replace": false,
"values": [
"keeblarcraft:example_block"
]
}