Moss fixes
This commit is contained in:
parent
a0ecdff67f
commit
a9174260be
13 changed files with 44 additions and 4 deletions
|
@ -27,6 +27,7 @@ import ru.betterend.world.features.RoundCaveFeature;
|
|||
import ru.betterend.world.features.SinglePlantFeature;
|
||||
import ru.betterend.world.features.UnderwaterPlantFeature;
|
||||
import ru.betterend.world.features.VineFeature;
|
||||
import ru.betterend.world.features.WallPlantFeature;
|
||||
import ru.betterend.world.features.WallPlantOnLogFeature;
|
||||
|
||||
public class EndFeatures {
|
||||
|
@ -59,7 +60,8 @@ public class EndFeatures {
|
|||
// Wall Plants //
|
||||
public static final EndFeature PURPLE_POLYPORE = new EndFeature("purple_polypore", new WallPlantOnLogFeature(EndBlocks.PURPLE_POLYPORE, 3), 5);
|
||||
public static final EndFeature PURPLE_POLYPORE_DENSE = new EndFeature("purple_polypore_dense", new WallPlantOnLogFeature(EndBlocks.PURPLE_POLYPORE, 5), 15);
|
||||
//public static final EndFeature TAIL_MOSS = new EndFeature("tail_moss", new WallPlantOnLogFeature(EndBlocks.PURPLE_POLYPORE, 3), 5);
|
||||
public static final EndFeature TAIL_MOSS = new EndFeature("tail_moss", new WallPlantFeature(EndBlocks.TAIL_MOSS, 5), 30);
|
||||
public static final EndFeature CYAN_MOSS = new EndFeature("cyan_moss", new WallPlantFeature(EndBlocks.CYAN_MOSS, 5), 30);
|
||||
|
||||
// Water //
|
||||
public static final EndFeature BUBBLE_CORAL = new EndFeature("bubble_coral", new UnderwaterPlantFeature(EndBlocks.BUBBLE_CORAL, 10), 10);
|
||||
|
|
|
@ -28,6 +28,7 @@ public class BiomeChorusForest extends EndBiome {
|
|||
.addFeature(Feature.VEGETAL_DECORATION, ConfiguredFeatures.CHORUS_PLANT)
|
||||
.addFeature(Feature.VEGETAL_DECORATION, ConfiguredFeatures.CHORUS_PLANT)
|
||||
.addFeature(EndFeatures.CHORUS_GRASS)
|
||||
.addFeature(EndFeatures.TAIL_MOSS)
|
||||
.addStructureFeature(ConfiguredStructureFeatures.END_CITY)
|
||||
.addMobSpawn(EndEntities.END_SLIME, 5, 1, 2)
|
||||
.addMobSpawn(EntityType.ENDERMAN, 50, 1, 4));
|
||||
|
|
|
@ -28,6 +28,7 @@ public class BiomeFoggyMushroomland extends EndBiome {
|
|||
.addFeature(EndFeatures.UMBRELLA_MOSS)
|
||||
.addFeature(EndFeatures.CREEPING_MOSS)
|
||||
.addFeature(EndFeatures.DENSE_VINE)
|
||||
.addFeature(EndFeatures.CYAN_MOSS)
|
||||
.addFeature(EndFeatures.END_LILY)
|
||||
.addFeature(EndFeatures.BUBBLE_CORAL)
|
||||
.addStructureFeature(ConfiguredStructureFeatures.END_CITY)
|
||||
|
|
|
@ -31,6 +31,7 @@ public class BiomeMegalakeGrove extends EndBiome {
|
|||
.addFeature(EndFeatures.END_LILY_RARE)
|
||||
.addFeature(EndFeatures.UMBRELLA_MOSS)
|
||||
.addFeature(EndFeatures.CREEPING_MOSS)
|
||||
.addFeature(EndFeatures.CYAN_MOSS)
|
||||
.addMobSpawn(EndEntities.DRAGONFLY, 20, 1, 3)
|
||||
.addMobSpawn(EndEntities.END_FISH, 20, 3, 8)
|
||||
.addMobSpawn(EntityType.ENDERMAN, 10, 1, 2));
|
||||
|
|
|
@ -26,6 +26,7 @@ public class BiomeShadowForest extends EndBiome {
|
|||
.addFeature(EndFeatures.SHADOW_BERRY)
|
||||
.addFeature(EndFeatures.TWISTED_VINE)
|
||||
.addFeature(EndFeatures.PURPLE_POLYPORE)
|
||||
.addFeature(EndFeatures.TAIL_MOSS)
|
||||
.addStructureFeature(ConfiguredStructureFeatures.END_CITY)
|
||||
.addMobSpawn(EntityType.ENDERMAN, 80, 1, 4)
|
||||
.addMobSpawn(EntityType.PHANTOM, 1, 1, 2));
|
||||
|
|
|
@ -37,7 +37,7 @@ public abstract class WallScatterFeature extends DefaultFeature {
|
|||
mut.setY(py + y);
|
||||
for (int z = -radius; z <= radius; z++) {
|
||||
mut.setZ(center.getZ() + z);
|
||||
if (random.nextInt(8) == 0 && world.isAir(mut)) {
|
||||
if (random.nextInt(4) == 0 && world.isAir(mut)) {
|
||||
shuffle(random);
|
||||
for (Direction dir: DIR) {
|
||||
if (canGenerate(world, random, mut, dir)) {
|
||||
|
|
|
@ -274,5 +274,8 @@
|
|||
"block.betterend.shadow_berry": "Shadow Berry Seeds",
|
||||
"item.betterend.shadow_berry_cooked": "Shadow Berry Cooked",
|
||||
"item.betterend.shadow_berry_raw": "Shadow Berry",
|
||||
"block.betterend.purple_polypore": "Purple Polypore"
|
||||
"block.betterend.purple_polypore": "Purple Polypore",
|
||||
|
||||
"block.betterend.cyan_moss": "Cyan Moss",
|
||||
"block.betterend.tail_moss": "Tail Moss"
|
||||
}
|
|
@ -276,5 +276,8 @@
|
|||
"block.betterend.shadow_berry": "Семена теневой ягоды",
|
||||
"item.betterend.shadow_berry_cooked": "Приготовленная теневая ягода",
|
||||
"item.betterend.shadow_berry_raw": "Теневая ягода",
|
||||
"block.betterend.purple_polypore": "Пурпурный трутовик"
|
||||
"block.betterend.purple_polypore": "Пурпурный трутовик",
|
||||
|
||||
"block.betterend.cyan_moss": "Циановый мох",
|
||||
"block.betterend.tail_moss": "Хвостовидный мох"
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"defaultMaterial": "betterend:waving_wall_glow_inc"
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"defaultMaterial": "betterend:waving_wall"
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"layers": [
|
||||
{
|
||||
"vertexSource": "betterend:shaders/material/wall_wave.vert",
|
||||
"fragmentSource": "betterend:shaders/material/glow_inc.frag",
|
||||
"disableAo": true,
|
||||
"disableDiffuse": true
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "item/generated",
|
||||
"textures": {
|
||||
"layer0": "betterend:block/cyan_moss"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "item/generated",
|
||||
"textures": {
|
||||
"layer0": "betterend:block/tail_moss"
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue