mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 23:28:35 +01:00
Compare commits
2 commits
0e3a961257
...
d8ad92c447
Author | SHA1 | Date | |
---|---|---|---|
|
d8ad92c447 | ||
|
a6a9467dd1 |
5 changed files with 9 additions and 9 deletions
|
@ -1,8 +1,8 @@
|
|||
// 1.21.1 2024-08-11T19:30:01.8188184 Empowering Recipes
|
||||
// 1.21.1 2024-10-17T18:39:09.6349717 Empowering Recipes
|
||||
cc9c78901a2ac70dc5efa029684edac7376c68e2 data/actuallyadditions/recipe/empowering/diamatine.json
|
||||
0ee7498f9720da718f2904bfb2826f48592629e7 data/actuallyadditions/recipe/empowering/diamatine_block.json
|
||||
13ba258b2c645ab14d879cc923d452080e099932 data/actuallyadditions/recipe/empowering/emeradic.json
|
||||
65fce5dc254d68e83c66a6b80ae37cb9acd71d3d data/actuallyadditions/recipe/empowering/emeradic_block.json
|
||||
09c7ef6ae8c1690e9b0b3bf323951005335a172f data/actuallyadditions/recipe/empowering/emeradic.json
|
||||
f79081a34b05b6e44b9b543b0e1710ef57f65314 data/actuallyadditions/recipe/empowering/emeradic_block.json
|
||||
ada12731cdb55ceea84eaca71b71c3e484d4399d data/actuallyadditions/recipe/empowering/empowered_canola.json
|
||||
439b7d2abae8901e62dc8e39d0a539fac5db01cf data/actuallyadditions/recipe/empowering/enori.json
|
||||
f26b6d17245059f52fbdb3a2fb2f0d2cc94a416b data/actuallyadditions/recipe/empowering/enori_block.json
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
"tag": "c:dyes/lime"
|
||||
},
|
||||
{
|
||||
"item": "minecraft:tall_grass"
|
||||
"item": "minecraft:short_grass"
|
||||
},
|
||||
{
|
||||
"tag": "minecraft:saplings"
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
"tag": "c:dyes/lime"
|
||||
},
|
||||
{
|
||||
"item": "minecraft:tall_grass"
|
||||
"item": "minecraft:short_grass"
|
||||
},
|
||||
{
|
||||
"tag": "minecraft:saplings"
|
||||
|
|
|
@ -95,12 +95,12 @@ public class EmpoweringRecipeGenerator extends RecipeProvider {
|
|||
|
||||
EmpoweringBuilder.builder(ActuallyItems.EMPOWERED_EMERADIC_CRYSTAL.get(), ActuallyItems.EMERADIC_CRYSTAL.get(), 5000, 50, Crystals.EMERALD.conversionColorParticles)
|
||||
.addModifier(Tags.Items.DYES_LIME)
|
||||
.addModifier(Items.TALL_GRASS)
|
||||
.addModifier(Items.SHORT_GRASS)
|
||||
.addModifier(ItemTags.SAPLINGS)
|
||||
.addModifier(Tags.Items.SLIMEBALLS).save(recipeOutput, "emeradic");
|
||||
EmpoweringBuilder.builder(ActuallyBlocks.EMPOWERED_EMERADIC_CRYSTAL.get(), ActuallyBlocks.EMERADIC_CRYSTAL.get(), 50000, 500, Crystals.EMERALD.conversionColorParticles)
|
||||
.addModifier(Tags.Items.DYES_LIME)
|
||||
.addModifier(Items.TALL_GRASS)
|
||||
.addModifier(Items.SHORT_GRASS)
|
||||
.addModifier(ItemTags.SAPLINGS)
|
||||
.addModifier(Tags.Items.SLIMEBALLS).save(recipeOutput, "emeradic_block");
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ import net.minecraft.world.phys.shapes.VoxelShape;
|
|||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
public class BlockTinyTorch extends BlockBase {
|
||||
public static final DirectionProperty FACING = DirectionProperty.create("facing", Direction.NORTH, Direction.EAST, Direction.SOUTH, Direction.WEST, Direction.UP);
|
||||
public static final DirectionProperty FACING = DirectionProperty.create("facing", direction -> direction != Direction.DOWN);
|
||||
|
||||
public BlockTinyTorch() {
|
||||
super(Properties.of().pushReaction(PushReaction.DESTROY).sound(SoundType.WOOD).strength(0.0F, 0.8F));
|
||||
|
@ -90,7 +90,7 @@ public class BlockTinyTorch extends BlockBase {
|
|||
Direction facing = context.getClickedFace();
|
||||
BlockPos pos = context.getClickedPos();
|
||||
if (this.canSurvive(state, levelreader, pos)) {
|
||||
return state.setValue(BlockTinyTorch.FACING, facing);
|
||||
return state.setValue(BlockTinyTorch.FACING, facing.getAxis() == Direction.Axis.Y ? Direction.UP : facing);
|
||||
} else {
|
||||
Direction[] adirection = context.getNearestLookingDirections();
|
||||
for(Direction direction : adirection) {
|
||||
|
|
Loading…
Reference in a new issue