move resources over

This commit is contained in:
nelle 2024-12-18 21:26:28 -07:00
parent 369009f683
commit 0ad5d0090a
40 changed files with 381 additions and 17 deletions

View file

@ -1,9 +1,10 @@
@file:Suppress("ktlint:standard:filename", "ktlint:standard:package-name", "ktlint:standard:class-naming")
package observer.nelle.roses_mod.client
import net.fabricmc.api.ClientModInitializer
class roses_modClient : ClientModInitializer {
override fun onInitializeClient() {
}
}

View file

@ -0,0 +1,7 @@
{
"replace": false,
"values": [
"roses_mod:potted_rose",
"roses_mod:cyan_rose"
]
}

View file

@ -0,0 +1,7 @@
{
"replace": false,
"values": [
"roses_mod:rose_flower",
"roses_mod:cyan_rose"
]
}

View file

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

View file

@ -0,0 +1,14 @@
{
"type": "minecraft:block",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "roses_mod:cyan_rose"
}
]
}
]
}

View file

@ -0,0 +1,14 @@
{
"type": "minecraft:block",
"pools": [
{
"rolls": 2,
"entries": [
{
"type": "minecraft:item",
"name": "roses_mod:cyan_rose"
}
]
}
]
}

View file

@ -0,0 +1,14 @@
{
"type": "minecraft:block",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "roses_mod:rose_flower"
}
]
}
]
}

View file

@ -0,0 +1,17 @@
{
"type": "minecraft:crafting_shapeless",
"ingredients": [
[
{
"item": "roses_mod:cyan_rose_bush"
},
{
"item": "roses_mod:cyan_rose"
}
]
],
"result": {
"item": "minecraft:cyan_dye",
"count": 2
}
}

View file

@ -0,0 +1,17 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
" ",
" WW",
" WW"
],
"key": {
"W": {
"item": "roses_mod:cyan_rose"
}
},
"result": {
"item": "roses_mod:cyan_rose_bush",
"count": 1
}
}

View file

@ -0,0 +1,14 @@
{
"type": "minecraft:crafting_shapeless",
"ingredients": [
[
{
"item": "roses_mod:rose_flower"
}
]
],
"result": {
"item": "minecraft:red_dye",
"count": 1
}
}

View file

@ -0,0 +1,17 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
" ",
" WW",
" WW"
],
"key": {
"W": {
"item": "roses_mod:rose_flower"
}
},
"result": {
"item": "minecraft:rose_bush",
"count": 1
}
}

View file

@ -0,0 +1,33 @@
{
"type": "minecraft:random_patch",
"config": {
"tries": 1,
"xz_spread": 7,
"y_spread": 3,
"feature": {
"feature": {
"type": "minecraft:simple_block",
"config": {
"to_place": {
"type": "minecraft:simple_state_provider",
"state": {
"Name": "roses_mod:cyan_rose_bush",
"Properties": {
"half": "lower"
}
}
}
}
},
"placement": [
{
"type": "minecraft:block_predicate_filter",
"predicate": {
"type": "minecraft:matching_blocks",
"blocks": "minecraft:air"
}
}
]
}
}
}

View file

@ -0,0 +1,35 @@
{
"type": "minecraft:flower",
"config": {
"tries": 2,
"xz_spread": 2,
"y_spread": 1,
"feature": {
"feature": {
"type": "minecraft:simple_block",
"config": {
"to_place": {
"type": "minecraft:weighted_state_provider",
"entries": [
{
"weight": 2,
"data": {
"Name": "roses_mod:cyan_rose_flower"
}
}
]
}
}
},
"placement": [
{
"type": "minecraft:block_predicate_filter",
"predicate": {
"type": "minecraft:matching_blocks",
"blocks": "minecraft:air"
}
}
]
}
}
}

View file

@ -0,0 +1,35 @@
{
"type": "minecraft:flower",
"config": {
"tries": 6,
"xz_spread": 5,
"y_spread": 5,
"feature": {
"feature": {
"type": "minecraft:simple_block",
"config": {
"to_place": {
"type": "minecraft:weighted_state_provider",
"entries": [
{
"weight": 5,
"data": {
"Name": "roses_mod:rose_flower"
}
}
]
}
}
},
"placement": [
{
"type": "minecraft:block_predicate_filter",
"predicate": {
"type": "minecraft:matching_blocks",
"blocks": "minecraft:air"
}
}
]
}
}
}

View file

@ -0,0 +1,19 @@
{
"feature": "roses_mod:cyan_rose_bush",
"placement": [
{
"type": "minecraft:rarity_filter",
"chance": 1
},
{
"type": "minecraft:in_square"
},
{
"type": "minecraft:heightmap",
"heightmap": "MOTION_BLOCKING"
},
{
"type": "minecraft:biome"
}
]
}

View file

@ -0,0 +1,19 @@
{
"feature": "roses_mod:cyan_rose_flower",
"placement": [
{
"type": "minecraft:rarity_filter",
"chance": 1
},
{
"type": "minecraft:in_square"
},
{
"type": "minecraft:heightmap",
"heightmap": "MOTION_BLOCKING"
},
{
"type": "minecraft:biome"
}
]
}

View file

@ -0,0 +1,19 @@
{
"feature": "roses_mod:rose_flower",
"placement": [
{
"type": "minecraft:rarity_filter",
"chance": 1
},
{
"type": "minecraft:in_square"
},
{
"type": "minecraft:heightmap",
"heightmap": "MOTION_BLOCKING"
},
{
"type": "minecraft:biome"
}
]
}

View file

@ -18,7 +18,6 @@
},
"mixins": [
"roses_mod.mixins.json"
],
"depends": {

View file

@ -1,13 +0,0 @@
{
"required": true,
"minVersion": "0.8",
"package": "observer.nelle.roses_mod.mixin",
"compatibilityLevel": "JAVA_21",
"mixins": [
],
"client": [
],
"injectors": {
"defaultRequire": 1
}
}

View file

@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "roses_mod:block/cyan_rose"}
}
}

View file

@ -0,0 +1,10 @@
{
"variants": {
"half=lower": {
"model": "roses_mod:block/cyan_rose_bush_bottom"
},
"half=upper": {
"model": "roses_mod:block/cyan_rose_bush_top"
}
}
}

View file

@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "roses_mod:block/potted_cyan"}
}
}

View file

@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "roses_mod:block/potted_rose"}
}
}

View file

@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "roses_mod:block/rose_flower"}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

View file

@ -0,0 +1,7 @@
{
"block.roses_mod.rose_flower": "Rose",
"block.roses_mod.potted_rose": "Potted Rose",
"block.roses_mod.cyan_rose": "Cyan Rose",
"block.roses_mod.potted_cyan": "Potted Cyan Rose",
"block.roses_mod.cyan_rose_bush": "Cyan Rose Bush"
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cross",
"textures": {
"cross": "roses_mod:block/cyan_rose"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cross",
"textures": {
"cross": "roses_mod:block/cyan_rose_bush_bottom"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cross",
"textures": {
"cross": "roses_mod:block/cyan_rose_bush_top"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/flower_pot_cross",
"textures": {
"plant": "roses_mod:block/cyan_rose"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/flower_pot_cross",
"textures": {
"plant": "roses_mod:block/rose_flower"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cross",
"textures": {
"cross": "roses_mod:block/rose_flower"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "item/generated",
"textures": {
"layer0": "roses_mod:block/cyan_rose"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "item/generated",
"textures": {
"layer0": "roses_mod:block/cyan_rose_bush_top"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "item/generated",
"textures": {
"layer0": "roses_mod:block/rose_flower"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 237 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 248 B

View file

@ -2,6 +2,7 @@
// Its primary purpose is to define the subprojects.
// It is also used for some aspects of project-wide configuration, like managing plugins, dependencies, etc.
// https://docs.gradle.org/current/userguide/settings_file_basics.html
rootProject.name = "roses_mod"
dependencyResolutionManagement {
// Use Maven Central as the default repository (where Gradle will download dependencies) in all subprojects.
@ -34,6 +35,4 @@ plugins {
// include(":app")
// include(":utils")
include(":MC1.20.6")
rootProject.name = "roses_mod"
include("legacy")