Skip to content

Commit

Permalink
1.1.0 work begins
Browse files Browse the repository at this point in the history
  • Loading branch information
lumiscosity committed Jul 25, 2024
1 parent a394b00 commit 4d76935
Show file tree
Hide file tree
Showing 43 changed files with 472 additions and 32 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
![Available for Fabric](https://raw.githubusercontent.com/intergrav/devins-badges/v3/assets/compact/supported/fabric_vector.svg)

***Rounded*** is a Vanilla+ mod which aims to round out (pun intended) the features of the base game.

The initial release of the mod is version 1.0.0, titled **Round of Applause**. It was made for [ModFest: Carnival](https://modfest.net/carnival).

## Features
- **Treated Planks**, made with some planks and a honeycomb, which mobs won't walk over;
- The **Trough**, which given some grain heals nearby animals and helps baby animals grow;
- **Lustershrooms**, found in swamps, old growth taigas, groves and (in greater quantities) in dark forests, can be grown with bonemeal and have their cap harvested to create **Luster Clusters**, which provide enchanting power.

More features will be added in future versions of the mod!
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ yarn_mappings=1.21+build.2
loader_version=0.15.11

# Mod Properties
mod_version=1.0.4
mod_version=1.1.0
maven_group=com.lumiscosity.rounded
archives_base_name=rounded

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "rounded:block/bladderwrack"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "rounded:block/bladderwrack_block"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"variants": {
"facing=east": {
"model": "rounded:block/bladderwrack_wall",
"y": 90
},
"facing=north": {
"model": "rounded:block/bladderwrack_wall"
},
"facing=south": {
"model": "rounded:block/bladderwrack_wall",
"y": 180
},
"facing=west": {
"model": "rounded:block/bladderwrack_wall",
"y": 270
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "rounded:block/chiseled_prismarine_bricks"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "rounded:block/dead_bladderwrack"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"variants": {
"facing=east": {
"model": "rounded:block/dead_bladderwrack_wall",
"y": 90
},
"facing=north": {
"model": "rounded:block/dead_bladderwrack_wall"
},
"facing=south": {
"model": "rounded:block/dead_bladderwrack_wall",
"y": 180
},
"facing=west": {
"model": "rounded:block/dead_bladderwrack_wall",
"y": 270
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"variants": {
"hanging=false": {
"model": "rounded:block/prismarine_lantern"
},
"hanging=true": {
"model": "rounded:block/prismarine_lantern_hanging"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "rounded:block/smooth_prismarine"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"variants": {
"type=bottom": {
"model": "rounded:block/smooth_prismarine_slab"
},
"type=double": {
"model": "rounded:block/smooth_prismarine"
},
"type=top": {
"model": "rounded:block/smooth_prismarine_slab_top"
}
}
}
17 changes: 15 additions & 2 deletions src/client/resources/assets/rounded/lang/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,24 @@
"block.rounded.lustershroom_block": "Lustershroom Block",
"block.rounded.luster_cluster": "Luster Cluster",
"block.rounded.trough": "Trough",
"block.rounded.smooth_prismarine": "Smooth Prismarine",
"block.rounded.smooth_prismarine_slab": "Smooth Prismarine Slab",
"block.rounded.chiseled_prismarine_bricks": "Chiseled Prismarine Bricks",
"block.rounded.prismarine_lantern": "Prismarine Lantern",
"block.rounded.dead_bladderwrack": "Dead Bladderwrack",
"block.rounded.bladderwrack": "Bladderwrack",
"block.rounded.bladderwrack_block": "Bladderwrack Block",
"block.rounded.moisture_detector": "Moisture Detector",
"subtitles.rounded.block.trough_fill": "Trough filled",
"subtitles.rounded.block.trough_consume": "Trough consumed",
"subtitles.rounded.block.trough_rustle": "Feed rustles",
"tag.worldgen.biome.rounded.has_lustershrooms": "Has Lustershrooms",
"tag.worldgen.biome.rounded.has_more_lustershrooms": "Has more Lustershrooms",
"tag.worldgen.biome.rounded.has_lustershrooms": "Has lustershrooms",
"tag.worldgen.biome.rounded.has_more_lustershrooms": "Has more lustershrooms",
"tag.worldgen.biome.rounded.has_smooth_basalt_sea_rocks": "Has Smooth Basalt sea rocks",
"tag.worldgen.biome.rounded.has_andesite_sea_rocks": "Has andesite sea rocks",
"tag.worldgen.biome.rounded.has_diorite_sea_rocks": "Has diorite sea rocks",
"tag.worldgen.biome.rounded.has_sea_copper_deposits": "Has sea copper deposits",
"tag.worldgen.biome.rounded.has_bladderwrack": "Has bladderwrack",
"tag.item.rounded.trough_feed": "Trough Feed",
"tag.item.rounded.treated_planks": "Treated Planks",
"tag.item.c.grain": "Grain",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/coral_fan",
"textures": {
"fan": "rounded:block/bladderwrack"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "rounded:block/bladderwrack_block"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/coral_wall_fan",
"textures": {
"fan": "rounded:block/bladderwrack"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"parent": "minecraft:block/cube_column",
"textures": {
"end": "minecraft:block/prismarine_bricks",
"side": "rounded:block/chiseled_prismarine_bricks"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/coral_fan",
"textures": {
"fan": "rounded:block/dead_bladderwrack"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/coral_wall_fan",
"textures": {
"fan": "rounded:block/dead_bladderwrack"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/template_lantern",
"textures": {
"lantern": "rounded:block/prismarine_lantern"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/template_hanging_lantern",
"textures": {
"lantern": "rounded:block/prismarine_lantern"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "rounded:block/smooth_prismarine"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"parent": "minecraft:block/slab",
"textures": {
"bottom": "rounded:block/smooth_prismarine",
"side": "rounded:block/smooth_prismarine_slab_side",
"top": "rounded:block/smooth_prismarine"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"parent": "minecraft:block/cube_column",
"textures": {
"end": "rounded:block/smooth_prismarine",
"side": "rounded:block/smooth_prismarine_slab_side"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"parent": "minecraft:block/slab_top",
"textures": {
"bottom": "rounded:block/smooth_prismarine",
"side": "rounded:block/smooth_prismarine_slab_side",
"top": "rounded:block/smooth_prismarine"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "rounded:block/bladderwrack"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"parent": "rounded:block/bladderwrack_block"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"parent": "rounded:block/chiseled_prismarine_bricks"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "rounded:block/dead_bladderwrack"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"parent": "rounded:block/moisture_detector"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "rounded:item/prismarine_lantern"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"parent": "rounded:block/smooth_prismarine"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"parent": "rounded:block/smooth_prismarine_slab"
}
19 changes: 19 additions & 0 deletions src/main/java/com/lumiscosity/rounded/RegisterMisc.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
package com.lumiscosity.rounded;

import net.fabricmc.fabric.api.loot.v2.LootTableEvents;
import net.minecraft.loot.LootPool;
import net.minecraft.loot.LootTables;
import net.minecraft.loot.entry.ItemEntry;

import static com.lumiscosity.rounded.blocks.RegisterBlocks.BLADDERWRACK_ITEM;

public class RegisterMisc {
public static void initMisc() {
LootTableEvents.MODIFY.register((key, tableBuilder, source) -> {
if (LootTables.FISHING_JUNK_GAMEPLAY.equals(key)) {
LootPool.Builder poolBuilder = LootPool.builder().with(ItemEntry.builder(BLADDERWRACK_ITEM).weight(10));
tableBuilder.pool(poolBuilder);
}
});
}
}
3 changes: 3 additions & 0 deletions src/main/java/com/lumiscosity/rounded/Rounded.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import com.lumiscosity.rounded.compat.*;
import com.lumiscosity.rounded.misc.RegisterSounds;
import com.lumiscosity.rounded.misc.RegisterTrades;
import com.lumiscosity.rounded.worldgen.RegisterFeatures;
import net.fabricmc.api.ModInitializer;

import net.fabricmc.loader.api.FabricLoader;
Expand All @@ -16,9 +17,11 @@ public class Rounded implements ModInitializer {

@Override
public void onInitialize() {
RegisterFeatures.initFeatures();
RegisterBlocks.initBlocks();
RegisterSounds.initSounds();
RegisterTrades.initTrades();
RegisterMisc.initMisc();

if (FabricLoader.getInstance().isModLoaded("extravaganza")) {
ExtravaganzaCompat.register();
Expand Down
Loading

0 comments on commit 4d76935

Please sign in to comment.