Fixes
This commit is contained in:
parent
5b8ffebb36
commit
e25c3a15ab
2 changed files with 9 additions and 3 deletions
|
@ -1,7 +1,11 @@
|
|||
package ru.betterend.blocks;
|
||||
|
||||
import net.minecraft.block.BlockState;
|
||||
import net.minecraft.util.math.BlockPos;
|
||||
import net.minecraft.world.WorldView;
|
||||
import net.minecraft.world.gen.feature.Feature;
|
||||
import ru.betterend.blocks.basis.BlockFeatureSapling;
|
||||
import ru.betterend.registry.EndBlocks;
|
||||
import ru.betterend.registry.EndFeatures;
|
||||
|
||||
public class BlockTenaneaSapling extends BlockFeatureSapling {
|
||||
|
@ -14,8 +18,8 @@ public class BlockTenaneaSapling extends BlockFeatureSapling {
|
|||
return EndFeatures.TENANEA.getFeature();
|
||||
}
|
||||
|
||||
/*@Override
|
||||
@Override
|
||||
public boolean canPlaceAt(BlockState state, WorldView world, BlockPos pos) {
|
||||
return world.getBlockState(pos.down()).isOf(EndBlocks.SHADOW_GRASS);
|
||||
}*/
|
||||
return world.getBlockState(pos.down()).isOf(EndBlocks.PINK_MOSS);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -106,6 +106,8 @@ public class WoodenMaterial {
|
|||
GridRecipe.make(name + "_chest", chest).setShape("###", "# #", "###").addMaterial('#', planks).setGroup("end_chests").build();
|
||||
GridRecipe.make(name + "_barrel", barrel).setShape("#S#", "# #", "#S#").addMaterial('#', planks).addMaterial('S', slab).setGroup("end_barrels").build();
|
||||
GridRecipe.make(name + "_bookshelf", shelf).setShape("###", "PPP", "###").addMaterial('#', planks).addMaterial('P', Items.PAPER).setGroup("end_bookshelves").build();
|
||||
GridRecipe.make(name + "_bark", bark).setShape("##", "##").addMaterial('#', log).setOutputCount(3).build();
|
||||
GridRecipe.make(name + "_log", log).setShape("##", "##").addMaterial('#', bark).setOutputCount(3).build();
|
||||
|
||||
// Item Tags //
|
||||
TagHelper.addTag(ItemTags.PLANKS, planks);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue