Added recipe for Nether Crystal Blocks, tweaked cattail textures

This commit is contained in:
Forstride 2020-07-07 06:23:02 -04:00
parent ac5527fd6c
commit e33525cd99
8 changed files with 103 additions and 7 deletions

View file

@ -62,6 +62,7 @@ public class UndergardenBiome extends NetherBiomeBOP
//Entities //Entities
this.addSpawn(EntityClassification.MONSTER, new SpawnListEntry(EntityType.GHAST, 50, 4, 4)); this.addSpawn(EntityClassification.MONSTER, new SpawnListEntry(EntityType.GHAST, 50, 4, 4));
this.addSpawn(EntityClassification.MONSTER, new SpawnListEntry(EntityType.MAGMA_CUBE, 2, 4, 4)); this.addSpawn(EntityClassification.MONSTER, new SpawnListEntry(EntityType.MAGMA_CUBE, 2, 4, 4));
this.addSpawn(EntityClassification.MONSTER, new Biome.SpawnListEntry(EntityType.HOGLIN, 9, 3, 4));
this.addSpawn(EntityClassification.CREATURE, new SpawnListEntry(EntityType.STRIDER, 60, 1, 2)); this.addSpawn(EntityClassification.CREATURE, new SpawnListEntry(EntityType.STRIDER, 60, 1, 2));
this.addWeight(BOPClimates.NETHER, 10); this.addWeight(BOPClimates.NETHER, 10);

View file

@ -10,6 +10,7 @@ import net.minecraft.client.audio.BackgroundMusicTracks;
import net.minecraft.entity.EntityClassification; import net.minecraft.entity.EntityClassification;
import net.minecraft.entity.EntityType; import net.minecraft.entity.EntityType;
import net.minecraft.fluid.Fluids; import net.minecraft.fluid.Fluids;
import net.minecraft.particles.ParticleTypes;
import net.minecraft.util.SoundEvents; import net.minecraft.util.SoundEvents;
import net.minecraft.world.biome.*; import net.minecraft.world.biome.*;
import net.minecraft.world.gen.GenerationStage; import net.minecraft.world.gen.GenerationStage;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 356 B

After

Width:  |  Height:  |  Size: 386 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 306 B

After

Width:  |  Height:  |  Size: 362 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 346 B

After

Width:  |  Height:  |  Size: 368 B

View file

@ -0,0 +1,32 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"biomesoplenty:nether_crystal_block"
]
},
"criteria": {
"has_nether_crystal": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"item": "biomesoplenty:nether_crystal"
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "biomesoplenty:nether_crystal_block"
}
}
},
"requirements": [
[
"has_nether_crystal",
"has_the_recipe"
]
]
}

View file

@ -4,14 +4,61 @@
{ {
"rolls": 1, "rolls": 1,
"entries": [ "entries": [
{
"type": "minecraft:alternatives",
"children": [
{ {
"type": "minecraft:item", "type": "minecraft:item",
"name": "biomesoplenty:nether_crystal_block"
}
],
"conditions": [ "conditions": [
{ {
"condition": "minecraft:survives_explosion" "condition": "minecraft:match_tool",
"predicate": {
"enchantments": [
{
"enchantment": "minecraft:silk_touch",
"levels": {
"min": 1
}
}
]
}
}
],
"name": "biomesoplenty:nether_crystal_block"
},
{
"type": "minecraft:item",
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 2.0,
"max": 4.0,
"type": "minecraft:uniform"
}
},
{
"function": "minecraft:apply_bonus",
"enchantment": "minecraft:fortune",
"formula": "minecraft:uniform_bonus_count",
"parameters": {
"bonusMultiplier": 1
}
},
{
"function": "minecraft:limit_count",
"limit": {
"max": 4,
"min": 1
}
},
{
"function": "minecraft:explosion_decay"
}
],
"name": "biomesoplenty:nether_crystal"
}
]
} }
] ]
} }

View file

@ -0,0 +1,15 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"##",
"##"
],
"key": {
"#": {
"item": "biomesoplenty:nether_crystal"
}
},
"result": {
"item": "biomesoplenty:nether_crystal_block"
}
}