Sponge drop fix
This commit is contained in:
parent
d58ca85e4c
commit
113aab6d24
7 changed files with 46 additions and 13 deletions
|
@ -81,7 +81,7 @@ public class BlockMengerSpongeWet extends BlockBaseNotFull implements IRenderTyp
|
|||
|
||||
@Override
|
||||
public void onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player) {
|
||||
super.onBreak(world, pos, state, player);
|
||||
world.breakBlock(pos, !player.isCreative());
|
||||
BlocksHelper.setWithUpdate(world, pos, Blocks.AIR);
|
||||
}
|
||||
|
||||
|
|
|
@ -19,6 +19,7 @@ import ru.betterend.recipe.CraftingRecipes;
|
|||
import ru.betterend.recipe.builders.GridRecipe;
|
||||
import ru.betterend.registry.EndBlocks;
|
||||
import ru.betterend.registry.EndItems;
|
||||
import ru.betterend.registry.EndTags;
|
||||
import ru.betterend.util.TagHelper;
|
||||
|
||||
public class StoneMaterial {
|
||||
|
@ -91,5 +92,6 @@ public class StoneMaterial {
|
|||
TagHelper.addTag(BlockTags.WALLS, wall, brick_wall);
|
||||
TagHelper.addTag(BlockTags.SLABS, slab, brick_slab);
|
||||
TagHelper.addTags(pressure_plate, BlockTags.PRESSURE_PLATES, BlockTags.STONE_PRESSURE_PLATES);
|
||||
TagHelper.addTag(EndTags.END_STONES, stone);
|
||||
}
|
||||
}
|
|
@ -125,6 +125,7 @@ public class WoodenMaterial {
|
|||
TagHelper.addTags(slab, ItemTags.WOODEN_SLABS, ItemTags.SLABS);
|
||||
TagHelper.addTags(stairs, ItemTags.WOODEN_STAIRS, ItemTags.STAIRS);
|
||||
TagHelper.addTags(trapdoor, ItemTags.WOODEN_TRAPDOORS, ItemTags.TRAPDOORS);
|
||||
TagHelper.addTag(EndTags.ITEM_CHEST, chest);
|
||||
|
||||
// Block Tags //
|
||||
TagHelper.addTag(BlockTags.PLANKS, planks);
|
||||
|
@ -139,6 +140,7 @@ public class WoodenMaterial {
|
|||
TagHelper.addTags(stairs, BlockTags.WOODEN_STAIRS, BlockTags.STAIRS);
|
||||
TagHelper.addTags(trapdoor, BlockTags.WOODEN_TRAPDOORS, BlockTags.TRAPDOORS);
|
||||
TagHelper.addTag(EndTags.BOOKSHELVES, shelf);
|
||||
TagHelper.addTag(EndTags.BLOCK_CHEST, chest);
|
||||
|
||||
logBlockTag = EndTags.makeBlockTag(name + "_logs");
|
||||
logItemTag = EndTags.makeItemTag(name + "_logs");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue