make snad actually minable + bump version + polish
This commit is contained in:
parent
dcb3f6cb8f
commit
63890ae526
4 changed files with 21 additions and 2 deletions
|
|
@ -6,7 +6,7 @@ minecraft_version=1.21.8
|
|||
yarn_mappings=1.21.8+build.1
|
||||
loader_version=0.17.2
|
||||
# Mod Properties
|
||||
mod_version=0.3
|
||||
mod_version=0.4
|
||||
maven_group=ovh.sad
|
||||
archives_base_name=snad-fabric
|
||||
# Dependencies
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ import net.minecraft.registry.RegistryKey;
|
|||
import net.minecraft.registry.RegistryKeys;
|
||||
import net.minecraft.registry.tag.BlockTags;
|
||||
import net.minecraft.registry.tag.TagKey;
|
||||
import net.minecraft.sound.BlockSoundGroup;
|
||||
import net.minecraft.state.StateManager;
|
||||
import net.minecraft.state.property.BooleanProperty;
|
||||
import net.minecraft.state.property.Properties;
|
||||
|
|
@ -62,7 +63,7 @@ public class Snad implements ModInitializer {
|
|||
public static final Block SNAD_BLOCK = register(
|
||||
"snad",
|
||||
SnadBlock::new,
|
||||
AbstractBlock.Settings.create(),
|
||||
AbstractBlock.Settings.create().sounds(BlockSoundGroup.SAND),
|
||||
true
|
||||
);
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"replace": false,
|
||||
"values": ["snad:snad"]
|
||||
}
|
||||
14
src/main/resources/data/snad/loot_table/blocks/snad.json
Normal file
14
src/main/resources/data/snad/loot_table/blocks/snad.json
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"type": "minecraft:block",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1,
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "snad:snad"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue