Recipes, lang, fixes
This commit is contained in:
parent
591d015f90
commit
29a594fd10
4 changed files with 13 additions and 3 deletions
|
@ -28,7 +28,7 @@ public class BlockMurkweed extends BlockPlant {
|
||||||
@Override
|
@Override
|
||||||
public void onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) {
|
public void onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) {
|
||||||
if (entity instanceof LivingEntity && !((LivingEntity) entity).hasStatusEffect(StatusEffects.BLINDNESS)) {
|
if (entity instanceof LivingEntity && !((LivingEntity) entity).hasStatusEffect(StatusEffects.BLINDNESS)) {
|
||||||
((LivingEntity) entity).addStatusEffect(new StatusEffectInstance(StatusEffects.BLINDNESS, 100));
|
((LivingEntity) entity).addStatusEffect(new StatusEffectInstance(StatusEffects.BLINDNESS, 50));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,6 +8,7 @@ import net.minecraft.potion.Potions;
|
||||||
import net.minecraft.util.registry.Registry;
|
import net.minecraft.util.registry.Registry;
|
||||||
import ru.betterend.BetterEnd;
|
import ru.betterend.BetterEnd;
|
||||||
import ru.betterend.mixin.common.BrewingAccessor;
|
import ru.betterend.mixin.common.BrewingAccessor;
|
||||||
|
import ru.betterend.registry.EndBlocks;
|
||||||
import ru.betterend.registry.EndItems;
|
import ru.betterend.registry.EndItems;
|
||||||
|
|
||||||
public class EndPotions {
|
public class EndPotions {
|
||||||
|
@ -25,5 +26,6 @@ public class EndPotions {
|
||||||
public static void register() {
|
public static void register() {
|
||||||
BrewingAccessor.callRegisterPotionRecipe(Potions.AWKWARD, EndItems.ENDER_DUST, END_VEIL);
|
BrewingAccessor.callRegisterPotionRecipe(Potions.AWKWARD, EndItems.ENDER_DUST, END_VEIL);
|
||||||
BrewingAccessor.callRegisterPotionRecipe(END_VEIL, Items.REDSTONE, LONG_END_VEIL);
|
BrewingAccessor.callRegisterPotionRecipe(END_VEIL, Items.REDSTONE, LONG_END_VEIL);
|
||||||
|
BrewingAccessor.callRegisterPotionRecipe(Potions.AWKWARD, EndBlocks.MURKWEED.asItem(), Potions.NIGHT_VISION);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -265,5 +265,9 @@
|
||||||
"block.betterend.end_lotus_bookshelf": "End Lotus Bookshelf",
|
"block.betterend.end_lotus_bookshelf": "End Lotus Bookshelf",
|
||||||
"block.betterend.lacugrove_bookshelf": "Lacugrove Bookshelf",
|
"block.betterend.lacugrove_bookshelf": "Lacugrove Bookshelf",
|
||||||
"block.betterend.mossy_glowshroom_bookshelf": "Mossy Glowshroom Bookshelf",
|
"block.betterend.mossy_glowshroom_bookshelf": "Mossy Glowshroom Bookshelf",
|
||||||
"block.betterend.pythadendron_bookshelf": "Pythadendron Bookshelf"
|
"block.betterend.pythadendron_bookshelf": "Pythadendron Bookshelf",
|
||||||
|
|
||||||
|
"block.betterend.murkweed": "Murkweed",
|
||||||
|
"block.betterend.needlegrass": "Needlegrass",
|
||||||
|
"block.betterend.twisted_vine": "Twisted Vine"
|
||||||
}
|
}
|
|
@ -267,5 +267,9 @@
|
||||||
"block.betterend.end_lotus_bookshelf": "Книжные полки из лотоса края",
|
"block.betterend.end_lotus_bookshelf": "Книжные полки из лотоса края",
|
||||||
"block.betterend.lacugrove_bookshelf": "Книжные полки из оземангра",
|
"block.betterend.lacugrove_bookshelf": "Книжные полки из оземангра",
|
||||||
"block.betterend.mossy_glowshroom_bookshelf": "Книжные полки из мшистого светогриба",
|
"block.betterend.mossy_glowshroom_bookshelf": "Книжные полки из мшистого светогриба",
|
||||||
"block.betterend.pythadendron_bookshelf": "Книжные полки из пифадендрона"
|
"block.betterend.pythadendron_bookshelf": "Книжные полки из пифадендрона",
|
||||||
|
|
||||||
|
"block.betterend.murkweed": "Мракотрава",
|
||||||
|
"block.betterend.needlegrass": "Иголкоцвет",
|
||||||
|
"block.betterend.twisted_vine": "Закрученная лоза"
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue