Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Mechalopa committed Jul 21, 2024
1 parent 22f5e43 commit eeeca75
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@

public class ModFlowerBlock extends FlowerBlock
{
public ModFlowerBlock(Holder<MobEffect> effect, int effectDuration, BlockBehaviour.Properties properties)
public ModFlowerBlock(Holder<MobEffect> effect, int effectDuration)
{
super(effect, effectDuration, properties);
this(effect, effectDuration, BlockBehaviour.Properties.of().mapColor(MapColor.PLANT).noCollission().instabreak().sound(SoundType.GRASS).offsetType(BlockBehaviour.OffsetType.XZ).pushReaction(PushReaction.DESTROY));
}

public ModFlowerBlock(Holder<MobEffect> effect, int effectDuration)
public ModFlowerBlock(Holder<MobEffect> effect, int effectDuration, BlockBehaviour.Properties properties)
{
this(effect, effectDuration, BlockBehaviour.Properties.of().mapColor(MapColor.PLANT).noCollission().instabreak().sound(SoundType.GRASS).offsetType(BlockBehaviour.OffsetType.XZ).pushReaction(PushReaction.DESTROY));
super(effect, effectDuration, properties);
}

public boolean isReallyFlammable(BlockState state, BlockGetter getter, BlockPos pos, Direction direction)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"type": "minecraft:block",
"pools": [
{
"bonus_rolls": 0.0,
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
],
"entries": [
{
"type": "minecraft:item",
"name": "jafohana:water_hyacinth"
}
],
"rolls": 1.0
}
],
"random_sequence": "jafohana:blocks/water_hyacinth"
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"replace": false,
"values": [
"#c:sands",
"#minecraft:sand",
"#minecraft:dirt",
"#neoforge:villager_farmlands"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
"id": "#c:is_tree/coniferous",
"required": false
},
{
"id": "#c:is_coniferous",
"required": false
},
{
"id": "spookybats:christmas_forest",
"required": false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
{
"type": "minecraft:rarity_filter",
"chance": 48
"chance": 64
},
{
"type": "minecraft:in_square"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
{
"type": "minecraft:rarity_filter",
"chance": 80
"chance": 112
},
{
"type": "minecraft:in_square"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
"placement": [
{
"type": "minecraft:noise_threshold_count",
"above_noise": 5,
"above_noise": 7,
"below_noise": 0,
"noise_level": -0.85
},
{
"type": "minecraft:rarity_filter",
"chance": 128
"chance": 160
},
{
"type": "minecraft:in_square"
Expand Down

0 comments on commit eeeca75

Please sign in to comment.