Recipes
This commit is contained in:
parent
2bc84f65a1
commit
ea7cca31d5
15 changed files with 341 additions and 4 deletions
20
src/main/java/ru/betterend/blocks/BlockBase.java
Normal file
20
src/main/java/ru/betterend/blocks/BlockBase.java
Normal file
|
@ -0,0 +1,20 @@
|
|||
package ru.betterend.blocks;
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.BlockState;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.loot.context.LootContext;
|
||||
|
||||
public class BlockBase extends Block {
|
||||
public BlockBase(Settings settings) {
|
||||
super(settings);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<ItemStack> getDroppedStacks(BlockState state, LootContext.Builder builder) {
|
||||
return Collections.singletonList(new ItemStack(this));
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue