-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new flowers part4, remove crimson clover...
- Loading branch information
Showing
54 changed files
with
198 additions
and
199 deletions.
There are no files selected for viewing
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
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
62 changes: 0 additions & 62 deletions
62
src/main/java/com/github/mechalopa/jafohana/world/level/block/CrimsonCloverBlock.java
This file was deleted.
Oops, something went wrong.
23 changes: 23 additions & 0 deletions
23
src/main/java/com/github/mechalopa/jafohana/world/level/block/DesertFlowerBlock.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,23 @@ | ||
package com.github.mechalopa.jafohana.world.level.block; | ||
|
||
import com.github.mechalopa.jafohana.util.ModTags; | ||
|
||
import net.minecraft.core.BlockPos; | ||
import net.minecraft.core.Holder; | ||
import net.minecraft.world.effect.MobEffect; | ||
import net.minecraft.world.level.BlockGetter; | ||
import net.minecraft.world.level.block.state.BlockState; | ||
|
||
public class DesertFlowerBlock extends ModFlowerBlock | ||
{ | ||
public DesertFlowerBlock(Holder<MobEffect> effect, float seconds) | ||
{ | ||
super(effect, seconds); | ||
} | ||
|
||
@Override | ||
protected boolean mayPlaceOn(BlockState state, BlockGetter world, BlockPos pos) | ||
{ | ||
return state.is(ModTags.BlockTags.DESERT_FLOWER_PLANTABLE_ON); | ||
} | ||
} |
10 changes: 0 additions & 10 deletions
10
src/main/resources/assets/jafohana/blockstates/crimson_clover.json
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
src/main/resources/assets/jafohana/blockstates/potted_crimson_clover.json
This file was deleted.
Oops, something went wrong.
7 changes: 7 additions & 0 deletions
7
src/main/resources/assets/jafohana/blockstates/potted_sturts_desert_pea.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,7 @@ | ||
{ | ||
"variants": { | ||
"": { | ||
"model": "jafohana:block/potted_sturts_desert_pea" | ||
} | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
src/main/resources/assets/jafohana/blockstates/sturts_desert_pea.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,7 @@ | ||
{ | ||
"variants": { | ||
"": { | ||
"model": "jafohana:block/sturts_desert_pea" | ||
} | ||
} | ||
} |
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
7 changes: 0 additions & 7 deletions
7
src/main/resources/assets/jafohana/models/block/crimson_clover_planted_on_nylium.json
This file was deleted.
Oops, something went wrong.
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
2 changes: 1 addition & 1 deletion
2
.../jafohana/models/item/crimson_clover.json → ...fohana/models/item/sturts_desert_pea.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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"parent": "minecraft:item/generated", | ||
"textures": { | ||
"layer0": "jafohana:block/crimson_clover" | ||
"layer0": "jafohana:block/sturts_desert_pea" | ||
} | ||
} |
Binary file modified
BIN
+2 Bytes
(100%)
src/main/resources/assets/jafohana/textures/block/ceanothus_bottom.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+1 Byte
(100%)
src/main/resources/assets/jafohana/textures/block/ceanothus_top.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-260 Bytes
src/main/resources/assets/jafohana/textures/block/crimson_clover.png
Binary file not shown.
Binary file removed
BIN
-211 Bytes
...n/resources/assets/jafohana/textures/block/crimson_clover_planted_on_nylium.png
Binary file not shown.
Binary file removed
BIN
-255 Bytes
src/main/resources/assets/jafohana/textures/block/potted_crimson_clover.png
Binary file not shown.
10 changes: 10 additions & 0 deletions
10
src/main/resources/data/jafohana/loot_modifiers/chests/desert_pyramid.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,10 @@ | ||
{ | ||
"type": "neoforge:add_table", | ||
"conditions": [ | ||
{ | ||
"condition": "neoforge:loot_table_id", | ||
"loot_table_id": "minecraft:chests/desert_pyramid" | ||
} | ||
], | ||
"table": "jafohana:additions/chests/desert_pyramid" | ||
} |
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
35 changes: 35 additions & 0 deletions
35
src/main/resources/data/jafohana/loot_table/additions/chests/desert_pyramid.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,35 @@ | ||
{ | ||
"type": "minecraft:chest", | ||
"pools": [ | ||
{ | ||
"bonus_rolls": 0.0, | ||
"entries": [ | ||
{ | ||
"type": "minecraft:item", | ||
"functions": [ | ||
{ | ||
"add": false, | ||
"count": { | ||
"type": "minecraft:uniform", | ||
"max": 5.0, | ||
"min": 1.0 | ||
}, | ||
"function": "minecraft:set_count" | ||
} | ||
], | ||
"name": "jafohana:sturts_desert_pea" | ||
}, | ||
{ | ||
"type": "minecraft:empty", | ||
"weight": 15 | ||
} | ||
], | ||
"rolls": { | ||
"type": "minecraft:uniform", | ||
"max": 3.0, | ||
"min": 0.0 | ||
} | ||
} | ||
], | ||
"random_sequence": "jafohana:additions/chests/desert_pyramid" | ||
} |
Oops, something went wrong.