Lang files
This commit is contained in:
parent
11a0d52061
commit
2f67212725
3 changed files with 11 additions and 4 deletions
|
@ -21,6 +21,7 @@ import net.minecraft.world.WorldAccess;
|
|||
import ru.betterend.blocks.BlockBlueVine;
|
||||
import ru.betterend.blocks.basis.BlockDoublePlant;
|
||||
import ru.betterend.blocks.basis.BlockGlowingFur;
|
||||
import ru.betterend.registry.BlockRegistry;
|
||||
import ru.betterend.registry.BlockTagRegistry;
|
||||
|
||||
public class BlocksHelper {
|
||||
|
@ -193,14 +194,15 @@ public class BlocksHelper {
|
|||
else if (!state.canPlaceAt(world, POS)) {
|
||||
// Blue Vine
|
||||
if (state.getBlock() instanceof BlockBlueVine) {
|
||||
while (!state.canPlaceAt(world, POS)) {
|
||||
while (state.isOf(BlockRegistry.BLUE_VINE) || state.isOf(BlockRegistry.BLUE_VINE_LANTERN) || state.isOf(BlockRegistry.BLUE_VINE_FUR)) {
|
||||
BlocksHelper.setWithoutUpdate(world, POS, AIR);
|
||||
for (Direction dir : HORIZONTAL) {
|
||||
BlockPos p = POS.offset(dir).up();
|
||||
BlockPos p = POS.offset(dir);
|
||||
state = world.getBlockState(p);
|
||||
if (state.getBlock() instanceof BlockGlowingFur) {
|
||||
BlocksHelper.setWithoutUpdate(world, p, AIR);
|
||||
}
|
||||
world.getBlockTickScheduler().schedule(p, world.getBlockState(p).getBlock(), 0);
|
||||
}
|
||||
POS.setY(POS.getY() + 1);
|
||||
state = world.getBlockState(POS);
|
||||
|
|
|
@ -184,5 +184,6 @@
|
|||
"block.betterend.end_lotus_trapdoor": "End Lotus Trapdoor",
|
||||
|
||||
"block.betterend.flavolite_runed": "Runed Flavolite",
|
||||
"block.betterend.flavolite_runed_eternal": "Eternal Runed Flavolite"
|
||||
"block.betterend.flavolite_runed_eternal": "Eternal Runed Flavolite",
|
||||
"block.betterend.end_portal_block": "End Portal"
|
||||
}
|
|
@ -181,5 +181,9 @@
|
|||
"block.betterend.end_lotus_stairs": "Ступени из лотоса края",
|
||||
"block.betterend.end_lotus_stripped_bark": "Обтёсанная кора лотоса края",
|
||||
"block.betterend.end_lotus_stripped_log": "Обтёсанное бревно лотоса края",
|
||||
"block.betterend.end_lotus_trapdoor": "Люк из лотоса края"
|
||||
"block.betterend.end_lotus_trapdoor": "Люк из лотоса края",
|
||||
|
||||
"block.betterend.flavolite_runed": "Рунный флаволит",
|
||||
"block.betterend.flavolite_runed_eternal": "Вечный рунный флаволит",
|
||||
"block.betterend.end_portal_block": "Портал Края"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue