Skip to content

Commit

Permalink
fixed warped cap model
Browse files Browse the repository at this point in the history
  • Loading branch information
supermassimo committed Jul 15, 2024
1 parent 5a29f36 commit 00d418a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
modName=DynamicTrees
modId=dynamictrees
modVersion=1.2.1
modVersion=1.2.2
group=com.ferreusveritas.dynamictrees

mcVersion=1.19.2
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"parent": "dynamictrees:block/smartmodel/mushroom_round",
"parent": "dynamictrees:block/smartmodel/mushroom_flat",
"render_type": "minecraft:cutout_mipped",
"textures": {
"cap": "dynamictrees:block/warped_cap",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ public class NetherFungusSpecies extends Species {

public NetherFungusSpecies(ResourceLocation name, Family family, LeavesProperties leavesProperties) {
super(name, family, leavesProperties);
this.setSaplingShape(CommonVoxelShapes.SAPLING);
}

@Override
Expand All @@ -54,7 +53,6 @@ protected void setStandardSoils() {
@Override
public Species setPreReloadDefaults() {
return this.setDefaultGrowingParameters()
.setSaplingShape(CommonVoxelShapes.FLAT_MUSHROOM)
.setSaplingSound(SoundType.FUNGUS)
.setCanSaplingGrowNaturally(false)
.envFactor(Tags.Biomes.IS_COLD, 0.25f)
Expand Down
3 changes: 2 additions & 1 deletion src/main/resources/trees/dynamictrees/species/warped.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@
"acceptable_soils": ["nether_soil_like", "fungus_like", "dirt_like"],
"acceptable_growth_blocks": ["minecraft:warped_nylium", "dynamictrees:rooty_warped_nylium"],
"mega_species": "mega_warped",
"sapling_shape": "flat_mushroom",
"model_overrides": {
"sapling": "dynamictrees:block/smartmodel/mushroom_round"
"sapling": "dynamictrees:block/smartmodel/mushroom_flat"
},
"features": [
"clear_volume",
Expand Down

0 comments on commit 00d418a

Please sign in to comment.