27 lines
946 B
Java
27 lines
946 B
Java
package net.minecraft.world.level.block;
|
|
|
|
import java.util.List;
|
|
import net.minecraft.world.level.storage.loot.LootContext;
|
|
import net.minecraft.world.item.ItemStack;
|
|
import javax.annotation.Nullable;
|
|
import net.minecraft.world.entity.LivingEntity;
|
|
import net.minecraft.world.level.block.state.BlockState;
|
|
import net.minecraft.core.BlockPos;
|
|
import net.minecraft.world.level.Level;
|
|
|
|
public class PlayerWallHeadBlock extends WallSkullBlock {
|
|
protected PlayerWallHeadBlock(final Properties c) {
|
|
super(SkullBlock.Types.PLAYER, c);
|
|
}
|
|
|
|
@Override
|
|
public void setPlacedBy(final Level bjt, final BlockPos fk, final BlockState byg, @Nullable final LivingEntity akw, final ItemStack bek) {
|
|
Blocks.PLAYER_HEAD.setPlacedBy(bjt, fk, byg, akw, bek);
|
|
}
|
|
|
|
@Override
|
|
public List<ItemStack> getDrops(final BlockState byg, final LootContext.Builder a) {
|
|
return Blocks.PLAYER_HEAD.getDrops(byg, a);
|
|
}
|
|
}
|